Beruflich Dokumente
Kultur Dokumente
# vi /etc/hostname
controller
Configuring Network Interfaces
# vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 172.16.0.10
netmask 255.255.255.0
auto eth1
iface eth1 inet dhcp
Configuring Name resolution
# vi /etc/hosts
172.16.0.10 controller
172.16.0.11 compute
172.16.0.12 network
172.16.0.13 block
172.16.0.14 object1
172.16.0.15 object2
127.0.0.1 localhost
# 127.0.1.1 - comment this out or delete
# reboot
Update Ubuntu Server
# sudo apt-get update
# powerof
3. Clone Controller Node (Full Clone) and create network node and compute
node
Assign network adapter to Network Node
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All
Adapter 2:
Attached to: Host-only Adapter
Name: Interface 2
address 10.10.0.12
netmask 255.255.255.0
auto eth2
iface eth2 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
auto eth3
iface eth3 inet dhcp
# reboot
6. In Compute Node
Boot the compute VM.
Configuring Hostname
# vi /etc/hostname
compute
Configuring Network Interfaces
# vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 172.16.0.11
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 10.10.0.11
netmask 255.255.255.0
auto eth2
iface eth2 inet dhcp
# reboot
7. In Controller Node
# ping network
# ping compute
# ping google.com
8. In compute Node
# ping network
# ping controller
# ping google.com
9. In network Node
# ping compute
# ping controller
# ping google.com