3.5.8 Managing Servers in a Server Pool

Once your server pool is fully set up, you can manage the servers that belong to the server pool.

To add a server to the server pool use the serverPoolAddServer method, which requires the ID of the server pool and the ID of the server.

Note

The first server that you add to a server pool is automatically promoted to the Master server for the pool. It is possible to modify the server pool object to set the ID for the Master server at a later stage.

Similarly, to remove a server, use the serverPoolRemoveServer method.

Note

Remove the Master server from the pool after all other servers have been removed