Hi there,
I just installed CloudStack 4.3 on a single host ("all-in-one").
My host's setup:
– Ubuntu 14.04 LTS 64bit
– 6 1GbE NICs (3 in use and 3 not in use)
– Primary storage on NFSv4
– Secondary storage on NFSv4
– KVM hypervisor only
– Management server installed directly on this host (not on VM)
My physical network setup:
– 1 L2 switch with 3 different VLANs
– VLAN 2 for NAS (Primary storage on NFSv4)
– VLAN 10 for guests public traffic (there lives public IP addresses)
– VLAN 100 for management traffic
– VLAN 200 for guests traffic (there lives private IP addresses, so
guests from different clusters can interact with each other)
cat /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# CloudStack Primary storage traffic
auto eth0
iface eth0 inet static
address 10.10.10.11
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8 8.8.4.4
dns-search cloud.example.com
# CloudStack Management traffic
auto eth1
iface eth1 inet static
address 10.10.12.2
netmask 255.255.255.0
network 10.10.12.0
broadcast 10.10.12.255
gateway 10.10.12.1
auto eth2
iface eth2 inet manual
# CloudStack Public traffic
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports eth2.10
bridge_fd 5
bridge_stp off
bridge_maxwait 1
# CloudStack Guest traffic
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports eth2.200
bridge_fd 5
bridge_stp off
bridge_maxwait 1
auto eth3
iface eth3 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
auto eth4
iface eth4 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
auto eth5
iface eth5 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
The approximate network setup schema is depicted here:
http://cl.ly/image/3z2D0w370H1M/o
While setting up the first zone in administrator's UI I've faced with
difficulties in setting up my advanced network correctly. (For ex.
I've got this error "Creating primary storage
Something went wrong; please correct the following: zone wide storage
pool is not supported for hypervisor type undefined", and so on)
As I'm newbie to CloudStack and virtualization I'm not clear enough
for me how CloudStack network should be setup in case I use multiple
NICs and multiple VLANs on L2 physical switch.
Could someone point me how should be setup my network for Zone1 with
respect to network schema as I showed above?
For education purposes, lets say we will use these networks:
– 77.12.34.0/24 (for Public)
– 10.10.10.0/24 (for zone's NAS – primary & secondary storage)
– 10.1.1.0/24 (for Guests VMs)
– 10.10.12.0/24 (for management, if it required to be different subnet)
As an answer to my question it would be awesome to get two things:
1) Content of /etc/network/interfaces (bridges and VLANs config in particular)
2) What should be entered on Step 3 – Setup Network (and substeps) in
CloudStack Administrator's UI?
Thanks in advance for helping!
--
Vlad