+

Search Tips   |   Advanced Search

iAdmin command

The command supports operating a Liberty profile server on the IBM i platform. The command file is in the wlp/lib/native/os400/bin directory. The command file is a script named iAdmin.


Syntax

Syntax:

where the value of task can be one of the following options:

The POSTINSTALL task configures the server start command to launch servers as jobs in the QWAS85 subsystem. Additionally, the task:

Call the iAdmin POSTINSTALL command only after Install the Liberty profile by extracting an archive file or when Install Liberty profile resources using the job manager.

The GRANTAUTH task grants the QEJBSVR user profile the necessary file permission and ownership for the server role. The POSTINSTALL sets the file ownership and authorities correctly for the QEJBSVR user profile. However, if we create files manually, or if we modify the authorities on files used by the Liberty profile server, we can call the iAdmin GRANTAUTH command to ensure that QEJBSVR has the correct authorities.

The PREUNINSTALL task removes the native libraries and objects created by the POSTINSTALL task. Call the iAdmin PREUNINSTALL command before removing the Liberty profile application-serving environment from the system, but you only need do so if the Liberty profile was installed by executing a JAR file.


Options

The following options are available for the iAdmin command:

--outputdir wlp_user_dir

The directory for server generated files. This option must only be an absolute path, is optional for the GRANTAUTH task, and is ignored for all other tasks. When not specified, the default location for server generated output is used.

--rolename role_name

The role that the user profile is assigned. The server role is the only currently supported role. Required for the GRANTAUTH task and is ignored for all other tasks.

--userdir wlp_user_dir

The directory containing shared resources and server definitions. This option can only be an absolute path, is optional for the GRANTAUTH task, and is ignored for all other tasks. When not specified, the default location for shared resources and server definitions is used.

--userprofilename user_profile_name

The user profile to grant authority to. QEJBSVR is the only currently supported user profile name for the server role. Required for the GRANTAUTH task and is ignored for all other tasks.


Usage scenarios

The following examples demonstrate correct syntax. Run the command in any of the following examples on one line.


Parent topic: Administer the Liberty profile from the command prompt

Tasks:

  • Configure the Liberty profile server to start as a job in the QWAS85 subsystem on IBM i
  • Uninstall the Liberty profile application-serving environment from IBM i operating systems
  • Configure security authorization for Liberty profile servers on IBM i