openstack修改虚拟机内存和cpu

  • A+
所属分类:Linux

openstack修改kvm虚拟机内存和cpu

  1. 查找修改主机的实例列表
    nova list|grep u22e

openstack修改虚拟机内存和cpu

2.查看主机的详细信息

nova show 63caa607-ce65-44c4-950d-84e89a90546f

openstack修改虚拟机内存和cpu

3.显示所有flavor列表

nova flavor-list

openstack修改虚拟机内存和cpu

4.修改主机的flavor ID(配置8c-24g)

nova resize 63caa607-ce65-44c4-950d-84e89a90546f 24bdb7e2-c626-46e1-a44b-56996e6a34b5

5.重算并提交机器的配置

nova resize-confirm 63caa607-ce65-44c4-950d-84e89a90546f

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: