Title here
Summary here
Notice: This is the legacy documentation. For the latest features and updates, refer to our current SolusVM documentation.
This utility is capable of performing the following actions in CLI:
This action adds Plan for OpenVZ with the specified parameters.
| Option | Parameter | Description | |
|---|---|---|---|
| –plan-name | Plan name | Mandatory | |
| –hdd | Hdd value(in GBs) | Mandatory | |
| –ram | Guaranteed RAM(in MBs) | Mandatory | |
| –bursted-ram | Bursted RAM(in MBs) | Mandatory | |
| –bandwidth | Bandwidth(in GBs) | Mandatory |
php /usr/local/solusvm/scripts/solusvm --action=add-plan-openvz
--plan-name=test --hdd=10 --ram=256 --bursted-ram=386 --bandwidth=10This action creates API user without IP restriction
| Option | Parameter | Description | |
|---|---|---|---|
| - | - | - | - |
php /usr/local/solusvm/scripts/solusvm --action=add-api-userThis action adds legacy template for OpenVZ with the specified parameters.
| Option | Parameter | Description | |
|---|---|---|---|
| –file-name | Template file name | Mandatory | |
| –template-name | Template name | Mandatory | |
| –description | Template description | Mandatory | |
| –status | Active/Disabled | Template status | Mandatory |
| –arch | x86_64/i386 | Template architecture | Mandatory |
php /usr/local/solusvm/scripts/solusvm --action=add-template-openvz
--file-name=centos-6-x86_64.tar.gz --template-name=test
--description=test --status=Active --arch=x86_64This action registers IPv4 block in SolusVM
| Option | Parameter | Description | |
|---|---|---|---|
| –node-name | Must corresponds to the node name | Node name | Mandatory |
| –block-name | Ipv4 Block name | Mandatory | |
| –gateway | Gateway | Mandatory | |
| –nameserver1 | nameserver | Mandatory | |
| –nameserver2 | nameserver | Mandatory | |
| –netmask | netmask | Mandatory |
php /usr/local/solusvm/scripts/solusvm --action=add-ipv4-block
--node-name=centos6 --block-name=test --gateway=1.2.3.4
--nameserver1=1.2.3.4 --nameserver2=1.2.3.4 --netmask=1.2.3.4This action registers IPv4 IP address in IPv4 block in SolusVM
| Option | Parameter | Description | |
|---|---|---|---|
| –ipv4-address | Ipv4 address | Mandatory | |
| –block-name | Ipv4 Block name | Mandatory |
php /usr/local/solusvm/scripts/solusvm --action=add-ipv4-address
--ipv4-address=1.2.3.4 --block-name=test