关于cloudstack 4.2.x API rebootVirtualMachine的问题

2014-12-08 Thread sbin
我在调用这个api对虚拟机进行重启操作的时候,会得到一个jobid,但是当我去查 
询这个jobid的时候,得到的jobstatus总是0, 程序在进行判断的时候会认为这个 
机器一直处于正在重启的状态。
我也尝试过使用cloudstack自带的那个的后台管理网站来进行重启操作,发现情况 
也是如此,在进行重启操作后,他们自带的那个网站也是卡在 了查询重启的jobid 
的那段ajax代码上了。
因为我也是刚开始接触cloudstack,所以想问一下各位前辈,这是否是cloudstack 
的一个bug呢?我在这里先谢谢了。


回复: 关于cloudstack 4.2.x API rebootVirtualMachine的问题

2014-12-08 Thread cloudstackfqa2013
您好:
   查一下cloudstage 的日志,或者再去看一下支持虚拟化功能的日志,如KVM,xenserver 看报什么错误。




cloudstackfqa2013

发件人: sbin
发送时间: 2014-12-09 10:59
收件人: users-cn
主题: 关于cloudstack 4.2.x API rebootVirtualMachine的问题
我在调用这个api对虚拟机进行重启操作的时候,会得到一个jobid,但是当我去查 
询这个jobid的时候,得到的jobstatus总是0, 程序在进行判断的时候会认为这个 
机器一直处于正在重启的状态。
我也尝试过使用cloudstack自带的那个的后台管理网站来进行重启操作,发现情况 
也是如此,在进行重启操作后,他们自带的那个网站也是卡在 了查询重启的jobid 
的那段ajax代码上了。
因为我也是刚开始接触cloudstack,所以想问一下各位前辈,这是否是cloudstack 
的一个bug呢?我在这里先谢谢了。

RE: 回复: 关于cloudstack 4.2.x API rebootVirtualMachine的问题

2014-12-08 Thread 石斌
呃……好吧,发现是我自己逗逼了,这个重启虚拟机的操作比我想象中的时间要长得多,而且虚拟机的状态还一直是处于running状态,我起初还一直以为这个动作在一瞬间完成了,看来这个不是什么bug,只要耐心等等就行了

 Date: Tue, 9 Dec 2014 13:53:34 +0800
 From: cloudstackfqa2...@163.com
 To: users-cn@cloudstack.apache.org
 Subject: 回复: 关于cloudstack 4.2.x API rebootVirtualMachine的问题
 
 您好:
查一下cloudstage 的日志,或者再去看一下支持虚拟化功能的日志,如KVM,xenserver 看报什么错误。
 
 
 
 
 cloudstackfqa2013
 
 发件人: sbin
 发送时间: 2014-12-09 10:59
 收件人: users-cn
 主题: 关于cloudstack 4.2.x API rebootVirtualMachine的问题
 我在调用这个api对虚拟机进行重启操作的时候,会得到一个jobid,但是当我去查 
 询这个jobid的时候,得到的jobstatus总是0, 程序在进行判断的时候会认为这个 
 机器一直处于正在重启的状态。
 我也尝试过使用cloudstack自带的那个的后台管理网站来进行重启操作,发现情况 
 也是如此,在进行重启操作后,他们自带的那个网站也是卡在 了查询重启的jobid 
 的那段ajax代码上了。
 因为我也是刚开始接触cloudstack,所以想问一下各位前辈,这是否是cloudstack 
 的一个bug呢?我在这里先谢谢了。
  

Re: Load Balancing in cloudstack

2014-12-08 Thread Jayapal Reddy Uradi
Hi Vadim,

What you are saying is Internal LB, it is there only in the VPC.

Thanks,
Jayapal
On 08-Dec-2014, at 12:52 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 As far as I know -- network offer with LB is only available for VPC and you 
 must expicitly select it for specific subnet.  For shared network it is not 
 available.
 
 Vadim.
 
 -Original Message-
 From: Erik Weber [mailto:terbol...@gmail.com] 
 Sent: Monday, December 08, 2014 12:34 AM
 To: users@cloudstack.apache.org
 Subject: Re: Load Balancing in cloudstack
 
 On Sun, Dec 7, 2014 at 11:28 PM, Tilak Raj Singh tila...@gmail.com wrote:
 
 Hello all,
 
 I followed the quick install guide of installing cloudstack and setup 
 a private cloud within my college..Now I created a VM in it and it was 
 assigned an IP address of 172.31.101.250. I created another VM which 
 has an ip address 172.31.101.248...now when I click NIC tabs of both 
 the machines it shows the Network Name as defaultGuestNetwork...I 
 wish to add load balancing to these two machine to share the load of a 
 webservice I would be creating on these.
 
 But the problem is when I click on View IP Address inside 
 defaultguestNetwork it shows no IP addressesWhat wrong am I doing 
 here..Can somebody please guide me???
 
 
 Are you using Basic networking?
 
 --
 Erik



Re: [DISCUSS] Any issues to be fixed for 4.3.1?

