WebSphere Virtual Enterprise (formerly Operations Optimization), Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


pluginMergebat|.sh script

You can use the pluginMerge .bat|.sh script to combine the generated plugin-cfg.xml files from two or more unbridged cells. The merged output plugin-cfg.xml will enable the IBM HTTP server plug-in to route to all of the unbridged cells according to the defined MODE. A URI is considered to be shared between two unbridged cells if the URI and corresponding virtual host definition is identical.

Location

The pluginMerge .bat|.sh script is located in the install_root/bin directory. Before running this script, ensure that you have the environment variable WAS_HOME configured to point to the directory of your WebSphere installation.

Usage

The default script usage follows (Linux):
<WAS_HOME>/bin/pluginMerge.sh MODE plugin-cfg1.xml plugin-cfg2.xml [...] outfile.xml

Where MODE is one of -l, -f, or -p. If it is not, the help will be displayed.

Parameters

-l
Load-balanced merged. Load-balance across the cells. For any URI which can be served from more than one cell, requests for that URI will be load balanced between any cell capable of servicing the request.
-f
Fail-over merged. Fail-over to the backup servers. The order in which the plugin-cfg files are input as arguments determines which servers are considered primary and which are considered backup for a given URI. If a shared URI is discovered the server(s) corresponding to that URI in the leftmost matched plugin-cfg file will be listed as primary all others will be listed as backup. If the URI is unique between all URIs, then the corresponding server will be marked as a primary server for that URI.
-p
Precedence merged. For shared URIs the only server(s) that will be routed to is the server(s) corresponding to the leftmost matched plugin-cfg for a given URI. If the URI is unique across all plugin-cfg files, then the server(s) corresponding to that URI will be routed to.

[Version 6.1.0.4 only] Note: The plug-in merge script only supports the merging of exactly two plugin-cfg.xml files.




Related reference
Scripts
Related information
Creating and configuring ODRs
Configuring ODRs
Cell affinity function
Enabling cell affinity
Configuring cell affinity in a multi-tiered environment
Defining generic server clusters for remote ODR cells
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/rodoemerge.html