Changes the number of fixed licenses and the status of the floating licensing of the system.
chlicense [ [ -D | -I ] -u FixedUsers] ] [ [ -v ] -f FloatingStatus ]
There are two types of user licensing: fixed and floating. Fixed licensing is always enabled and the number of licenses can be changed using -u flag of the chlicense command. Floating licensing is enabled or disabled using the -f flag.
Item | Description |
---|---|
-D | The -D flag causes the new fixed-license value to be updated in the login.cfg file only. This is the option if the -I flag is not issued. You must restart the system before the new number takes effect. |
-f FloatingStatus | Changes the status of the floating licensing of the system. The status must be either on or off. The status of on enables the floating licensing and off disables the floating licensing. The -f flag is optional. |
-I | The -I flag causes the chlicense command to modify the current value of the fixed-license counting semaphore, in addition to modifying the value in the login.cfg file. |
-u FixedUser | Changes the number of fixed licenses on a system. The value of FixedUser must be a number greater than 0. The -u flag is optional. |
Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
chlicense -f on
chlicense -f off
chlicense -u 125 -f on
chlicense -I -u 5