資源描述:
《Openstack-高可用部署指導(dǎo)手冊.doc》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、0.簡介21.需求21.1四類節(jié)點(diǎn):21.2整體架構(gòu)31.3IP地址規(guī)劃42.網(wǎng)絡(luò)節(jié)點(diǎn)52.1準(zhǔn)備工作52.2網(wǎng)絡(luò)規(guī)劃52.3OpenvSWtich(部分1)62.4Quantum62.5.OpenVSwitch(部分2)82.6.HAProxy82.7.CorosyncandPacemaker132.8.Ceph(onR610-5nodeonly)153.控制節(jié)點(diǎn)153.1準(zhǔn)備工作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、簡介本手冊指導(dǎo)大家如何一步一步構(gòu)建一套多節(jié)點(diǎn)的高可用性(HighAvailability)Openstack云平臺,該套平臺同時(shí)利用Ceph作為Glance和Cinder的后端存儲,Swift作為對象存儲,Openvswitch作為Quantum組件1.需求1.1四類節(jié)點(diǎn):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)絡(luò)節(jié)點(diǎn)2.1準(zhǔn)備工作·安裝Uubuntu13.04·添加ceph節(jié)點(diǎn)條目到/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服務(wù)apt-getinstall-yntp添加控制節(jié)點(diǎn)作為NTP服務(wù)器,然后重啟服務(wù)echo"server10.10.10.3">>/etc/ntp.confecho"server10.10.10.2">>/etc/ntp.confservicentprestart·安裝其他服務(wù)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)絡(luò)規(guī)劃?編輯/etc
7、/network/interfaces,下面的示例是R610-5節(jié)點(diǎn),R610-4節(jié)點(diǎn)根據(jù)實(shí)際作出相關(guān)修改.同時(shí)R610-4不需要配置eth3storageIP,因?yàn)槠渖喜]有ceph組件運(yùn)行autoeth0ifaceeth0inetstaticaddress192.168.1.30netmask255.255.255.0gateway192.168.1.1dns-nameservers8.8.8.8#Openstackmanagementautoeth1ifaceeth1inetstati