4.23. vmpool
The
vmpool
resource type groups all virtual machine pool resources in a Red Hat Virtualization environment.
Name | Type | Description | Required | User Creatable | User Updatable |
---|---|---|---|---|---|
--cluster-id|name
|
string
|
A reference to the cluster for the virtual machine pool.
|
Yes
|
Yes
|
Yes
|
--template-id|name
|
string
|
A reference to the template for the virtual machine pool.
|
Yes
|
Yes
|
Yes
|
--name
|
string
|
The name of the virtual machine pool.
|
Yes
|
Yes
|
Yes
|
--size
|
integer
|
The number of the virtual machines in the pool.
|
Yes
|
Yes
|
Yes
|
Example 4.48. Creating a new virtual machine pool
[RHEVM shell (connected)]# add vmpool --cluster-name MyCluster --template-name MyTemplate --name MyPool --size 3
Example 4.49. Updating a virtual machine pool
[RHEVM shell (connected)]# update vmpool MyPool --size 4
Example 4.50. Deleting a virtual machine pool
[RHEVM shell (connected)]# remove vmpool MyPool