diff --git a/doc/install-guide/section_nova-boot.xml b/doc/install-guide/section_nova-boot.xml index 790571939c..a5a01fb232 100644 --- a/doc/install-guide/section_nova-boot.xml +++ b/doc/install-guide/section_nova-boot.xml @@ -39,11 +39,11 @@ launched using mykey as the keypair. You can view available keypairs using the nova keypair-list command. $ nova keypair-list -+-------+-------------------------------------------------+ -| Name | Fingerprint | -+-------+-------------------------------------------------+ ++--------+-------------------------------------------------+ +| Name | Fingerprint | ++--------+-------------------------------------------------+ | mykey | b0:18:32:fa:4e:d4:3c:1b:c4:6c:dd:cb:53:29:13:82 | -+-------+-------------------------------------------------+ ++--------+-------------------------------------------------+ To launch an instance using OpenStack, you must specify the ID for the flavor you want to use for the instance. A flavor is a resource allocation profile. For @@ -53,18 +53,18 @@ $ nova flavor-list +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+ | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | - +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+ ++----+-----------+-----------+------+-----------+------+-------+-------------+-----------+ | 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True | | 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True | | 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True | | 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True | | 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True | - +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+ ++----+-----------+-----------+------+-----------+------+-------+-------------+-----------+ Get the ID of the image you would like to use for the instance using the nova image-list command. - $ nova image-list + $ nova image-list +--------------------------------------+--------------+--------+--------+ | ID | Name | Status | Server | +--------------------------------------+--------------+--------+--------+ diff --git a/doc/install-guide/section_nova-compute.xml b/doc/install-guide/section_nova-compute.xml index 8b647f8aa5..4e7a24a592 100644 --- a/doc/install-guide/section_nova-compute.xml +++ b/doc/install-guide/section_nova-compute.xml @@ -139,7 +139,7 @@ admin_password=NOVA_DBPASS /etc/nova/nova.conf. - Start the Compute service and configure it to start when the system boots. + Start the Compute service and configure it to start when the system boots. Restart the Compute service. # service nova-compute restart # service openstack-nova-compute start diff --git a/doc/install-guide/section_nova-network.xml b/doc/install-guide/section_nova-network.xml index 3836c86da7..ae3231551b 100644 --- a/doc/install-guide/section_nova-network.xml +++ b/doc/install-guide/section_nova-network.xml @@ -12,6 +12,7 @@ If you require the full software-defined networking stack, see Using Neutron Networking. + Enable networking on a compute node After performing initial configuration of the compute node, install the appropriate packages for compute networking. # apt-get install nova-network @@ -21,23 +22,22 @@ First, set the configuration options needed in nova.conf for the chosen networking mode. - - # openstack-config --set /etc/nova/nova.conf DEFAULT network_manager nova.network.manager.FlatDHCPManager - # openstack-config --set /etc/nova/nova.conf DEFAULT firewall_driver nova.virt.libvirt.firewall.IptablesFirewallDriver - # openstack-config --set /etc/nova/nova.conf DEFAULT network_size 254 - # openstack-config --set /etc/nova/nova.conf DEFAULT routing_source_ip ADDRESS - # openstack-config --set /etc/nova/nova.conf DEFAULT allow_same_net_traffic False - # openstack-config --set /etc/nova/nova.conf DEFAULT multi_host True - # openstack-config --set /etc/nova/nova.conf DEFAULT send_arp_for_ha True - # openstack-config --set /etc/nova/nova.conf DEFAULT share_dhcp_address True - # openstack-config --set /etc/nova/nova.conf DEFAULT force_dhcp_release True - # openstack-config --set /etc/nova/nova.conf DEFAULT flat_interface eth1 - # openstack-config --set /etc/nova/nova.conf DEFAULT flat_network_bridge br100 - # openstack-config --set /etc/nova/nova.conf DEFAULT public_interface br100 - + # openstack-config --set /etc/nova/nova.conf DEFAULT \ + network_manager nova.network.manager.FlatDHCPManager +# openstack-config --set /etc/nova/nova.conf DEFAULT \ + firewall_driver nova.virt.libvirt.firewall.IptablesFirewallDriver +# openstack-config --set /etc/nova/nova.conf DEFAULT network_size 254 +# openstack-config --set /etc/nova/nova.conf DEFAULT routing_source_ip ADDRESS +# openstack-config --set /etc/nova/nova.conf DEFAULT allow_same_net_traffic False +# openstack-config --set /etc/nova/nova.conf DEFAULT multi_host True +# openstack-config --set /etc/nova/nova.conf DEFAULT send_arp_for_ha True +# openstack-config --set /etc/nova/nova.conf DEFAULT share_dhcp_address True +# openstack-config --set /etc/nova/nova.conf DEFAULT force_dhcp_release True +# openstack-config --set /etc/nova/nova.conf DEFAULT flat_interface eth1 +# openstack-config --set /etc/nova/nova.conf DEFAULT flat_network_bridge br100 +# openstack-config --set /etc/nova/nova.conf DEFAULT public_interface br100 Edit /etc/nova/nova.conf and add to the [DEFAULT] section. - -[DEFAULT] + [DEFAULT] ... network_manager=nova.network.manager.FlatDHCPManager @@ -52,22 +52,23 @@ flat_network_bridge=br100 flat_interface=eth1 public_interface=eth0 - - Now, restart the relevant services: + Restart the network service. + # service nova-network restart - -# service nova-network restart - -# service openstack-nova-network restart - - - You must run the command that creates the network that the virtual machines use. - You only need to run this command once, from a place where your admin user credentials are loaded. - source keystonerc - - # nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge-interface=br100 --multi-host=T + Start the network service and configure it to start when the system boots. + # service openstack-nova-network restart +# chkconfig openstack-nova-network on + +Finally, you have to create a network that virtual machines can use. You +only need to do this once for the entire installation, not for each compute node. +Run the nova network-create command anywhere your admin user +credentials are loaded. +# source keystonerc +# nova network-create vmnet --fixed-range-v4=10.0.0.0/24 \ + --bridge-interface=br100 --multi-host=T +