+

Search Tips   |   Advanced Search

MirrorCell script

Use the MirrorCell script to create representations of servers running previous versions of WebSphere Application Server in the Intelligent Management environment.

The MirrorCell script creates a representation in the Intelligent Management administrative console of WAS application servers from previous versions, such as v5.1 or v6. Before running this script we must generate the mappings file.

The MirrorCell script is in the app_server_root/bin directory.

MirrorCell.sh [-props PROPS] [-mode MODE] [-nosec, -nosave]


Parameters

PROPS

Full path to the properties file.

MODE

The default mode is ALL if we do not specify the value or specify a value that is not valid. We can specify the following modes:

  • ALL: Runs through every phase of the process.
  • READ: Reads the cell configuration into an XML definition file only.
  • DIFF: Differentiates the previously known configuration from the new configuration to detect changes or unnecessary configurations.
  • WRITE: Creates the new configurations from the XML definitions file.
  • PROPSGEN: Generates the properties file only. One useful application of the PROPSGEN mode is to run this mode as a cell administrator, set the user name and password while in the default encryption mode, and then give the properties file to a non-administrator to use when running the scripts. This action ensures that only the initial administrator that generates the file knows the values for the user name and password.


Options

-nosec

That your properties file does not encrypt the user name and password; however we must then use this option every time we run the scripts. Otherwise, the logic assumes that we are using encrypted data.

-nosave

That the script preforms trial run and does not persist any of the changes that were made. To ensure that the script runs correctly, use this option when we first run the script.

The following example creates the new configurations only and disables the persistence of changes:

 ./MirrorCell.sh -mode WRITE -nosave

  • Configure external WebSphere application servers (deprecated)