From 6b36c3290acb21b30fd74d6eb084ab9e41ed41bb Mon Sep 17 00:00:00 2001 From: Joe Heck Date: Thu, 11 Nov 2010 16:04:02 -0600 Subject: updating install notes to reference Vish' nova.sh and installing in MYSQL --- doc/source/adminguide/multi.node.install.rst | 52 +++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/doc/source/adminguide/multi.node.install.rst b/doc/source/adminguide/multi.node.install.rst index d2afb6212..874a20d0b 100644 --- a/doc/source/adminguide/multi.node.install.rst +++ b/doc/source/adminguide/multi.node.install.rst @@ -48,16 +48,23 @@ Step 1 Use apt-get to get the latest code ----------------------------------------- 1. Setup Nova PPA with https://launchpad.net/~nova-core/+archive/ppa. + +:: + + sudo apt-get install python-software-properties + sudo add-apt-repository ppa:nova-core/ppa + 2. Run update. :: - update + sudo apt-get update 3. Install nova-pkgs (dependencies should be automatically installed). :: + sudo apt-get install python-greenlet sudo apt-get install nova-common nova-doc python-nova nova-api nova-network nova-objectstore nova-scheduler It is highly likely that there will be errors when the nova services come up since they are not yet configured. Don't worry, you're only at step 1! @@ -103,18 +110,42 @@ Note: CC_ADDR= --FAKE_subdomain=ec2 # workaround for ec2/euca api +5. Create a nova group + +:: + sudo addgroup nova -5. nova-objectstore specific flags < no specific config needed > +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 . + Step 3 Setup the sql db ----------------------- -1. First you 'preseed' (using vishy's directions here). Run this as root. +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 <