nova stop uuid 关机[root@controller ~]# nova stop 8a425d87-f53a-4a37-9365-b98daae062bbRequest to stop server 8a425d87-f53a-4a37-9365-b98daae062bb has been accep...
[root@controller ~]# openstack user listIDName06a72bdd76d247fca8328ee17360449eadmin0e1f815fde9b48d6b90727b5c7730478glance6836dfd555ee4df788f268948c1105b7...
[root@controller ~]# openstack role listIDName2e227c837d0741c0b5c854f82a0a1caeadmin32c153c3ecfd4bc0ad425f796b5acf11myrole576f58a9b30b43ca9fb69ddfc48484a7...
虚拟机软重启命令语句 openstack server reboot 虚机名
通过ID进行将虚拟机挂起[root@controller ~]# nova suspend b8095ceb-005c-4ca8-88be-dbdd7bec39ac
根据ID创建一个快照,快照名为:snapshot 1[root@controller ~]# nova image-create b8095ceb-005c-4ca8-88be-dbdd7bec39ac "snapshot 1"
命令:nova volume-detach SERVER-NAME-OR-ID VOLNAME
我们将一台虚拟机名字ROLY-3更改为:wocaoname[root@controller ~]# openstack server set --name wocaoname b8095ceb-005c-4ca8-88be-dbdd7bec39ac
将 该虚拟机状态标识为 active[root@controller ~]# openstack server set --state active b8095ceb-005c-4ca8-88be-dbdd7bec39ac