Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Specifying configuration objects using the wsadmin tool

 

Specify configuration objects with scripting and the wsadmin tool. Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.

 

Overview

To manage an existing configuration object, identify the configuration object and obtain a configuration ID of the object to use for subsequent manipulation.

 

Procedure

  1. Obtain the configuration ID in one of the following ways:

  2. If more than one configuration ID is returned from the getid or the list command, the IDs are returned in a list syntax. One way to retrieve a single element from the list is to use the lindex command. The following example retrieves the first configuration ID from the server object list:

    For other ways to manipulate the list and perform pattern matching to look for a specified configuration object, refer to the Jacl syntax.

 

Results

You can now use the configuration ID in any subsequent AdminConfig commands that require a configuration ID as a parameter.


}
Using the AdminConfig object for scripted administration

 

Related Reference


Commands for the AdminConfig object