Show Table of Contents
4.23. vmpool
vmpool 资源类型是所有虚拟机池资源在 Red Hat Virtualization 环境中的组合。
表 4.66. 虚拟机池参数
| 名称 | 类型 | 描述 | 必需的 | 用户可创建 | 用户可更新 |
|---|---|---|---|---|---|
--cluster-id|name
|
字符串
|
虚拟机池所在集群的标识。
|
是
|
是
|
是
|
--template-id|name
|
字符串
|
虚拟机池中的虚拟机所基于的模板标识。
|
是
|
是
|
是
|
--name
|
字符串
|
虚拟机池的名称。
|
是
|
是
|
是
|
--size
|
整数
|
虚拟机池中的虚拟机数量。
|
是
|
是
|
是
|
例 4.48. 创建一个新虚拟机池
[RHEVM shell (connected)]# add vmpool --cluster-name MyCluster --template-name MyTemplate --name MyPool --size 3
例 4.49. 更新一个虚拟机池
[RHEVM shell (connected)]# update vmpool MyPool --size 4
例 4.50. 删除一个虚拟机池
[RHEVM shell (connected)]# remove vmpool MyPool

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.