Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Trying to take snapshots of a VM machine and save it to USB Drive

Posted on 2008-10-08
3
622 Views
Last Modified: 2013-11-14
I am trying to take snapshots of our Virtual Machines. I am running ESX server 3.5.  I have 10-15 VM that i need to take snapshots of, they are currently located on a SAN.  I have a Virtual Center machine that lets me log into Infrastructure

1.What machine should i hook up the USB drive to?  
2.What are the steps for creating a snapshot?

Thanks
0
Comment
Question by:miserere
3 Comments
 
LVL 1

Accepted Solution

by:
counterroot earned 500 total points
ID: 22691519
well....
It's not so easy.
for 1. ESX-Server doesn't support USB. But you can mount the device otherwise.

1. connect the USB-Device to the Server
2. create a second user on the Server and log on to the server with putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html). You won't be able to log on with root. It's not activated as standard and shouldn't be.
So when you're logged in as (for example) admin trough putty (SSH & IP-Adress) run:
$ su
$ (type in your passwd)
$ dmesg
$ (read where the usb-device has been linked e.g. /dev/sdb1)
$ mkdir /mnt/sd
$ mount /dev/sdb1 /mnt/sd

now you can attach the storage as an hard drive in a virtual machine /mnt/sd
when you're ready and want to take off the storage you have to run via putty (but don't forget to stop the VM previous):
$ unmount /dev/sdb1
when you want to use it again for the machine you have to mount it

For copying every machine to your usb-disk you have to run for example:
cp /vmfs/volumes/san-storage:1/vm-name /mnt/sd -R

when it will be finished you can also unmount the device.

When you want to take a snapshot, press in Virtual Infrastructure Client on the machine mit right-mouse-click, select "Take Snapshot" and take a snapshot. Under the same menu you can find a "Snapshot-Manager" so you can use this for managing your snapshots =)
µatthias
0
 
LVL 1

Expert Comment

by:azjeep
ID: 22913651
It sounds like you are trying to set up a backup scenario.

If that is the case, I would suggest Vizioncore vRanger Pro.

You can use it in conjunction with VirtualCenter to push snapshots to a location, and also offers backup functionality.

http://www.vizioncore.com/vRangerPro.html

Take a look.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question