主講者Tom Fifield表示他就是在Notebook的VMWare上裝OpenStack的. 最新的 Ice House 版安裝說明已由20餘萬字大幅縮減至2萬餘字 所以應該是很容易了解的
到OpenStack 上找到 RedHat/ CentOS 的安裝說明如下連結:
Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora
有14大項. 研討會主持人表示能在兩日內裝完就已是神人.
我由第二章開始嘗試.
先在VMware上安裝CentOS 64Bit V6.5
除自動產生的NAT網卡外 另新加5張固定IP的網卡
10.0.0.11
10.0.0.21
10.0.0.31
10.0.1.21
10.0.1.31
2. Basic environment configuration
To configure networking:
-
Configure the first interface as the management interface:
IP address: 10.0.0.11
Network mask: 255.255.255.0 (or /24)
Default gateway: 10.0.0.1
To configure networking:
-
Configure the first interface as the management interface:
IP address: 10.0.0.21
Network mask: 255.255.255.0 (or /24)
Default gateway: 10.0.0.1
-
Configure the second interface as the instance tunnels interface:
IP address: 10.0.1.21
Network mask: 255.255.255.0 (or /24)
-
The external interface uses a special configuration without an IP address assigned to it. Configure the third interface as the external interface:
ReplaceINTERFACE_NAME
with the actual interface name. For example, eth2 or ens256.
-
Edit the
/etc/sysconfig/network-scripts/ifcfg-
file to contain the following:INTERFACE_NAME
Do not change theHWADDR
andUUID
keys.
DEVICE=
INTERFACE_NAME
TYPE=Ethernet ONBOOT="yes" BOOTPROTO="none"
-
Edit the
-
Restart networking:
# service network restart
To configure name resolution:
-
Edit the
/etc/hosts
file to contain the following:
# network 10.0.0.21 network # controller 10.0.0.11 controller # compute1 10.0.0.31 compute1
To configure networking:
-
Configure the first interface as the management interface:
IP address: 10.0.0.31
Network mask: 255.255.255.0 (or /24)
Default gateway: 10.0.0.1
Note Additional compute nodes should use 10.0.0.32, 10.0.0.33, and so on. -
Configure the second interface as the instance tunnels interface:
IP address: 10.0.1.31
Network mask: 255.255.255.0 (or /24)
Note Additional compute nodes should use 10.0.1.32, 10.0.1.33, and so on.
To configure name resolution:
-
Edit the
/etc/hosts
file to contain the following:
# compute1 10.0.0.31 compute1 # controller 10.0.0.11 controller # network 10.0.0.21 network
Verify connectivity
We recommend that you verify network connectivity to the internet and among the nodes before proceeding further.-
From the controller node, ping a site on the internet:
# ping -c 4 openstack.org PING openstack.org (174.143.194.225) 56(84) bytes of data. 64 bytes from 174.143.194.225: icmp_seq=1 ttl=54 time=18.3 ms
-
From the controller node, ping the management interface on the network node:
# ping -c 4
network
PING network (10.0.0.21) 56(84) bytes of data. 64 bytes from network (10.0.0.21): icmp_seq=1 ttl=64 time=0.263 ms -
From the controller node, ping the management interface on the compute node:
# ping -c 4
compute1
PING compute1 (10.0.0.31) 56(84) bytes of data. 64 bytes from compute1 (10.0.0.31): icmp_seq=1 ttl=64 time=0.263 ms -
From the network node, ping a site on the internet:
# ping -c 4 openstack.org PING openstack.org (174.143.194.225) 56(84) bytes of data. 64 bytes from 174.143.194.225: icmp_seq=1 ttl=54 time=18.3 ms
-
From the network node, ping the management interface on the controller node:
# ping -c 4
controller
PING controller (10.0.0.11) 56(84) bytes of data. 64 bytes from controller (10.0.0.11): icmp_seq=1 ttl=64 time=0.263 ms -
From the network node, ping the instance tunnels interface on the compute node:
# ping -c 4 10.0.1.31 PING 10.0.1.31 (10.0.1.31) 56(84) bytes of data. 64 bytes from 10.0.1.31 (10.0.1.31): icmp_seq=1 ttl=64 time=0.263 ms
-
From the compute node, ping a site on the internet:
# ping -c 4 openstack.org PING openstack.org (174.143.194.225) 56(84) bytes of data. 64 bytes from 174.143.194.225: icmp_seq=1 ttl=54 time=18.3 ms
-
From the compute node, ping the management interface on the controller node:
# ping -c 4
controller
PING controller (10.0.0.11) 56(84) bytes of data. 64 bytes from controller (10.0.0.11): icmp_seq=1 ttl=64 time=0.263 ms -
From the compute node, ping the instance tunnels interface on the network node:
# ping -c 4 10.0.1.21 PING 10.0.1.21 (10.0.1.21) 56(84) bytes of data. 64 bytes from 10.0.1.21 (10.0.1.21): icmp_seq=1 ttl=64 time=0.263 ms
沒有留言:
張貼留言