2014-12-08 Thread France
Hi Rohit,

Here are a few issues (without resolution). Maybe you can help get a fix in 
time for 4.3.2 release:

Snapshosts errors after upgrade 4.1.1 to 4.3.1:
https://issues.apache.org/jira/browse/CLOUDSTACK-8013

Failed to create a volume from snapshot:
https://issues.apache.org/jira/browse/CLOUDSTACK-8014

Virtual Router only with DHCP should not have DNS service
https://issues.apache.org/jira/browse/CLOUDSTACK-4675

Excessive use of LVM snapshots on XenServer, that leads to snapshot failure and 
unnecessary disk usage.
https://issues.apache.org/jira/browse/CLOUDSTACK-6060

Possibly this one too:
Failed to create snapshot due to an internal error creating snapshot for volume 
372 - Failure from sparse_dd: Fatal error: exception Invalid_argument(index 
out of bounds”):
https://issues.apache.org/jira/browse/CLOUDSTACK-8044?filter=-2

Some others, you have already back-ported. For that we thank you.

Thank you,
Regards,
F.


On 20 Nov 2014, at 10:15, Rohit Yadav rohit.ya...@shapeblue.com wrote:

 Hi,
 
 We’ve some bugfixes backported to 4.3 branch since 4.3.1 was released and I 
 think we should at least support this branch with a 4.3.2 release in next 
 couple of weeks until a stable 4.5.0 is released in next couple of months.
 
 I’m going through JIRA and list of issues and will help backport fixes to the 
 4.3 branch. So, please share if you’ve found any blocker/critical/major issue 
 that you found in 4.3.0 or 4.3.1 and want to be fixed. Thanks.
 
 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 88 262 30892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab
 
 Find out more about ShapeBlue and our range of CloudStack related services
 
 IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software 
 Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training 
 Courseshttp://shapeblue.com/cloudstack-training/



RE: Strange instance boot issue

2014-12-08 Thread Geoff Higginbottom
Hi Allesandro,

This is just a hunch, but could it be that Windows only uses its 1st CPU to 
handle the boot process.  If this is the case when you allocate 4vCPU @ 500Mhz 
it only has 500Mhz of CPU power to process the very intensive boot process, vs 
having 2000Mhz when you allocate a single vCPU @ 200MHz.

I believe it's always better to provide a faster single vCPU than multiple 
Slower vCPUs as there are overheads on the Guest OS and Hypervisor when dealing 
with multiple vCPUs.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Alessandro Caviglione [mailto:c.alessan...@gmail.com]
Sent: 08 December 2014 02:20
To: users@cloudstack.apache.org
Subject: Re: Strange instance boot issue

Ok... maybe I found the issue!!
Again... I'm learning CS in these month so you've to be patient with me! :) But 
this thing is strange...
I configure some Compute offering setting CPU speed to 500 MHz and changing 
vCPU number for each offer, all the offerings are with CPU CAP enabled.
Now, if I deploy a W2008R2 instance from a template or an ISO (yes
W2012 is working fine! :-/) with 4vCPU (4*500 MHz = 2 GHz) I get the issue... 
sloow boot time (about 15 mins).
If I deploy the same instance with 1 vCPU with 2000 MHz, the instance boot in 7 
sec!!
Why???

On Sun, Dec 7, 2014 at 1:49 AM, Alessandro Caviglione  c.alessan...@gmail.com 
wrote:

 Hi guys,
 I'm sorry if I submit this problem, I honestly do not think it is a
 fault of CloudStack, but I do not know where to look anymore ...
 For several days (up to a week ago I did not have this problem) I have
 trouble creating templates and run instances.
 My infrastructure is composed of CS4.4.1 and 4 XenServer 6.2 hosts.
 I want to point out that the problem is not due to poor storage
 performance.
 When I create an instance from an ISO, the installation time is
 greatly increased.
 When restarting the instances, for example windows VMs, they remain in
 the boot about 30 minutes.
 The strange thing is that when instances are started, the performances
 are excellent!
 What's even more strange is that trying to install a new VM directly
 from XenServer, installation is fast and the boot issue when restart
 the VMs does not appear and also boot is very fast (about 20/30 sec.)
 In short, the problem seems to be only when the VMs are managed by
 CloudStack.
 I found this article and correct the BIOS of my server, even though I
 had never encountered this problem until a week ago. (
 http://support.citrix.com/article/CTX127395)


 Someone can give me some guidance?

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


System VMs not starting

2014-12-08 Thread Wikus van der Walt (RedArmour)
Hi All,

I have a simple lab setup:
1 x CSMS v4.4.1 and 1 X Xen v6.2.

ccsm01 (10.10.0.16)
cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).

Xenserver network:
nic0: management (vlan 10 access port)
nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)

I followed the guide for Xen server system VM templates and they are
populated on the primary storage NFS (10.10.1.2:/csprimary).

Attached is an output of:
grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
/var/log/cloudstack/management/management-server.log

