For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

thad6986_341138's avatar
thad6986_341138
Icon for Nimbostratus rankNimbostratus
Nov 09, 2018

Not synching the changes with the failover node

I'm calling REST API to bring the pool member up/down. After changing the pool member status to 'user down', the node is down, but not synching the changes with the failover node.

 

Is there a way to sync them using REST API?

 

1 Reply

  • You can use one of these 4 options to sync the device-group:

    1) curl -sku admin: -X POST -H "Content-Type: application/json" -d "{\"command\":\"run\", \"utilCmdArgs\": \"-c 'tmsh run /cm config-sync to-group '\"}" https:///mgmt/tm/util/bash | json-format 
    
    2) curl -sku admin: -X POST -H "Content-Type: application/json" -d '{"command":"run","options":[{"to-group":""}]}' https:///mgmt/tm/cm/config-sync | json-format 
    
    3) curl -sku admin: -X POST -H "Content-Type: application/json" -d '{"command":"run"}' https:///mgmt/tm/cm/config-sync?options=to-group%20 | json-format 
    
    4) curl -sku admin: -X POST -H "Content-Type: application/json" -d '{"command":"run","utilCmdArgs":"config-sync to-group "}' https:///mgmt/tm/cm | json-format
    

    By the way, if you change something via iControlREST it's similar to modify something via TMSH and you should save config.

    curl -sku admin: -X POST -H "Content-Type: application/json" -d '{"command":"save"}' https:///mgmt/tm/sys/config | json-format
    

    KR, Dario.