WebSphere Virtual Enterprise (formerly Operations Optimization), Version 6.1
             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 Version 5.1 or Version 6. Before you run this script you must generate the mappings file. See Migrating 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 you must 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
[Version 6.1.0.1 and later] Configuring external WebSphere application servers
Related information
[Version 6.1.0.1 and later] Migrating large topologies of external WebSphere application servers
Reference topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 6:15:26 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.ops.doc/info/reference/rmwswasmigrate.html