資源描述:
《Openstack-高可用部署指導手冊.doc》由會員上傳分享,免費在線閱讀,更多相關內(nèi)容在行業(yè)資料-天天文庫。
1、0.簡介21.需求21.1四類節(jié)點:21.2整體架構(gòu)31.3IP地址規(guī)劃42.網(wǎng)絡節(jié)點52.1準備工作52.2網(wǎng)絡規(guī)劃52.3OpenvSWtich(部分1)62.4Quantum62.5.OpenVSwitch(部分2)82.6.HAProxy82.7.CorosyncandPacemaker132.8.Ceph(onR610-5nodeonly)153.控制節(jié)點153.1準備工作153.2.Networking163.3.MySQL163.4.RabbitMQ173.5.DRBD183.6.PacemakerandCorosync193.7.CreateDatabases2
2、23.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.SwiftProxy50530.
3、簡介本手冊指導大家如何一步一步構(gòu)建一套多節(jié)點的高可用性(HighAvailability)Openstack云平臺,該套平臺同時利用Ceph作為Glance和Cinder的后端存儲,Swift作為對象存儲,Openvswitch作為Quantum組件1.需求1.1四類節(jié)點:Controller,Network,ComputeandSwift531.2整體架構(gòu)531.3IP地址規(guī)劃HostnameHWmodelRoleeth0(external)eth1(mgmt)eth2(vmtraffic)eth3(storage)R710-1R710Swift192.168.1.3410.
4、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.
5、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.101532.網(wǎng)絡節(jié)點2.1準備工作·安裝Uubuntu13.04·添加ceph節(jié)點條目到/etc/hosts文件10.30.30.3R710-310.30.30.2R710-210.30.30.5R610-5`更新系統(tǒng)apt-getupdate-yapt-getupgrade-yapt-getdist-upg
6、rade-y·安裝ntp服務apt-getinstall-yntp添加控制節(jié)點作為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網(wǎng)絡規(guī)劃?編輯/etc
7、/network/interfaces,下面的示例是R610-5節(jié)點,R610-4節(jié)點根據(jù)實際作出相關修改.同時R610-4不需要配置eth3storageIP,因為其上并沒有ceph組件運行autoeth0ifaceeth0inetstaticaddress192.168.1.30netmask255.255.255.0gateway192.168.1.1dns-nameservers8.8.8.8#Openstackmanagementautoeth1ifaceeth1inetstati