Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Reboot Volume of BigIP from BigIq

Need to reboot volume of BigIp from BigIq using BigIQ REST API.Through BIGIQ GUI we can do in device properties.Similarly like to do using REST API.Please suggest.

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

To reboot a BIG-IP box from a different volume (say from HD1.1), run this:

curl -sku <user>:<pass> https://<host>/mgmt/tm/sys -X POST -H "Content-type: application/json" \
  -d '{"command":"reboot", "volume":"HD1.1"}'

To check the available volumes, run this:

curl -sku <user>:<pass>https://<host>/mgmt/tm/sys/software/status

The endpoints belong to BIG-IP, not BIG-IQ specific, but they should work from BIG-IQ. For details, please refer to the Command section (pp. 57-65) of iControl REST User Guide Version 13.1.

The equivalent local tmsh commands are tmsh reboot volume HD1.1 and tmsh show sys software status respectively.

0