Merge lp:~annegentle/nova/docwork into lp:~hudson-openstack/nova/trunk

Proposed by Anne Gentle
Status: Merged
Approved by: Vish Ishaya
Approved revision: 651
Merged at revision: 653
Proposed branch: lp:~annegentle/nova/docwork
Merge into: lp:~hudson-openstack/nova/trunk
Diff against target: 76 lines (+34/-6)
1 file modified
doc/source/adminguide/multi.node.install.rst (+34/-6)
To merge this branch: bzr merge lp:~annegentle/nova/docwork
Reviewer Review Type Date Requested Status
Vish Ishaya (community) Approve
Devin Carlen (community) Approve
Review via email: mp+48856@code.launchpad.net

Description of the change

Updates to the multinode install doc based on Wayne's findings. Merged with trunk so should easily merge in.

To post a comment you must log in.
Revision history for this message
Devin Carlen (devcamcar) wrote :

lgtm

review: Approve
Revision history for this message
Vish Ishaya (vishvananda) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/source/adminguide/multi.node.install.rst'
2--- doc/source/adminguide/multi.node.install.rst 2011-01-21 23:53:44 +0000
3+++ doc/source/adminguide/multi.node.install.rst 2011-02-07 22:39:58 +0000
4@@ -37,20 +37,22 @@
5
6 ::
7
8- wget --no-check-certificate https://github.com/dubsquared/OpenStack-NOVA-Installer-Script/raw/master/Nova_CC_Installer_v0.1
9+ wget --no-check-certificate https://github.com/dubsquared/OpenStack-NOVA-Installer-Script/raw/master/nova-CC-install-v1.1.sh
10
11 Ensure you can execute the script by modifying the permissions on the script file.
12
13 ::
14
15- sudo chmod 755 Nova_CC_Installer_v0.1
16+ sudo chmod 755 nova-CC-install-v1.1.sh
17
18
19 ::
20
21- sudo ./Nova_CC_Installer_v0.1
22-
23-Next, from a server you intend to use as a compute node (doesn't contain the database), install the nova services. Copy the nova.conf from the cloud controller node to the compute node.
24+ sudo ./nova-CC-install-v1.1.sh
25+
26+Next, from a server you intend to use as a compute node (doesn't contain the database), install the nova services. You can use the nova-NODE-installer.sh script from the above github-hosted project for the compute node installation.
27+
28+Copy the nova.conf from the cloud controller node to the compute node.
29
30 Restart related services::
31
32@@ -247,7 +249,7 @@
33
34 Note: The nova-manage service assumes that the first IP address is your network (like 192.168.0.0), that the 2nd IP is your gateway (192.168.0.1), and that the broadcast is the very last IP in the range you defined (192.168.0.255). If this is not the case you will need to manually edit the sql db 'networks' table.o.
35
36-On running this command, entries are made in the 'networks' and 'fixed_ips' table. However, one of the networks listed in the 'networks' table needs to be marked as bridge in order for the code to know that a bridge exists. The Network is marked as bridged automatically based on the type of network manager selected. This is ONLY necessary if you chose FlatManager as your network type. More information can be found at the end of this document discussing setting up the bridge device.
37+On running the "nova-manage network create" command, entries are made in the 'networks' and 'fixed_ips' table. However, one of the networks listed in the 'networks' table needs to be marked as bridge in order for the code to know that a bridge exists. The Network is marked as bridged automatically based on the type of network manager selected. You only need to mark the network as a bridge if you chose FlatManager as your network type. More information can be found at the end of this document discussing setting up the bridge device.
38
39
40 Step 2 - Create Nova certifications
41@@ -288,9 +290,35 @@
42 killall dnsmasq
43 service nova-network restart
44
45+To avoid issues with KVM and permissions with Nova, run the following commands to ensure we have VM's that are running optimally::
46+
47+ chgrp kvm /dev/kvm
48+ chmod g+rwx /dev/kvm
49+
50+If you want to use the 10.04 Ubuntu Enterprise Cloud images that are readily available at http://uec-images.ubuntu.com/releases/10.04/release/, you may run into delays with booting. Any server that does not have nova-api running on it needs this iptables entry so that UEC images can get metadata info. On compute nodes, configure the iptables with this next step::
51+
52+ # iptables -t nat -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination $NOVA_API_IP:8773
53+
54 Testing the Installation
55 ````````````````````````
56
57+You can confirm that your compute node is talking to your cloud controller. From the cloud controller, run this database query::
58+
59+ mysql -u$MYSQL_USER -p$MYSQL_PASS nova -e 'select * from services;'
60+
61+In return, you should see something similar to this::
62+ +---------------------+---------------------+------------+---------+----+----------+----------------+-----------+--------------+----------+-------------------+
63+ | created_at | updated_at | deleted_at | deleted | id | host | binary | topic | report_count | disabled | availability_zone |
64+ +---------------------+---------------------+------------+---------+----+----------+----------------+-----------+--------------+----------+-------------------+
65+ | 2011-01-28 22:52:46 | 2011-02-03 06:55:48 | NULL | 0 | 1 | osdemo02 | nova-network | network | 46064 | 0 | nova |
66+ | 2011-01-28 22:52:48 | 2011-02-03 06:55:57 | NULL | 0 | 2 | osdemo02 | nova-compute | compute | 46056 | 0 | nova |
67+ | 2011-01-28 22:52:52 | 2011-02-03 06:55:50 | NULL | 0 | 3 | osdemo02 | nova-scheduler | scheduler | 46065 | 0 | nova |
68+ | 2011-01-29 23:49:29 | 2011-02-03 06:54:26 | NULL | 0 | 4 | osdemo01 | nova-compute | compute | 37050 | 0 | nova |
69+ | 2011-01-30 23:42:24 | 2011-02-03 06:55:44 | NULL | 0 | 9 | osdemo04 | nova-compute | compute | 28484 | 0 | nova |
70+ | 2011-01-30 21:27:28 | 2011-02-03 06:54:23 | NULL | 0 | 8 | osdemo05 | nova-compute | compute | 29284 | 0 | nova |
71+ +---------------------+---------------------+------------+---------+----+----------+----------------+-----------+--------------+----------+-------------------+
72+You can see that 'osdemo0{1,2,4,5} are all running 'nova-compute.' When you start spinning up instances, they will allocate on any node that is running nova-compute from this list.
73+
74 You can then use `euca2ools` to test some items::
75
76 euca-describe-images