Page tree
Skip to end of metadata
Go to start of metadata

The addnode.php utility adds a slave node to master node.

Options

OptionParameterDescription
--typekvm OR xen OR openvzThe virtualization type of the node.Mandatory
--name
The name of the nodeMandatory
--id
The hash key for the API connection from /usr/local/solusvm/data/solusvm.conf fileMandatory
--key
The hash password key for the API connection from /usr/local/solusvm/data/solusvm.conf fileMandatory
--ip
IP address of the slave nodeMandatory
--host


port
SSH port of the slave nodeMandatory
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>
  • No labels