This document discusses the installation of a floating license for AIX logins and applies to AIX Versions 4.1 and 4.2.
Setting up the iFOR/LS "floating" license includes four major steps:
llbd - local location broker daemon glbd - global location broker daemon netlsd - processes request for licenses monitord - monitor licensed login processes Servers Clients llbd glbd netlsd monitord monitord
Daemons are started in a specific order:
llbd -> glbd -> netlsd
Daemons are shut down in the reverse order:
netlsd -> glbd -> llbd
NOTE: Stopping the daemons in the wrong order can corrupt NetLS database files.
To install and enable AIX floating licenses, perform the following steps.
/usr/lib/netls/conf/netls_config
The steps this script provides are as follows:
Do you want the "llbd" started automatically when the machine boots?
Y
Do you want "netlsd" started automatically when the machine boots?
Y
(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?
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.
You will have three or four options:
Please indicate your choice (1, 2, 3, or 4):
After the first time, the daemons can be started with the startsrc command. They must be started in the correct order (llbd, then glbd, then netlsd). The exact commands are:
startsrc -s llbd startsrc -s glbd startsrc -s netlsd
This may also be accomplished by running the command:
/usr/lib/netls/bin/srv_start
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 llbdOr you can use the command:
/usr/lib/netls/bin/srv_stop
chlicense -f onOr use the SMIT utility under:
smitty chlicense
The preceding executions would start monitord and add an entry in /etc/inittab to automatically start monitord at reboot.
If you get the error message Could not enable floating license, check if the /etc/security/monitord_lock file exists. This file prevents multiple copies of monitord from being run. But if monitord is stopped abnormally, you will have to remove this file manually before running chlicense -f on.
smitty install_float
The above step creates the floating license file, AIX.FLOAT, under /usr/lib/netls/conf.
To change the number of AIX floating licenses installed on a system, you may use the following smit menus:
smitty change_float
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 126.17.203.222, 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
AIX User License [4.x];