chlicense Command

Purpose

Changes the number of fixed licenses and the status of the floating licensing of the system.

Syntax

chlicense [ [ -D | -I ] -u FixedUsers] ] [ [ -v ] -f FloatingStatus ]

Note: At least one flag must be specified with the chlicense command.

Description

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.

Flags

Note: At least one flag must be specified with the chlicense command.
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.

Security

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.

Examples

  1. To enable the floating licensing for the system, enter:
    chlicense -f on
  2. To disable the floating licensing for the system, enter:
    chlicense -f off
  3. To change the number of fixed licenses to 125 and to enable floating licensing on the system, enter:
    chlicense -u 125 -f on
  4. To immediatly increase the number of fixed licenses to 5, enter:
    chlicense -I -u 5