LICENSING NEW C Compilers for AIX 4.3.x
Documentation on lum : ftp://ftp.software.ibm.com/software/lum/aix/doc/V4.5.5/
IFORLS:
Loading the C Compiler Version 4.4 or C++ compiler. This is AIX 4.3 and
above with the new Visual Age compilers. The license is contained in the
software package. You do not need to call IBM for a license. REMEMBER
that if your operating system is 4.3.2, you need the latest compilers. You
cannot use the older Version 3 compilers on 4.3.2. (per IBM).
1) Install software and all prereqs. Including the Iforls software and prereqs
iforls_base
iforls_compat.htm
lslpp -l vac.C (to see if comitted and installed)
2) Look for the readme file in /usr/vac or /usr/vac/bin and follow the directions.
3) cd /var/ifor
4) ./i4cfg –stop
To start the configuration run :-
/var/ifor/i4cfg -script
i4cfg Version 4.5.5 AIX -- LUM Configuration Tool
(c) Copyright 1995-1998, IBM Corporation, All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
From a License Management point of view,
you can choose to configure this system as:
1) Network License Client
2) Nodelock License Server (and/or Network License Client)
3) Network (and/or Nodelock) License Server
4) Central Registry (and/or Network and/or Nodelock) License Server (*)
(*) Remember that one and only one Central Registry License Server
(i4gdb daemon) can be active in a Licensing domain.
Please indicate your choice [1,2,3,4]: 2
Do you want to disable remote administration of this Nodelock License
Server? [y,n]: y
You have to choose now which mechanism must be enabled
to locate this License Server:
1) NCS Namespace and Direct Binding (*)
2) Direct Binding only
(*) WARNING: Modifying NCS Namespace configuration may affect
any other application that use NCS on this system.
NCS Namespace is necessary to support old Netls, iFOR/LS Clients.
Please indicate your choice [1,2]: 2
Choose the desired Server(s) logging level
1) Default
2) All
3) Customized
Please indicate your choice [1,2,3]: 1
The default Log file(s) path is /var/ifor
Enter blank to accept default or specify a new path:
*******************************************************************************
Server configuration is complete.
Do you want to modify the list of remote Nodelock and/or Network License Servers
this system can connect to in direct binding mode (both for
Administration purposes and for working as Network License Client) ? [y,n]: n
Do you want the License Server(s) automatically start on this system
at boot time? [y,n]: y
*******************************************************************************
WARNING: Configuration is about to end.
This is your last chance to quit before your updates will be written.
Do you want to continue? [y,n]: y
*** Configuration file updated. ***
Do you want the License Server(s) start now? [y,n]: y
0513-059 The i4llmd Subsystem has been started. Subsystem PID is 10616.
'Start Services' has completed successfully
****************************************
* Configuration completed successfully *
****************************************
To add the license to the server, run the following command :-
/var/ifor/i4blt -a -f {license file} -R u -T {number of licenses}
example :-
/var/ifor/i4blt -a -f /usr/vac/c44aix_cn.lic -R u -T 5
i4blt Version 4.5.5 AIX -- LUM Basic License Tool
(c) Copyright 1995-1998, IBM Corporation, All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
(c) Copyright 1991-1997 Gradient Technologies Inc., All Rights Reserved
(c) Copyright 1991,1992,1993, Hewlett-Packard Company, All Rights Reserved
ADM-10099: Product successfully enrolled
or
6) ./i4cfg –start
7) ./i4cfg -list
8) cd /usr/vac
9) look for file c44aix_cn.lic ( for version 4.4 of AIX C compiler)
10) cp c44aix_cn.lic /var/ifor/c44aix_cn.lic
11) cd /var/ifor
12) vi c44aix_cn.lic
13) (READ THE README….) but look for –R "admin_name" (change name
to root)
14) edit iforblt and put a ./ in front of it
15) –T line -T #_of_licenses change to -T 2 (if you purchased two licenses)
(remember replace the line #_of_licenses with the numeric value.)
16) look for [license certificate] and delete everything on down in file
including license certificate....you can also add an exit 0 to the end of the file
if you don't want to delete.
17) chmod 744 on file
18) run file ./c44aix_cn.lic
19) cd /usr/vac/bin
20) ./replaceCSET (look for close spelling.)
21) cd / which cc (to see if it will pull the correct cc compiler)
22) if you don't have a file to compile try touch foo.c and then cc foo.c (you
will get errors, but it should compile)
try compiling.
Note: If you are reconfiguring IFORLS, try to cd /var/ifor and delete .dat and
.ibx files then run the ./i4cfg –script again
-------------------
Floating license: