VMware

This Question is Answered

1 "helpful" answer available (6 pts)
11 Replies Last post: Oct 10, 2009 12:35 PM by jasong_vmware  

SRM License question posted: Jun 11, 2009 4:15 AM

Click to view thomps01's profile Enthusiast 105 posts since
Mar 15, 2005

I have 3 x ESX hosts in my recovery site each with 4 CPU sockets (12 total). These all reside in the same cluster.

I have only purchased 8 SRM licenses as the resource requirements for the protected VM's is fairly low.

To ensure I'm within my license tollerance I am only presenting the replicated storage containing the protected VM's to 2 of the ESX hosts.

However, I see in the event log the following message:

"The SRM Feature SRM_PROTECTED_HOST is over allocated by 4 licenses"

So my question is: How does SRM know which ESX hosts to license within a cluster?


Re: SRM License question

1. Jun 11, 2009 6:09 AM in response to: thomps01
Click to view depping's profile Champion 2,992 posts since
Jan 17, 2005
It doesn't, it assumes the whole cluster is used for SRM. By the way presenting replicated LUNs to only half of the cluster is not a best practice, and something I would never recommend because the results of an HA initiated restart is unpredictable.

Duncan
VMware Communities User Moderator | VCP | VCDX


Blogging: http://www.yellow-bricks.com
Twitter: http://www.twitter.com/depping

If you find this information useful, please award points for "correct" or "helpful".

Re: SRM License question

3. Jun 11, 2009 7:19 AM in response to: thomps01
Click to view depping's profile Champion 2,992 posts since
Jan 17, 2005
you are right, and unfortunately it's a known issue. I wish we would be able to create "sub-clusters" / "pairs" to avoid issues like this.

Duncan
VMware Communities User Moderator | VCP | VCDX


Blogging: http://www.yellow-bricks.com
Twitter: http://www.twitter.com/depping

If you find this information useful, please award points for "correct" or "helpful".

Re: SRM License question

5. Jun 11, 2009 12:09 PM in response to: thomps01
Click to view depping's profile Champion 2,992 posts since
Jan 17, 2005
Thanks for the compliments!

Duncan
VMware Communities User Moderator | VCP | VCDX


Blogging: http://www.yellow-bricks.com
Twitter: http://www.twitter.com/depping

If you find this information useful, please award points for "correct" or "helpful".

Re: SRM License question

6. Jul 1, 2009 12:59 AM in response to: thomps01
Click to view jbone_hu's profile Novice 5 posts since
Oct 25, 2007
Hi,
SRM is licensed by PRIMARY or production site protected ESX CPU socket quantity.
So it does not matter how many hosts are on the recovery site, UNLESS its a two-way active-active config, the DR site being a production environment also, expecting failover to the primary (A site).

Re: SRM License question

7. Oct 5, 2009 12:13 PM in response to: depping
Click to view steve31783's profile Hot Shot 177 posts since
Nov 8, 2006

Hi Duncan.. I have the same issue described here, which is that my VC is the central mgmt point for ESX hosts throughout the US, but I only want to license hosts within a paritcular cluster (which Ive bought licenses for).

Will SRM "accidentally" license the wrong hosts?

Will these licenses errors affect my ability to failover VMs, or are these in fact just errors in the log?

Re: SRM License question

8. Oct 5, 2009 1:49 PM in response to: steve31783
Click to view jbock's profile Enthusiast 50 posts since
Jun 29, 2005

steve31783,

Unilke vSphere, SRM does not assign an SRM license to a specific host. Rather, it considers the SRM licenses a pool of protected capacity. It periodically scans the protected environment to determine how many hosts (and therefore processors) are being used to run the protected VMs. If that quantity is greater than the purchased license quantity, SRM will raise the error mentioned above. There are also a couple of other times that SRM will check the license count, including when you're doing things like trying to additional VMs into a recovery plan.

By design, SRM will not prevent failover due to a license check (although if you've never had a valid license, you will of course have problems trying to use an eval copy to failover VMs). The EULA does of course require that you have the necessary number of licenses at all times, regardless of the product behavior regarding enforcing licensing.

Hope that helps,

Jon

Re: SRM License question

9. Oct 5, 2009 1:54 PM in response to: jbock
Click to view steve31783's profile Hot Shot 177 posts since
Nov 8, 2006

Thanks Jon, that makes me feel much more comfortable. I was concerned Id have some type of issue. Id have like to have purchasedmore licenses, but due to cost we decided to utilize two hosts worth of capacity for our critical VMs. It just happens that these 2 hosts are part of a bigger custer, and I didnt realize you couldnt assign the licenses directly to the 2 SRM hosts.

When you say "unlike vsphere" do you mean ESX/vsphere in general, or are you referring to the way vSphere/VC4.0 handles licensing in the new version of SRM (which I havent used yet) ?

Thanks again.. much appreciate.

Re: SRM License question

10. Oct 5, 2009 3:54 PM in response to: steve31783
Click to view jbock's profile Enthusiast 50 posts since
Jun 29, 2005

I'm referring to how ESX licenses are allocated to ESX 4 hosts--you assign a license to a specific ESX 4 host from the vSphere Client. SRM licenses are allocated and counted in roughly the same way in both SRM 1.0 and SRM 4.0 (even though the license key management changed from flexlm to vCenter Server).

--Jon

Re: SRM License question

11. Oct 10, 2009 12:35 PM in response to: steve31783
Click to view jasong_vmware's profile Novice 6 posts since
Dec 12, 2006
Just to clarify, SRM keeps track of the licenses itself and only counts Hosts which have a Protected Virtual Machine registered to it (SRM does not license the entire cluster unless every host in the cluster has a Protected VM registered to it)

Generally speaking, in order to be in full compliance, you need to have enough licenses to license the entire cluster. As an alternative, you may want to consider creating a smaller cluster to prevent HA/DRS from spreading your Protected VMs across more hosts than you have SRM Licenses.

Hope that helps,

Jason

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