This chapter is directly the official document, I have not made any changes. The previous two articles to be explained have already been explained. Because the server is nervous, so I put all on a server. Everything's fine.
Compute Node
Introduction
Common Services
OpenStack Compute (Compute Node Services)
Openstacknetworking (Compute Node)
Introduction
The Compute Nodewill provide:
Hypervisor (KVM)
Nova-compute
Quantum OVS Agent
Common Services
Operating System
Operating System
Install Fedora 18. Just like and the Cloud Controller, the exact steps are outside the scope of this document, but Options
Time ZONE:UTC
Hostname:c01
Packages:openssh-server
Once installation has finished, the server would reboot.
Use the Fedora repositories for Grizzly:
3.# Wgethttp://repos.fedorapeople.org/repos/openstack/openstack-grizzly/fedora-openstack-grizzly.repo
# yum install-yhttp://repos.fedorapeople.org/repos/openstack/openstack-grizzly/rdo-release-grizzly-1.noarch.rpm
Configure the network:
Spacer.gif
Note
This'll change later on guide when Open VSwitch is configured
Set up old Ethernet NIC device names:
# sed-i ' s/#GOTO = ' netdevicename_end '/goto= ' netdevicename_end '/g '/lib/udev/rules.d/71-biosdevname.rules
Edit/etc/sysconf/network-scripts/ifcfg-eth0:
# Internal Network
Device=eth0
Type=ethernet
Bootproto=static
ipaddr=10.10.10.11
netmask=255.255.255.0
gateway=10.10.10.9
dns1=8.8.8.8
Defroute=yes
Onboot=yes
Reboot.
Edit the/etc/hosts file and add cloud, network and C01 hostnames with correct IP.
127.0.0.1 localhost
10.10.10.10 Cloud
10.10.10.9 Network
10.10.10.11 C01
Install NTP:
• #yum install-y NTP
OpenStack Compute (Compute Node Services)
Just like and Thecloud Controller, the OpenStack Compute service is installed on the Computenode. However, this time the Nova-computeservice is installed. This is provides Thecompute Node the capability to host virtual machines.
Install the Nova Compute package:
# yum Install Openstack-nova-compute
Configure Nova:
Edit/etc/nova/api-paste.ini:
· [Filter:authtoken]
Auth_host = 10.10.10.10
admin_tenant_name = Service
Admin_user = Nova
Admin_password = password
Edit/etc/nova/nova.conf:
· [DEFAULT]
·
# General
Verbose=true
qpid_hostname=192.168.206.130
·
Auth_strategy=keystone
ec2_host=10.10.10.10
Ec2_url=http://10.10.10.10:8773/services/cloud
·
# Networking