📄 keys.me
字号:
.lo.SJ "Living with the Entropic License Manager System".AU "Alan Parker".TM ETM-S-91-xx:rap 1.2 1/22/93.sh 1 "Introduction".ppInstead of requiring that a given software licensebe associated permanently with a given CPU,Entropic uses a floating license system that can assign software licenses dynamically as needed to any host on a network.This documentdescribes how this system works, provides guidelines for setting it up,and provides information to help solve common problems..sh 2 "Goal of the License Manager System".ppThe license manager system is a technical means of implementing oursoftware licensing policy. Our current policy is to license\fIwaves+\fR on a per-user basis and ESPS on aper-host basis. In the case of \fIwaves+\fR the license manager willallow no more than the licensed number of \fIwaves+\fR to be running atany one time on the network. A \fIwaves+\fR license is checked out automatically when \fIwaves+\fR isrun, and checked back in when \fIwaves+\fR terminates.In the case of ESPS, a license must bechecked outfor a particular host before anyone can run ESPS programs onthat host. Until the license is checked back in, any ESPS programs canbe run on that host by any user (given that ordinary Unix file permissionsare appropriate).The ESPS license is checked out for a host in one of two ways. It can be explicitlychecked out by the user by using the command \fIecheckout\fR, or simply by running an ESPS program. If an ESPS program is run, and the required license is not checked out on the host, then the program will attempt to check it out. If that succeeds, thena license is checked out on that host until it is freed by the user..ppOur reasoning for the distinction between the (per-user) \fIwaves+\fRlicensing and the (per-host) ESPS licensing is as follows:Unlike\fIwaves+\fR, the typical ESPS program only runs for a short time periodand does not provide an environment in which the user remains for anextended period.Most ESPS programs are command line oriented and can be used in Unixshell scripts. Therefore, if we had each ESPS program check out and free alicense (as \fIwaves+\fR does) it would be possible for scripts to failin unpredictable ways, since a license might a taken away between stepswithin the script. Our solution to this is to have a program whichchecks out a license and one to free license. During the time that alicense is checked out for a given host, any ESPS programs can berun on that host. It does not matter how many users there are onthat host or how many of those users are running ESPS programs..ppThe Entropic License Manager System consists of the following majorcomponents: \fIelmd\fR, \fIelmadmin\fR, \fIecheckout\fR,the license keys, and the various ESPS user programs. .sh 2 "How It Works".ppThe license manager daemon (\fIelmd\fR) is started and left running foras long as any Entropic programs are going to run. It is normallystarted at boot time and simply left running forever. When a clientprogram requests a license, the license manager checks the key filesand determines if any licenses of the requested type remain. If so,then the count of available licenses is decremented and the requestingprocess is granted permission to continue..ppClient programs communicate with the license manager with thesame facility used by thenetwork file system (NFS), so any system that supports NFS should beable to run our license manager system..ppThe client programs can be on a different host than the onerunning the license manager daemon (\fIelmd\fR). But in this case, the clientprograms must know which host is running \fIelmd\fR.This information is passed to the client programs via the Unixenvironment variable \fBELM_HOST\fR. It is simply set to the name ofthe network host running \fIelmd\fR. .ppAs mentioned earlier, \fIwaves+\fR checks out a license each time it isstarted and frees that license when it exits. ESPS programs (all otherprograms except \fIwaves+\fR and its attachments) check to see if an ESPSlicense is checked out before they run, but they do not check out thelicense themselves. The program \fIecheckout\fR checks out an ESPS license and then holds it (by putting itselfinto the background). The license is freed by causing \fIecheckout\fRto exit. A program is provided to do this; \fIefree\fR.Under certain conditions this program can fail to find \fIecheckout\fR.In this case, someone will have to find the \fIecheckout\fR with\fIps\fR and kill it manually..sh 2 "Network Timeout".ppThe client programs (that is all ESPS programs and \fIwaves+\fR) willtimeout in a default 10 second interval if they cannot get a responsefrom the license manager daemon. This should be enough time for allbut the busiest networks. However, we have provided a means to allowusers to adjust this timeout interval. The environment variable\fBELM_TIMEOUT\fR can be set to the desired timeout interval (integervalues only). So, for example, to set the timeout interval to 15seconds do \fIsetenv ELM_TIMEOUT 15\fR. (Or whatever works with yourshell.).sh 2 "Waves Related ESPS Programs".ppThere is a set of ESPS programs that provide conversion support and are included with the \fIwaves+\fRproduct.These programs will run if a network has a valid \fIwaves\fR license installed.No license need be explicitly checked out for these programs.There is no limit to how many hosts these programs can be used on.These programs are: addfea, addfeahd, addgen,bhd, btosps, comment, fea_element, featosd, formant, hditem, hdshrink,ils_esps, mu2esps, pplain, psps, sdtofea, sgram, sigtosd, testsd, splay,and tofspec. .sh 2 "User Written Programs".ppUser written programs compiled and linked with the ESPS libraries willbe under the Entropic license manager system. These programs will onlyrun if an ESPS license is checked out. Also, if a site has a sourcelicense to ESPS and recompiles any of the above mentioned \fIwaves+\fR relatedprograms, then they revert to the ESPS license rules; that is they willonly run if an ESPS license is checked out. .sh 1 "License Manager Setup".ppThe product installation instructions give sufficient information forthe general installation of all of the software, including the licensemanager system. Before installing the software, you must decide which host is to run thelicense daemon (\fIelmd\fR). While this can be any host that isreachable on your network, there might be local considerations that makeone host better or worse than others. Often the central server machine(if there is one) is the logical choice. Note that the license manager need not run on the same host which stores the ESPS files. A poorchoice of a machine to run \fIelmd\fR on would be a machine behindseveral network bridges, one that tends to be down often, or one that mightbe considered a personal machine by a particular user..ppOnce you decide which host will run \fIelmd\fR, youneed to get keys made for that host. Note that the keys are bound to aparticular host, so that once the keys are made, they and \fIelmd\fRcannot be moved to another host (for obvious reasons). Of course, ifyou have legitimate reasons for moving \fIelmd\fR and the keys toanother host, we will give you new keys. To install the keys, you mustfirst run the program \fIelmadmin -c\fR which generates a server codethat you provide to us.We take this server code, along with the information about what youbought, and generate a key. .ppThe best way to communicate the server code to us is via email or FAX.It is best if an actual Unix \fIscript\fR listing of the \fIelmadmin-c\fR output is sent. This greatly reduces the chance for errors incopying the server code. Voice telephone can be used, but it is more error prone..ppAfter the keys are installed \fIecheckout\fR and \fIwaves+\fR should run(if the proper keys were installed). When running on a different hostthan \fIelmd\fR is running on, then the environment variable\fBELM_HOST\fR must be set to the hostname of the host running\fIelmd\fR. .sh 2 "ELMD Initialization".ppThe license manager daemon, \fIelmd\fR, will not issue licenses forabout three minutes after it first starts up. If you try and run a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -