This command allocates Virtual IP (VIP) addresses from a cloud environment to a VIP pool.
Usage
vippool allocate --ips-count COUNT
[--cluster-id CLUSTER_ID]
[--cnode-ids CNODE_IDs]
[--cnode-names CNODE_NAMEs]
[--name NAME]
[--vast-dns-domain-name DOMAIN_NAME]
[--role PROTOCOLS|REPLICATION]
[--vms-preferred | --not-vms-preferred]
[--enable | --disable]
[--tenant-id TENANT_ID | --serve-all-tenants]
[--enable-weighted-balancing | --disable-weighted-balancing]Required Parameters
| Specify the number of VIP addresses to allocate from the cloud provider. |
Options
| Specify the cluster ID. |
| Dedicates a group of CNodes to the VIP pool. Specify CNode IDs as a comma-separated list. |
| Dedicates a group of CNodes to the VIP pool. Specify CNode names as a comma-separated list. |
| Specifies a name for the VIP pool. |
| Specifies the domain name for the VAST Cluster DNS server. |
| Specify |
| Sets CNodes participating in the VIP pool to be preferred VMS hosts. |
| Disables the vms-preferred setting. |
| Enables the VIP pool. |
| Disables the VIP pool. |
| Tenant ID. If set, only the tenant with this ID can access the VIP pool. If not set, the VIP pool is accessible to all tenants. |
| Specify to detach tenant from the VIP pool, enabling the VIP pool to serve all tenants. |
| Enable weighted balancing. |
| Disable weighted balancing. |
Example
This example shows how to allocate 10 cloud VIPs to a new VIP pool named pool1:
vcli: admin> vippool allocate --ips-count 10 --name pool1