Skip to content

wangyan4172/openstack-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenStack Setup Scripts

These scripts install+setup OpenStack (an all in one server, or all bar compute + compute nodes).

This only suports VLAN networking where each server has 2x network cards
It could be changed for others, but out of the box, thats what it does.

Do this on all servers

Edit "settings" to suit..

Install this PPA https://launchpad.net/~managedit/+archive/openstack

apt-get install -y python-software-properties  
apt-add-repository -y ppa:managedit/openstack  
apt-get update  
apt-get install -y managedit-openstack-pin  

Install and configure NTP

apt-get install -y ntp

(Todo: Configure nodes to use controller as NTP source)

Do this on On the MySQL / RabbitMQ / NTP Servers (Probably your controller node)

Install MySQL, RabbitMQ and ntp

apt-get install -y python-mysqldb mysql-server rabbitmq-server  
sed -i 's/server ntp.ubuntu.com/server ntp.ubuntu.com n\server 127.127.1.0 n\fudge 127.127.1.0 stratum 10/g' /etc/ntp.conf  
service ntp restart  
sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf  
service mysql restart  

Grant root remote access to MySQL

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '$PASSWORD' WITH GRANT OPTION; FLUSH PRIVILEGES;

Install Keystone

Run this:

./keystone.sh

then test with:

./keystone-test.sh

Install Glance

Run this:

./glance.sh

then test with:

./glance-test.sh

Install Nova

Controller Node

Run this:

./nova-controller.sh

Compute Node(s)

Run this:

./nova-compute.sh

Then test with:

./nova-test.sh

Install Dashboard

Run this:

./dashboard.sh

then test by visiting http://$HOST_IP/

About

OpenStack Setup scripts, for use with .deb's rather than git clones :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published