Forum Discussion

Pinco's avatar
Icon for Nimbostratus rankNimbostratus
Aug 29, 2022

Check if UCS restore was ok

Using REST API, I am periodically restoring an UCS in a remote disaster recovery site of some VCMP guests. The restore operation of the UCS is started, but as the REST daemon is also restarted once s...
  • AlexBCT's avatar
    Aug 30, 2022

    Hi Pinco, 

    Maybe not quite the answer you're looking for, but have you tried using the "log" command? This way, you can receive the last 10 or so lines of ltm log and use those to confirm if there were any problems. 

    The following command gives you the last 10 lines of ltm log via iControl; 

    curl -sku admin:XXXXXXXX -H "Content-Type: application/json" -X GET https://XX.XX.XX.XX/mgmt/tm/sys/log/ltm/stats?options=lines,10

    More info on the log commands via iControl:

    Hope this helps.