Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sahara RDO part1

1,908 views

Published on

Installing sahara within RDO using Centos 6.5

Published in: Technology, Travel

Sahara RDO part1

  1. 1. Simple steps to install Sahara within RDO Asmaa Ibrahim
  2. 2. 2 Install RDO on Centos 6.5 ● Open Terminal, and run these command as a root: ● Update the system sudo yum update -y ● Setup the RDO repositories: – sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm ● Install Packstack Installer – sudo yum install -y openstack-packstack ● Run Packstack to install OpenStack – Packstack –-allinone # this command will ask you about your centos machine root password
  3. 3. 3 How to open dashboard ● Write the machine ip in the browser; then it will ask you for user name and password. ● To know this data, write this command : cat keystone_admin #this file exists on root home
  4. 4. 4 Setup Sahara on RDO
  5. 5. 5 Installing Sahara Package ● Install the sahara-api service: $ yum install openstack-sahara
  6. 6. 6 Sahara Configuration ● Configure the sahara-api service to your liking. The configuration file is located in /etc/sahara/sahara.conf. 1. Comment two lines: #connection=sqlite:////var/lib/sahara/sahara-server.db #connection=sqlite:////var/lib/sahara/sahara-server.db 2. Edit this line connection=sqlite:////tmp/sahara.db 3. Uncomment these line, and you will find their data on keystone_admin file os_auth_host= os_auth_port= os_admin_username= os_admin_password= os_admin_tenant_name= 4. If you are using Neutron for networking, then set use_neutron=true
  7. 7. 7 Run These commands on the terminal 1. Create database schema sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head 2. - :Start the sahara api service service openstack-sahara-api start 3. Set the sahara on your run level chkconfig openstack-sahara-api on
  8. 8. 8 Sahara Dashboard Installation
  9. 9. 9 Sahara Dashboard Installation 1. :Setup sahara dashboard using this command sudo yum install python-django-sahara 2. Configure OpenStack Dashboard. In settings.py add sahara to HORIZON_CONFIG = { 'dashboards': ('nova', 'syspanel', 'settings', ..., 'sahara'), and also add saharadashboard to INSTALLED_APPS = ( x'saharadashboard', .... File full path is: /usr/share/openstack-dashboard/openstack_dashboard/settings.py
  10. 10. 10 More File Configuration 3. Open this file and edit 3 lines: # vim /usr/share/openstack- dashboard/openstack_dashboard/local/local_settings.py SAHARA_USE_NEUTRON = True AUTO_ASSIGNMENT_ENABLED = False SAHARA_URL = 'http://ip:8386/v1.1'
  11. 11. 11 Restart The Related services ● Restart Sahara service: service openstack-sahara-api start ● Restart web server service (httpd): sudo service httpd reload ● Refresh web-browser, u will see:
  12. 12. 12
  13. 13. 13 Thanks

×