This entry makes me think that my network setup is incorrect:
*2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
top of another VLAN - use the underlying physical PIF/bond instead*

Any help would be much appreciated.

Cheers,
Wikus
2014-12-08 09:39:30,357 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-4:ctx-bb7dc62d job-4/job-2674 ctx-1c1671d3) VM state 
transitted from :Starting to Stopped with event: OperationFailedvm's original 
host id: null new host id: null host id before state transition: 1
2014-12-08 09:39:30,373 ERROR [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-4:ctx-bb7dc62d job-4/job-2674 ctx-1c1671d3) Invocation 
exception, caused by: com.cloud.exception.InsufficientServerCapacityException: 
Unable to create a deployment for VM[ConsoleProxy|v-2-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
2014-12-08 09:39:30,374 INFO  [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-4:ctx-bb7dc62d job-4/job-2674 ctx-1c1671d3) Rethrow 
exception com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM[ConsoleProxy|v-2-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
2014-12-08 09:39:30,374 ERROR [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-4:ctx-bb7dc62d job-4/job-2674) Unable to complete AsyncJobVO 
{id:2674, userId: 1, accountId: 1, instanceType: null, instanceId: null, cmd: 
com.cloud.vm.VmWorkStart, cmdInfo: 
rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAABAAEAAnQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAHBwcHBwcHBwcHA,
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 345052769882, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: Mon Dec 08 09:39:28 GMT 2014}, job origin:4
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[ConsoleProxy|v-2-VM]Scope=interface com.cloud.dc.DataCenter; 
id=1
2014-12-08 09:39:30,375 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Work-Job-Executor-4:ctx-bb7dc62d job-4/job-2674) Complete async job-2674, 
jobStatus: FAILED, resultCode: 0, result: 

Re: System VMs not starting

2014-12-08 Thread Abhinandan Prateek
The error is due to bad storage network on your Xenserver, give it another 
check.

-abhi

M +919701199011 | 
abhinandan.prat...@shapeblue.commailto:abhinandan.prat...@shapeblue.com


On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) 
wvanderw...@redarmour.co.ukmailto:wvanderw...@redarmour.co.uk wrote:

Hi All,

I have a simple lab setup:
1 x CSMS v4.4.1 and 1 X Xen v6.2.

ccsm01 (10.10.0.16)
cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).

Xenserver network:
nic0: management (vlan 10 access port)
nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)

I followed the guide for Xen server system VM templates and they are populated 
on the primary storage NFS (10.10.1.2:/csprimary).

Attached is an output of:
grep -i -E 'exception|unable|fail|invalid|leak|warn|error' 
/var/log/cloudstack/management/management-server.log

This entry makes me think that my network setup is incorrect:
2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class 
com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on top 
of another VLAN - use the underlying physical PIF/bond instead

Any help would be much appreciated.

Cheers,
Wikus

ccsms01log.txt

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: System VMs not starting

2014-12-08 Thread Wikus van der Walt (RedArmour)
Thanks Abhi,  Can you please be more specific about what is bad about it?
My primary storage NFS is on a separate segment from my Xen management
network.  In order to reach the storage NFS I create an external network on
the Xenserver and assign an IP on that segment (vlan11).  Is this not
supported?

On 8 December 2014 at 10:10, Abhinandan Prateek 
abhinandan.prat...@shapeblue.com wrote:

 The error is due to bad storage network on your Xenserver, give it another
 check.

 -abhi

 M +919701199011 | abhinandan.prat...@shapeblue.commailto:
 abhinandan.prat...@shapeblue.com


 On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) 
 wvanderw...@redarmour.co.ukmailto:wvanderw...@redarmour.co.uk wrote:

 Hi All,

 I have a simple lab setup:
 1 x CSMS v4.4.1 and 1 X Xen v6.2.

 ccsm01 (10.10.0.16)
 cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).

 Xenserver network:
 nic0: management (vlan 10 access port)
 nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)

 I followed the guide for Xen server system VM templates and they are
 populated on the primary storage NFS (10.10.1.2:/csprimary).

 Attached is an output of:
 grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
 /var/log/cloudstack/management/management-server.log

 This entry makes me think that my network setup is incorrect:
 2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
 com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
 top of another VLAN - use the underlying physical PIF/bond instead

 Any help would be much appreciated.

 Cheers,
 Wikus

 ccsms01log.txt

 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software Engineering
 http://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 http://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
 a company registered by The Republic of South Africa and is traded under
 license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: System VMs not starting

2014-12-08 Thread Andrija Panic
Please use:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
to troubleshoot SSVM connectivity...

