扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
这篇文章给大家分享的是有关CentOS7.0如何安装OpenStack JUJO 的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
创新互联公司专注于凭祥网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供凭祥营销型网站建设,凭祥网站制作、凭祥网页设计、凭祥网站官网定制、小程序制作服务,打造凭祥网络公司原创品牌,更为您提供凭祥网站排名全网营销落地服务。
安装CentOS 7.0,选择最小化安装,服务器设置如下
IP地址:192.168.0.151/24 网关:192.168.0.1 DNS:192.168.0.1 主机名 node151.example.com
添加RDO YUM源,并修改yum配置保存下载的软件包,便于后续离线安装
# curl -O ftp://partners.redhat.com/8aa5fd896ed3a83f6533a78287906111/OpenStack/6.0-RHEL-7/2015-01-20.1/RH7-RHOS-6.0.repo # sed -i s#keepcache.*#keepcache=1#g /etc/yum.conf # sed -i s#cachedir.*#cachedir=\/var\/cache\/yum\/#g /etc/yum.conf
关闭NetworkManager服务,并开启network服务
# systemctl stop NetworkManager.service # systemctl disable NetworkManager.service # systemctl start network.service # chkconfig network on
安装packstack组件
# yum install –y openstack-packstack
生成packstack应答文件
# packstack --gen-answer-file=allinone.conf
安装openstack
# packstack --answer-file=/root/allinone.conf Welcome to the Packstack setup utility The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log Installing: Clean Up [ DONE ] Setting up ssh keys [ DONE ] Discovering hosts' details [ DONE ] Adding pre install manifest entries [ DONE ] Preparing servers [ DONE ] Adding AMQP manifest entries [ DONE ] Adding MariaDB manifest entries [ DONE ] Adding Keystone manifest entries [ DONE ] Adding Glance Keystone manifest entries [ DONE ] Adding Glance manifest entries [ DONE ] Adding Cinder Keystone manifest entries [ DONE ] Checking if the Cinder server has a cinder-volumes vg[ DONE ] Adding Cinder manifest entries [ DONE ] Adding Nova API manifest entries [ DONE ] Adding Nova Keystone manifest entries [ DONE ] Adding Nova Cert manifest entries [ DONE ] Adding Nova Conductor manifest entries [ DONE ] Creating ssh keys for Nova migration [ DONE ] Gathering ssh host keys for Nova migration [ DONE ] Adding Nova Compute manifest entries [ DONE ] Adding Nova Scheduler manifest entries [ DONE ] Adding Nova VNC Proxy manifest entries [ DONE ] Adding OpenStack Network-related Nova manifest entries[ DONE ] Adding Nova Common manifest entries [ DONE ] Adding Neutron API manifest entries [ DONE ] Adding Neutron Keystone manifest entries [ DONE ] Adding Neutron L3 manifest entries [ DONE ] Adding Neutron L2 Agent manifest entries [ DONE ] Adding Neutron DHCP Agent manifest entries [ DONE ] Adding Neutron LBaaS Agent manifest entries [ DONE ] Adding Neutron Metering Agent manifest entries [ DONE ] Adding Neutron Metadata Agent manifest entries [ DONE ] Checking if NetworkManager is enabled and running [ DONE ] Adding OpenStack Client manifest entries [ DONE ] Adding Horizon manifest entries [ DONE ] Adding Swift Keystone manifest entries [ DONE ] Adding Swift builder manifest entries [ DONE ] Adding Swift proxy manifest entries [ DONE ] Adding Swift storage manifest entries [ DONE ] Adding Swift common manifest entries [ DONE ] Adding Provisioning Demo manifest entries [ DONE ] Adding Provisioning Glance manifest entries [ DONE ] Adding MongoDB manifest entries [ DONE ] Adding redis manifest entries [ DONE ] Adding Ceilometer manifest entries [ DONE ] Adding Ceilometer Keystone manifest entries [ DONE ] Adding Nagios server manifest entries [ DONE ] Adding Nagios host manifest entries [ DONE ] Adding post install manifest entries [ DONE ] Installing Dependencies [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 192.168.0.151_prescript.pp 192.168.0.151_prescript.pp: [ DONE ] Applying 192.168.0.151_amqp.pp Applying 192.168.0.151_mariadb.pp 192.168.0.151_amqp.pp: [ DONE ] 192.168.0.151_mariadb.pp: [ DONE ] Applying 192.168.0.151_keystone.pp Applying 192.168.0.151_glance.pp Applying 192.168.0.151_cinder.pp 192.168.0.151_keystone.pp: [ DONE ] 192.168.0.151_glance.pp: [ DONE ] 192.168.0.151_cinder.pp: [ DONE ] Applying 192.168.0.151_api_nova.pp 192.168.0.151_api_nova.pp: [ DONE ] Applying 192.168.0.151_nova.pp 192.168.0.151_nova.pp: [ DONE ] Applying 192.168.0.151_neutron.pp 192.168.0.151_neutron.pp: [ DONE ] Applying 192.168.0.151_osclient.pp Applying 192.168.0.151_horizon.pp 192.168.0.151_osclient.pp: [ DONE ] 192.168.0.151_horizon.pp: [ DONE ] Applying 192.168.0.151_ring_swift.pp 192.168.0.151_ring_swift.pp: [ DONE ] Applying 192.168.0.151_swift.pp Applying 192.168.0.151_provision_demo.pp Applying 192.168.0.151_provision_glance 192.168.0.151_swift.pp: [ DONE ] 192.168.0.151_provision_demo.pp: [ DONE ] 192.168.0.151_provision_glance: [ DONE ] Applying 192.168.0.151_mongodb.pp Applying 192.168.0.151_redis.pp 192.168.0.151_mongodb.pp: [ DONE ] 192.168.0.151_redis.pp: [ DONE ] Applying 192.168.0.151_ceilometer.pp 192.168.0.151_ceilometer.pp: [ DONE ] Applying 192.168.0.151_nagios.pp Applying 192.168.0.151_nagios_nrpe.pp 192.168.0.151_nagios.pp: [ DONE ] 192.168.0.151_nagios_nrpe.pp: [ DONE ] Applying 192.168.0.151_postscript.pp 192.168.0.151_postscript.pp: [ DONE ] Applying Puppet manifests [ DONE ] Finalizing [ DONE ] **** Installation completed successfully ****** Additional information: * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * File /root/keystonerc_admin has been created on OpenStack client host 192.168.0.151. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.0.151/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.0.151/nagios username: nagiosadmin, password: 0fa3c8326ec4457a * Because of the kernel update the host 192.168.0.151 requires reboot. * The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log * The generated manifests are available at: /var/tmp/packstack/20150227-233818-CnLUnf/manifests
查看openstack dashboard,在浏览器中打开http://192.168.0.151/dashboard
感谢各位的阅读!关于“CentOS7.0如何安装OpenStack JUJO ”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流