天天看点

CloudStack 4.4+KVM之CloudStack配置过程三、Cloudstack配置过程

CloudStack 4.4+KVM之管理服务器安装   

CloudStack 4.4+KVM之KVM计算节点安装    

<a href="http://koumm.blog.51cto.com/703525/1558670" target="_blank">http://koumm.blog.51cto.com/703525/1558670</a>

CloudStack 4.4+KVM之CloudStack配置过程    

CloudStack 4.4+KVM之通过ISO文件创建CentOS虚拟机

<a href="http://koumm.blog.51cto.com/703525/1564958" target="_blank">http://koumm.blog.51cto.com/703525/1564958</a>

用火狐浏览器访问, IE不兼容性CloudStack    

<a href="http://192.168.10.185:8080/client" target="_blank">http://192.168.10.185:8080/client</a>

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_14117460623r2P.jpg" target="_blank"></a>

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746064kjMS.jpg" target="_blank"></a>

跳过此指南。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746070HWiw.png" target="_blank"></a>

Cloudstack由tomcat6提供服务,安装位置/etc/tomcat6/    

Cloudstack安装位置 /etc/cloudstack/management     

cloudstack日志在/var/log/cloudstack

cloudstack架构图如下:

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746079g8bs.png" target="_blank"></a>

存储支持架构图,由于KVM虚拟化如果要使用光迁存储,可使用集群文件系统来共享磁盘。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746087zZym.png" target="_blank"></a>

1)点击基础架构,查看区域,添加区域

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746093CP8t.png" target="_blank"></a>

2)选择添加基本区域

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746098mzRZ.png" target="_blank"></a>

3)输入区域名称,虚拟机管理程序,其它按实际配置

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_14117461023bth.png" target="_blank"></a>

4)默认,本环境没有存储网终。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746106df3S.png" target="_blank"></a>

5)配置POD, 可以简单理解是给CloudStack内部系统用的IP,如系统VM使用的IP, 管理IP

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746111W9Uh.png" target="_blank"></a>

6)配置来宾网络,可以简单理解创建的虚拟机需要使用的IP段。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746114JYGz.png" target="_blank"></a>

7)配置kvm集群。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746118bQJb.png" target="_blank"></a>

8)添加第一台主机。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_14117461217792.png" target="_blank"></a>

8)配置主存储,根据原理主存储是挂载在群集上面的。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746125JNsJ.png" target="_blank"></a>

9)配置辅助存储。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_14117461285ZK3.png" target="_blank"></a>

10)准备启动区域。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746131MEaq.png" target="_blank"></a>

11)启用区域。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746134tY4o.png" target="_blank"></a>

12)添加完成,查看基础架构如下图。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_141174614026EB.png" target="_blank"></a>

13)查看系统VM。添加过程中最大的问题可能在系统VM无法创建及启动, 并且日志一直显示在创建系统VM,这时需要在node01环境上service libvirtd restart 后即可正常。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746144IWow.png" target="_blank"></a>

14)查看控制板

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_14117461487vHI.png" target="_blank"></a>

到此配置过程正确完成。

在node01节点上查看挂载的NFS目录及系统虚拟机启动情况如下,由管理程序自动挂载,无需要手动去挂载干预。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746152Dlbg.png" target="_blank"></a>

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746154fHBR.png" target="_blank"></a>

1)在基本架构中点击主机,查看全部

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746158e5aX.png" target="_blank"></a>

2)添加主机

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746162sfxR.png" target="_blank"></a>

3)过一会儿查看,添加成功。

<a href="http://koumm.blog.51cto.com/attachment/201409/26/703525_1411746165E7uA.png" target="_blank"></a>

到此cloudstack配置过程完成。

本文转自 koumm 51CTO博客,原文链接:http://blog.51cto.com/koumm/1558683,如需转载请自行联系原作者