On 8 December 2014 at 11:20, Wikus van der Walt (RedArmour) 
wvanderw...@redarmour.co.uk wrote:

 Thanks Abhi,  Can you please be more specific about what is bad about it?
 My primary storage NFS is on a separate segment from my Xen management
 network.  In order to reach the storage NFS I create an external network on
 the Xenserver and assign an IP on that segment (vlan11).  Is this not
 supported?

 On 8 December 2014 at 10:10, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:

  The error is due to bad storage network on your Xenserver, give it
 another
  check.
 
  -abhi
 
  M +919701199011 | abhinandan.prat...@shapeblue.commailto:
  abhinandan.prat...@shapeblue.com
 
 
  On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) 
  wvanderw...@redarmour.co.ukmailto:wvanderw...@redarmour.co.uk wrote:
 
  Hi All,
 
  I have a simple lab setup:
  1 x CSMS v4.4.1 and 1 X Xen v6.2.
 
  ccsm01 (10.10.0.16)
  cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).
 
  Xenserver network:
  nic0: management (vlan 10 access port)
  nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)
 
  I followed the guide for Xen server system VM templates and they are
  populated on the primary storage NFS (10.10.1.2:/csprimary).
 
  Attached is an output of:
  grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
  /var/log/cloudstack/management/management-server.log
 
  This entry makes me think that my network setup is incorrect:
  2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
  (DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
  com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
  top of another VLAN - use the underlying physical PIF/bond instead
 
  Any help would be much appreciated.
 
  Cheers,
  Wikus
 
  ccsms01log.txt
 
  Find out more about ShapeBlue and our range of CloudStack related
 services
 
  IaaS Cloud Design  Build
  http://shapeblue.com/iaas-cloud-design-and-build//
  CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
  CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
  CloudStack Software Engineering
  http://shapeblue.com/cloudstack-software-engineering/
  CloudStack Infrastructure Support
  http://shapeblue.com/cloudstack-infrastructure-support/
  CloudStack Bootcamp Training Courses
  http://shapeblue.com/cloudstack-training/
 
  This email and any attachments to it may be confidential and are intended
  solely for the use of the individual to whom it is addressed. Any views
 or
  opinions expressed are solely those of the author and do not necessarily
  represent those of Shape Blue Ltd or related companies. If you are not
 the
  intended recipient of this email, you must neither take any action based
  upon its contents, nor copy or show it to anyone. Please contact the
 sender
  if you believe you have received this email in error. Shape Blue Ltd is a
  company incorporated in England  Wales. ShapeBlue Services India LLP is
 a
  company incorporated in India and is operated under license from Shape
 Blue
  Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
 Brasil
  and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd
 is
  a company registered by The Republic of South Africa and is traded under
  license from Shape Blue Ltd. ShapeBlue is a registered trademark.
 




-- 

Andrija Panić


Re: System VMs not starting

2014-12-08 Thread Abhinandan Prateek
Another issue is that the system vm templates should be seeded on secondary not 
on primary.

Looks like you have created the network on Xenserver for each traffic type.
Cloudstack is again trying to setup the networks. google the error you will 
find some leads to debug it.


Abhinandan Prateek

M +919701199011
abhinandan.prat...@shapeblue.com




 On 08-Dec-2014, at 3:50 pm, Wikus van der Walt (RedArmour) 
 wvanderw...@redarmour.co.uk wrote:

 Thanks Abhi,  Can you please be more specific about what is bad about it?
 My primary storage NFS is on a separate segment from my Xen management
 network.  In order to reach the storage NFS I create an external network on
 the Xenserver and assign an IP on that segment (vlan11).  Is this not
 supported?

 On 8 December 2014 at 10:10, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:

 The error is due to bad storage network on your Xenserver, give it another
 check.

 -abhi

 M +919701199011 | abhinandan.prat...@shapeblue.commailto:
 abhinandan.prat...@shapeblue.com


 On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) 
 wvanderw...@redarmour.co.ukmailto:wvanderw...@redarmour.co.uk wrote:

 Hi All,

 I have a simple lab setup:
 1 x CSMS v4.4.1 and 1 X Xen v6.2.

 ccsm01 (10.10.0.16)
 cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).

 Xenserver network:
 nic0: management (vlan 10 access port)
 nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)

 I followed the guide for Xen server system VM templates and they are
 populated on the primary storage NFS (10.10.1.2:/csprimary).

 Attached is an output of:
 grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
 /var/log/cloudstack/management/management-server.log

 This entry makes me think that my network setup is incorrect:
 2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
 com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
 top of another VLAN - use the underlying physical PIF/bond instead

 Any help would be much appreciated.

 Cheers,
 Wikus

 ccsms01log.txt

 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software Engineering
 http://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 http://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
 a company registered by The Republic of South Africa and is traded under
 license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue 

KVM - VM snapshot (round 2)

2014-12-08 Thread Andrija Panic
Hi guys,

still wondering is there any interest into imlementing the VM snapshoot for
KVM ?

We desperately need it, so will try to contribute anyway we can (not me
obviosuly, not a developer, but my colegues will).

Can you give some guidance on this subject - I'm aware of the design
documents here
https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots but any
more input would be very much appriciated.

I understand, that VMware/Xen natively support this, and that it might have
bigger user-base for Xen VS KVM - but this is one of the major KVM missing
features...

Any input greatly appreciated...

-- 

Andrija Panić


Load Balancing Cloudstack Management Servers

2014-12-08 Thread Glenn Wagner

Good day,

When trying to load balance two Cloudstack Management servers which 
ports should be exposed so that the management function will still work



port 8080/443
port 8250
port 8096

Second question , just a confirmation if using two CS management server 
, a separate NFS server should be used.


Thanks
Glenn Wagner








RE: KVM - VM snapshot (round 2)

2014-12-08 Thread Vadim Kimlaychuk
CS does not support memory snapshots for XenServer. Disk snapshots are working. 
Not sure about VmWare, but I guess it should be the same. I thought the 
reachest feature-set is developed for KVM. But if it does not support memory 
snapshots - I wonder wich hypervisor does it ? This option at user interface 
exists, but I didn't see it worked.

Vadim.


-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Monday, December 08, 2014 12:51 PM
To: d...@cloudstack.apache.org; users@cloudstack.apache.org
Subject: KVM - VM snapshot (round 2)

Hi guys,

still wondering is there any interest into imlementing the VM snapshoot for KVM 
?

We desperately need it, so will try to contribute anyway we can (not me 
obviosuly, not a developer, but my colegues will).

Can you give some guidance on this subject - I'm aware of the design documents 
here https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots but 
any more input would be very much appriciated.

I understand, that VMware/Xen natively support this, and that it might have 
bigger user-base for Xen VS KVM - but this is one of the major KVM missing 
features...

Any input greatly appreciated...

-- 

Andrija Panić


Re: Load Balancing Cloudstack Management Servers

2014-12-08 Thread Andrija Panic
shapeblue slides on ports:
http://image.slidesharecdn.com/cloudstacknetworking-shapebluetechnicaldeepdive-130705132746-phpapp01/95/cloud-stack-networking-shapeblue-technical-deep-dive-60-638.jpg?cb=1373048954
8250/9090 = loadbalnced internaly only for client access
8080/8096/443 - loadbalanced externaly for public access - but remove the
8080 really...

NFS location - is your preference - preferably NOT on the mgmt nodes, but
can be anywhere really.

On 8 December 2014 at 11:52, Glenn Wagner gl...@blackeye.co.za wrote:

 Good day,

 When trying to load balance two Cloudstack Management servers which ports
 should be exposed so that the management function will still work


 port 8080/443
 port 8250
 port 8096

 Second question , just a confirmation if using two CS management server ,
 a separate NFS server should be used.

 Thanks
 Glenn Wagner









-- 

Andrija Panić


RE: Load Balancing Cloudstack Management Servers

2014-12-08 Thread Geoff Higginbottom
Hi Glenn

Assuming you are going to use the same Load Balancers for inbound access to the 
GUI by your customers, and you are going to put the SSL Cert on the LBs, then 
you need to load balance 443 which maps to 8080 on the Management Servers.

If the same LBs are also handling the traffic from the System VMs (they 
normally do) then you need to load balance 8250.

If you need to have the 'un-authenticated api port' enabled for say use with 
Cloud Portal Business Manager and you want to pass this traffic through your 
load balancers, then ensure it is only accessible from a private internal 
network, and NEVER expose to the public internet etc.

Regarding NFS, yes, if using multiple Management Servers, they should just be 
Management Servers and not providing any other services etc

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Glenn Wagner [mailto:gl...@blackeye.co.za]
Sent: 08 December 2014 10:53
To: users@cloudstack.apache.org
Subject: Load Balancing Cloudstack Management Servers

Good day,

When trying to load balance two Cloudstack Management servers which ports 
should be exposed so that the management function will still work


port 8080/443
port 8250
port 8096

Second question , just a confirmation if using two CS management server
, a separate NFS server should be used.

Thanks
Glenn Wagner






Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Andrija Panic
With KVM - I understand that there are 2 steps in general. 1) libvirts save
 - which saves memory of running VM to a file 2) qemu-img to snapshot
disks...

AS for the KVM VM snapshoting - my understanding is that the code is not
implemented at all, right ?

On 8 December 2014 at 12:11, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
wrote:

 CS does not support memory snapshots for XenServer. Disk snapshots are
 working. Not sure about VmWare, but I guess it should be the same. I
 thought the reachest feature-set is developed for KVM. But if it does not
 support memory snapshots - I wonder wich hypervisor does it ? This option
 at user interface exists, but I didn't see it worked.

 Vadim.


 -Original Message-
 From: Andrija Panic [mailto:andrija.pa...@gmail.com]
 Sent: Monday, December 08, 2014 12:51 PM
 To: d...@cloudstack.apache.org; users@cloudstack.apache.org
 Subject: KVM - VM snapshot (round 2)

 Hi guys,

 still wondering is there any interest into imlementing the VM snapshoot
 for KVM ?

 We desperately need it, so will try to contribute anyway we can (not me
 obviosuly, not a developer, but my colegues will).

 Can you give some guidance on this subject - I'm aware of the design
 documents here
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots but
 any more input would be very much appriciated.

 I understand, that VMware/Xen natively support this, and that it might
 have bigger user-base for Xen VS KVM - but this is one of the major KVM
 missing features...

 Any input greatly appreciated...

 --

 Andrija Panić




-- 

Andrija Panić


[proposal] Purge Volumes instead of deleting them

2014-12-08 Thread Andrija Panic
Anybody interested ?
https://issues.apache.org/jira/browse/CLOUDSTACK-7926

Best

-- 

Andrija Panić


XenServer 6.2: Other 64 bit template

2014-12-08 Thread Vadim Kimlaychuk
Hello all,

I have previously set up XenServer cluster under CS and registered 
FreeBSD under „Other 64 bit“ template. It worked fine in PV mode.
Now I have stand-alone XenServer and can’t launch the same set up 
for FreeBSD manually. Can someone who is using XenServer under CS create VM 
from default „Other 64 bit“ template and print out „xe vm-param-list 
uuid=$VM-UUID“ ?? I would be very thankful for this output. It seems default 
templates are different.

Regards,

Vadim Kimlaychuk



Re: 4.3.1 API issue with importing LDAP users

2014-12-08 Thread Ian Forde
Created.  CLOUDSTACK-8046.  I¹d also like to point out that you may want
to add ³LDAP² to the Components menu in JiraŠ

 -I

On 12/6/14, 6:32 AM, Ian Duffy i...@ianduffy.ie wrote:

Hi.

Haven't looked at the code but it sounds like a casing issue.

AD is case aware but not case sensitive. I'm unsure of the top of my head
what POSIX LDAP is.

Probably best if we change to suit ADs case awareness. i.e. copy across as
same casing and allow login from any case variation.

Can you open a jira ticket?

Thanks,
Ian
On 6 Dec 2014 01:48, ilya musayev ilya.mailing.li...@gmail.com wrote:

 Hi Ian,

 This is probably better suited for Dev list, Ian Duffy has done alot of
 work on LDAP and CloudStack, he is cc'd to this thread. Perhaps he can
shed
 some light.

 Regards
 ilya

 On 12/5/14, 4:40 PM, Ian Forde wrote:

 I¹ve got a bash script performing an API call (in my case, via
 cloudmonkey) as follows:

 cloudmonkey api listLdapUsers listtype=new display=default
 filter=username,domain

 (note that we¹re using Active Directory)

 There¹s at least one user in AD defined with a capital letter in front.
 Example:  ³Bjones rather than bjones.  Now given that we have a
user in
 CS named bjones, Bjones shouldn¹t show up in the output from the above
 command, but it does.

 Is this supposed to happen or is the listLdapUsers supposed to perform
a
 case-insensitive match against currently-defined Cloudstack user
accounts?

 Thanks,
-Ian






[CVE-2014-7807] Apache CloudStack unauthenticated LDAP binds

2014-12-08 Thread John Kinsella
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

CVE-2014-7807: Apache CloudStack unauthenticated LDAP binds

CVSS:
7.5, AV:N/AC:L/Au:N/C:P/I:P/A:P

Vendors:
The Apache Software Foundation
Citrix, Inc.

Versions Afffected:
Apache CloudStack 4.3, 4.4

Description:
Apache CloudStack may be configured to authenticate LDAP users.
When so configured, it performs a simple LDAP bind with the name
and password provided by a user.  Simple LDAP binds are defined
with three mechanisms (RFC 4513): 1) username and password; 2)
unauthenticated if only a username is specified; and 3) anonymous
if neither username or password is specified.  Currently, Apache
CloudStack does not check if the password was provided which could
allow an attacker to bind as an unauthenticated user.

Mitigation:
Users of Apache CloudStack 4.4 and derivatives should update to the
latest version (4.4.2)

An updated release for Apache CloudStack 4.3.2 is in testing. Until
that is released, we recommend following the mitigation below:

By default, many LDAP servers are not configured to allow unauthenticated
binds.  If the LDAP server in use allow this behaviour, a potential
interim solution would be to consider disabling unauthenticated
binds.

Credit:
This issue was identified by the Citrix Security Team.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCgAGBQJUhgUCAAoJEOom9N0pCN7SOQMQAKyBuhg25u3FcVOU5XMdGGpT
2kSVFoLFR74ObI8bdr3HP+2LdLf/Go9QBBrWlZ034FUj6OV0Ct5o8TNB6AHbv0qF
Ar4N05JoGtPaDCe9sWV/+ykOJH8snQjnYwVFrLZlLw8Y/JUQ+I1yJBksw8a2/hT2
vmYgYiAQyrEMMk4bhBBlEyaJFMhuMtKtgUqLDW8wmlhkt2acZMt/0BKxDwAO8o7m
6ypepPCmkPHUpD50tfcCI+K4ib/C5EOn40n4orM97/JHZLsCyhz5nk36eQMOQQz2
fJlaA04fQSV4Cv7c+S0LPh5e4e6TPSrOW3O4/V2dkjK/GgP8kUoo7ivyjIw6d2oJ
Z5vqqgxrmgwDjH58YfVu3tyVuDlOFTZfCLkhdoXMxHfMLYYKeXkffRli9XabxrE+
AkVoXaQAumf8IzTLVSQztV18jC79kvEeCV0pFYOjb/X/gShemruqmCWVDulj1ax6
tzoP+Bm2mQRyrRClY37R+q3cQ2z6eNAC/vAoYzhYBN1o63MYneLYDADhyE6YIGz0
LTbDDGFn0WVdFDrqworHdYDIMW7HQFMNtsQuueeP7LBldsgyTmjmBMp+S3Tq27UT
RaVgp3n9ZUPdzj/i1vvJBrATKUNmv1GDoy+C1GPNx423nEOe7dFkMJARlcbf5Pml
03DX+ot4Xan0P5HXPT+r
=QqOf
-END PGP SIGNATURE-


Re: Load Balancing in cloudstack

2014-12-08 Thread Tilak Raj Singh
Yeah i guess i am using basic networking...i didnt create any routers or
network groups...i just installed cloudstack and entered private and guest
ip addresses on the first run...then i created a vm and this
defaultguestnetwork was automati ally created
On 08-Dec-2014 1:52 PM, Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com
wrote:

 Hi Vadim,

 What you are saying is Internal LB, it is there only in the VPC.

 Thanks,
 Jayapal
 On 08-Dec-2014, at 12:52 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
  wrote:

  As far as I know -- network offer with LB is only available for VPC and
 you must expicitly select it for specific subnet.  For shared network it is
 not available.
 
  Vadim.
 
  -Original Message-
  From: Erik Weber [mailto:terbol...@gmail.com]
  Sent: Monday, December 08, 2014 12:34 AM
  To: users@cloudstack.apache.org
  Subject: Re: Load Balancing in cloudstack
 
  On Sun, Dec 7, 2014 at 11:28 PM, Tilak Raj Singh tila...@gmail.com
 wrote:
 
  Hello all,
 
  I followed the quick install guide of installing cloudstack and setup
  a private cloud within my college..Now I created a VM in it and it was
  assigned an IP address of 172.31.101.250. I created another VM which
  has an ip address 172.31.101.248...now when I click NIC tabs of both
  the machines it shows the Network Name as defaultGuestNetwork...I
  wish to add load balancing to these two machine to share the load of a
  webservice I would be creating on these.
 
  But the problem is when I click on View IP Address inside
  defaultguestNetwork it shows no IP addressesWhat wrong am I doing
  here..Can somebody please guide me???
 
 
  Are you using Basic networking?
 
  --
  Erik




Port forwarding (web) - doesnt show real client IP

2014-12-08 Thread Andrija Panic
Hi,

when doing port forwarding on VPC VR - port 80 - when some client access
web site - only the main Public IP of the VPC is logged in apache access
logs as remote IP.

Why is this behaviour - and can this be changed ?
My understanding is that this is kind of bug (unless needed for some other
reasons) - port forwading is DNAT in essence, so only the destination
IP/port should be changed, not proxied all the way, as it seems to be the
case here...

I read on other guys mailing list - same behavior for loadbalancer...

Any suggestion ?

Thanks,

-- 

Andrija Panić


Re: Port forwarding (web) - doesnt show real client IP

2014-12-08 Thread Andrija Panic
And just to spice things a little bit, ALL remote connections appears to
come from main Public IP of the VPC VR.
So we can not block some stuff on firewall onVM (while doing port
forwading) because all connections appear to come from main Public IP of
the VPC VR.

This is terrible design/bug - can we change this ?
I'm on the ACS 4.3 currently...

cheers

On 8 December 2014 at 23:42, Andrija Panic andrija.pa...@gmail.com wrote:

 Hi,

 when doing port forwarding on VPC VR - port 80 - when some client access
 web site - only the main Public IP of the VPC is logged in apache access
 logs as remote IP.

 Why is this behaviour - and can this be changed ?
 My understanding is that this is kind of bug (unless needed for some other
 reasons) - port forwading is DNAT in essence, so only the destination
 IP/port should be changed, not proxied all the way, as it seems to be the
 case here...

 I read on other guys mailing list - same behavior for loadbalancer...

 Any suggestion ?

 Thanks,

 --

 Andrija Panić




-- 

Andrija Panić


Re: Port forwarding (web) - doesnt show real client IP

2014-12-08 Thread Marcus
It sounds like some iptables rules got broken at some point for the static
NAT, and since there's still a catch-all SNAT for outbound it gets caught
by that and still keeps working, but is broken in a subtle way that goes
unnoticed.

