您好,登錄后才能下訂單哦!
Centos 7中怎么利用RDO單節(jié)點(diǎn)安裝Openstack,很多新手對(duì)此不是很清楚,為了幫助大家解決這個(gè)難題,下面小編將為大家詳細(xì)講解,有這方面需求的人可以來學(xué)習(xí)下,希望你能有所收獲。
一、安裝前準(zhǔn)備
[root@ux-v ~]# systemctl top firewalld [root@ux-v ~]# systemctl disable firewalld [root@ux-v ~]# vim /etc/selinux/config SELINUX=disabled [root@ux-v ~]# vim /etc/hosts 127.0.0.1 ux-v 192.168.1.115 ux-v ###建議將YUN源和EPEL源修改為阿里云
二、安裝openstack
[root@ux-v ~]# yum install centos-release-openstack [root@ux-v ~]# yum update
三、安裝openstack-packstack
[root@ux-v ~]# yum install openstack-packstack
四、RDO單節(jié)點(diǎn)安裝openstack
[root@ux-v ~]# packstack --allinone Welcome to the Packstack setup utility The installation log file is available at: /var/tmp/packstack/20160629-203234-1Odr9v/openstack-setup.log Installing: Clean Up [ DONE ] Discovering ip protocol version [ DONE ] Setting up ssh keys [ DONE ] Preparing servers [ DONE ] Pre installing Puppet and discovering hosts' details [ DONE ] Adding pre install manifest entries [ DONE ] Setting up CACERT [ DONE ] Adding AMQP manifest entries [ DONE ] Adding MariaDB manifest entries [ DONE ] Adding Apache manifest entries [ DONE ] Fixing Keystone LDAP config parameters to be undef if empty[ 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 VPNaaS Agent manifest entries [ DONE ] Adding Neutron FWaaS Agent manifest entries [ DONE ] Adding Neutron LBaaS Agent 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 Metering Agent manifest entries [ DONE ] Adding Neutron Metadata Agent manifest entries [ DONE ] Adding Neutron SR-IOV Switch 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 manifest entries [ DONE ] Adding Provisioning Glance manifest entries [ DONE ] Adding Provisioning Demo bridge manifest entries [ DONE ] Adding Gnocchi manifest entries [ DONE ] Adding Gnocchi Keystone 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 Aodh manifest entries [ DONE ] Adding Aodh Keystone manifest entries [ DONE ] Adding Nagios server manifest entries [ DONE ] Adding Nagios host manifest entries [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 192.168.1.115_prescript.pp 192.168.1.115_prescript.pp: [ DONE ] Applying 192.168.1.115_amqp.pp Applying 192.168.1.115_mariadb.pp 192.168.1.115_amqp.pp: [ DONE ] 192.168.1.115_mariadb.pp: [ DONE ] Applying 192.168.1.115_apache.pp 192.168.1.115_apache.pp: [ DONE ] Applying 192.168.1.115_keystone.pp Applying 192.168.1.115_glance.pp Applying 192.168.1.115_cinder.pp 192.168.1.115_keystone.pp: [ DONE ] 192.168.1.115_glance.pp: [ DONE ] 192.168.1.115_cinder.pp: [ DONE ] Applying 192.168.1.115_api_nova.pp 192.168.1.115_api_nova.pp: [ DONE ] Applying 192.168.1.115_nova.pp 192.168.1.115_nova.pp: [ DONE ] Applying 192.168.1.115_neutron.pp 192.168.1.115_neutron.pp: [ DONE ] Applying 192.168.1.115_osclient.pp Applying 192.168.1.115_horizon.pp 192.168.1.115_osclient.pp: [ DONE ] 192.168.1.115_horizon.pp: [ DONE ] Applying 192.168.1.115_ring_swift.pp 192.168.1.115_ring_swift.pp: [ DONE ] Applying 192.168.1.115_swift.pp 192.168.1.115_swift.pp: [ DONE ] Applying 192.168.1.115_provision.pp Applying 192.168.1.115_provision_glance 192.168.1.115_provision.pp: [ DONE ] 192.168.1.115_provision_glance: [ DONE ] Applying 192.168.1.115_provision_bridge.pp 192.168.1.115_provision_bridge.pp: [ DONE ] Applying 192.168.1.115_gnocchi.pp 192.168.1.115_gnocchi.pp: [ DONE ] Applying 192.168.1.115_mongodb.pp Applying 192.168.1.115_redis.pp 192.168.1.115_mongodb.pp: [ DONE ] 192.168.1.115_redis.pp: [ DONE ] Applying 192.168.1.115_ceilometer.pp 192.168.1.115_ceilometer.pp: [ DONE ] Applying 192.168.1.115_aodh.pp 192.168.1.115_aodh.pp: [ DONE ] Applying 192.168.1.115_nagios.pp Applying 192.168.1.115_nagios_nrpe.pp 192.168.1.115_nagios.pp: [ DONE ] 192.168.1.115_nagios_nrpe.pp: [ DONE ] Applying Puppet manifests [ DONE ] Finalizing [ DONE ] **** Installation completed successfully ****** Additional information: * A new answerfile was created in: /root/packstack-answers-20160629-203235.txt * 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.1.115. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.1.115/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.1.115/nagios username: nagiosadmin, password: 0fe8c0d481c3423d * The installation log file is available at: /var/tmp/packstack/20160629-203234-1Odr9v/openstack-setup.log * The generated manifests are available at: /var/tmp/packstack/20160629-203234-1Odr9v/manifests
五、導(dǎo)入openstack變量
[root@ux-v ~]# chmod +x keystonerc_admin [root@ux-v ~]# ./keystonerc_admin
六、登錄dashboard
http://IP/dashboard #賬號(hào)密碼在:~/keystonerc_admin
七、登錄nagios
http://IP/nagios #username: nagiosadmin, password: 0fe8c0d481c3423d 在安裝完成的信息里
看完上述內(nèi)容是否對(duì)您有幫助呢?如果還想對(duì)相關(guān)知識(shí)有進(jìn)一步的了解或閱讀更多相關(guān)文章,請(qǐng)關(guān)注億速云行業(yè)資訊頻道,感謝您對(duì)億速云的支持。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。