Attach-node
Attach a Prepared Node to an Existing Cluster
Command: cluster attach-node
Attaches a prepared node to a pre-existing cluster.
Usage
pf9ctl cluster attach-node [OPTIONS] CLUSTER_NAME
Flag | Type | Required/Optional | Description |
---|---|---|---|
-m , --master-ip | String | Optional | IP of the node you wish to attach as a master node for this cluster. Repeat this option multiple times to specify multiple nodes as masters. If you wish to make the current node also a master, specify it as localhost or specify the current node’s IP address |
-w , --worker-ip | String | Optional | IP of the node you wish to attach as a worker node for this cluster. Repeat this option multiple times to specify multiple nodes as workers. If you wish to make the current node also a worker, specify it as ‘localhost’ or specify the current node’s IP address. |
--help | Show this message and exit. |
Example
This sample command attaches 1 master and 2 workers to the cluster MyPMKCluster
pf9ctl cluster attach-node -m 150.20.7.69 -w 150.20.7.70 -w 150.20.7.71 MyPMKCluster
Troubleshooting
Refer to Troubleshooting CLI Issues.
Was this page helpful?