Centos 6.4下openstack-grizzly安裝:計算節點

來源:互聯網
上載者:User

這一章節直接就是官方文檔了,我沒做什麼更改。要說明的前面的兩篇已經說明了。因為伺服器緊張,所以我是把所有裝在一台伺服器上了。一切正常。

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 with the Cloud Controller, the exact steps are outside the scope of this document, but please note the following options:

Time zone: UTC

Hostname: c01

Packages: OpenSSH-Server

Once installation has finished, the server will 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 will change later on in the 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 with theCloud Controller, the OpenStack Compute service is installed on the ComputeNode. However, this time the nova-computeservice is installed. This 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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.