diff options
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/adminguide/multi.node.install.rst | 49 |
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 ----------------------------- |
