summaryrefslogtreecommitdiffstats
path: root/doc/source
diff options
context:
space:
mode:
authorroot <root@tonbuntu>2010-11-12 00:56:08 -0800
committerroot <root@tonbuntu>2010-11-12 00:56:08 -0800
commit32cacdbe0ed9f522652b3f8fc99e768026cd7343 (patch)
treeef75741521d20ee5c57e037b2da82443dff4ced0 /doc/source
parenta2859db379cecd670eb6ee0eb2052bf0d5f9ace5 (diff)
parentd3d47550abad46798a11459bc4e2f321a25881ed (diff)
downloadnova-32cacdbe0ed9f522652b3f8fc99e768026cd7343.tar.gz
nova-32cacdbe0ed9f522652b3f8fc99e768026cd7343.tar.xz
nova-32cacdbe0ed9f522652b3f8fc99e768026cd7343.zip
merge in heckj's corrections to multi-node install
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/adminguide/multi.node.install.rst49
1 files changed, 28 insertions, 21 deletions
diff --git a/doc/source/adminguide/multi.node.install.rst b/doc/source/adminguide/multi.node.install.rst
index 874a20d0b..90cdf3175 100644
--- a/doc/source/adminguide/multi.node.install.rst
+++ b/doc/source/adminguide/multi.node.install.rst
@@ -113,15 +113,17 @@ Note: CC_ADDR=<the external IP address of your cloud controller>
5. Create a nova group
::
- sudo addgroup nova
+
+ sudo addgroup nova
6. nova-objectstore specific flags < no specific config needed >
Config files should be have their owner set to root:nova, and mode set to 0640, since they contain your MySQL server's root password.
::
- cd /etc/nova
- chown -R root:nova .
+
+ cd /etc/nova
+ chown -R root:nova .
Step 3 Setup the sql db
-----------------------
@@ -129,20 +131,25 @@ Step 3 Setup the sql db
1. First you 'preseed' (using vishy's :doc:`../quickstart`). Run this as root.
::
- sudo apt-get install bzr git-core
- sudo bash
- export MYSQL_PASS=nova
- cat <<MYSQL_PRESEED | debconf-set-selections
- mysql-server-5.1 mysql-server/root_password password $MYSQL_PASS
- mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS
- mysql-server-5.1 mysql-server/start_on_boot boolean true
- MYSQL_PRESEED
+ sudo apt-get install bzr git-core
+ sudo bash
+ export MYSQL_PASS=nova
+
+
+::
+
+ cat <<MYSQL_PRESEED | debconf-set-selections
+ mysql-server-5.1 mysql-server/root_password password $MYSQL_PASS
+ mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS
+ mysql-server-5.1 mysql-server/start_on_boot boolean true
+ MYSQL_PRESEED
2. Install mysql
::
- sudo apt-get install -y mysql-server
+
+ sudo apt-get install -y mysql-server
4. Edit /etc/mysql/my.cnf and set this line: bind-address=0.0.0.0 and then sighup or restart mysql
@@ -165,15 +172,15 @@ Step 3 Setup the sql db
::
- sudo -i
- cd ~
- export USE_MYSQL=1
- export MYSQL_PASS=nova
- git clone https://github.com/vishvananda/novascript.git
- cd novascript
- ./nova.sh branch
- ./nova.sh install
- ./nova.sh run
+ sudo -i
+ cd ~
+ export USE_MYSQL=1
+ export MYSQL_PASS=nova
+ git clone https://github.com/vishvananda/novascript.git
+ cd novascript
+ ./nova.sh branch
+ ./nova.sh install
+ ./nova.sh run
Step 4 Setup Nova environment
-----------------------------