RE: Configuring CS with Advance Networking for an internal laboratory

2017-09-08 Thread Imran Ahmed
I don’t think you need this line at least:

Switchport mode access

I assume that you use the LACP bond that bonds interfaces:  Gi0/11 and Gi0/12   
to carry both public traffic as well as guest traffic.

The next factor is the  traffic labels you set in your  Cloudstack advanced 
zone setup .

Another factor is the  configuration of  cloudbro and Cloudbr1  bridges  in 
your interface configurations.


By the way  are you using  CentOS or Ubuntu or Suse or ..?


Regards,


Imran 

-Original Message-
From: Luis [mailto:lmartinez...@yahoo.com.INVALID] 
Sent: Saturday, September 09, 2017 9:07 AM
To: users@cloudstack.apache.org
Cc: Paul Angus
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Hi

I am testing my CS with Advance Networking but it's not able to download iso or 
the templates, I think this is because of my VLAN configuration, s-vm or v-vm 
can't ping to internet, I did set up this parameter 
(secstorage.allowed.internal.sites) to my manager and host ip.
This is my VLAN configuration, please any advice on this issue
conf tinterface range Gi0/11-12switchport trunk encapsulation dot1q switchport 
mode trunkswitchport trunk allowed vlan 65,300-800switchport mode 
accesschannel-group 4 mode activechannel-protocol lacpend 

Thank you


  From: Sateesh Chodapuneedi 
 To: Luis ; "users@cloudstack.apache.org" 
 
Cc: Paul Angus 
 Sent: Friday, September 8, 2017 10:48 AM
 Subject: Re: Configuring CS with Advance Networking for an internal laboratory
   
Hi Luis,

>.Do I need to specify what port the vlan are going to use?
Yes, selection of interfaces/ports need to be done. Please add command 
“interface range Gi0/9 – 10” after command “conf t”
Also add “no switchport mode access” just before the command “end”

Hope that helps.

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

From: Luis 
Reply-To: Luis 
Date: Friday, 8 September 2017 at 8:00 PM
To: Sateesh Chodapuneedi , 
"users@cloudstack.apache.org" 
Cc: Paul Angus 
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Thank you for your help

Do I need to specify what port the vlan are going to use?

1.- create vlnas
conf t
vlan 65,300-800
end

2.-
conf t
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 65,300-800
end



From: Sateesh Chodapuneedi 
To: "users@cloudstack.apache.org" ; Luis 

Cc: Paul Angus 
Sent: Friday, September 8, 2017 9:42 AM
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Hi Luis,
I have configured Cisco 3750G switch for my CloudStack advanced mode setup. 
Configuration should be the similar for Cisco 3560 as well, probably might help 
you.

>> 4 Nics: 2 for Management-Storage (LACP) and 2 for Public-Guest
Make sure to setup the VLANs before configuring the switch ports for interfaces 
meant for Public and Guest traffic
conf t
vlan ,
end
Please note that the VLAN range meant for public traffic are routable (with 
subnet assigned)
Configure the switch ports for Public and Guest traffic
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan ,
Ex: If 100 is VLAN ID of routable VLAN meant for public traffic, and VLAN IDs 
500 to 600 are guest (zone) VLANs, then above command looks like,
switchport trunk allowed vlan 100,500-600

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

-Original Message-
From: Luis 
>
Reply-To: "users@cloudstack.apache.org" 
>, Luis 
>
Date: Friday, 8 September 2017 at 5:39 PM
To: Paul Angus >, 
"users@cloudstack.apache.org" 
>
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Thank you Paul
Your article is really helpful, I think my problem is finding the correct 
commands to setup the switch, this is what I have
CS 4.10: on Ubuntu 14.044 nics: 2 for management (LACP) and 2 for Storage 
(LACP)
XenServer for host4 Nics: 2 for Management-Storage (LACP) and 2 for 
Public-Guest
Is it possible for you or the group to 

Re: Configuring CS with Advance Networking for an internal laboratory

2017-09-08 Thread Luis
Hi

I am testing my CS with Advance Networking but it's not able to download iso or 
the templates, I think this is because of my VLAN configuration, s-vm or v-vm 
can't ping to internet, I did set up this parameter 
(secstorage.allowed.internal.sites) to my manager and host ip.
This is my VLAN configuration, please any advice on this issue
conf tinterface range Gi0/11-12switchport trunk encapsulation dot1q switchport 
mode trunkswitchport trunk allowed vlan 65,300-800switchport mode 
accesschannel-group 4 mode activechannel-protocol lacpend 

Thank you


  From: Sateesh Chodapuneedi 
 To: Luis ; "users@cloudstack.apache.org" 
 
Cc: Paul Angus 
 Sent: Friday, September 8, 2017 10:48 AM
 Subject: Re: Configuring CS with Advance Networking for an internal laboratory
   
Hi Luis,

>.Do I need to specify what port the vlan are going to use?
Yes, selection of interfaces/ports need to be done. Please add command 
“interface range Gi0/9 – 10” after command “conf t”
Also add “no switchport mode access” just before the command “end”

Hope that helps.

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

From: Luis 
Reply-To: Luis 
Date: Friday, 8 September 2017 at 8:00 PM
To: Sateesh Chodapuneedi , 
"users@cloudstack.apache.org" 
Cc: Paul Angus 
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Thank you for your help

Do I need to specify what port the vlan are going to use?

1.- create vlnas
conf t
vlan 65,300-800
end

2.-
conf t
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 65,300-800
end



From: Sateesh Chodapuneedi 
To: "users@cloudstack.apache.org" ; Luis 

Cc: Paul Angus 
Sent: Friday, September 8, 2017 9:42 AM
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Hi Luis,
I have configured Cisco 3750G switch for my CloudStack advanced mode setup. 
Configuration should be the similar for Cisco 3560 as well, probably might help 
you.

>> 4 Nics: 2 for Management-Storage (LACP) and 2 for Public-Guest
Make sure to setup the VLANs before configuring the switch ports for interfaces 
meant for Public and Guest traffic
conf t
vlan ,
end
Please note that the VLAN range meant for public traffic are routable (with 
subnet assigned)
Configure the switch ports for Public and Guest traffic
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan ,
Ex: If 100 is VLAN ID of routable VLAN meant for public traffic, and VLAN IDs 
500 to 600 are guest (zone) VLANs, then above command looks like,
switchport trunk allowed vlan 100,500-600

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

-Original Message-
From: Luis 
>
Reply-To: "users@cloudstack.apache.org" 
>, Luis 
>
Date: Friday, 8 September 2017 at 5:39 PM
To: Paul Angus >, 
"users@cloudstack.apache.org" 
>
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

    Thank you Paul
    Your article is really helpful, I think my problem is finding the correct 
commands to setup the switch, this is what I have
    CS 4.10: on Ubuntu 14.044 nics: 2 for management (LACP) and 2 for Storage 
(LACP)
    XenServer for host4 Nics: 2 for Management-Storage (LACP) and 2 for 
Public-Guest
    Is it possible for you or the group to help me with the lines to set up 
correctly  the Cisco Switch, I will appreciate your help
    Cisco Switch 3560Ports: 9 - 10 for Management-storageconf tinterface range 
Gi0/9 - 10switchport mode accessno shutchannel-group 3 mode 
activechannel-protocol lacpend
    Port 11 - 12 for Piblic-Guest
    conf tinterface range Gi0/11 - 12switchport mode accessno shutchannel-group 
4 mode activechannel-protocol lacpend      From: Paul Angus 
>
    To: "users@cloudstack.apache.org" 
>; Luis 
>
    Sent: Friday, September 8, 2017 

Re: Installing Cloud Stack 4.10

2017-09-08 Thread Luis
Hi
I cant to let you know that I reinstalled XenServer 7 and installed Fix Packs 
and I let the system to restart by request of the fix pack and I was able to 
finish the configuration so, it is necessary to let XenServerbe restarted by 
the fix pack as many times as needed. 

  From: Luis 
 To: Users ; "users-h...@cloudstack.apache.org" 
 
 Sent: Friday, September 8, 2017 8:14 PM
 Subject: Installing Cloud Stack 4.10
   
Hi
After some help from the group I started the installation of Cloud Stack 4.10 
but when running the configuration I got the error that my XenServer was 
missing some fixes, my xenserver 7 has all fixes, does any one has an idea what 
the problem could be?
I ran all fixes on my server and at the end I restarted XenServer or I need to 
restart the server every time the fix requires to do it?
Thank you for your help
Ubuntu 14.04XenServer 7CS: 4.10

2017-09-08 20:12:48,810 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-14:ctx-4d775a77 ctx-d4ff0eed) (logid:b1216b0c) Received unknown 
parameters for command addHost. Unknown parameters : clustertype2017-09-08 
20:12:48,840 INFO  [c.c.r.ResourceManagerImpl] (catalina-exec-14:ctx-4d775a77 
ctx-d4ff0eed) (logid:b1216b0c) Trying to add a new host at http://10.0.040 in 
data center 12017-09-08 20:12:48,921 DEBUG [c.c.h.x.r.XenServerConnectionPool] 
(catalina-exec-14:ctx-4d775a77 ctx-d4ff0eed) (logid:b1216b0c) Unable to create 
master connection to host(127.0.0.1) , due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection 
refused (Connection refused)2017-09-08 20:12:48,923 DEBUG 
[c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-14:ctx-4d775a77 ctx-d4ff0eed) 
(logid:b1216b0c) other exceptions: 
com.cloud.utils.exception.CloudRuntimeException: Unable to create master 
connection to host(127.0.0.1) , due to org.apache.xmlrpc.XmlRpcException: 
Failed to read server's response: Connection refused (Connection 
refused)com.cloud.utils.exception.CloudRuntimeException: Unable to create 
master connection to host(127.0.0.1) , due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection 
refused (Connection refused)


   

Installing Cloud Stack 4.10

2017-09-08 Thread Luis
Hi
After some help from the group I started the installation of Cloud Stack 4.10 
but when running the configuration I got the error that my XenServer was 
missing some fixes, my xenserver 7 has all fixes, does any one has an idea what 
the problem could be?
I ran all fixes on my server and at the end I restarted XenServer or I need to 
restart the server every time the fix requires to do it?
Thank you for your help
Ubuntu 14.04XenServer 7CS: 4.10

2017-09-08 20:12:48,810 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-14:ctx-4d775a77 ctx-d4ff0eed) (logid:b1216b0c) Received unknown 
parameters for command addHost. Unknown parameters : clustertype2017-09-08 
20:12:48,840 INFO  [c.c.r.ResourceManagerImpl] (catalina-exec-14:ctx-4d775a77 
ctx-d4ff0eed) (logid:b1216b0c) Trying to add a new host at http://10.0.040 in 
data center 12017-09-08 20:12:48,921 DEBUG [c.c.h.x.r.XenServerConnectionPool] 
(catalina-exec-14:ctx-4d775a77 ctx-d4ff0eed) (logid:b1216b0c) Unable to create 
master connection to host(127.0.0.1) , due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection 
refused (Connection refused)2017-09-08 20:12:48,923 DEBUG 
[c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-14:ctx-4d775a77 ctx-d4ff0eed) 
(logid:b1216b0c) other exceptions: 
com.cloud.utils.exception.CloudRuntimeException: Unable to create master 
connection to host(127.0.0.1) , due to org.apache.xmlrpc.XmlRpcException: 
Failed to read server's response: Connection refused (Connection 
refused)com.cloud.utils.exception.CloudRuntimeException: Unable to create 
master connection to host(127.0.0.1) , due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection 
refused (Connection refused)


Re: Configuring CS with Advance Networking for an internal laboratory

2017-09-08 Thread Sateesh Chodapuneedi
Hi Luis,

>.Do I need to specify what port the vlan are going to use?
Yes, selection of interfaces/ports need to be done. Please add command 
“interface range Gi0/9 – 10” after command “conf t”
Also add “no switchport mode access” just before the command “end”

Hope that helps.

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

From: Luis 
Reply-To: Luis 
Date: Friday, 8 September 2017 at 8:00 PM
To: Sateesh Chodapuneedi , 
"users@cloudstack.apache.org" 
Cc: Paul Angus 
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Thank you for your help

Do I need to specify what port the vlan are going to use?

1.- create vlnas
conf t
vlan 65,300-800
end

2.-
conf t
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 65,300-800
end



From: Sateesh Chodapuneedi 
To: "users@cloudstack.apache.org" ; Luis 

Cc: Paul Angus 
Sent: Friday, September 8, 2017 9:42 AM
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Hi Luis,
I have configured Cisco 3750G switch for my CloudStack advanced mode setup. 
Configuration should be the similar for Cisco 3560 as well, probably might help 
you.

>> 4 Nics: 2 for Management-Storage (LACP) and 2 for Public-Guest
Make sure to setup the VLANs before configuring the switch ports for interfaces 
meant for Public and Guest traffic
conf t
vlan ,
end
Please note that the VLAN range meant for public traffic are routable (with 
subnet assigned)
Configure the switch ports for Public and Guest traffic
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan ,
Ex: If 100 is VLAN ID of routable VLAN meant for public traffic, and VLAN IDs 
500 to 600 are guest (zone) VLANs, then above command looks like,
switchport trunk allowed vlan 100,500-600

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

-Original Message-
From: Luis 
>
Reply-To: "users@cloudstack.apache.org" 
>, Luis 
>
Date: Friday, 8 September 2017 at 5:39 PM
To: Paul Angus >, 
"users@cloudstack.apache.org" 
>
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Thank you Paul
Your article is really helpful, I think my problem is finding the correct 
commands to setup the switch, this is what I have
CS 4.10: on Ubuntu 14.044 nics: 2 for management (LACP) and 2 for Storage 
(LACP)
XenServer for host4 Nics: 2 for Management-Storage (LACP) and 2 for 
Public-Guest
Is it possible for you or the group to help me with the lines to set up 
correctly  the Cisco Switch, I will appreciate your help
Cisco Switch 3560Ports: 9 - 10 for Management-storageconf tinterface range 
Gi0/9 - 10switchport mode accessno shutchannel-group 3 mode 
activechannel-protocol lacpend
Port 11 - 12 for Piblic-Guest
conf tinterface range Gi0/11 - 12switchport mode accessno shutchannel-group 
4 mode activechannel-protocol lacpend  From: Paul Angus 
>
To: "users@cloudstack.apache.org" 
>; Luis 
>
Sent: Friday, September 8, 2017 5:19 AM
Subject: RE: Configuring CS with Advance Networking for an internal 
laboratory

Luis,

You may find this blog from yester-year helpful:


http://www.shapeblue.com/understanding-cloudstacks-physical-networking-architecture/


Kind regards,

Paul Angus

paul.an...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




-Original Message-
From: Paul Angus 
[mailto:paul.an...@shapeblue.com]
Sent: 07 September 2017 22:12
To: Luis >; 
users@cloudstack.apache.org
Subject: RE: Configuring CS with Advance Networking for an internal 
laboratory

No problem Luis,


  1.  Advanced networking replies on VLANs (or some 

Re: Configuring CS with Advance Networking for an internal laboratory

2017-09-08 Thread Luis
Thank you for your help
Do I need to specify what port the vlan are going to use?
1.- create vlnasconf tvlan 65,300-800end
2.- conf tswitchport mode trunkswitchport trunk encapsulation dot1q switchport 
trunk allowed vlan 65,300-800end 


  From: Sateesh Chodapuneedi 
 To: "users@cloudstack.apache.org" ; Luis 
 
Cc: Paul Angus 
 Sent: Friday, September 8, 2017 9:42 AM
 Subject: Re: Configuring CS with Advance Networking for an internal laboratory
   
Hi Luis,
I have configured Cisco 3750G switch for my CloudStack advanced mode setup. 
Configuration should be the similar for Cisco 3560 as well, probably might help 
you.

>> 4 Nics: 2 for Management-Storage (LACP) and 2 for Public-Guest
Make sure to setup the VLANs before configuring the switch ports for interfaces 
meant for Public and Guest traffic
conf t
vlan ,
end
Please note that the VLAN range meant for public traffic are routable (with 
subnet assigned)
Configure the switch ports for Public and Guest traffic
switchport mode trunk
switchport trunk encapsulation dot1q 
switchport trunk allowed vlan , 
Ex: If 100 is VLAN ID of routable VLAN meant for public traffic, and VLAN IDs 
500 to 600 are guest (zone) VLANs, then above command looks like,
switchport trunk allowed vlan 100,500-600

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

-Original Message-
From: Luis 
Reply-To: "users@cloudstack.apache.org" , Luis 

Date: Friday, 8 September 2017 at 5:39 PM
To: Paul Angus , "users@cloudstack.apache.org" 

Subject: Re: Configuring CS with Advance Networking for an internal laboratory

    Thank you Paul
    Your article is really helpful, I think my problem is finding the correct 
commands to setup the switch, this is what I have
    CS 4.10: on Ubuntu 14.044 nics: 2 for management (LACP) and 2 for Storage 
(LACP)
    XenServer for host4 Nics: 2 for Management-Storage (LACP) and 2 for 
Public-Guest
    Is it possible for you or the group to help me with the lines to set up 
correctly  the Cisco Switch, I will appreciate your help
    Cisco Switch 3560Ports: 9 - 10 for Management-storageconf tinterface range 
Gi0/9 - 10switchport mode accessno shutchannel-group 3 mode 
activechannel-protocol lacpend
    Port 11 - 12 for Piblic-Guest
    conf tinterface range Gi0/11 - 12switchport mode accessno shutchannel-group 
4 mode activechannel-protocol lacpend      From: Paul Angus 

    To: "users@cloudstack.apache.org" ; Luis 
 
    Sent: Friday, September 8, 2017 5:19 AM
    Subject: RE: Configuring CS with Advance Networking for an internal 
laboratory
      
    Luis,
    
    You may find this blog from yester-year helpful:
    
    
http://www.shapeblue.com/understanding-cloudstacks-physical-networking-architecture/
    
    
    Kind regards,
    
    Paul Angus
    
    paul.an...@shapeblue.com 
    www.shapeblue.com
    53 Chandos Place, Covent Garden, London  WC2N 4HSUK
    @shapeblue
      
    
    
    
    -Original Message-
    From: Paul Angus [mailto:paul.an...@shapeblue.com] 
    Sent: 07 September 2017 22:12
    To: Luis ; users@cloudstack.apache.org
    Subject: RE: Configuring CS with Advance Networking for an internal 
laboratory
    
    No problem Luis,
    
    
      1.  Advanced networking replies on VLANs (or some SDN isolation method), 
so you need at have a range of VLANs free, that you tell CloudStack that it can 
use.
      2.  The IP ranges I described were only an example you can you any range 
you like, but ‘public’ traffic generally is going to require a gateway in order 
to ‘go’ somewhere.
      3.  I looks to me like you are setting all of your interfaces as access 
ports. You’ll need ports which deal with multiple VLANs (like ones used for 
guest networks) to be trunk ports – with the VLANs which are allowed matching 
those that you have told CloudStack that it can use.
    
    
    Kind regards,
    
    Paul Angus
    
    
    paul.an...@shapeblue.com
    www.shapeblue.com
    53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
      
    
    
    From: Luis [mailto:lmartinez...@yahoo.com]
    Sent: 07 September 2017 20:32
    To: Paul Angus ; users@cloudstack.apache.org
    Subject: Re: Configuring CS with Advance Networking for an internal 
laboratory
    
    thank you for your help, I have some questions if you can help me to answer 
this
    
    1.- can i not use VLAN's for Advance Networking or are necessary for the 
configuration
    
    2.- Do I need to create an extra server ans use it as gateway for this 
range of IP's?
    
    

Re: Configuring CS with Advance Networking for an internal laboratory

2017-09-08 Thread Sateesh Chodapuneedi
Hi Luis,
I have configured Cisco 3750G switch for my CloudStack advanced mode setup. 
Configuration should be the similar for Cisco 3560 as well, probably might help 
you.

>> 4 Nics: 2 for Management-Storage (LACP) and 2 for Public-Guest
Make sure to setup the VLANs before configuring the switch ports for interfaces 
meant for Public and Guest traffic
conf t
vlan ,
end
Please note that the VLAN range meant for public traffic are routable (with 
subnet assigned)
Configure the switch ports for Public and Guest traffic
switchport mode trunk
switchport trunk encapsulation dot1q 
switchport trunk allowed vlan , 
Ex: If 100 is VLAN ID of routable VLAN meant for public traffic, and VLAN IDs 
500 to 600 are guest (zone) VLANs, then above command looks like,
switchport trunk allowed vlan 100,500-600

Regards,
Sateesh Chodapuneedi,
CloudStack Development,
Engineering, http://accelerite.com
Santa Clara, 95054, CA
@accelerite

-Original Message-
From: Luis 
Reply-To: "users@cloudstack.apache.org" , Luis 

Date: Friday, 8 September 2017 at 5:39 PM
To: Paul Angus , "users@cloudstack.apache.org" 

Subject: Re: Configuring CS with Advance Networking for an internal laboratory

Thank you Paul
Your article is really helpful, I think my problem is finding the correct 
commands to setup the switch, this is what I have
CS 4.10: on Ubuntu 14.044 nics: 2 for management (LACP) and 2 for Storage 
(LACP)
XenServer for host4 Nics: 2 for Management-Storage (LACP) and 2 for 
Public-Guest
Is it possible for you or the group to help me with the lines to set up 
correctly  the Cisco Switch, I will appreciate your help
Cisco Switch 3560Ports: 9 - 10 for Management-storageconf tinterface range 
Gi0/9 - 10switchport mode accessno shutchannel-group 3 mode 
activechannel-protocol lacpend
Port 11 - 12 for Piblic-Guest
conf tinterface range Gi0/11 - 12switchport mode accessno shutchannel-group 
4 mode activechannel-protocol lacpend  From: Paul Angus 

 To: "users@cloudstack.apache.org" ; Luis 
 
 Sent: Friday, September 8, 2017 5:19 AM
 Subject: RE: Configuring CS with Advance Networking for an internal 
laboratory
   
Luis,

You may find this blog from yester-year helpful:


http://www.shapeblue.com/understanding-cloudstacks-physical-networking-architecture/


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com] 
Sent: 07 September 2017 22:12
To: Luis ; users@cloudstack.apache.org
Subject: RE: Configuring CS with Advance Networking for an internal 
laboratory

No problem Luis,


  1.  Advanced networking replies on VLANs (or some SDN isolation method), 
so you need at have a range of VLANs free, that you tell CloudStack that it can 
use.
  2.  The IP ranges I described were only an example you can you any range 
you like, but ‘public’ traffic generally is going to require a gateway in order 
to ‘go’ somewhere.
  3.  I looks to me like you are setting all of your interfaces as access 
ports. You’ll need ports which deal with multiple VLANs (like ones used for 
guest networks) to be trunk ports – with the VLANs which are allowed matching 
those that you have told CloudStack that it can use.


Kind regards,

Paul Angus


paul.an...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
  
 

From: Luis [mailto:lmartinez...@yahoo.com]
Sent: 07 September 2017 20:32
To: Paul Angus ; users@cloudstack.apache.org
Subject: Re: Configuring CS with Advance Networking for an internal 
laboratory

thank you for your help, I have some questions if you can help me to answer 
this

1.- can i not use VLAN's for Advance Networking or are necessary for the 
configuration

2.- Do I need to create an extra server ans use it as gateway for this 
range of IP's?

3.- this is what I am using to create my vlan's on a Cisco 3560, is this 
correct?
conf t
interface range Gi0/9 - 10
switchport mode access
no shut
switchport access vlan 65
channel-group 3 mode active
channel-protocol lacp
end

Thank you for your help



From: Paul Angus >
To: "users@cloudstack.apache.org" 
>; Luis 

Re: Configuring CS with Advance Networking for an internal laboratory

2017-09-08 Thread Luis
Thank you Paul
Your article is really helpful, I think my problem is finding the correct 
commands to setup the switch, this is what I have
CS 4.10: on Ubuntu 14.044 nics: 2 for management (LACP) and 2 for Storage (LACP)
XenServer for host4 Nics: 2 for Management-Storage (LACP) and 2 for Public-Guest
Is it possible for you or the group to help me with the lines to set up 
correctly  the Cisco Switch, I will appreciate your help
Cisco Switch 3560Ports: 9 - 10 for Management-storageconf tinterface range 
Gi0/9 - 10switchport mode accessno shutchannel-group 3 mode 
activechannel-protocol lacpend
Port 11 - 12 for Piblic-Guest
conf tinterface range Gi0/11 - 12switchport mode accessno shutchannel-group 4 
mode activechannel-protocol lacpend  From: Paul Angus 

 To: "users@cloudstack.apache.org" ; Luis 
 
 Sent: Friday, September 8, 2017 5:19 AM
 Subject: RE: Configuring CS with Advance Networking for an internal laboratory
   
Luis,

You may find this blog from yester-year helpful:

http://www.shapeblue.com/understanding-cloudstacks-physical-networking-architecture/


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com] 
Sent: 07 September 2017 22:12
To: Luis ; users@cloudstack.apache.org
Subject: RE: Configuring CS with Advance Networking for an internal laboratory

No problem Luis,


  1.  Advanced networking replies on VLANs (or some SDN isolation method), so 
you need at have a range of VLANs free, that you tell CloudStack that it can 
use.
  2.  The IP ranges I described were only an example you can you any range you 
like, but ‘public’ traffic generally is going to require a gateway in order to 
‘go’ somewhere.
  3.  I looks to me like you are setting all of your interfaces as access 
ports. You’ll need ports which deal with multiple VLANs (like ones used for 
guest networks) to be trunk ports – with the VLANs which are allowed matching 
those that you have told CloudStack that it can use.


Kind regards,

Paul Angus


paul.an...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
  
 

From: Luis [mailto:lmartinez...@yahoo.com]
Sent: 07 September 2017 20:32
To: Paul Angus ; users@cloudstack.apache.org
Subject: Re: Configuring CS with Advance Networking for an internal laboratory

thank you for your help, I have some questions if you can help me to answer this

1.- can i not use VLAN's for Advance Networking or are necessary for the 
configuration

2.- Do I need to create an extra server ans use it as gateway for this range of 
IP's?

3.- this is what I am using to create my vlan's on a Cisco 3560, is this 
correct?
conf t
interface range Gi0/9 - 10
switchport mode access
no shut
switchport access vlan 65
channel-group 3 mode active
channel-protocol lacp
end

Thank you for your help



From: Paul Angus >
To: "users@cloudstack.apache.org" 
>; Luis 
>
Sent: Thursday, September 7, 2017 3:05 PM
Subject: RE: Configuring CS with Advance Networking for an internal laboratory

Hi Luis,

You can give CloudStack a range of RFC1918 addresses (ie private addresses) to 
act as an 'internal' public network.

10.0.1.10 - 10.0.1.30
GW: 10.0.1.254
Netmask - 255.255.255.0

If the gateway at 10.0.1.254 can route to the outside world then CloudStack 
will still be able to download templates, if not you can always register a 
template which you are hosting on an internal network.

If you do the second option ensure that the global setting 
'secstorage.allowed.internal.sites'  includes the hosting server's IP address.



Kind regards,

Paul Angus

paul.an...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue



-Original Message-
From: Luis 
[mailto:lmartinez...@yahoo.com.INVALID]
Sent: 07 September 2017 18:42
To: Users >
Subject: Configuring CS with Advance Networking for an internal laboratory

Hi
I am configuring CS with Advance Networking for internal use without rotatable 
IP's, this is for testing and lean CS Advance Networking, This is what I have 
CS 4.10XenServer 7.0FreeNas CS is already installed but I can't download any 
iso because V-Router can't ping outside my network, any advice?
Public IP:209.229.131.0Internal IP: 10.0.0.0 Thank you for your help.



   

AW: cloud-set-guest-password working with systemctl

2017-09-08 Thread S . Brüseke - proIO GmbH
Hi Sebastian,

if you want you can take a look at our preseed and sysprep configs:
https://gitlab.proio.com/s.brueseke/megonacloudtemplates

You can also find ready templates here: http://openvm.eu/.

Thanks again to Nux. :-)

Mit freundlichen Grüßen / With kind regards,

Swen

-Ursprüngliche Nachricht-
Von: Sebastian Gomez [mailto:tioc...@gmail.com] 
Gesendet: Donnerstag, 7. September 2017 20:52
An: users@cloudstack.apache.org
Betreff: Re: cloud-set-guest-password working with systemctl

Could you share them, please?

Yes, I agree, perhaps our doc needs an update.


Thanks in advanced.



Atentamente,
Sebastián Gómez

On Thu, Sep 7, 2017 at 12:38 PM, Pierre-Luc Dion 
wrote:

> Hi,
>
> On my side we use cloud-init in all our Linux templates. We got it to 
> work for password, password-reset, sshkey and sshkey-reset. It also 
> support user-data, and provide an easy way to manage a different user than 
> root.
>
> I think our community documentation need an update on this topic...
>
> Cheers,
>
> Le 28 août 2017 5:29 PM, "Sebastian Gomez"  a écrit :
>
> I had the same problem like Marc and I could not resolve it on Ubuntu 
> 16.04.
> I followed the cloudstack steps to set it up, but the script is not 
> running well on our environment.
>
> If I execute the script from command line, it works fine. During the 
> boot process, there is any problem on systemd and DHCP conjunction, 
> and VR is not reachable to reply this request.
>
> On the other hand, I found many different versions of this OLD script, 
> and I remember that we had to use other community version also for 
> Ubuntu 14.04. I noticed that this is a very old script, and has not 
> been modified for years.
> As you proposed, I'm trying to do it via cloud-init. Just landed from 
> holidays I will finish this integration.
>
> To do a so simply task like setting up a simple template is becoming a 
> nightmare, so *I would like to know how people *is setting Ubuntu 
> templates up?
> - SSL key pairs? would be a good way, but Cloudstack 4.9.2 does not 
> allow to manage SSL key pairs using the GUI, only via API, so this is 
> not a way for not advanced users.
> - Default user/password?
>
>
> I can't believe that we are the only two buddies with this problem.
>
>
>
> Regards.
>
>
>
>
> Atentamente,
> Sebastián Gómez
>
> On Mon, Aug 7, 2017 at 3:36 PM, Pierre-Luc Dion 
> wrote:
>
> > Has Syed is saying its most likely because of systemd. Have you try 
> > to
> use
> > cloud-init? It work well but need some tuning for password and 
> > sshkey reset...
> >
> >
> >
> > Le 7 août 2017 09:33, "Syed Ahmed"  a écrit :
> >
> >> Hi,
> >>
> >> Is the password server mentioned in the logs 192.168.155.1 reachable?
> The
> >> password server is hosted on the VR. Sometimes, restarting the 
> >> network will reboot the VR and fix this. If not let us know, we'll 
> >> help you out.
> >>
> >> Thanks,
> >> -Syed
> >>
> >> On Fri, Aug 4, 2017 at 9:33 AM, Marc Poll Garcia < 
> >> marc.poll.gar...@upcnet.es
> >> > wrote:
> >>
> >> > Hello everyone,
> >> >
> >> > last days we are experiencing some issues on our "Ubuntu 16.04"
> >> template,
> >> > created step by step following this tutorial:
> >> >
> >> > http://docs.cloudstack.apache.org/projects/cloudstack-
> >> > administration/en/4.8/templates/_create_linux.html
> >> >
> >> > It is happening on "Ubuntu 16.04.2 LTS \n \l" system and  
> >> > "CloudStack 4.9.2.0" version.
> >> >
> >> >
> >> > Unfortunately we detected that some of the features we had, no 
> >> > longer
> >> work,
> >> > such as the changing password one.
> >> >
> >> > After several test and reviewing it more deeply, i see that it 
> >> > works "intermittently" and the service sometimes does not start on boot:
> >> >
> >> > /etc/init.d/cloud-set-guest-password status ● 
> >> > cloud-set-guest-password.service - LSB: Init file for Password
> >> Download
> >> > Client
> >> >Loaded: loaded (/etc/init.d/cloud-set-guest-password; bad; 
> >> > vendor
> >> > preset: enabled)
> >> >Active: *failed* (Result: exit-code) since Thu 2017-08-03 
> >> > 16:09:09
> >> CEST;
> >> > 39min ago
> >> >  Docs: man:systemd-sysv-generator(8)
> >> >
> >> > Aug 03 16:08:58 Ubuntu16PassKO systemd[1]: Starting LSB: Init 
> >> > file for Password Download Client...
> >> > Aug 03 16:08:58 Ubuntu16PassKO cloud-set-guest-password[1062]:  *
> >> Starting
> >> > cloud cloud-set-guest-password
> >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1252]: DHCP file
> >> > (/var/lib/dhcp/dhclient-ens160.leases) exists. No need to restart 
> >> > dhclient.
> >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1256]: Using DHCP lease from 
> >> > /var/lib/dhcp/dhclient-ens160.leases
> >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1263]: Found password server 
> >> > IP
> >> > 192.168.155.1 in /var/lib/dhcp/dhclient-ens160.leases
> >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1264]: Sending request to
> password
> >> >