You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Владислав Старков <vl...@gmail.com> on 2014/05/06 14:16:16 UTC

Re: CloudStack 4.3 proper Advanced Network setup

Hi everyone,

I have successfully installed CloudStack management server and NFS
server for primary and secondary storage.

I'm in doubt about how to configure Zone1.

Let's separate my first long letter with multiple small questions.

Question:

If I have 2 NICs on my host, is it possible to use first NIC for
management & secondary storage traffic, and second NIC for both public
(VLAN 10) and guest traffic (VLAN 20)?

Thanks.


On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir <am...@opencloud.net.au> wrote:
> Hello,
>
> I am not sure if 14.04 LTS is supported check out the installation link, I propose to use it with LTS 12.04 very easy link is enclosed.
>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html
>
> http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html
>
>
> Kind Regards
> Amin
>
> -----Original Message-----
> From: Владислав Старков [mailto:vladislav.starkov@gmail.com]
> Sent: Wednesday, 23 April 2014 1:26 AM
> To: users@cloudstack.apache.org
> Subject: CloudStack 4.3 proper Advanced Network setup
>
> 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
>
>

Re: CloudStack 4.3 proper Advanced Network setup

Posted by Andrija Panic <an...@gmail.com>.
Yes, at least that is for KVM, and as far as I know same for xen,
vmware...per the unofficial documentacion:
http://shapeblue.com/cloudstack/understanding-cloudstacks-physical-networking-architecture/-
search for "Network Labels"
cheers


On 6 May 2014 14:47, Rafael Weingartner <ra...@gmail.com> wrote:

> you mean, xenbr0, xebr1, xenapi0 xenapi1?
>
>
> On Tue, May 6, 2014 at 9:39 AM, Andrija Panic <andrija.panic@gmail.com
> >wrote:
>
> > Label should be exactly the name of your bridges - you don't use eth0,
> you
> > join eth0 to new bridge...
> > Labels define in what bridge to plug virtual NIC of your VM...
> > Cheers
> >
> >
> >
> > On 6 May 2014 14:32, Владислав Старков <vl...@gmail.com>
> > wrote:
> >
> > > Say, I use eth0 for management & secondary storage traffic. No VLANs
> > > there. Eth0 directly connected to access-port on L2 switch. (Access
> > > port means no VLAN ethernet frames is being emitted from this port).
> > >
> > > Should I use "eth0" as a label for both Management traffic and Storage
> > > traffic when I configure Physical interfaces in CloudStack WEB UI?
> > >
> > > (general question is what is "label" here?)
> > >
> > >
> > > On Tue, May 6, 2014 at 4:16 PM, Владислав Старков
> > > <vl...@gmail.com> wrote:
> > > > Hi everyone,
> > > >
> > > > I have successfully installed CloudStack management server and NFS
> > > > server for primary and secondary storage.
> > > >
> > > > I'm in doubt about how to configure Zone1.
> > > >
> > > > Let's separate my first long letter with multiple small questions.
> > > >
> > > > Question:
> > > >
> > > > If I have 2 NICs on my host, is it possible to use first NIC for
> > > > management & secondary storage traffic, and second NIC for both
> public
> > > > (VLAN 10) and guest traffic (VLAN 20)?
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir <am...@opencloud.net.au>
> > > wrote:
> > > >> Hello,
> > > >>
> > > >> I am not sure if 14.04 LTS is supported check out the installation
> > > link, I propose to use it with LTS 12.04 very easy link is enclosed.
> > > >>
> > > >>
> > >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html
> > > >>
> > > >>
> > >
> >
> http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html
> > > >>
> > > >>
> > > >> Kind Regards
> > > >> Amin
> > > >>
> > > >> -----Original Message-----
> > > >> From: Владислав Старков [mailto:vladislav.starkov@gmail.com]
> > > >> Sent: Wednesday, 23 April 2014 1:26 AM
> > > >> To: users@cloudstack.apache.org
> > > >> Subject: CloudStack 4.3 proper Advanced Network setup
> > > >>
> > > >> 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
> > > >>
> > > >>
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> > --------------------------------------
> >   http://admintweets.com
> > --------------------------------------
> >
>
>
>
> --
> Rafael Weingärtner
>



-- 

Andrija Panić
--------------------------------------
  http://admintweets.com
--------------------------------------

Re: CloudStack 4.3 proper Advanced Network setup

Posted by Rafael Weingartner <ra...@gmail.com>.
you mean, xenbr0, xebr1, xenapi0 xenapi1?


On Tue, May 6, 2014 at 9:39 AM, Andrija Panic <an...@gmail.com>wrote:

> Label should be exactly the name of your bridges - you don't use eth0, you
> join eth0 to new bridge...
> Labels define in what bridge to plug virtual NIC of your VM...
> Cheers
>
>
>
> On 6 May 2014 14:32, Владислав Старков <vl...@gmail.com>
> wrote:
>
> > Say, I use eth0 for management & secondary storage traffic. No VLANs
> > there. Eth0 directly connected to access-port on L2 switch. (Access
> > port means no VLAN ethernet frames is being emitted from this port).
> >
> > Should I use "eth0" as a label for both Management traffic and Storage
> > traffic when I configure Physical interfaces in CloudStack WEB UI?
> >
> > (general question is what is "label" here?)
> >
> >
> > On Tue, May 6, 2014 at 4:16 PM, Владислав Старков
> > <vl...@gmail.com> wrote:
> > > Hi everyone,
> > >
> > > I have successfully installed CloudStack management server and NFS
> > > server for primary and secondary storage.
> > >
> > > I'm in doubt about how to configure Zone1.
> > >
> > > Let's separate my first long letter with multiple small questions.
> > >
> > > Question:
> > >
> > > If I have 2 NICs on my host, is it possible to use first NIC for
> > > management & secondary storage traffic, and second NIC for both public
> > > (VLAN 10) and guest traffic (VLAN 20)?
> > >
> > > Thanks.
> > >
> > >
> > > On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir <am...@opencloud.net.au>
> > wrote:
> > >> Hello,
> > >>
> > >> I am not sure if 14.04 LTS is supported check out the installation
> > link, I propose to use it with LTS 12.04 very easy link is enclosed.
> > >>
> > >>
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html
> > >>
> > >>
> >
> http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html
> > >>
> > >>
> > >> Kind Regards
> > >> Amin
> > >>
> > >> -----Original Message-----
> > >> From: Владислав Старков [mailto:vladislav.starkov@gmail.com]
> > >> Sent: Wednesday, 23 April 2014 1:26 AM
> > >> To: users@cloudstack.apache.org
> > >> Subject: CloudStack 4.3 proper Advanced Network setup
> > >>
> > >> 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
> > >>
> > >>
> >
>
>
>
> --
>
> Andrija Panić
> --------------------------------------
>   http://admintweets.com
> --------------------------------------
>



-- 
Rafael Weingärtner

Re: CloudStack 4.3 proper Advanced Network setup

Posted by Andrija Panic <an...@gmail.com>.
Label should be exactly the name of your bridges - you don't use eth0, you
join eth0 to new bridge...
Labels define in what bridge to plug virtual NIC of your VM...
Cheers



On 6 May 2014 14:32, Владислав Старков <vl...@gmail.com> wrote:

> Say, I use eth0 for management & secondary storage traffic. No VLANs
> there. Eth0 directly connected to access-port on L2 switch. (Access
> port means no VLAN ethernet frames is being emitted from this port).
>
> Should I use "eth0" as a label for both Management traffic and Storage
> traffic when I configure Physical interfaces in CloudStack WEB UI?
>
> (general question is what is "label" here?)
>
>
> On Tue, May 6, 2014 at 4:16 PM, Владислав Старков
> <vl...@gmail.com> wrote:
> > Hi everyone,
> >
> > I have successfully installed CloudStack management server and NFS
> > server for primary and secondary storage.
> >
> > I'm in doubt about how to configure Zone1.
> >
> > Let's separate my first long letter with multiple small questions.
> >
> > Question:
> >
> > If I have 2 NICs on my host, is it possible to use first NIC for
> > management & secondary storage traffic, and second NIC for both public
> > (VLAN 10) and guest traffic (VLAN 20)?
> >
> > Thanks.
> >
> >
> > On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir <am...@opencloud.net.au>
> wrote:
> >> Hello,
> >>
> >> I am not sure if 14.04 LTS is supported check out the installation
> link, I propose to use it with LTS 12.04 very easy link is enclosed.
> >>
> >>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html
> >>
> >>
> http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html
> >>
> >>
> >> Kind Regards
> >> Amin
> >>
> >> -----Original Message-----
> >> From: Владислав Старков [mailto:vladislav.starkov@gmail.com]
> >> Sent: Wednesday, 23 April 2014 1:26 AM
> >> To: users@cloudstack.apache.org
> >> Subject: CloudStack 4.3 proper Advanced Network setup
> >>
> >> 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
> >>
> >>
>



-- 

Andrija Panić
--------------------------------------
  http://admintweets.com
--------------------------------------

Re: CloudStack 4.3 proper Advanced Network setup

Posted by Владислав Старков <vl...@gmail.com>.
Say, I use eth0 for management & secondary storage traffic. No VLANs
there. Eth0 directly connected to access-port on L2 switch. (Access
port means no VLAN ethernet frames is being emitted from this port).

Should I use "eth0" as a label for both Management traffic and Storage
traffic when I configure Physical interfaces in CloudStack WEB UI?

(general question is what is "label" here?)


On Tue, May 6, 2014 at 4:16 PM, Владислав Старков
<vl...@gmail.com> wrote:
> Hi everyone,
>
> I have successfully installed CloudStack management server and NFS
> server for primary and secondary storage.
>
> I'm in doubt about how to configure Zone1.
>
> Let's separate my first long letter with multiple small questions.
>
> Question:
>
> If I have 2 NICs on my host, is it possible to use first NIC for
> management & secondary storage traffic, and second NIC for both public
> (VLAN 10) and guest traffic (VLAN 20)?
>
> Thanks.
>
>
> On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir <am...@opencloud.net.au> wrote:
>> Hello,
>>
>> I am not sure if 14.04 LTS is supported check out the installation link, I propose to use it with LTS 12.04 very easy link is enclosed.
>>
>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html
>>
>> http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html
>>
>>
>> Kind Regards
>> Amin
>>
>> -----Original Message-----
>> From: Владислав Старков [mailto:vladislav.starkov@gmail.com]
>> Sent: Wednesday, 23 April 2014 1:26 AM
>> To: users@cloudstack.apache.org
>> Subject: CloudStack 4.3 proper Advanced Network setup
>>
>> 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
>>
>>