addnode.php¶
The addnode.php utility adds a slave node to master node.
Options¶
Option | Parameter | Description | |
---|---|---|---|
--type | kvm OR xen OR openvz | The virtualization type of the node. | Mandatory |
--name | The name of the node | Mandatory | |
--id | The hash key for the API connection from /usr/local/solusvm/data/solusvm.conf file | Mandatory | |
--key | The hash password key for the API connection from /usr/local/solusvm/data/solusvm.conf file | Mandatory | |
--ip | IP address of the slave node | Mandatory | |
--host | |||
port | SSH port of the slave node | Mandatory | |
lvm | The name of the volume group on the slave that will be used to create LVM storages | ||
country | |||
city | |||
licensetype | |||
interface | |||
interfacespeed | |||
friendlyname | |||
hostname | |||
maxvps |
Example¶
php /usr/local/solusvm/scripts/addnode.php --type=kvm --name=slavekvmnode --ip='<ip_address>' --port=22 --id=<hash_id> --key=<hash_key> --lvm=<vg_name>