VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
12 Replies Last post: Nov 12, 2009 12:08 PM by steveanderson3  

HA and License server as VM Guest posted: Aug 12, 2008 6:32 PM

Click to view caterpillar's profile Novice 8 posts since
May 28, 2008

Hi

If our license server and VC are running in guest (VM) and that host is shutdown. I have had problems where HA will fail as it can not contact a license server to start up VM's. Is the only way around this problem to have a dedicated external license server or use host based license?

Thanks


Re: HA and License server as VM Guest

1. Aug 12, 2008 6:39 PM in response to: caterpillar
Click to view Gonecase's profile Novice 14 posts since
Jul 2, 2008
Ideally the show should run for 14 days even if the license server is unavailable. But again, ideally is a hypothesis.

Re: HA and License server as VM Guest

2. Aug 12, 2008 7:06 PM in response to: caterpillar
Click to view weinstein5's profile Guru 6,320 posts since
Nov 19, 2005
it will work for 14 days - basically everything should work other than bringing up a new esx host or adding it to Virtual Center - to use HA you do need a license server -

Re: HA and License server as VM Guest

4. Aug 12, 2008 8:03 PM in response to: caterpillar
Click to view mcowger's profile Virtuoso 2,058 posts since
Aug 22, 2007
Correct- you cannot make any new changes with the lic. server down - only automated changes work.

--Matt

Re: HA and License server as VM Guest

6. Aug 13, 2008 7:03 AM in response to: caterpillar
Click to view Texiwill's profile Guru 10,205 posts since
Jan 13, 2004
Hello,

One of the early VMware Communities Roundtables (http://www.talkshoe.com/talkshoe/web/talkCast.jsp?masterId=19367) covered just this issue. There were several approaches but one that I use is to keep a copy of my license server on a laptop that I use for just these occasions. The License server is the one thing that absolutely should be fault tolerant in some way. Other ideas were to run VC/License Manager within VMware Server on a different physical host. Which is also not a bad solution.

The key is that the license server needs to be available for many features to work. VC does not need to be available unless you want to configure the features.


Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354
As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

Re: HA and License server as VM Guest

8. Aug 13, 2008 5:21 PM in response to: caterpillar
Click to view weinstein5's profile Guru 6,320 posts since
Nov 19, 2005

No HA will function - I have tested in the lab with a virtualized VC Server and License Server where I powered down the Host running the VC VM and started up without a problem on the other host - HA continues to function - you can not make changes to clusters during the outage - from the installation guide

"Adding or removing hosts from a cluster. You cannot change host membership for the current VMotion, HA, or DRS configuration"

Re: HA and License server as VM Guest

9. Aug 14, 2008 3:23 PM in response to: caterpillar
Click to view jhanekom's profile Master 1,084 posts since
May 13, 2005
Are you sure this wasn't just the ESX 3.5.0 Update 2 time-bomb issue causing you grief?

Re: HA and License server as VM Guest

10. Nov 6, 2009 11:32 AM in response to: jhanekom
Click to view steveanderson3's profile Enthusiast 37 posts since
Oct 5, 2007

I think this needs to be re-visited. We had a san failure this morning. We lost the hosts that hold the vCenter 4 server. Once I bounced the hosts and re-established san connectivity, I was unable to restart any VM's becuase the license server could not be contacted!!

I was able to point the host that held the vCenter server to another vCenter server we have for testing, but I don't know what I would have done short of that. This seems to be a huge failing in the design. We run 64 cpu's and 300 vm's.

Re: HA and License server as VM Guest

11. Nov 6, 2009 1:05 PM in response to: caterpillar
Click to view max2479's profile Enthusiast 84 posts since
Oct 9, 2007

try this http://www.howtovm.com/virtualization/esx/power-up-vms-when-licensing-server-is-not-available/

if you found this or any other answer useful please consider allocating points for helpful or correct answers <

Re: HA and License server as VM Guest

12. Nov 12, 2009 12:08 PM in response to: max2479
Click to view steveanderson3's profile Enthusiast 37 posts since
Oct 5, 2007
This was a helpful bit of info from vmware support

1. If the server containing the VM, which in turn hosts the VC is ESX 3.5, then, a temporary single host license file, containing sufficient number of CPU's for the server that we are trying to license has to be created. Then this server has to be licensed as single host. This will allow you to power on the VM's on that server, and inturn the VC.

2. If the server containing the VM, which in turn hosts the VC is ESX 4.0, then, a serial number, containing sufficient number of CPU's for the server that we are trying to license has to be used. Then this server has to be licensed as single host. This will allow you to power on the VM's on that server, and in turn the VC.

3. Now, once the VC is up, and since you have ESX 3.5 and ESX 4.0 hosts, you would have to create a license file containing a license for VC and sufficient CPU's (contributed by all ESX 3.5 hosts put together), upload this license file to the license server, and then perform a Start, Stop and Re-read of the license file. You would also have to map the License Server to the VC 4.0. In addition you would have to use the serial numbers for licensing your ESX 4.0 hosts.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities