diff --git a/doc/install-guide/section_nova-boot.xml b/doc/install-guide/section_nova-boot.xml index b2635fd664..56f79dbaad 100644 --- a/doc/install-guide/section_nova-boot.xml +++ b/doc/install-guide/section_nova-boot.xml @@ -46,8 +46,7 @@ >OpenStack Admin User Guide. $ ssh-keygen -$ cd .ssh -$ nova keypair-add --pub_key id_rsa.pub mykey + $ nova keypair-add --pub_key ~/.ssh/id_rsa.pub mykey You have just created the mykey keypair. The id_rsa private key is saved locally in ~/.ssh, which you can use to @@ -100,7 +99,7 @@ $ nova boot --flavor flavorType --key_name keypairName --image ID newInstanceName Create an instance by using flavor 1 or 2. For example: - $ nova boot --flavor 1 --key_name mykey --image 9e5c2bee-0373-414c-b4af-b91b0246ad3b --security_group default cirrOS + $ nova boot --flavor 1 --key-name mykey --image "CirrOS 0.3.1" --security-groups default cirrOS +--------------------------------------+--------------------------------------+ | Property | Value | +--------------------------------------+--------------------------------------+ diff --git a/doc/install-guide/section_nova-compute.xml b/doc/install-guide/section_nova-compute.xml index 09daefcbcf..4f9c030715 100644 --- a/doc/install-guide/section_nova-compute.xml +++ b/doc/install-guide/section_nova-compute.xml @@ -119,10 +119,9 @@ dpkg-statoverride --update --add root root 0644 /boot/vmlinuz-${version}Edit the /etc/nova/nova.conf configuration file and add these lines to the appropriate sections: - ... -[DEFAULT] + [DEFAULT] ... -auth_strategy=keystone +auth_strategy = keystone ... [database] # The SQLAlchemy connection string used to connect to the database @@ -147,7 +146,9 @@ admin_password = NOVA_PASS the RabbitMQ message broker by setting these configuration keys in the [DEFAULT] configuration group of the /etc/nova/nova.conf file: - rpc_backend = nova.rpc.impl_kombu + [DEFAULT] +... +rpc_backend = rabbit rabbit_host = controller rabbit_password = RABBIT_PASS Configure the Compute service to use the RabbitMQ message broker @@ -188,14 +189,14 @@ novncproxy_base_url=http://controller:6080/vnc_auto.h # openstack-config --set /etc/nova/nova.conf DEFAULT glance_host controller [DEFAULT] ... -glance_host=controller +glance_host = controller If you install Compute on a virtual machine for testing purposes, you must determine whether your hypervisor and/or CPU support nested hardware acceleration using the following command: - # egrep -c '(vmx|svm)' /proc/cpuinfo + $ egrep -c '(vmx|svm)' /proc/cpuinfo If this command returns a value of one or greater, your hypervisor and/or CPU support nested hardware acceleration which requires no @@ -217,11 +218,15 @@ virt_type = qemu Configure libvirt to use QEMU: # openstack-config --set /etc/nova/nova.conf libvirt virt_type qemu + + Remove the SQLite database created by the packages: + # rm /var/lib/nova/nova.sqlite + Start the Compute service and configure it to start when the system - boots. - Restart the Compute service. + boots: + Restart the Compute service: # service nova-compute restart # service libvirtd start # service messagebus start @@ -234,9 +239,5 @@ virt_type = qemu # service openstack-nova-compute start # chkconfig openstack-nova-compute on - - Remove the SQLite database created by the packages: - # rm /var/lib/nova/nova.sqlite - diff --git a/doc/install-guide/section_nova-controller.xml b/doc/install-guide/section_nova-controller.xml index 3bb1a21960..a03708b222 100644 --- a/doc/install-guide/section_nova-controller.xml +++ b/doc/install-guide/section_nova-controller.xml @@ -62,7 +62,9 @@ connection = mysql://nova:NOVA_DBPASS@controller/nova setting these configuration keys in the [DEFAULT] configuration group of the /etc/nova/nova.conf file: - rpc_backend = nova.rpc.impl_kombu + [DEFAULT] +... +rpc_backend = rabbit rabbit_host = controller rabbit_password = RABBIT_PASS @@ -93,8 +95,7 @@ rabbit_password = RABBIT_PASS the and options, which appear at the end of the file: - ... -[DEFAULT] + [DEFAULT] ... my_ip = 192.168.0.10 vncserver_listen = 192.168.0.10 @@ -111,7 +112,8 @@ vncserver_proxyclient_address = 192.168.0.10 By default, the Ubuntu packages create an SQLite database. Delete the nova.sqlite file created in the /var/lib/nova/ directory so that it - does not get used by mistake. + does not get used by mistake: + # rm /var/lib/nova/nova.sqlite Use the password you created previously to log in as root. @@ -154,7 +156,7 @@ IDENTIFIED BY 'NOVA_DBPASS'; [DEFAULT] ... -auth_strategy=keystone +auth_strategy = keystone Add these keys to the [keystone_authtoken] section: