当前位置:   首页安装配置

模板后缀:CloudStack 安装及使用过程中常见问题汇总

发布日期:2022-05-12 18:57 | 文章来源:CSDN

CloudStack 安装及使用过程中常见问题汇总

在做工程项目中对CloudStack 安装及使用过程中常见的几个问题及如何解决做一个总结。

1、Windows XP虚拟机内部重启不能正确获取IP,windows xp iso建立VM,重启VM无法正确获取IP地址,原因是没有加入域,可以通过修改注册表来解决此问题。设置组策略 计算机配置--管理模板--网络--DNS客户端里的DNS后缀搜索列表,设置为已启动,后缀值为cs1group.internal

Windows 7的虚拟机,还需要设置组策略计算机配置--管理模板--网络--DNS客户端里的连接特定的DNS后缀,设置为已启动,后缀值为cs1group.internal

2、不能下载模板,有几个问题需要确认:

如果是系统模板,可能是网络不通。在CloudStack Management上wget一下相应的url,看是否能够下载,不能下载的话,先解决网络问题。

如果是ISO或者以前的自制模板,则可能是server不对。需要确认:

1),看看浏览器是否能够下载模板的URL。如果不能下载,请解决下载主机的问题(启动httpd,设置iso配置),然后重启 SSVM(secondary storage VM)。
2),修改secstorage.allowed.internal.sites(10.127.0.1/24,根据实际环境配置), 然后重启 SSVM;

3、如果primary和secondary放在系统硬盘,容易导致系统盘空间不足而影响系统运行。可以通过如下方法修改放到其他硬盘。

1)、service cloud-management stop

2)、修改primary文件夹存放硬盘:先mv primary下所有文件到另外的目录,然后mount newdisk primary,然后再将文件mv到primary。这样就不会占用系统盘的硬盘。(secondary目录同)

3)、service cloud-management start

4、给卷附加磁盘时出现错误

Failed to attach volume: Disk3 to VM: cd0e453b-af53-4904-b7d7-54091ee83791; You attempted an operation that requires PV drivers to be installed on the VM. Please install them by inserting xen-pv-drv.iso

关闭VM之后重新附加磁盘,则没有问题.

5、增加不了host,到csmt主机上ssh host,如果不行,解决相关问题后能够ssh后就可以增加host了
SSH连接错误,
如下:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@  WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!   @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
d0:5b:18:96:7c:ee:af:af:a2:6b:a2:02:0a:8c:cd:40.
Please contact your system administrator.
Add correct host key in /home/opzoon/.ssh/known_hosts to get rid of this message.
Offending key in /home/opzoon/.ssh/known_hosts:2
RSA host key for 10.127.0.130 has changed and you have requested strict checking.
Host key verification failed.

原因:密钥发生错误

解决:vi ~/.ssh/known_hosts,删除host对应的密钥

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

联系我们
关于使用场景和技术架构的更多咨询,请联系我们的销售和技术支持团队。
Yingsoo Host

在线
客服

在线客服:7*24小时在线

客服
热线

400-630-3752
7*24小时客服服务热线

关注
微信

关注官方微信
顶部