Referral KeyServer Configuration


Overview

K2's Referral feature is a way for departments at sites with enterprise-wide KeyServers to own and administer a small departmental KeyServer supporting applications over which they have immediate control. The departmental KeyServer can be set up to refer its clients to the site-wide KeyServer, and thus clients will be able to use programs that are controlled by either KeyServer.

The ability to connect to two KeyServers at once has obvious advantages at sites with more than one KeyServer. Users can have access to applications supported by separate KeyServers without having to switch logons between them and can simultaneously use programs controlled by different KeyServers.

A large company for example might have an enterprise-wide KeyServer supplying the basic applications available to every employee in the organization. Some individual departments might have their own software budgets and need applications not supported organization-wide. Each department can set up its own KeyServer and refer the departmental clients to the corporate KeyServer. This allows each department to efficiently buy, implement and upgrade software of their own without having to worry about managing licenses for software that is better managed centrally for the entire company.

Another example might be a university with a campus-wide KeyServer from which students and faculty access general-functionality applications. The people in the Mathematics department might have a mathematical modelling program that requires local implementation and metering, and they would therefore want a small departmental KeyServer that gives them control over the program purchased under their own budget. This departmental KeyServer could in turn refer its clients to the more general campus-wide KeyServer.

Note the enterprise KeyServer needs to support enough clients to handle not only the clients logged directly onto it, but all the departmental clients as well. A KeyServer with 50 directly logged on users that also has four 10-client referrals could have as many as 90 clients requiring access at any given time.

How Referrals Work

When KeyAccess logs on to a KeyServer it may receive with its connection a “referral” to a second KeyServer. Upon receipt of a referral, KeyAccess logs onto the second KeyServer as well as the first (and will do so again at each restart). When a user at that computer launches a controlled program, KeyAccess asks both KeyServers about license availability, and requests the control from the appropriate KeyServer. As with any license request from KeyServer, this all happens transparently to the user.

The user does not need to take any action in order to be logged onto the enterprise KeyServer. The only case where the user must be aware of the connection to the enterprise KeyServer is if that server requires name and password authentication.

KeyServer Referrals are almost entirely client-driven. Once an administrator configures his or her KeyServer to refer to another KeyServer, and after the connection is validated by the momentary acquisition of a special license from the enterprise KeyServer, the two KeyServers do not communicate again unless the referring KeyServer process is restarted (at which point it again requests permission to refer).

All the rest of the work is done by KeyAccess, which connects to both KeyServers at startup, asks both KeyServers about availability when a controlled program is launched, and requests a license from the appropriate KeyServer based on the reply provided by each.

Setting up a Referral

If you want to refer your KeyServer clients to a second KeyServer, use the Change Referral command in KeyConfigure's Admin menu. The KeyServer Referral dialog appears

The default is for no referral. Select a protocol from the pulldown menu and enter in the Location field the network name or address of the KeyServer to which you will refer clients. Enter a name and password if the enterprise KeyServer requires this information.

OPEN Referral dialog

Note that the fields in this dialog are only used to establish the referral. When the referral is established, your KeyServer gets information about the enterprise KeyServer, including the network location of that server on AppleTalk, TCP/IP, and IPX protocols. Clients can use any of the supported protocols to connect to the two KeyServers, regardless of the protocol used to establish the referral.

Each client uses one protocol to connect to all KeyServers. A client cannot use AppleTalk to connect to one server, and IP to connect to another. Two different clients can however use different protocols.

Click Apply or OK after filling in the protocol and location of the enterprise KeyServer. Your KeyServer will attempt to connect to the enterprise KeyServer and get permission to refer clients.

This process involves getting and returning a special license from the enterprise KeyServer and therefore allows for the referral to be authenticated against just like any other request for a license. The administrator of the enterprise KeyServer can use any of the standard authentication methods (Network Access, Groups/Pools, Passwords) to control which KeyServers may refer their clients. If a name/password based authentication is in place on the enterprise KeyServer, then you must enter proper name and password values in the KeyServer Referral dialog for the referral to work.

If for some reason your KeyServer cannot obtain permission for the Referrals License from the enterprise KeyServer, it will not refer its clients to that server.

Allowing Referrals

By default, your KeyServer does not have the “Referrals” License installed. To enable referrals, you must install this special license. To do so, open the “Extra Licenses” file in KeyConfigure. The Administrative installer puts this file in the “Extras” folder, which is in the same folder as KeyConfigure. Then connect to your KeyServer. Finally, drag the “Referrals” item in the “Extra Licenses” window into the Licenses window. Your KeyServer now supports the “Referrals” license, and all that is left to do is configure the license as you wish.

Any KeyServer can allow or disallow other KeyServers to refer their clients to it. Whenever another KeyServer is set up to refer to your KeyServer, it must periodically request permission from your KeyServer. You manage who gets permission by changing the “Referrals” License on your KeyServer. By using license pools, authentication, and network access filters, you can control which KeyServers may refer their clients to your KeyServer. To disallow all such referrals, set the limit of the Referrals License to zero.

Referrals and Usage Logging

Your KeyServer will write to its usage database every time another KeyServer obtains permission to refer its clients. You can use KeyConfigure's reports to see who (which KeyServers) have requested permission to refer their clients to your KeyServer.

An enterprise KeyServer makes only one type of notation in its logs to reflect the fact that it is supporting referred users, and that is the record of the Referrals License being granted to the address of the referring KeyServer.

Referrals and Shadows

As you would expect, any KeyShadows you set up for your KeyServer will act independently of other KeyServers and their shadows. If a client is connecting to multiple KeyServers, and one of those servers goes down, the client will search for and connect to one of that server's shadows. When deciding which server to get a license from, KeyAccess will always prefer a real server to a shadow, even if the shadow has more licenses available.

What Referrals Are Not

It is important to note that KeyServer's Referral feature is not “load balancing” in any sense -- since KeyServer puts no limits on the number of copies or location of an application, and since KeyServer's response time is very fast on even the slowest networks, KeyServer has no need to impose the administrative burdens associated with load balancing, even when applications are installed multiple times across multiple file servers under heavy load.

It should also be stressed that KeyServer Referrals are not reflexive: if KeyServer A refers its clients to KeyServer B, that does not mean that KeyServer B's clients will thereby turn around and request licenses from KeyServer A (unless the two KeyServers are configured explicitly to refer to each other).

In the examples above, if there were ten departmental KeyServers, all ten could refer to the central KeyServer. Each departmental user would simultaneously have access to their local departmental KeyServer and to the enterprise KeyServer, but would not have access to the software controlled by the KeyServers in the other nine departments. Also, any clients logged directly onto the enterprise KeyServer would only have access to that KeyServer's licenses, as the enterprise KeyServer is not referring clients to any other KeyServer.


Help Index 2009.09.01

Related Topics

Licenses Window

Help Index
?