Forum Discussion
thad6986_341138
Nimbostratus
Nov 09, 2018Not 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...
Dario_Garrido
Noctilucent
Nov 09, 2018You 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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects