You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by cloud stack <cl...@gmail.com> on 2015/08/07 04:50:59 UTC
Having problem during configuring autoscaling feature in CloudStack
Hi All,
We are trying to use autoscaling feature in Cloudstack either with
NetScaler or without NetScaler.
We have tried with both Cloudstack versions 4.4 and 4.5.
*Our configuration:*
-- management server : centos 6.4
ip:192.168.1.10
netmask:255.255.255.0
gateway:192.168.1.1
-- host : xenserver 6.1
ip:192.168.1.11
netmask:255.255.255.0
gateway:192.168.1.1
-- we have a router with vlan support,and we configured 4 vlans as untagged
in order to get access to internet (according to router user manual):
vlan id (1) : 192.168.1.0/24
vlan id (2) : 192.168.2.0/24
vlan id (3) : 192.168.3.0/24
vlan id (4) : 192.168.4.0/24
- all vlans can ping each other and can access internet.
- firewall is off in the router.
*==> We tried with the following approaches:*
*1) Installation with Basic zone:*
--Network offering: DefaultSharedNetscalerEIPandELBNetworkOffering
--management network: 192.168.1.0/24 (vlan1)
--guest network: 192.168.1.0/24 (vlan1)
--public network: 192.168.2.0/24 (vlan2)
--Note: we prepared the template with snmp and application
*--Issues in this configuration:*
-We can not ping the public ip assigned to the load balancer that getting
from public ips pool.
-We stopped the firewall in XenServer (btw :firewall is restarted
frequently even though with chkconfig iptables off)
*2) Installation with Advance zone:*
--guest cidr (3 different installation):
10.10.0.0/24
192.168.1.0/24
192.168.2.0/24
--management network: 192.168.1.0/24 (vlan1)
--public network (3 different installation):
192.168.1.0/24 (vlan1)
192.168.2.0/24 (vlan2)
--guest vlan tag range (2 different installation):
700-800
blank-blank
--We tried with both shared and isolated guest network from vlan1 and vlan2:
vlan1:192.168.1.0/24
vlan2:192.168.2.0/24
*--Issues in this configuration:*
-We cannot ping the VM IP created with either isolated or shared network
from any vlans and from vm we can not also access the internet.
-We stopped the firewall in xenserver (btw :firewall is restarted
frequently even though with chkconfig iptables off)
Now we are not sure how to proceed with autoscaler configuration, what
combination we should try to make it work. Can any one please give us some
direction to make autoscale running. We really appreciate any comments or
suggestions.
Please let us know if you have any clarification questions.
Thanks in advance,
Re: Having problem during configuring autoscaling feature in CloudStack
Posted by cloud stack <cl...@gmail.com>.
Can anyone please help us to resolve this issue. We would appreciate any
guideline or suggestion that might help us. Thanks.
On Fri, Aug 7, 2015 at 12:47 AM, cloud stack <cl...@gmail.com>
wrote:
> Hi Mr. Rajesh Battala,
>
>
> Thanks a lot for your nice reply.
>
>
> We have installed NetScaler VPX (*Version 10.5-55.8*) on XenServer and
> using the 90 days free license.
>
>
> *We have tried the following steps for AutoScaling with NetScaler:*
>
> 1. We have installed cloudstack with with *Basic zone* and added
> netscaler by selecting the network offering
> as DefaultSharedNetscalerEIPandELBNetworkOffering.
>
> 2. We gave the management (pod) network as 192.168.1.0/24 (vlan1),
>
> guest network as 192.168.1.0/24 (vlan1) and
>
> public network as 192.168.2.0/24 (vlan2)
>
> 3. Registered an Ubuntu 12.04 server iso, installed an instance and
> prepared a template with snmp agent running on the VM and
> application running on 8080 port for the autoscaler.
>
> 4. Then we configured the autoscaler by clicking Network -> Configuration
> -> LoadBalancing -> configured a Autoscale rule (e.g., cpu >80% add VM and
> cpu<20% remove VM). But the problem we are having in this configuration is
> that we can not ping the public ip assigned to the autoscaler getting from
> public network (192.168.2.0/24).
>
> 5. We stopped the firewall in XenServer by using the command 'service
> iptables stop'.
>
>
> Not really sure the above steps are correct or not. Please let us know
> your valuable comments or suggestions.
>
> Waiting for your kind response.
>
>
>
> Thanks in Advance
>
>
Re: Having problem during configuring autoscaling feature in CloudStack
Posted by cloud stack <cl...@gmail.com>.
Hi Mr. Rajesh Battala,
Thanks a lot for your nice reply.
We have installed NetScaler VPX (*Version 10.5-55.8*) on XenServer and
using the 90 days free license.
*We have tried the following steps for AutoScaling with NetScaler:*
1. We have installed cloudstack with with *Basic zone* and added netscaler
by selecting the network offering
as DefaultSharedNetscalerEIPandELBNetworkOffering.
2. We gave the management (pod) network as 192.168.1.0/24 (vlan1),
guest network as 192.168.1.0/24 (vlan1) and
public network as 192.168.2.0/24 (vlan2)
3. Registered an Ubuntu 12.04 server iso, installed an instance and
prepared a template with snmp agent running on the VM and
application running on 8080 port for the autoscaler.
4. Then we configured the autoscaler by clicking Network -> Configuration
-> LoadBalancing -> configured a Autoscale rule (e.g., cpu >80% add VM and
cpu<20% remove VM). But the problem we are having in this configuration is
that we can not ping the public ip assigned to the autoscaler getting from
public network (192.168.2.0/24).
5. We stopped the firewall in XenServer by using the command 'service
iptables stop'.
Not really sure the above steps are correct or not. Please let us know your
valuable comments or suggestions.
Waiting for your kind response.
Thanks in Advance
RE: Having problem during configuring autoscaling feature in
CloudStack
Posted by Rajesh Battala <ra...@citrix.com>.
Hi,
I can help you with issues on Autoscaling with NetScaler.
Let me know how you have tried AutoScaling with NetScaler.
Which version of NS, License,
AutoScale configuration.
Autoscale with NS and without NS works completely diferent.
Thanks
Rajesh Battala
-----Original Message-----
From: cloud stack [mailto:cloudstack101@gmail.com]
Sent: Friday, August 7, 2015 8:21 AM
To: users@cloudstack.apache.org
Subject: Having problem during configuring autoscaling feature in CloudStack
Hi All,
We are trying to use autoscaling feature in Cloudstack either with NetScaler or without NetScaler.
We have tried with both Cloudstack versions 4.4 and 4.5.
*Our configuration:*
-- management server : centos 6.4
ip:192.168.1.10
netmask:255.255.255.0
gateway:192.168.1.1
-- host : xenserver 6.1
ip:192.168.1.11
netmask:255.255.255.0
gateway:192.168.1.1
-- we have a router with vlan support,and we configured 4 vlans as untagged in order to get access to internet (according to router user manual):
vlan id (1) : 192.168.1.0/24
vlan id (2) : 192.168.2.0/24
vlan id (3) : 192.168.3.0/24
vlan id (4) : 192.168.4.0/24
- all vlans can ping each other and can access internet.
- firewall is off in the router.
*==> We tried with the following approaches:*
*1) Installation with Basic zone:*
--Network offering: DefaultSharedNetscalerEIPandELBNetworkOffering
--management network: 192.168.1.0/24 (vlan1) --guest network: 192.168.1.0/24 (vlan1) --public network: 192.168.2.0/24 (vlan2)
--Note: we prepared the template with snmp and application
*--Issues in this configuration:*
-We can not ping the public ip assigned to the load balancer that getting from public ips pool.
-We stopped the firewall in XenServer (btw :firewall is restarted frequently even though with chkconfig iptables off)
*2) Installation with Advance zone:*
--guest cidr (3 different installation):
10.10.0.0/24
192.168.1.0/24
192.168.2.0/24
--management network: 192.168.1.0/24 (vlan1) --public network (3 different installation):
192.168.1.0/24 (vlan1)
192.168.2.0/24 (vlan2)
--guest vlan tag range (2 different installation):
700-800
blank-blank
--We tried with both shared and isolated guest network from vlan1 and vlan2:
vlan1:192.168.1.0/24
vlan2:192.168.2.0/24
*--Issues in this configuration:*
-We cannot ping the VM IP created with either isolated or shared network from any vlans and from vm we can not also access the internet.
-We stopped the firewall in xenserver (btw :firewall is restarted frequently even though with chkconfig iptables off)
Now we are not sure how to proceed with autoscaler configuration, what combination we should try to make it work. Can any one please give us some direction to make autoscale running. We really appreciate any comments or suggestions.
Please let us know if you have any clarification questions.
Thanks in advance,