版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Ubuntu13.04安装Grizzly版OpenStack1.计划ControlNodeethQ(),ethl(32)MetworkNodeetinO()retinl(23)ComputeNodeethO(Jrethl(34)l.ControlNode1.1前期准备1.1.1Ubuntu系统准备切换用户£UdO5U增加Grizzly源・mpt-getInstall-yut-untu-cIcud-keyrirgechodebhttp:.//1jbuntij-cIchjd.archi1-,1e.canonical.ccim./ubuntupreclse-upda-tes/grizzlymain»/巳土c/-apt/sounces-list.d/grizzl_y.list升级系统:dpt-getupdatedpt-getupgradeapt-getdiet-upgrade1.1.2网络设置^/etc/network/interfaces#FcrExposingOpenStack.APIo^ertheinterne!autoeth0i-F^ceethOinetstaticaddress192.l&S.1.232netmask
ewaydns-nameservers8.S.S.S#Notinternetconnected(used-ForOpenStackmanagement)autoethli-Faceethlinetstaticaddressnetmask设置好后重启网络:servicenetworkingrestartUbuntul3.04桌面版不要用上面的命令重启网络,不然全长死!可以用ifdown和ifup来启劫和停止网卡安装My^L:apt-gretinstall-ymysql-serverpython-nysqldti配置并■重启MySQL:sed-i's///^'/etc/mysql/my.enFservicemysqlrestart创建表;niysql-uroot-p#KeystoneCREATEDATABLEkeystone;6耶NTALLDNkeystone.TO'keystoneUser'(3'IDENTIFIEDBY1keys!onePas5#GLanceCREATEDATABASEglance;GRANTALLONglance.*TO'^lanceUserIDENTIFIEDEY'glancePass';#QuantuniCREATEDATABASEquarrtumjGRANTALLONquarrtum.*TO1quantumUser'K'IDENTIFIEDBY1quantLimPass#NavaCREATEDATABASEnowa;GRANTALLONnowa.+=TO,novdU5er'^,5tf'IDENTIFIEDBY'nov^Pass';#CinderCREATEDATABASEcinder;GRANTALLONcinder.+TO'cinderUser IDE町IFIEDBY'cinderPaes';quit;安装RabbitMQ:■apt-gretinstall-yrabbitmq-server安装NTP:apt-getinstall-yntp配置NTP:#CommenttheubuntuNTPserverssed-i's/server0.ubuntu,pool./#/g'/etc/ntp.confsucl-i's/server1.ubuntu,pool.rrtp.arg/#/g'/ertc/ntp.conf
sed-11s/serwer2.ubuntu.pool.'/:#5er^er2.ubuntu.poo1.ntp.o1/etc/ntp.con-Fsed-i's/5erwer3.ubuntu.pool.';#£/g'/etc/ntp.con-f#5etthenetwork.sed-i's/5erwernodeto-Followupyourconrollernodentp.ubuntu.coni/seryerIO.0.0.2/g'/etc/ntp.con-Fservicentprestart#5etthenetwork.sed-i's/5erwer1.1.4其他apt-^etinstall-yulanbridge-utils配 /etc/sysctl.confsed-i'5/#n£t.ipu4.ip_-Forward=l/net.ipu4.ipjzorward=l/1/etc/sysrtl.c&n-F1.2Keystone安装并检査状态;■3pt-getinstall-ykeystone5eruicekeystonestatus修改/etc/keystone/keystone.wnf中的数据库谗接connection=my?q1://k.eystoneUser:keystunePassi^lO.0-6.2/keystone重启并同步数据库:servicekeys!onerestartkeystone-managecib_sync用下面两个脚本去壊充keyst。哭數据库,也就是增加user,tenant,raleservice以及service的endpoiritSHoditytheHO5T_IPandHO5T_IP_EXT'...'ariablesbeForee?<ecutIngthe5crlptswget/niseknibileI/OpenStsck-«arizzly-Install-Guide/0hE_£ing1eHude/Keystone5cripts/keystone_basic-shwget/mseknibileI/Open5tack-Grizzly-Install-Guide/OV5_5ing1eHode/KeystoneScript5/keystcine_endpoints_ba5ic-5hchmud+兆key51one_ba5zlc.shchmud+】•=keystone_endpoints_basicz.sh/key5tune_bd5ic.5h/keystone_endpoint5_ba5ic.she?;purt0S_AUTH_URL=1132:5000/w2.0/"引入环境变量中;sourcecreds或者可以直接加入eQt(catcreds>>/root/.bashrc)的环境变量,这样重启后就无浦再次引入了查看创建的userkeystoneuser-list同样有命令keystonetenant-liEt和keystonerole-list1.3Glance安装并查看状态,apt-getinstall-yglanceseryiceglance-apistatusserviceglance-resistrystatusftSfc/etc/glanee/gIance-api-paste.inifl/etc/glance/glance-registry-paste.ini文件在;红色为必须票修改(核时)的地方,建议把提到的这几项都核对一下:[■Filter:authlok.en]paste.fliter_-Factory=keystoneclient,middleware.auth-toKenifilterJ^actorydelay_acrth_dec£s1on=trueauth_host=auth_port=35357auth_prcrtocol=http■admintenantname=sericed._\■=idniiri_iJ5er=glanceddHlin_pd55word=5tF1CE_p355^S^/etc/glance/glance-api.conf^n/etc/glance/glance-registry.conft修改数据库连接:sql_c□nnectiun=mysq1://glanceU5er:glancePassi^lO,0.0,2/glance并且在[pamt己_6己卩1叫]下加上flavor=keystone[paste_deploy]fldvor=keystone重启服务serviceglance-apirestart;ser|...1iceglance-registryrestart同步数据库;glance-msnag'edb_s^nc再次重启服务servicegrlance-resistryrestart;serviceglance-apirestart上传镜像測试glance的安裝情况:glanceimage-create--namemyFirstImage--is-publictrue--container—Formatbare--di5k-tormatqcow2--Lucaticmhitps:.//Ldunchpad・net/cirro5/trunk/C1・3・0/+download/cirros-0■J■0-;;86_E4-d15k・g查看镜像:glanceimage-list1.4Quantum安装quantum-server:apt-getinstall-yquantum-5e「uer编辑。vs插件配置文件/etc/quantum/plugins/openvswrtch/ovs_quantum_plugin.rnr#Underthedatabasesection[DATABASE]5ql_connection=mysql://qudntumUser:quantumPa50-0.0.2/quantum#Underthe0V5section[眼扬]tenant_network_type=gretunneL_id_ranges=1:1000en-able_tunne11ng=True编辑/etc/quantum/api-paste,ini[■Filter:authtok.en]paste,tilter_taci□ry=keystuneclient,middleNare■auth_tokenr_Factoryouth_riu5t=auth_purt=35B57auth_protOCul=httpadmin-fenantname=servicef『=5gidniin_password=5ervice_pass编辑/etc/quantum/quantum.conf[keystcne_authtoken]auth_host=auth_pcrt=35357auth_protoeol=httpadmintenantname=servicesdmin_usen=quantum■=idniin_p.=i5sword二eervice-pdiss1gning_dir=/var/11b/quantum/keystone-signing重启quantum服务serwicequantum-serverrestart1.5Nova安装nou日组件:noua-apino,..1a-certnouncnoua-cunso1eauthno、a巳-schedulerno、a巳-no'-.-Ticpro;wnoua-docno,..1a-c
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 湖州市中医院皮肤及软组织超声考核
- 宁德市人民医院美容术前摄影考核
- 扬州市中医院临床思维训练准入考核
- 池州市人民医院医学美容科主治医师晋升考核
- 苏州市中医院质量标准掌握考核
- 丽水市中医院重症患者肌电图考核
- 宿迁市中医院教材专著编写考核
- 漳州市中医院急诊感染控制考核
- 南昌市人民医院科室教学改革协助考核
- 淄博市人民医院血液净化主任医师认证
- 中央空调系统维保服务报价清单
- 2025年成人高考成考(专升本)高等数学(二)试卷与参考答案
- 2024年新人教版一年级数学上册第二单元6~9的加、减法解决问题(1)教学课件
- 宠物行为学健康课程设计
- 工厂用电安全培训课件(课件)
- 高中数学必修一《函数的概念及其表示》说课课件
- 树木砍伐协议书
- 手术器械发展史
- 视觉训练课件
- 精神卫生服务与心理健康服务体系
- 2023中华护理学会团体标准-老年人误吸的预防
评论
0/150
提交评论