Use AdminControl for scripted administration



Search Tips   |   Advanced Search


The AdminControl scripting object is used for operational control. It communicates with MBeans that represent live objects running a WebSphere server process.

AdminControl includes commands to...

Many of the operational commands have two sets of signatures so that they can either invoke using string based parameters or using JMX objects as parameters. Depending on the server process to which a scripting client is connected, the number and type of MBeans available varies. When connected to an appserver, only MBeans running in that appserver are visible.

If a scripting client is connected to a dmgr, then all MBeans in all server processes are visible. If a scripting client is connected to a node agent, all MBeans in all server processes on that node are accessible.

General method to manage the cycle of an application:

  1. Install the application.
  2. Edit the application.
  3. Update the application.
  4. Uninstall the application.

ObjectName, Attribute, and AttributeList classes
Example: Collecting arguments for AdminControl
Example: Identifying running objects
Specifying running objects using wsadmin
Identifying attributes and operations for running objects with wsadmin
Performing operations on running objects using wsadmin
Modify attributes on running objects with wsadmin
Synchronizing nodes with wsadmin



Commands for AdminControl