预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共53页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

0.简介21.需求21.1四类节点:21.2整体架构31.3IP地址规划42.网络节点52.1准备工作52.2网络规划52.3OpenvSWtich(部分1)62.4Quantum62.5.OpenVSwitch(部分2)82.6.HAProxy82.7.CorosyncandPacemaker132.8.Ceph(onR610-5nodeonly)153.控制节点153.1准备工作153.2.Networking163.3.MySQL163.4.RabbitMQ173.5.DRBD183.6.PacemakerandCorosync193.7.CreateDatabases223.8.Ceph233.9.Keystone253.10.Glance263.11.Quantum283.12.Nova293.13.Cinder313.14.Horizon334.ComputeNodes334.1.PreparingtheNode334.2.Networking344.3.KVM344.4.OpenVSwitch354.5.Quantum364.6.Ceph364.7.Nova375.SwiftNode395.1.PreparingtheNode395.2.Networking395.3.SwiftStorage405.4.SwiftProxy500.简介本手册指导大家如何一步一步构建一套多节点的高可用性(HighAvailability)Openstack云平台该套平台同时利用Ceph作为Glance和Cinder的后端存储Swift作为对象存储Openvswitch作为Quantum组件1.需求1.1四类节点:ControllerNetworkComputeandSwift1.2整体架构1.3IP地址规划HostnameHWmodelRoleeth0(external)eth1(mgmt)eth2(vmtraffic)eth3(storage)R710-1R710Swift192.168.1.3410.10.10.1R710-2R710Controller_bak192.168.1.3310.10.10.210.30.30.2R710-3R710Controller192.168.1.3210.10.10.310.30.30.3R710-4R710Network192.168.1.3110.10.10.410.20.20.410.30.30.4R710-5R710Network_bak192.168.1.3010.10.10.510.20.20.510.30.30.5R710-7R710Compute192.168.1.3610.10.10.710.20.20.710.30.30.7R710-8R710Compute192.168.1.3810.10.10.810.20.20.810.30.30.8VIP-API192.168.1.4310.10.10.200VIP-Mysql10.10.10.100VIP-Rabbitmq10.10.10.1012.网络节点2.1准备工作·安装Uubuntu13.04·添加ceph节点条目到/etc/hosts文件10.30.30.3R710-310.30.30.2R710-210.30.30.5R610-5`更新系统apt-getupdate-yapt-getupgrade-yapt-getdist-upgrade-y·安装ntp服务apt-getinstall-yntp添加控制节点作为NTP服务器然后重启服务echo"server10.10.10.3">>/etc/ntp.confecho"server10.10.10.2">>/etc/ntp.confservicentprestart·安装其他服务apt-getinstall-yvlanbridge-utils·开启IP_Forwardingsed-i's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/'/etc/sysctl.confsysctl-p2.2网络规划•编辑/etc/network/interfaces下面的示例是R610-5节点R610-4节点根据实际作出相关修改.同时R610-4不需要配置eth3storageIP因为其上并没有ceph组件运行autoeth0ifaceeth0inetstaticaddress192.168.1.30netmask