CloudStack SSVM 启动不了,可执行如下查询sql来确定

 

 SSVM 启动不了,可执行如下查询sql来确定

get zone template
select a.* from vm_template a, host h where h.type = 'Routing' and h.data_center_id = 1 and a.type = 'System' and a.hypervisor_type  = h.hypervisor_type limit 1;   #templateid is 1

get zone secondary storage
select * from host where type = 'SecondaryStorage' and data_center_id = 1;  # host id is 3

get zone template and host ref      
select * from template_host_ref where host_id = 3 and template_id = 1 and download_state = 'DOWNLOADED'; # host id and template id  is query by before.

get host primary storage pool
SELECT p.data_center_id,  count(ph.host_id) count  FROM storage_pool p, storage_pool_host_ref ph WHERE p.id = ph.pool_id AND  p.data_center_id = 1 GROUP by p.data_center_id;
count need bigger than 0;
这个是ssvm不启动的时候原因查找,这个是查询问题的,查询出问题,解决相应问题,CS会自动启动SSVM的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值