|
|||||
License manager installation procedure (OpenVMS Alpha) | |||||
------ |
What you need before installing
Before installing the license manager, you will need the following:
Uncompressing your FLEXlm software
Copy the "omflex40.zip" file and the "unzip.exe" file into a temporary working directory, and unpack the software using the following commands:
unzip == $sys$common:[omnimark]unzip.exe unzip omflex40.zip del unzip.exe;* del omflex40.zip;*
Determining the hostname and hostid of your computer
To determine the hostname and hostid of your computer, do the following:
show cpu
. Your hostname will be identified as the node.
lmutil lmhostid
to get your hostid.
You may obtain authorization codes from your OmniMark Technologies sales representative. To get your authorization codes, you will need the hostname and hostid of the computer you will be installing FLEXlm on.
Configuring your OpenVMS Alpha workstation
Choose or create an installation directory in which you want the license manager to reside.
Copy the unpacked software, from the temporary working directory previously created into the installation directory.
copy lmutil.exe lmcksum.exe copy lmutil.exe lmdown.exe copy lmutil.exe lmhostid.exe copy lmutil.exe lmremove.exe copy lmutil.exe lmreread.exe copy lmutil.exe lmstat.exe copy lmutil.exe lmswitch.exe copy lmutil.exe lmver.exe copy lmutil.exe lmdiag.exe copy *.exe sys$common:[flexlm.bin]*.*
Note: The working directory is the directory in which the license manager software was unpacked.
Installing the license manager
Create a new license file in your current directory by running omnilm_setup:
run omnilm_setup.exe
Running omnilm_setup will create a file called "flexlm.dat" in the current directory.
You will need to refer to the Authorization Key Information Sheet to answer the questions that "omnilm_setup" will ask. The "omnilm_setup" file is available on the OmniMark Technologies software download page .
Important: The keys shown on the Information Sheet must be typed exactly as shown. Please note that the only characters present in these codes are the digits 0 through 9 and the letters A through F.
The only information that the Authorization Key Information Sheet does not provide is the DECnet object number and the directory where "omnimarkd.exe" was installed.
The DECnet object number is usually in the range 128-255. See your system administrator for a DECnet object number that you can use.
Copy the file "flexlm.dat" to the directory "sys$common:[sysmgr]" or to the directory you have chosen.
copy flexlm.dat sys$common[sysmgr]*.*
Note: Wherever you place the "flexlm.dat" file, each process that will run OmniMark will need "read" access to the file.
Edit the file "omnimarkd.com" and, if needed, update the device and directory names in the examples to match your chosen location for "omnimarkd.exe", "flexlm.dat", and "flexlm.log".
For example, if the license file is located in "mydevice:[mydir]" and is called "myflexlm.dat":
$ omnimarkd == "$sys$common:[flexlm.bin]omnimarkd.exe" $ omnimarkd -c mydevice:[mydir]myflexlm.dat -l sys$common:[flexlm]flexlm.log $ exit
The "-c" option on the second command line is used to inform the license manager software of the location of the license file (if you are not using the default "sys$common:[sysmgr] flexlm.dat").
The "-l" option on the second command line specifies the desired path and filename of the license manager's log file. If you ever have unexpected results when using the license manager (for instance, if a license is not granted when you think it should be), then check this file for more information. You may change this option to use whatever path and filename you wish, although each process that will run OmniMark will need "write" access to the file.
Once you have finished editing the "omnimarkd.com" file, copy it over to your main license manager directory.
copy omnimarkd.com sys$common:[flexlm]omnimarkd.com
Make sure that the license manager runs when your system reboots; add the following lines to your system startup command file to ensure this. (Your system administrator may be the best person to do this.) The lines should be:
$ initialize /queue /batch om$queue $ start /queue om$queue /job_limit=1 $ submit sys$common:[flexlm]omnimarkd.com /queue=om$queue $set queue om$queue /close
Note: The third command line above refers to the file "omnimarkd.com", which you have edited and relocated. If you have placed this file in a location other than the default, you must change the path on this line accordingly.
Start the license manager right now by typing the lines (minus the leading "$") from the command line that you added to the system startup file:
initialize /queue /batch om$queue start /queue om$queue /job_limit=1 submit sys$common:[flexlm]omnimarkd.com /queue=om$queue set queue om$queue /close
Note again that the third command line shown above refers to the file "omnimarkd.com". If you have placed this file in a location other than the default, you must change the path on this line accordingly.
Add logical names for license manager utilities to the "login.com" files for each user that will be using OmniMark. It's a good idea to add them to the "SYSTEM" account as well:
$ lmcksum == $sys$common;[flexlm.bin]lmcksum.exe $ lmdown == $sys$common;[flexlm.bin]lmdown.exe $ lmhostid == $sys$common;[flexlm.bin]lmhostid.exe $ lmremove == $sys$common;[flexlm.bin]lmremove.exe $ lmreread == $sys$common;[flexlm.bin]lmreread.exe $ lmstat == $sys$common;[flexlm.bin]lmstat.exe $ lmswitch == $sys$common;[flexlm.bin]lmswitch.exe $ lmver == $sys$common;[flexlm.bin]lmver.exe $ lmdiag == $sys$common;[flexlm.bin]lmdiag.exe
You have to tell the OmniMark application the location of the license file. If you have used the default location and license file name, then you do not have to change anything at this point. Otherwise, set the symbolic name "OMNIMARK_LICENSE_FILE" to the full pathname of the license file. For example, to set the license file to "myvol:[mydir]myflexlm.dat", you can add the following line to each user's "login.com":
OMNIMARK_LICENSE_FILE := "myvol:[mydir]myflexlm.dat"
To test that your FLEXlm installation is working properly once you have installed OmniMark, you may test it by typing the following from your OmniMark directory: omnimark -s test.om
. You should receive "success" as an output.
------ |
---- |