Pause and Resume

Command line example for soft stopping and starting a backend server in a Balancer group or backend. This is useful for maintenance periods, etc. You will be calling the snaptHA.soft_stop method and snaptHA.soft_start methods with the argument array of (BackendName, ServerName). The change takes immediate effect.

The XmlRpc URL for these requests is http://snapt/api/key/secret/snaptHA/

Code Example

This uses the Zend XmlRpc client, with a custom function getClient as seen below —