Move VM's off a dying ESXi 5.1 machine

Hi
I have VmWare ESXi 5.1 that has a punctured RAID.  I need to salvage 7 vm's from the system before it dies.  I have an external passport USB drive but need help getting the drive recognized by ESXi and then how to get a copy onto that external drive.

Thanks,  Rod
tmtmincAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
You cannot attach an external USB drive to ESXi, it's not supported.

Do you have any servers you can make a temporary NFS server, or purchase a NAS with NFS (e.g. Synology, Western Digital MyBooks).

otherwise....starting exporting VMs to your workstation, with the USB external disk connected...

see my EE Article, step by step tutorial, with instructions and screenshots

Part 10: HOW TO: Backup (Export) and Restore (Import) virtual machines to VMware vSphere Hypervisor 5.1 for FREE

Do you not have any backups of the VMs ? e.g. using a Backup and Restore product ?

see here

http://www.experts-exchange.com/articles/18442/12-commercial-software-backup-products-for-VMware-vSphere-Hypervisor-ESXi-you-should-be-evaluating-today.html

all these are available for testing for free, for 30 days at least....

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tmtmincAuthor Commented:
Hi Andrew, thanks for responding.  I have a Synology diskstation which I have configured one NIC to the same network as the server.  How do I get access to that storage in the vSphere Client and direct the export to that location.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Firstly, your Synology must be configured for NFS.

and then select Add Storage, and enter the IP Address of NAS, NAS Export, name for datastore.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

tmtmincAuthor Commented:
I added the storage & path etc. to the NFS Shared folder.  It failed to connect saying the connection was closed by Synology. Any ideas? Thanks
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
have you configured the NFS storage and added the IP Address of the VMKernel Portgroup ? (on the synology!)

have you added a VMKernel Portgroup ?
tmtmincAuthor Commented:
I deleted the NAS datastore, adjusted the permissions on the Synology and re-added.  It appears to recognize the be OK with correct size & NFS type.  When I try to export the OVF template I have two issues:
1. When I browse to a directory I only get local workstation drives & folders
2. I get an error "Request failed because server 10.10.20.10 (the ESXi host) closed the connection. The connection was expected to stay open. The in a box below it says: Call "PropertyCollector.CreateFilter" for object ha.-property-collector" on ESXi 10.10.20.10 failed
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
1. Correct, you  an only Export to local disks, on your workstation. To move the VMs to the NFS datastore, you would need to migrate, or manually cut and paste, or copy.

2. When does this occur ?
tmtmincAuthor Commented:
Andrew, I think my RAID systems is too sick.  I'm starting to get error when I do just about anything, like opening the OVF export template. Is there any other way like maybe a WinSCP to the datastore?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
if the datastore is compromised, nothing will be able to read/write the contents of the datastore.

WinSCP, datastore browser, OVF Export, manual move or copy

Why is the RAID not working ?

You could try dropping to the console, and trying copy, if you get any error messages the datastore, is compromised.
tmtmincAuthor Commented:
The RAID is "punctured". It rebuild one drive but will not rebuild the second one that needs it. The whole this is running in "degraded state".  I'm just trying to salvage the vm's before rebuilding a new RAID with new drives. It keeps dropping connection to vSphere as well and rejected a WinSCP connection.

What do you mean by "dropping to the console"?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
login at the console (physical keyboard, mouse and monitor), or remotely via SSH

You need to enable SSH

Part 5: HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 5.1 (ESXi 5.1)
tmtmincAuthor Commented:
OK, I can putty in and see my vm's in the data store. Is it a matter of moving them to some other storage?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Yes, copy them to the NFS datastore.
tmtmincAuthor Commented:
It is not looking good, Andrew.  The server keeps dropping the Putty connection.  I just can't believe it will manage to copy the whole datastore of the system.  I'm about to give up unless you have some magic for me?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
try it at the actual console and not remote.

but if the RAID is broken, the OS will not be able to read it.
tmtmincAuthor Commented:
Thanks, Andrew
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
No problems.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.