openstack 删除compuet node

作者: admin 分类: openstack 发布时间: 2014-06-24 16:28 ė 6 没有评论

nova-manage service disable –host= –service=nova-compute
nova-manage service disable –host= –service=nova-network
nova-manage service disable –host= –service=nova-scheduler
进入数据库
mysql -uroot -ppasswd
mysql> use nova ;
mysql> show tables;
mysql> select hypervisor_hostname from compute_nodes;
+———————+
| hypervisor_hostname |
+———————+
| A |
| B |
| C |
+———————+
9 rows in set (0.00 sec)
mysql> delete from compute_nodes where hypervisor_hostname=’C’;

删除C节点

mysql>delete from services where host=’node65′;
删除C节点相关信息
mysql>flush privileges;
mysql>quit;

本文出自 小Q,转载时请注明出处及相应链接。

本文永久链接: http://www.linuxqq.com/archives/1281.html

0
更多
Ɣ回顶部