Re: KVM snapshot process

2014-06-04 Thread Geoff Higginbottom
Ivan,

The Host actually copies the image to Sec Storage,  if this is very slow have 
you considered dedicating some NICs and configuring the CloudStack 'Storage' 
network and enabling Jumbo Frames etc.

Regards

Geoff Higginbottom
CTO / Cloud Architect

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

geoff.higginbot...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@cloudstackguru

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HS


On 4 Jun 2014, at 07:19, "Ivan Rodriguez" 
mailto:ivan...@gmail.com>> wrote:

Dear Cloudstack users,

Can someone explain me roughly the process of creating an snapshot in KVM ?

The process takes a very long time, the speed at what the qcow2 file is
copied from primary to secondary storage is extremely slow, on the storage
level
I can see is around 4 Mbps but I know our primary storage and secondary can
dump data faster than that

So far this is what I know

Step
   1.- Pause the VM in the host
   2.- Create the snapshot of the qcow2 files using qemu-img
   3.- Backup the image into secondary storage

So my question is who is actually copying that file over to secondary
storage ?
I've checked the secondary storage vm and it doesn't look like its playing
any role during this process.

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

IaaS Cloud Design & Build
CSForge - rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 is a registered trademark.


Re: KVM snapshot process

2014-06-04 Thread Ivan Rodriguez
Hi Geoff,

What if the VM is stopped and not running anywhere ?
which is my case.

We have 10 GB LACP and jumbo frames.

Cheers



On Wed, Jun 4, 2014 at 5:02 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Ivan,
>
> The Host actually copies the image to Sec Storage,  if this is very slow
> have you considered dedicating some NICs and configuring the CloudStack
> 'Storage' network and enabling Jumbo Frames etc.
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
> | www.shapeblue.com | Twitter:@cloudstackguru<
> https://twitter.com/#!/cloudstackguru>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> 4HS
>
>
> On 4 Jun 2014, at 07:19, "Ivan Rodriguez"  ivan...@gmail.com>> wrote:
>
> Dear Cloudstack users,
>
> Can someone explain me roughly the process of creating an snapshot in KVM ?
>
> The process takes a very long time, the speed at what the qcow2 file is
> copied from primary to secondary storage is extremely slow, on the storage
> level
> I can see is around 4 Mbps but I know our primary storage and secondary can
> dump data faster than that
>
> So far this is what I know
>
> Step
>1.- Pause the VM in the host
>2.- Create the snapshot of the qcow2 files using qemu-img
>3.- Backup the image into secondary storage
>
> So my question is who is actually copying that file over to secondary
> storage ?
> I've checked the secondary storage vm and it doesn't look like its playing
> any role during this process.
>
> Thanks in advance
> 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 framework
> CloudStack Consulting
> 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 is a
> registered trademark.
>


Re: KVM snapshot process

2014-06-04 Thread Ivan Rodriguez
You are absolutely right

root 12348  2284  0 14:45 ?00:00:00 bash
/usr/share/cloudstack-common/scripts/storage/qcow2/managesnapshot.sh -b
/mnt/5ffe8656-f987-3fcb-b71d-7dd1ed19e839/6ea271b1-2f95-4421-bca7-65b099c0577f
-n 8b50e8dc-16a7-4948-99c0-e6d1751d6db5 -p
/mnt/0b383db5-9f31-3760-873d-9ac05f349860/snapshots/3/144 -t
8b50e8dc-16a7-4948-99c0-e6d1751d6db5
root 12358 12348  2 14:45 ?00:03:39 qemu-img convert -f qcow2
-O qcow2 -s 8b50e8dc-16a7-4948-99c0-e6d1751d6db5
/mnt/5ffe8656-f987-3fcb-b71d-7dd1ed19e839/6ea271b1-2f95-4421-bca7-65b099c0577f
/mnt/0b383db5-9f31-3760-873d-9ac05f349860/snapshots/3/144/8b50e8dc-16a7-4948-99c0-e6d1751d6db5


Cheers



On Wed, Jun 4, 2014 at 5:27 PM, Ivan Rodriguez  wrote:

> Hi Geoff,
>
> What if the VM is stopped and not running anywhere ?
> which is my case.
>
> We have 10 GB LACP and jumbo frames.
>
> Cheers
>
>
>
> On Wed, Jun 4, 2014 at 5:02 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com> wrote:
>
>> Ivan,
>>
>> The Host actually copies the image to Sec Storage,  if this is very slow
>> have you considered dedicating some NICs and configuring the CloudStack
>> 'Storage' network and enabling Jumbo Frames etc.
>>
>> Regards
>>
>> Geoff Higginbottom
>> CTO / Cloud Architect
>>
>> D: +44 20 3603 0542 | S: +44 20 3603 0540> +442036030540> | M: +447968161581
>>
>> geoff.higginbot...@shapeblue.com
>> | www.shapeblue.com | Twitter:@cloudstackguru<
>> https://twitter.com/#!/cloudstackguru>
>>
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
>> 4HS
>>
>>
>> On 4 Jun 2014, at 07:19, "Ivan Rodriguez" > ivan...@gmail.com>> wrote:
>>
>> Dear Cloudstack users,
>>
>> Can someone explain me roughly the process of creating an snapshot in KVM
>> ?
>>
>> The process takes a very long time, the speed at what the qcow2 file is
>> copied from primary to secondary storage is extremely slow, on the storage
>> level
>> I can see is around 4 Mbps but I know our primary storage and secondary
>> can
>> dump data faster than that
>>
>> So far this is what I know
>>
>> Step
>>1.- Pause the VM in the host
>>2.- Create the snapshot of the qcow2 files using qemu-img
>>3.- Backup the image into secondary storage
>>
>> So my question is who is actually copying that file over to secondary
>> storage ?
>> I've checked the secondary storage vm and it doesn't look like its playing
>> any role during this process.
>>
>> Thanks in advance
>> 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 framework
>> CloudStack Consulting
>> 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 is a
>> registered trademark.
>>
>
>


Re: KVM snapshot process

2014-06-04 Thread Ivan Rodriguez
What is the purpose of doing this

qemu-img convert -f qcow2 -O qcow2 -s

KVM is using qcow2 this is the bit that is slowing this whole process




On Wed, Jun 4, 2014 at 5:30 PM, Ivan Rodriguez  wrote:

> You are absolutely right
>
> root 12348  2284  0 14:45 ?00:00:00 bash
> /usr/share/cloudstack-common/scripts/storage/qcow2/managesnapshot.sh -b
> /mnt/5ffe8656-f987-3fcb-b71d-7dd1ed19e839/6ea271b1-2f95-4421-bca7-65b099c0577f
> -n 8b50e8dc-16a7-4948-99c0-e6d1751d6db5 -p
> /mnt/0b383db5-9f31-3760-873d-9ac05f349860/snapshots/3/144 -t
> 8b50e8dc-16a7-4948-99c0-e6d1751d6db5
> root 12358 12348  2 14:45 ?00:03:39 qemu-img convert -f qcow2
> -O qcow2 -s 8b50e8dc-16a7-4948-99c0-e6d1751d6db5
> /mnt/5ffe8656-f987-3fcb-b71d-7dd1ed19e839/6ea271b1-2f95-4421-bca7-65b099c0577f
> /mnt/0b383db5-9f31-3760-873d-9ac05f349860/snapshots/3/144/8b50e8dc-16a7-4948-99c0-e6d1751d6db5
>
>
> Cheers
>
>
>
> On Wed, Jun 4, 2014 at 5:27 PM, Ivan Rodriguez  wrote:
>
>> Hi Geoff,
>>
>> What if the VM is stopped and not running anywhere ?
>> which is my case.
>>
>> We have 10 GB LACP and jumbo frames.
>>
>> Cheers
>>
>>
>>
>> On Wed, Jun 4, 2014 at 5:02 PM, Geoff Higginbottom <
>> geoff.higginbot...@shapeblue.com> wrote:
>>
>>> Ivan,
>>>
>>> The Host actually copies the image to Sec Storage,  if this is very slow
>>> have you considered dedicating some NICs and configuring the CloudStack
>>> 'Storage' network and enabling Jumbo Frames etc.
>>>
>>> Regards
>>>
>>> Geoff Higginbottom
>>> CTO / Cloud Architect
>>>
>>> D: +44 20 3603 0542 | S: +44 20 3603 0540>> +442036030540> | M: +447968161581
>>>
>>> geoff.higginbot...@shapeblue.com
>>> | www.shapeblue.com | Twitter:@cloudstackguru<
>>> https://twitter.com/#!/cloudstackguru>
>>>
>>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
>>> 4HS
>>>
>>>
>>> On 4 Jun 2014, at 07:19, "Ivan Rodriguez" >> ivan...@gmail.com>> wrote:
>>>
>>> Dear Cloudstack users,
>>>
>>> Can someone explain me roughly the process of creating an snapshot in
>>> KVM ?
>>>
>>> The process takes a very long time, the speed at what the qcow2 file is
>>> copied from primary to secondary storage is extremely slow, on the
>>> storage
>>> level
>>> I can see is around 4 Mbps but I know our primary storage and secondary
>>> can
>>> dump data faster than that
>>>
>>> So far this is what I know
>>>
>>> Step
>>>1.- Pause the VM in the host
>>>2.- Create the snapshot of the qcow2 files using qemu-img
>>>3.- Backup the image into secondary storage
>>>
>>> So my question is who is actually copying that file over to secondary
>>> storage ?
>>> I've checked the secondary storage vm and it doesn't look like its
>>> playing
>>> any role during this process.
>>>
>>> Thanks in advance
>>> 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 framework
>>> CloudStack Consulting
>>> 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 is a registered trademark.
>>>
>>
>>
>


Re: VPN acces to VPC

2014-06-04 Thread Andrija Panic
Thanks guys!


On 3 June 2014 17:47, Nux!  wrote:

> On 03.06.2014 16:40, Jonathan Gowar wrote:
>
>> On Tue, 2014-06-03 at 16:19 +0100, Nux! wrote:
>>
>>> On 29.05.2014 23:34, Jonathan Gowar wrote:
>>>
 Hi,

   I've just configured a public VR with advanced networking and would
 like to connect to it via a VPN enabled in CS, from my laptop.

 The tutorials are a bit thing in on this subject.

 Regards,
 Jon

>>>
>>> https://support.getcloudservices.com/entries/
>>> 22001616-CloudStack-Configure-Windows-7-for-VPN-Access
>>> that tutorial for example worked for me earlier today
>>>
>>>
>>>
>> No Linux users out there? ;)
>>
>
> http://kezhong.wordpress.com/2014/03/10/cloudstack-
> configure-fedora-20-for-vpn-access/
> https://portal.redbridge.se/faq/getting-started/accessing-
> your-instance-from-the-outside/
>
> Though in fairness I'm on RHEL 7 and have had problems connecting to ACS
> VPN, but the blame is with lack of software on my side.
>
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>



-- 

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


SSVM & CPVM Public IP not pinging

2014-06-04 Thread Tejas Gadaria
Hi,

I am trying to create setup with xenserver, where Storage,public,Guest &
Management traffic will be carried by 4 diff. nics & all are in different
VLAN.
After assigning the name-label in xen. System vm's are created but I am not
able ping to SSVM & CPVM public IP .

root@s-1-VM:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
default 10.129.152.10.0.0.0 UG0  00 eth2
google-public-d 10.129.151.1255.255.255.255 UGH   0  00 eth1
10.129.151.0*   255.255.255.0   U 0  00 eth1
10.129.152.0*   255.255.255.0   U 0  00 eth2
10.129.155.0*   255.255.255.0   U 0  00 eth3
link-local  *   255.255.0.0 U 0  00 eth0

root@s-1-VM:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 48 data bytes
56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=64.948 ms
^C--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 64.948/64.948/64.948/0.000 ms

I am not able to ping to Storage from SSVM either.

Following below link right now.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting

Need help on this.

Regards,
Tejas


Re: KVM snapshot process

2014-06-04 Thread Nux!

On 04.06.2014 08:32, Ivan Rodriguez wrote:

What is the purpose of doing this

qemu-img convert -f qcow2 -O qcow2 -s

