+

Search Tips   |   Advanced Search

Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS

 

MirrorCell.bat|.sh script


You can use the MirrorCell script to create representations of servers that are running previous versions of WebSphere® Application Server in the WebSphere Virtual Enterprise environment.

 

Purpose

The MirrorCell script creates a representation in the WebSphere Virtual Enterprise administrative console of WebSphere Application Server application servers from previous versions, such as V5.1 or V6. Before you run this script generate the mappings file. See Migrate large topologies of external WebSphere application servers for more information.

 

Location

The MirrorCell script is in the install_root\bin directory.

 

Usage

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

 

Parameters

PROPS
Specifies the full path to the properties file.
MODE
The default mode is ALL if you do not specify the value or specify a value that is not valid. You can specify the following modes:

ALL
Runs through every phase of the process.
READ
Reads your cell configuration into an XML definition file only.
DIFF
Differentiates your 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
Specifies that your properties file does not encrypt the user name and password; however then use this option every time you run the scripts. Otherwise, the logic assumes that you are using encrypted data.
-nosave
Specifies 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 you first run the script.

 

Example

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

  ./MirrorCell.sh –mode WRITE -nosave



 

Related concepts

 

Related tasks


Configure external WebSphere application servers

Related information


Migrate large topologies of external WebSphere application servers