On Mon, Dec 8, 2014 at 2:55 PM, Andrija Panic andrija.pa...@gmail.com
wrote:

 And just to spice things a little bit, ALL remote connections appears to
 come from main Public IP of the VPC VR.
 So we can not block some stuff on firewall onVM (while doing port
 forwading) because all connections appear to come from main Public IP of
 the VPC VR.

 This is terrible design/bug - can we change this ?
 I'm on the ACS 4.3 currently...

 cheers

 On 8 December 2014 at 23:42, Andrija Panic andrija.pa...@gmail.com
 wrote:

  Hi,
 
  when doing port forwarding on VPC VR - port 80 - when some client access
  web site - only the main Public IP of the VPC is logged in apache access
  logs as remote IP.
 
  Why is this behaviour - and can this be changed ?
  My understanding is that this is kind of bug (unless needed for some
 other
  reasons) - port forwading is DNAT in essence, so only the destination
  IP/port should be changed, not proxied all the way, as it seems to be the
  case here...
 
  I read on other guys mailing list - same behavior for loadbalancer...
 
  Any suggestion ?
 
  Thanks,
 
  --
 
  Andrija Panić
 



 --

 Andrija Panić



Re: Desktop as a service

2014-12-08 Thread John Kinsella

 On Dec 5, 2014, at 11:08 PM, Tilak Raj Singh tila...@gmail.com wrote:
 
 Hello Everybody,
 
 I am new to cloudstack so I dont know if I am going off the topic here. I
 wished to know how to setup Virtual Desktop Interface (VDI) using
 cloudstack. I browsed the net and found that openstack has the capabilities
 to setup this feature. Does cloudstack can be used to deploy such a
 service? If yes some links for the same would be highly appreciated. Also
 if cloudstack does not have that capability then is there some alternative
 to this?

Hi and welcome!  CloudStack can be used with Citrix XenDesktop and XenApp to 
provide VDI services for users. It’s covered in the XenDesktop install/setup 
docs (just replace CloudPlatform with CloudStack)

 Another thing I wanted to know is how to instantiate virtual machines
 automatically if the load is increased. Have read about load balancing and
 I guess its regarding this only.

If you mean for VDI, XenDesktop can manage this once connected to CloudStack. 
If you mean outside of that setup, the phrase you’re looking for is 
“autoscaling.” Currently it works with either NetScaler load balancers or 
XenServer virtualization.

 The architecture I wish to setup is to provide VDI to several users on
 demand via browsers, where the compute is done on the virtual machines. Now
 when suppose 10 users are simultaneously using this Virtual Desktop the
 load on the VM increases so cloudstanck spawns another VM to share the load
 of these 10 users to 5 each on these two VMs created. I hope my doubt is
 clear.

Yep - XenDesktop will do that for ya. :) 

John

unable to test Network Throttling.

2014-12-08 Thread raja sekhar
Hi all,

i have created one compute offering(2 CPU , 4 GB) and given the Network
Rate as 1024 Mb/s, a VM is deployed from that compute offering and in
global settings i didn't changed any Network Throttling Rate(default 200
Mb/s) and i'm unable to test the network bandwidth rate.

please suggest me how to test the bandwidth rate of the VM.



Regards,
Rajasekhar.


答复: unable to test Network Throttling.

2014-12-08 Thread Star Guo
Hi,

There is a priority: the network rate of compute offering  the network rate of 
global configuration. 
If you deploy on kvm host, you can use virsh command to dumpxml of the VM and 
focus on  interface ... /interface.

Best Regards,
Star Guo

-邮件原件-
发件人: raja sekhar [mailto:rajsekhar@gmail.com] 
发送时间: 2014年12月9日 14:28
收件人: d...@cloudstack.apache.org; users@cloudstack.apache.org
主题: unable to test Network Throttling.

Hi all,

i have created one compute offering(2 CPU , 4 GB) and given the Network Rate as 
1024 Mb/s, a VM is deployed from that compute offering and in global settings i 
didn't changed any Network Throttling Rate(default 200
Mb/s) and i'm unable to test the network bandwidth rate.

please suggest me how to test the bandwidth rate of the VM.



Regards,
Rajasekhar.



Re: 答复: unable to test Network Throttling.

2014-12-08 Thread raja sekhar
Hi Star,

Thanks for your reply. I'm using XenServer 6.2 and cloudstack 4.3.1.
how can i check the band width rate of the VM, is there any command for
xenserver host?

waiting for your reply.

Regards,
Rajasekhar.

On Mon, Dec 8, 2014 at 10:56 PM, Star Guo st...@ceph.me wrote:

 Hi,

 There is a priority: the network rate of compute offering  the network
 rate of global configuration.
 If you deploy on kvm host, you can use virsh command to dumpxml of the VM
 and focus on  interface ... /interface.

 Best Regards,
 Star Guo

 -邮件原件-
 发件人: raja sekhar [mailto:rajsekhar@gmail.com]
 发送时间: 2014年12月9日 14:28
 收件人: d...@cloudstack.apache.org; users@cloudstack.apache.org
 主题: unable to test Network Throttling.

 Hi all,

 i have created one compute offering(2 CPU , 4 GB) and given the Network
 Rate as 1024 Mb/s, a VM is deployed from that compute offering and in
 global settings i didn't changed any Network Throttling Rate(default 200
 Mb/s) and i'm unable to test the network bandwidth rate.

 please suggest me how to test the bandwidth rate of the VM.



 Regards,
 Rajasekhar.