KVM is using qcow2 this is the bit that is slowing this whole process


This is required to take the disk snapshot, additionally your backing 
file might not always be QCOW2, it could be RAW (iSCSI/CLVM), CEPH etc, 
but the target file needs to be a (qcow) file so it can be stored easily 
on the NFS share.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Is the cloudstack autoscaling fature only activated with netscaler hardware appliance?

2014-06-04 Thread hossein zabolzadeh
Hi.
Is the cloudstack autoscaling fature only activated with netscaler hardware
appliance?


CloudStack Test Scripts

2014-06-04 Thread hossein zabolzadeh
Where can I find all of the written test scripts for Apache CloudStack?
I have in-house jenkins and I want to start some automatic testing jobs
after the successful cloudstack build process.
Thanks in advance.


RE: CloudStack Test Scripts

2014-06-04 Thread Santhosh Edukulla
under /test/integration/, smoke and component folders have 
"integration" tests.

Santhosh

From: hossein zabolzadeh [zabolza...@gmail.com]
Sent: Wednesday, June 04, 2014 5:43 AM
To: users@cloudstack.apache.org
Subject: CloudStack Test Scripts

Where can I find all of the written test scripts for Apache CloudStack?
I have in-house jenkins and I want to start some automatic testing jobs
after the successful cloudstack build process.
Thanks in advance.

RE: Is the cloudstack autoscaling fature only activated with netscaler hardware appliance?

2014-06-04 Thread Rajesh Battala
Autoscale is available with vpx also.

-Original Message-
From: hossein zabolzadeh [mailto:zabolza...@gmail.com] 
Sent: Wednesday, June 4, 2014 3:01 PM
To: users@cloudstack.apache.org
Subject: Is the cloudstack autoscaling fature only activated with netscaler 
hardware appliance?

Hi.
Is the cloudstack autoscaling fature only activated with netscaler hardware 
appliance?


Re: Is the cloudstack autoscaling fature only activated with netscaler hardware appliance?

2014-06-04 Thread hossein zabolzadeh
Is the vpx free and downloadble? Or it must be purchased from Cirtix?


On Wed, Jun 4, 2014 at 2:34 PM, Rajesh Battala 
wrote:

> Autoscale is available with vpx also.
>
> -Original Message-
> From: hossein zabolzadeh [mailto:zabolza...@gmail.com]
> Sent: Wednesday, June 4, 2014 3:01 PM
> To: users@cloudstack.apache.org
> Subject: Is the cloudstack autoscaling fature only activated with
> netscaler hardware appliance?
>
> Hi.
> Is the cloudstack autoscaling fature only activated with netscaler
> hardware appliance?
>


Re: Is the cloudstack autoscaling fature only activated with netscaler hardware appliance?

2014-06-04 Thread sebgoa
I don't want to sound mean but read the docs a bit:

http://docs.cloudstack.apache.org/en/master/networking/autoscale_without_netscaler.html#configuring-autoscale-without-using-netscaler

On Jun 4, 2014, at 12:32 PM, hossein zabolzadeh  wrote:

> Is the vpx free and downloadble? Or it must be purchased from Cirtix?
> 
> 
> On Wed, Jun 4, 2014 at 2:34 PM, Rajesh Battala 
> wrote:
> 
>> Autoscale is available with vpx also.
>> 
>> -Original Message-
>> From: hossein zabolzadeh [mailto:zabolza...@gmail.com]
>> Sent: Wednesday, June 4, 2014 3:01 PM
>> To: users@cloudstack.apache.org
>> Subject: Is the cloudstack autoscaling fature only activated with
>> netscaler hardware appliance?
>> 
>> Hi.
>> Is the cloudstack autoscaling fature only activated with netscaler
>> hardware appliance?
>> 



Cannot add a host to Cloudstack

2014-06-04 Thread Andrew Chiw
Hello everybody, I’m playing with Cloudstack on a single server, which will 
host everything (primary/secondary storage). The problem is I can’t seem to add 
a host to Cloudstack (it takes a long time, and then after a while it says it 
failed). I want to add the same machine that Cloudstack is running on to 
Cloudstack so it will run Qemu+KVM on it.

What exactly does Cloudstack do anyway when I’m adding a host (physical 
machine)? Does it try to ssh in with root and do something? Why does it even 
need root/password? It says it was set when I installed the hypervisor - but I 
installed qemu-kvm, and I was never asked for a password. It doesn’t make sense 
anyway.

Thanks,
Andrew

Access console VM via custom portal

2014-06-04 Thread dimas yoga pratama
Hello,
can anyone answer my question?

I create a custom web portal that provide some provisioning for user
I want user can access cloudstack VM from my web , but I kept gtting this
message: "Access denied. Invalid web session or API key in request"

I already pass the sessionkey like this :
http://10.151.32.11:8080/client/console?cmd=access&vm=018f88b2-4edc-4e6d-b318-3ec02029180f&sessionkey=d01AlQ2ZzwKBVqB2Rkj0qsHP/aw=

how can I access it from outside cloudstack UI?  Is there any API that can
handle this request?

thanks, looking forward for the answr.


is there any tutorials for setting up CS using advanced network and KVM hypervisor?

2014-06-04 Thread Yiping Zhang
Hi,

I have followed this run book to set up my first CS instance successfully with 
basic networking: http://people.apache.org/%7Eke4qqq/runbook/index.html .

Now I want to try advanced networking with kvm hypervisor where CS management 
server and kvm hypervisor are running on two separate physical nodes. Does any 
one know a good and accurate tutorial or run book for such a setup ?

Thanks

Yiping


Re: SSVM & CPVM Public IP not pinging

2014-06-04 Thread ilya musayev
In VMware world, which i assume is not much different from XEN, this 
usually means that the network system VM NIC inherited is incorrect


Here is what i wold do, while you are connected to a VM through console, 
initiate a ping to a gateway (continuous mode), change the sysvms 
network one by one, to see which one works.  Most likely, you have 
public and private in reverse. I assume they are untagged, if they are 
check what portgroups you have in XEN created.



On 6/4/14, 12:39 AM, Tejas Gadaria wrote:

Hi,

I am trying to create setup with xenserver, where Storage,public,Guest &
Management traffic will be carried by 4 diff. nics & all are in different
VLAN.
After assigning the name-label in xen. System vm's are created but I am not
able ping to SSVM & CPVM public IP .

root@s-1-VM:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
default 10.129.152.10.0.0.0 UG0  00 eth2
google-public-d 10.129.151.1255.255.255.255 UGH   0  00 eth1
10.129.151.0*   255.255.255.0   U 0  00 eth1
10.129.152.0*   255.255.255.0   U 0  00 eth2
10.129.155.0*   255.255.255.0   U 0  00 eth3
link-local  *   255.255.0.0 U 0  00 eth0

root@s-1-VM:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 48 data bytes
56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=64.948 ms
^C--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 64.948/64.948/64.948/0.000 ms

I am not able to ping to Storage from SSVM either.

Following below link right now.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting

Need help on this.

Regards,
Tejas





RE: is there any tutorials for setting up CS using advanced network and KVM hypervisor?

2014-06-04 Thread Sanjeev Neelarapu
Apache cloudstack Install & Admin guides should help you in setting up this 
environment.

-Original Message-
From: Yiping Zhang [mailto:yzh...@marketo.com] 
Sent: Thursday, June 05, 2014 3:00 AM
To: users@cloudstack.apache.org
Subject: is there any tutorials for setting up CS using advanced network and 
KVM hypervisor?

Hi,

I have followed this run book to set up my first CS instance successfully with 
basic networking: http://people.apache.org/%7Eke4qqq/runbook/index.html .

Now I want to try advanced networking with kvm hypervisor where CS management 
server and kvm hypervisor are running on two separate physical nodes. Does any 
one know a good and accurate tutorial or run book for such a setup ?

Thanks

Yiping


Re: is there any tutorials for setting up CS using advanced network and KVM hypervisor?

2014-06-04 Thread Shanker Balan
Comments inline.

On 05-Jun-2014, at 3:00 am, Yiping Zhang  wrote:

> Hi,
>
> I have followed this run book to set up my first CS instance successfully 
> with basic networking: http://people.apache.org/%7Eke4qqq/runbook/index.html .



> Now I want to try advanced networking with kvm hypervisor where CS management 
> server and kvm hypervisor are running on two separate physical nodes. Does 
> any one know a good and accurate tutorial or run book for such a setup ?

Like Sanjeev already mentioned, the Install+Admin guide should help you with 
the setup.
Alternatively, I have a step-by-step guide at 
http://shankerbalan.net/blog/cloudstack-simple-advanced-network-example/ which 
could use.

Hth.


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

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

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 is a registered trademark.


RE: Cannot add a host to Cloudstack

2014-06-04 Thread Shweta Agarwal
You can look at cloudstack quick install quide  to make sure you have followed 
installation steps correctly 

Thanks
Shweta

-Original Message-
From: Andrew Chiw [mailto:andrew.wo...@gmail.com] 
Sent: Wednesday, June 04, 2014 5:33 PM
To: users@cloudstack.apache.org
Subject: Cannot add a host to Cloudstack

Hello everybody, I'm playing with Cloudstack on a single server, which will 
host everything (primary/secondary storage). The problem is I can't seem to add 
a host to Cloudstack (it takes a long time, and then after a while it says it 
failed). I want to add the same machine that Cloudstack is running on to 
Cloudstack so it will run Qemu+KVM on it.

What exactly does Cloudstack do anyway when I'm adding a host (physical 
machine)? Does it try to ssh in with root and do something? Why does it even 
need root/password? It says it was set when I installed the hypervisor - but I 
installed qemu-kvm, and I was never asked for a password. It doesn't make sense 
anyway.

Thanks,
Andrew


Re: SSVM & CPVM Public IP not pinging

2014-06-04 Thread Shanker Balan
Hi Tejas,

comments inline.

On 04-Jun-2014, at 1:09 pm, Tejas Gadaria  wrote:

> Hi,
>
> I am trying to create setup with xenserver, where Storage,public,Guest &
> Management traffic will be carried by 4 diff. nics & all are in different
> VLAN.
> After assigning the name-label in xen. System vm's are created but I am not
> able ping to SSVM & CPVM public IP .
>
> root@s-1-VM:~# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> default 10.129.152.10.0.0.0 UG0  00 eth2
> google-public-d 10.129.151.1255.255.255.255 UGH   0  00 eth1
> 10.129.151.0*   255.255.255.0   U 0  00 eth1
> 10.129.152.0*   255.255.255.0   U 0  00 eth2
> 10.129.155.0*   255.255.255.0   U 0  00 eth3
> link-local  *   255.255.0.0 U 0  00 eth0
>
> root@s-1-VM:~# ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8): 48 data bytes
> 56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=64.948 ms
> ^C--- 8.8.8.8 ping statistics ---
> 1 packets transmitted, 1 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 64.948/64.948/64.948/0.000 ms

You are able to reach Google DNS because there is a static
route to 8.8.8.8 via the management subnet.


> I am not able to ping to Storage from SSVM either.
>
> Following below link right now.
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting


Can share the full output of ssvm-check.sh?

Can you ping the gateway? If not, it could be that:

1) 10.129.152.0 subnet is not routable or cant reach 10.129.152.1
2) eth2 is bridged to the interfaces labeled for public traffic

I would check if each of the virtual interfaces are bridged to the right
physical interface on the XenServer labeled interfaces.

tcpdump on all the interfaces on the SSVM and on the physical
interfaces will also help identify the issue.

Regards.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

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

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 is a registered trademark.


Re: Netscaler Loadbalancing Hardware Appliance Alternatives

2014-06-04 Thread Shanker Balan
Hi Ilya,

Comments inline.

On 30-May-2014, at 4:07 am, ilya musayev  wrote:

> Apache Traffic Server is trying to rival netscaler.
>

Apache Traffic Server is more focused on being a forward and reverse proxy
rather than a load balancer. The typical deployment architecture for ATS
or more specifically YTS (Yahoo Traffic Server) at Yahoo which I managed
was as below:

GSLB -> Hardware LB -> YTS Cluster -> Hardware LB -> App Cluster

Regards.


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

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

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 is a registered trademark.