• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

VMware local storage to another host

I have two ESXi hosts configured using local storage:-

host1_localstorage1
host2_localstorage2

I have no shared storage, I want to implement the following-

1. Perform live migration (powered on) to the respective ESXi host
2. If one of the hosts was to fail, what steps do I need to configure that the VM guest moves over to the respective host ?

Thanks
0
rakkad
Asked:
rakkad
  • 13
  • 8
  • 5
  • +1
1 Solution
 
AbhilashBloggerCommented:
Both of them need shared storage.
0
 
AbhilashBloggerCommented:
You could think of using VSAN or VSA which will help you achieve shared storage with local disk.
But for both you need minimum of three hosts
0
 
rakkadAuthor Commented:
We don't intend to implement shared storage on these hosts

I have read articles that you can move local storages ?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
bbaoIT ConsultantCommented:
will NFS an option? too slow?
0
 
AbhilashBloggerCommented:
Cold migration is possible but you can't do live migration. You could use veeam or converter to achieve it but not vMotion. Or you could use VSAN or VSA as I mentioned before.
0
 
rakkadAuthor Commented:
What are VSAN VSA options ?
0
 
rakkadAuthor Commented:
Does Cold migration require vmotion ?
0
 
AbhilashBloggerCommented:
Cold migration is a type of vMotion. VSAN and VSA let's you use local storage as shared storage.
0
 
rakkadAuthor Commented:
Does VSA come with standard editions, any special requirements for installation, etc.

Thanks
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I beg to differ, this is "almost" Live Migration, with a small amount of downtime! (30 seconds!)

This is the Best you'll get WITHOUT Shared Storage:- (and it's FREE!)

see my EE Article, Step by Step Tutorial Instructions with Screenshots

Check it out, it works!

HOW TO: "Live Migrate" VMware Virtual Machines between ESX/ESXi hosts and/or datastores for FREE without licenses for vMotion or Storage vMotion
0
 
AbhilashBloggerCommented:
VSA is another product that you will have to purchase it. It's Not a feature.
0
 
rakkadAuthor Commented:
Andrew:-

Thanks this will be useful.  What do you suggest in question 2 I initially raised, again this is for local storage and ensuring there is host failover recovery VM guests to the other host ?

Thanks
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
2. If one host fails, without failed storage, your VM is down, and not accessible. e.g. if one host is stolen, or blows up. or has storage failure, you will not have access to any of those VMs on that host.

So you need to ensure, you have valid backup routines. If you have backups of your VMs

e.g,

VMs on Host A >>>> Backup to Host B
VMs on Host B >>>> Backup to Host A

that gives you more resilience, and availability than what you currently have.

or backup Host A and Host B >>>>> NAS storage, Windows File Server, Workstation

Simple Backup like this ......will help you for free

Part 10: HOW TO: Backup (Export) and Restore (Import) virtual machines to VMware vSphere Hypervisor 5.1 for FREE
0
 
rakkadAuthor Commented:
This would mean powering off the VM, which for a production web server, this would not achieve the result I require.  I need the VM guest to be moved over to the other host automatically (failover..) if the hosting host fails

Any ideas ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, lots of ideas, we do this daily for clients!

This would mean powering off the VM, which for a production web server, this would not achieve the result I require.  I need the VM guest to be moved over to the other host automatically (failover..) if the hosting host fails

To complete this you would need Shared Storage and VMware HA.

Event his would, have a downtime of 1-2 minutes, whilst the ESXi server Cluster noticed the host had failed, and restarted the VM.

OR

No Shared Storage, Double Take - HA.
http://www.visionsolutions.com/Products/DT-Avail.aspx


1. How much downtime can you afford? e.g. Production Web Server down

30 secs, 1min, 1 hour, 4 hours, 24 hours?

2. and then there is how much money in your budget do you have to keep this Production Server Available?

Availability = Money, you provide more money, and ioncrease Availability, Increase the Money, and get better availability.

Two ESXi servers and no Shared Storage, single VM, Web Server in Production, there is Zero Availability in your Design!

You could consider Higher Availability, with a Microsoft Clustered Failover Solution?

or you could use Network Load Balance, with two Web Servers, on different ESXi hosts, this does not require Shared Storage, but does need a new VM, and OS License, and some network configuration, or you could use Hardware Load Balancer (more money!), or VM Load Balancer, or Microsoft NLB.

or, restore from current backup, downtime 30 mins to restore.
0
 
rakkadAuthor Commented:
I guess the HA build within VMware won't work since this relies on shared storage ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Correct, VMware HA requires some form of shared storage.

You could build your own shared storage.
0
 
rakkadAuthor Commented:
I seen a video enhanced VMware vMotion from local storage, which shows a local storage VM moved between two different hosts using local storage

What is your take on this ?

Thanks
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, Enhanced vMotion works as well, very similar to Veeam function above.

http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.vcenterhost.doc%2FGUID-561681D9-6511-44DF-B169-F20E6CA94944.html

This does not help you in terms of Host Failure, because you will not know, when your host is going to fail, and when it does fail, you will not be able to migrate your VM.

I'm not sure how this is going to help you wirh your Web Production 24x7 issue, uptime issue?

see the Limiations here

http://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vsphere.vcenterhost.doc/GUID-9F1D4A3B-3392-46A3-8720-73CBFA000A3C.html
0
 
rakkadAuthor Commented:
I do have vMotion installed and have attempted to move the VM across and this does work, by switching the server off. I need to use the web client to use the option to move both the data store and host

So having saying this if I enable VMware HA, will this work ? since this is using vMotion ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
VMware HA does not use vMotion.

VMware HA uses an agent on the host, with instructs the VM to start-up from shared storage.

VMware HA requries Shared Storage,
0
 
rakkadAuthor Commented:
So regards to VMware HA do you think there is a need to implement this even though I am not using shared storage

Obviously, I will need to find a solution to have some sort of HA since using local storage, hence the methods you identified earlier, I think since on constraints I will be implementing windows load balancing
0
 
rakkadAuthor Commented:
Do you think moving forward there is a better approach than using load balancing, ideally since these servers are DMZ web servers we decided not to have shared storage.  Do you think this is a good approach ?

Thanks for you suggestions, much appreciated
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Back to my original questions in http:#a39879323, that you did not answer?

they are many methods of providing HA, without using VMware HA.

How much downtime can you afford?

and at what cost?
0
 
rakkadAuthor Commented:
Sorry being late to reply..

Yes,  cost is a issue we would what to for with a cost-less approach solution and come back to a suitable solution later on.

So, what would your recommendations/suggestions for now as one from our applications is good live in two weeks
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have a backup of the Web Server, ready to restore on your other host in the event your host should fail. (this costs nothing!).

You could even backup the current web server, every hour of the day, e.g. costs nothing to the other Host Server.

What servers are you using?

I've not had a server failure for 5 years, using recent hardware, e.g. Dell, IBM or HP.

making sure, you have dual power supplies, RAID storage, good networking, UPS.
0
 
rakkadAuthor Commented:
Thanks for the suggestions
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 13
  • 8
  • 5
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now