Wednesday, February 11, 2009

[THIN] Re: License server across WAN Link

Dear all,

 

As of my book I used to qualify for my CCA on MPS 4.0

This is how it is described :

Some of you already replied parts of it.

 

You have an Initial Metaframe Server connection phase :

1°) This takes place when an MPS boots up, it will look for the License Server address , whilst retrieving it from the datastore.

2°) It will start to communicate with the License Server Daemon on the License Server which is by default indeed port 27000.

     Then the Citrix Vendor daemon on the License Server replies with an randomly chosen port at startup (though there are means to hardcode it, there are means to

    Change the listening ports)

3°) The MPS then starts a communication with the Citrix Vendor Daemon (on its randomly port) and this connection remains up as long as the MPS is running.

     Its at this stage That the startup license is checked out. Without this the MPS can’t check out Citrix CALs.

 

What already has been mentioned it that returning CALs in My Citrix does not modify your Citrix License File (*.lic). The Citrix Startup License for MPS4

Was called Citrix_startup.lic , this and the whatever you called your Cals license file are located in \program files\Licensing\My files on the License Server.

 

Note : I can’t assess if this does apply to Xenapp as I’ve never worked with it. Metaframe XP is yet another story since it does not have a separate License Server.

 

If you want to change the Listening port (reason firewalls) , make a backup of your license files and then start editing specific parts of EACH license file.

This applies to both ports. Here is the way to do it in MPS3 & MPS4 (I assume that XenApp 4.5/5 did not change this)

http://www.brianmadden.com/blogs/brianmadden/archive/2005/02/10/understanding-citrix-metaframe-presentation-server-3-0-licensing-port-usage.aspx

 

As to handing out CALs, the MPS server continues to hand out CALs, actually to the extend of handing out CALs as many as the set License Limit but each server having

The max set license limit applied to it. So if you have 50  Cals, each Server could potentially hand out 50 Cals on its own in the absence of the License Server.

After the initial startup license has been retrieved , the MPS can survive the absence of an MPS for as long as 30 days. Its only 96hours (on Metaframe XP I think, and

When you didn’t have any initial license files (like when you are testing your application on a new farm, without an licenses) .

 

So to me there is not much of a risk loosing you WAN connection for a while or up to 30 days, unless your company doesn’t pay his bills and gets cut off by its provider.

Also traffic is very limited. 200 bytes heartbeat data.

 

Regards,

 

Stefan Timmermans

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Angela Smith
Sent: maandag 9 februari 2009 13:20
To: thin@freelists.org
Subject: [THIN] Re: License server across WAN Link

 

Hi Jeremy

Thanks for your reply.  The WAN link is 30Mb so Im hoping the Citrix Servers will have a reliable connection to the License Server at all times.  I will give it a go.  I read a few Citrix documents but I have a few questions.

1) I need to get my licenses re-issued as the server name in the UK is different to the existing License Server.  If I return existing licenses will my Production farm stop working?  There may be a gap of a few days before the new license file is added to the new Licensing Server.  I want to ensure existing Citrix Production users are not impacted when the licenses are returned.

2) Are there any issues with setting 1 Citrix Server to use the new Licensing Server in the UK whilst the other Citrix servers point to local License Server?  Id like to do this for testing purposes to ensure the Citrix Servers are working off the remote UK License Server before moving the entire farm to the remote License Server.

3) If the Citrix Server looses connectivity to the License Server, will the existing Citrix User sessions be dropped or would they be given a grace license automatically until the connectivity to the Citrix License Server is restored?  Is this seamless to the user?

Thanks
Ang
 


Subject: [THIN] Re: License server across WAN Link
Date: Mon, 9 Feb 2009 19:34:46 +1100
From: Jeremy.Saunders@datacom.com.au
To: thin@freelists.org

Hi Ang,

 

The short answer is that this will most probably cause problems and is a bad design. There are some awesome whitepapers from Citrix on how the licensing service works. But basically this is what I typically write in my design documents (taken straight from the whitepapers)…

 

“At startup, a XenApp server talks to the License Server and gets a startup license. This action will consume 9.87Kb of bandwidth. If the License Server is not available, the server goes into the grace period and the IMA (Independent Management Architecture) Service reports an error to the Event Log. The process of getting a startup licenses also occurs if the IMA Service is restarted at any point.

 

Every 2 to 5 minutes the XenApp will exchange a heartbeat with the license server to determine if the license server is still available. The amount of bandwidth in this transaction is 462 bytes for each server. The heartbeats are randomised between 2 to 5 minutes from when the server checks out a start-up license.

 

Every 24 hours the XenApp server will request a refresh of the license server data, this is to check if license allocation has been increased or decreased. The amount of bandwidth in this transaction is 9.87Kb for each server.

 

When a user logs on, the XenApp server tries for 5 seconds to request a license; if this process fails the user gets a grace period license (30 days).”

 

So you can see that communication to the licensing server is important, otherwise your servers may continually (or randomly) dish out grace period licenses, which also causes delays in the logon time.

 

At the end of the day you can only try it and see. You can set the UK license server at the server level in the Access Management Console on one of your servers and see how this behaves.

 

Cheers,

Jeremy.

 

 

From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Angela Smith
Sent: Monday, February 09, 2009 3:10 PM
To: thin@freelists.org
Subject: [THIN] License server across WAN Link

 

Hi

Our organisation is looking at utilising a "centralized" Citrix Licensing server in another country (UK) across a decent sized WAN Link.  We currently have a local Citrix Licensing Server.  Will there be any performance issues with accessing the new license server across the WAN?  Should the license server be on the same LAN as the Citrix Servers?  Are there any gotchas in changing licensing servers?

Setup is Windows 2003 with Presentation Server 4

Thanks
Ang


Combine your email accounts here! Want to marry your mail?


Confidentiality and Privilege Notice
This document is intended solely for the named addressee.  The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you.


 


Let ninemsn property help! Need a new place to rent, share or buy?

No comments: