+

Search Tips   |   Advanced Search

manageODC.py script

manageODC.py permits the interaction with the On Demand Configuration (ODC) tree. The ODC tree is an in-memory representation of the state of a WebSphere Application Server cell.

The manageODC.py script helps with troubleshooting On Demand Router (ODR) issues. We can also use the script to alter the ODC tree.

Forced alterations to the ODC tree might require a restart of the cell in order to correct inadvertent ODC tree corruption.

For transitioning users: The WebSphere Virtual Enterprise command that equates to manageODC.py is ve_manageODC.py. If we are making the transition from WebSphere Virtual Enterprise, we can continue to use the ve_manageODC.py command, which operates the same as the manageODC.py command.trns

The manageODC.py script is in the app_server_root/bin directory.

To obtain the usage information for manageODC.py, run:

...or...

Generate a target.xml file to determine the ODC names to plug into the script.


Operations

We can perform the following operations with the manageODC.py script:


Example

Generate a target.xml file to determine the ODC names to include in the script. The following code example shows a shortened version of a target.xml file, where parameters for the cell, node, and server to use in the script are located.

To delete the server named odr from the ODC tree, type the following command:

Note that /cellGroup/target is never specified as part of the path.

In this example, the property ODC object is named state, with a value of STOPPED, and a priority of 1. To change the property to STARTED.

  • Create and configure ODRs
  • Configure ODRs
  • Intelligent Management: scripts