本适应于XenServer 5.5 FP1&FP2,
执行以下命令:
On XenServer 5.5, including updates 1 and 2, the following sequence of commands can be used to achieve this:
. /etc/xensource-inventory
staticmax=`xe vm-param-get uuid=$CONTROL_DOMAIN_UUID param-name=memory-static-max`
echo staticmax=$staticmax
xe vm-param-set uuid=$CONTROL_DOMAIN_UUID memory-dynamic-max=$staticmax
xe vm-memory-target-set uuid=$CONTROL_DOMAIN_UUID target=$staticmax
执行以下命令:
On XenServer 5.5, including updates 1 and 2, the following sequence of commands can be used to achieve this:
. /etc/xensource-inventory
staticmax=`xe vm-param-get uuid=$CONTROL_DOMAIN_UUID param-name=memory-static-max`
echo staticmax=$staticmax
xe vm-param-set uuid=$CONTROL_DOMAIN_UUID memory-dynamic-max=$staticmax
xe vm-memory-target-set uuid=$CONTROL_DOMAIN_UUID target=$staticmax
本文转自 zhxhua 51CTO博客,原文链接:http://blog.51cto.com/virtualtop/480378 ,如需转载请自行联系原作者