Forum Discussion

Tim_R_319680's avatar
Tim_R_319680
Icon for Nimbostratus rankNimbostratus
May 04, 2017

Using curl to create F5 Virtual Server

I'm using curl to create a virtual server and it works but it will never come up as Available (Enabled). It always comes up as Offline (Enabled). I've checked every setting and have yet to find anything different from other virtual servers defined on the F5 that ARE working.

 

3 Replies

  • Can you check the pool status. You might see this - Offline(Enabled) - The children pool member(s) are down. Check if the pool members are marked up by the monitor assigned to the pool. If the Pool comes UP, the VS would come up as Available (Enabled)

     

  • curl -X POST -H "Content-Type:application/xml" -H "Accept:application/xml" -H "authToken:1f31614e-f6da-48ad-bc21-514c3f378614" -d @/home/b005197/d2cXmlPostMessage.xml > d2cResponse.xml

    The main problem is it won't assign the serverssl profile to the SSL Profile (Server) and it's defined in the XML as follows:

        
            80
            mchub_80_pool
            10.10.10.10
        serverssl_profile
        clientssl_profile
            http_profile