11 月 272013
 

xenserver-host-template-mem-01 xenserver-host-template-mem-02i

查看当前的模板最小内存值

[root@h01 ~]# xe template-list name-label=CentOS\ 6\ \(32-bit\) params=memory-static-min --minimal
 536870912
[root@h01 ~]#

获取指定模板的UUID值

[root@h01 ~]# xe template-list name-label=CentOS\ 6\ \(32-bit\) params=uuid --minimal
 0114dd35-65f7-2bf6-bcda-4e31274c2c3f

修改指定模板的最小内存值

[root@h01 ~]# xe template-param-set uuid=0114dd35-65f7-2bf6-bcda-4e31274c2c3f memory-static-min=128MiB

查看修改后的慢板最小内存值

[root@h01 ~]# xe template-list name-label=CentOS\ 6\ \(32-bit\) params=memory-static-min --minimal
 134217728
[root@h01 ~]#

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)