Add a Cluster
- Last Updated: December 11, 2024
- 1 minute read
- LoadMaster
- LoadMaster LTSF
- Documentation
The following command adds a cluster called addedcluster with an IP address of 3.3.3.3. A cluster requires an IP address and a name.
curl -k "https://bal:1fourall@20.200.25.100/access/addcluster?ip=3.3.3.3&name=addedcluster"Response:
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="ok"><Success>Cluster 3.3.3.3 added</Success></Response>To view the cluster, run the listclusters command.
<Response stat="200" code="ok"><Success><Data><cluster><Index>1</Index><Name>addedcluster</Name><ClusterVSAddress/><IPAddress>3.3.3.3</IPAddress><Checker>none</Checker><CheckerPort>0</CheckerPort><Type>default</Type><Enable>Y</Enable><LocationLatitude>0.00000000</LocationLatitude><LocationLongitude>0.00000000</LocationLongitude></cluster></Data></Success></Response>