多台机器部署openstack_第1页
多台机器部署openstack_第2页
多台机器部署openstack_第3页
多台机器部署openstack_第4页
多台机器部署openstack_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Ubuntu13.04安装 Grizzly 版 OpenStack1.计划Control NodeethO (10-0.0.2), ethl 32MetworkNodeettiO (10.0.03), ethl 33匚 o mputeModeetii0()t ethl (34)Gofltio lerN)Flr*yton YSQLHCST-C:iCST_I F编辑文件creds#Paste the following:export OS_TE NAfiT_NAHE =adminexport OS_USERRAHE=

2、admin export OS_PASS10RD-admin_pas sexport OS_AUTH_URL-,http:/192.16.232:5000/v2.0/H引入环戦量中;source creds或者可以直接加入root (cat creds/root/.bashrc)的环境变量,这样重启后 就无盏再次引入了查看创建的userkeystone user-list同样有命令 keystone tenant-list 和 keystone role-list1.3 Glance安装并查看状态,apt -get install -y glanceservice glastatusservi

3、ce glance厂亡gistry status1!gfc/etc/glance/gl ance-a pi-paste.i ni?n/etc/glance/glance-registry-pasteJnf 文件注;红色为必须要修改(核对)的地方,建议把提到的这几项都 核对一下:Filtersauthtokenpas t亡.FiPt 亡 r_fcctory = keys to neclient. middleware. auth_toKen;filter_factorydelay_auth_decision trueauth_host = authport 35357auth_p

4、rotocol = httpadmin tenant name = serviceadmin_user = glanceadmin_pa$sword service_pass编辑/etc/glance/glanceapi.c onf n/etc/glance/glance-registry.conft修改数据库连接:sql_connection = mysql:/glanceUse厂:glancePass10 002/glance并且在p8Ste_deploy下力0上 flavor = keystonepaste_deployflavor = keystone重启服务service glanc

5、eapi restart; service glanceregistry restart同步数据库;glance-manage db_sync再次重启服务service glarestart; service glaapi restart上传镜像测试glance的安装情况:glance image-creat e name myFirstlmage -is -public true c:ontainerfo广mat bare -disk-format qcow2 locationhttps: /launchpad. net/cirros/trunk/0.3. QAdownload/cirros

6、 -0.3.0-x86_64-disk img查看镜像:glance image-list1.4 Quantum安装 quantum-server:apt install -y qudrrtum-se厂ver编辑o”s楠件配逬文件/etc/quantijm/plugins/openvswitch/ovs_quantum_plugin.ini#Under the database sectionDATABASE sql_conrection = mysql: /quantumllser :quarrtumPass100 0 2/quant um#Under the OVS sectionOVS

7、tena rrt_n etwork_type = gre tunnel_id_ranges 1:1000 enablestunneling = True编辑 /etc/quantum/api-paste.inif ilt er: autht oke npaste keystoneclient middlewa广eairth_token:filt皂r_Factoryauth_host = auth_port = 35357 auth_prot ocol = httpadaint 皂 nont .name = servicedBin_user = qua rrtumadnin_pa

8、s sword service_pass编辑 /etc/quantum/quantum.confkeys tone_authto kenuth_hnct = W.0.0.?auth_port 35357auth_prot ocol = httpaduintendnt_nani亡 serviceadainuser = quantumddain_password = ervice_pass$lgning_di广 = /var/lib/quantura/keystone-signing重启quantum服务service quantum-servgr restart1.5 Nova安装nova组件:

9、nova-api novacer*t novnc novauonsole8uth nova-scheduler nova-novncproxy novadoc: novaconductoT编辑/e tc/n ova/api-pa s t enifilter:authtoke npaste Filterfactofy keys to nclie nt middleware. auth_toke n: filter_factoryauth host 10.0. 0.2 auth_pont = 35357auth_protocol = httpadmin_tenant_n&me = serviceadmin_us电厂=novaadmi n_pas scord = service_passsigning_dirnami = /tmp/keystonsigningnova# Workaround for https: /bugs.launchpad.ne

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论