This document applies to AIX Versions 3.2-4.2. It describes how to install NetLS node locked licenses and how to install a NetLS server and floating licenses.
A node locked license is one that is only good for that node (machine). It does not require the use of the network, NCS, or NetLS server.
Floating licenses are parcelled out by a server and are available to any of the machines that are in the same cell as the server machine.
To install a node locked license, use any text editor to create or modify the nodelock file and add the license keys.
The nodelock file is found in the following path:
/usr/lib/netls/conf/nodelock
Perform the following steps:
/usr/lib/netls/conf
Things to be aware of when installing a Node Locked license:
The Node Locked license that you receive should look similar to the following:
----------------------------------------------------------------- Product name . . . . . . : IBM C for AIX Product number . . . . . : 5765423 Target type. . . . . . . : aix Target id. . . . . .: 1500910 No. of connections . . . : 1 Password type. . . . . . : LICENSE License type . . . .: NODELOCKED License annotation . . . : 1 Passwords are valid From : 1996-05-16 To . . . . . . . .: 2046-05-17 Generated by userid. . . : KEYATL Genereted by system.: ALR-MENU Generation reference No. : 1996-05-17-17.55.03.525018 Vendor name. . . . . . . : IBM Software Solutions Toronto Vendor id. . . . . . . . : 5da54a553b4c.02.09.15.31.00.00.00 Vendor Password. . . . . : m6dp65f242v82 Product Password . . . . : wkseneaansmw6u6wjmsjp65t6w Product Version. . . . . : 3
Below are the nodelock lines grouped by target ID:
NOTE: If a plus (+) sign is present, it indicates that the values should occur in the same line of the nodelock file.
Nodelock lines for target 1500910 -------------------------------------- # Program: IBM C for AIX Expiration date: 2046-05-17 5da54a553b4c.02.09.15.31.00.00.00 wkseneaansmw6u6wjmsjp65t6w "1" + "3" ------------------------------------------------------------------ Sample nodelock file (showing licenses for several products): ------------------------------------------------------------------ # Test Product Version 3.3. Valid 03/12/94 - 03/11/95 9ce6f0617216.02.81.23.85.e3.00.00.00 89pbxmywy8qh9mdu97u8yb586naa"" "3.3" # Real Product Version 4.1. Annotation: "abc". Valid 04/08/94 - 06/01/94 90b82be84513.02.81.23.86.fb.00.00.00 26z8g3vnvdsn8b4u3n8bquspefmsnamj "abc" "4.1" # Common "demo" Product Version 3.3 Valid 04/08/94 - 05/07/94 5ce6f0617216.02.81.23.85.e3.00.00.00 wkseneaansmw6u6wjmsjp65t6w "" "3.3" # Program: IBM C for AIX Expiration date: 2046-05-17 5da54a553b4c.02.09.15.31.00.00.00 wkseneaansmw6u6wjmsjp65t6w "1" "3" ----------------------------------------------------------------------
NOTE: The plus sign, indicating line continuation, has been removed and the two lines provided by the Key Generation Center have been entered as one line in the nodelock file.
The term "floating license" is used to describe any license that is installed on a NetLS server. Some licenses of this type are concurrent-access, use-once, and compound licenses.
To install a floating license, perform the following steps:
Description AIX 3.2 AIX 4.1/4.2 ----------- ------- ----------- Network bosnet.ncs.obj bos.net.ncs Computing Services Network NetLS.Ark bos.ifor_ls.server License Server X11 Base X11rte.obj X11.base.rte X11.base.lib Motif X11rte.motif1.2.obj X11.motif.lib
Note that some of the tools, such as ls_admin and ls_stat are linked with the X11 libraries and require that they be present even when their graphical interfaces are not used.
Question 1: Do you want the llbd started automatically when the machine boots?
Answer: y
Question 2: Do you want netlsd started automatically when the machine boots?
Answer: y
Question 3: (You might be asked this question)
There exists an initialized database already for the glbd. Do you wish to use that database when starting the glbd daemon?
Answer: n
You will be shown a listing of all the cells that your machine can identify. If you are setting up your machine in a new alternate cell, none of this information is relevant to you. If you intend to join an alternate cell that has already been established, note the cell number when it is displayed on the screen. Please note that the cell numbers may be assigned differently each time netls_config is run.
Question 4: (This option will not be displayed if no alternate cells were detected).
You have three or four options
1) Continue with installation without choosing a Cell Name. 2) Use the default for the system Cell Name. 3) Create a new alternate cell for the system Cell Name. 4) Choose an existing alternate cell for the system Cell Name.
Answer:
Choose 1 if you do not know what configuration you want and just want to quit. You will have to re-run netls_config later.Choose 2 if you are on a stand-alone machine or all systems in your network should have access to the same set of licenses.
Choose 3 if you are going to run your server in a new alternate cell.
Choose 4 if you are going to join your server to a cell that has already been established. You will then be prompted for the number of the alternate cell you want to join. Enter that number now.
You are done with the netls_config script. It has created a second shell script called:
/usr/lib/netls/conf/netls_first_time
After the first time, the daemons can simply be started with the startsrc command. They must be started in the correct order (llbd, then glbd, and then netlsd). The exact commands are:
startsrc -s llbd startsrc -s glbd startsrc -s netlsd -a '-no lcwvptms'
To stop the daemons manually, use the stopsrc command. The daemons must be stopped in the reverse order that they were started. The exact commands are:
stopsrc -s netlsd stopsrc -s glbd stopsrc -s llbd
EXCEPTION: When adding a new product to an existing vendor, or a new license to an existing product, use the vendor name and product name as they already exist in the license database, rather than as they are shown in the information provided by the key generation center. Either ls_stat or ls_admin can be used to show existing vendors and products.
Cutting and pasting in X-Windows is the easiest way to avoid problems.
The floating license that you receive should look similar to the following:
-------------------------------------------------------------------- Product name . . . . . . : AIX XL Fortran/6000 Product number . . . . . : 5765176 Target type. . . . . . . : aix Target id. . . . . .: 1500910 No. of Concurrent users. : 1 Password type. . . . . . : LICENSE License type . . . .: CONCURRENT Passwords are valid From : 1996-04-09 To . . . . . . . . .: 2046-04-10 Generated by userid. . . : KEYATL Genereted by system.: ALR-MENU Generation reference No. : 1996-04-10-22.05.16.776093 Vendor name. . . . . . . : IBM Software Solutions Toronto Vendor id. . . . . . . . : 5da54a553b4c.02.09.15.31.00.00.00 Vendor Password. . . . . : agkrmbnthcsc4 Product Password . . . . : s8yewwjtbfh68jf4wewbvuf3jiaaa Product Version. . . . . : 3
Type at the command line (or cut and paste to the command line) two ls_admin commands (your path must include /usr/lib/netls/bin). The first adds the vendor to your license database. The second line adds the specific product licenses for that vendor in your license database. Once the vendor has been added, it does not have to be entered again for other product licenses provided by the same vendor. In this example, the two commands would be (note the backslashes indicating continuation):
ls_admin -a -v "IBM Software Solutions Toronto" \ 5da54a553b4c.02.09.15.31.00.00.00 agkrmbnthcsc4 ls_admin -a -p "IBM Software Solutions Toronto" \ "AIX XL Fortran/6000" s8yewwjtbfh68jf4wewbvuf3jiaaa 3
Install licenses with the graphical user interface as follows:
IBM Software Solutions Toronto
5da54a553b4c.02.09.15.31.00.00.00
agkrmbnthcsc4
AIX XL Fortran/6000
s8yewwjtbfh68jf4wewbvuf3jiaaa
If your license has an annotation, click on the button for license annotation and specify the license annotation that was supplied.
Add the license password by clicking on the License Password button in the ADD LICENSE window, and specify the license password that was supplied.
Example /etc/ncs/glb_obj.txt file:
90b82be849c7.02.81.23.86.fb.00.00.00
ip:myserver.mnet.mycompany
The glb_site.txt file can also specify the IP network address of the server machine. For example, if the IP address of the host machine is 111.22.333.444, then the glb_site.txt file will contain the line:
ip:#111.22.333.444
Example /etc/ncs/glb_site.txt file:
ip:myserver.mynet.mycompany ip:#111.22.333.44