Multi-node openstack install
Edit by zhaoguozhu Email:hhgzju@163.com, qq: 2607167028
Host:IBM server with two eth
Novacc ip:10.0.0.2 //you can overwrite 10.0.0.2 ,you own ip
address
Nova-compute ip:10.0.0.1
System:ubuntu 11.10
Install novacc
Create user called “stack”, give the user power of sudo
Then login using the user.
sudo apt-get install git -y
git clone git://github.com/cloudbuilders/devstack.git
cd devstack
./stack.sh
Waiting until the stack.sh complete
Now you have a openstack all in one
Install NTP package. This server is going to act as an NTP server for the nodes.
The time on all components of OpenStack will have to be in sync. We can run
NTP server on this and have other components sync to it.
sudo apt-get install -y ntp
Open the 'le /etc/ntp.conf and add the following lines to make sure that the
time of the
server is in sync with an external server and in case Internet connectivity is
down, NTP
server uses its own hardware clock as the fallback.
server ntp.ubuntu.com
server 127.127.1.0
fudge 127.127.1.0 stratum 10
Restart NTP service to make the changes e*ective
sudo /etc/init.d/ntp restart
nova-compute node install
sudo apt-get install -y ntp
Open the 'le /etc/ntp.conf and add the following line to sync to server1.
server 10.10.10.2
Restart NTP service to make the changes e*ective
- 1
- 2
前往页