Re: Save data from xenserver

2014-04-28 Thread Anton Rubets
Geoff Higginbottom

thx, it help




On Mon, Apr 28, 2014 at 12:21 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Sanjeev,
>
> Good suggestion, however if the Hypervisor in question is XenServer, the
> VM will not be listed by XenServer unless it is running, and as there
> appears to be a problem with CS, Anton cannot actually start the VM, I
> don’t believe it will be possible to take the snapshot, unless there is a
> backdoor hack I am not aware of.
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
> Sent: 28 April 2014 10:13
> To: users@cloudstack.apache.org
> Subject: RE: Save data from xenserver
>
> Hi,
>
> Try to create snapshot from the hypervisor for the vm you want to take
> backup. You can export it and later can be used as a template in CS.
>
> -Sanjeev
>
> -Original Message-
> From: Anton Rubets [mailto:plejik@gmail.com]
> Sent: Monday, April 28, 2014 1:51 PM
> To: users@cloudstack.apache.org
> Subject: Save data from xenserver
>
> Hi
> I have a problem with CS 4.1
> Now i wanna save data from VM but i cant launch it with CS.
> How i can run it without CS?
> Thx
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/> offers the best
> 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1 training<
> http://shapeblue.com/cloudstack-training/>
> 28th-29th May 2014, Bangalore. Classromm<
> http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 15th-20th September 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 22nd-27th September 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 1st-6th December 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 8th-12th December 2014, Region B. Instructor led, On-line<
> 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: Save data from xenserver

2014-04-28 Thread Geoff Higginbottom
Sanjeev,

Good suggestion, however if the Hypervisor in question is XenServer, the VM 
will not be listed by XenServer unless it is running, and as there appears to 
be a problem with CS, Anton cannot actually start the VM, I don’t believe it 
will be possible to take the snapshot, unless there is a backdoor hack I am not 
aware of.

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
Sent: 28 April 2014 10:13
To: users@cloudstack.apache.org
Subject: RE: Save data from xenserver

Hi,

Try to create snapshot from the hypervisor for the vm you want to take backup. 
You can export it and later can be used as a template in CS.

-Sanjeev

-Original Message-
From: Anton Rubets [mailto:plejik@gmail.com]
Sent: Monday, April 28, 2014 1:51 PM
To: users@cloudstack.apache.org
Subject: Save data from xenserver

Hi
I have a problem with CS 4.1
Now i wanna save data from VM but i cant launch it with CS.
How i can run it without CS?
Thx
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
28th-29th May 2014, Bangalore. 
Classromm<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
15th-20th September 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
22nd-27th September 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
1st-6th December 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
8th-12th December 2014, Region B. Instructor led, 
On-line<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: Save data from xenserver

2014-04-28 Thread Sanjeev Neelarapu
Hi,

Try to create snapshot from the hypervisor for the vm you want to take backup. 
You can export it and later can be used as a template in CS.

-Sanjeev

-Original Message-
From: Anton Rubets [mailto:plejik@gmail.com] 
Sent: Monday, April 28, 2014 1:51 PM
To: users@cloudstack.apache.org
Subject: Save data from xenserver

Hi
I have a problem with CS 4.1
Now i wanna save data from VM but i cant launch it with CS.
How i can run it without CS?
Thx


RE: Save data from xenserver

2014-04-28 Thread Geoff Higginbottom
Anton,

Assuming you have access to the CloudStack database, identify the ID of the VM 
by looking in the vm_instance table, searching for the name of the VM

mysql> SELECT id, name, FROM cloud.vm_instance where name="";

Or if you know the instance name such as i-5-33-VM, the VM ID will be 33 (5 is 
the account ID in this example)

Once you know the ID of the VM identify the Volume

mysql> SELECT pool_id, path FROM cloud.volumes where instance_id = 33;

The POOL_ID will tell you which Primary Storage the volume is on (look in the 
storage_pool table for details), and the PATH will tell you the name of the 
volume.

Then export the volume to a hypervisor not under the control of CloudStack, and 
mount it on a running VM, this will then allow you to access the data contained 
within it.

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Anton Rubets [mailto:plejik@gmail.com]
Sent: 28 April 2014 09:21
To: users@cloudstack.apache.org
Subject: Save data from xenserver

Hi
I have a problem with CS 4.1
Now i wanna save data from VM but i cant launch it with CS.
How i can run it without CS?
Thx
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
28th-29th May 2014, Bangalore. 
Classromm
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line
15th-20th September 2014, Region A. Instructor led, 
On-line
22nd-27th September 2014, Region B. Instructor led, 
On-line
1st-6th December 2014, Region A. Instructor led, 
On-line
8th-12th December 2014, Region B. Instructor led, 
On-line

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.