The deploywsrrbus.py script

This script deploys the WSRR service integration bus.

Usage

wsadmin -f deploywsrrbus.py
     -wsrrhome <WSRR install directory>
     [ -cluster <cluster name> |     
      -node <node name> 
      -server <server name> ]
      -sibdbuser  <user name>
      -sibdbpassword  <password>
      -wsrrdbtype  <database type>
      -wsrrdbdriverpath  <path>
      -sibdbserver <server>
      -sibdbport  <port>
      -sibdbname  <database name>
      -wsrrdbfunctionpath  <path>
      -sibdbschema  <schema name>
      -jmsuser <user name>
      -jmspassword   <password>
      -prefix <prefix string>
      -urlPrefix <prefix string>
      -sibdbconnectionlocation <database connection location>

(entered as a single line)

If you are deploying the WSRR application and the service integration bus to separate clusters, you must deploy the bus first, and then you can configure the application cluster.

Parameters

Parameter Description
-wsrrhome The <WSRR_INSTALL_ROOT> directory.
-cluster The name of the cluster to which to deploy WSRR. This parameter is only required when using the dmgr.wsrr template and deploying to a cluster. The cluster must already exist.
-node The node name of the federated server to which to deploy WSRR. This parameter is only required when using the dmgr.wsrr template and deploying to a federated server. The federated server must already exist.
-server The server name of the federated server to which to deploy WSRR. This parameter is only required when using the dmgr.wsrr template and deploying to a federated server. The federated server must already exist.
-sibdbuser User name to authenticate with the service integration bus database
-sibdbpassword Password for service integration bus database authentication
-wsrrdbtype The type of DBMS being used for the service integration bus database. Can be one of:
  • DB2 for a DB2 Universal database or a DB2 Express database
  • DB2ZOS for a DB2 for z/OS database
  • SQLSERVER for a Microsoft SQL Server database using a Microsoft driver
  • ORACLE10G for an Oracle 10g database
  • ORACLE11G for an Oracle 11g database
-wsrrdbdriverpath The location of JDBC driver files. You can use the WAS_INSTALL_ROOT variable to point to the JDBC driver jar files that are present on the nodes. This is useful when WebSphere Application Server is installed in a different directory on different nodes. For example, set the following value for -wsrrdbdriverpath: ${WAS_INSTALL_ROOT}/WSRR/jdbcdrivers/DB2.
-sibdbserver The database server host name or IP address for the Service Integration Bus database. For example, -sibdbserver "localhost".
-sibdbport The Service Integration Bus database server port number. Depending on the database you are using, you can specify a different port number instead of the default port number.
-sibdbname The name of the Service Integration Bus database.
-sibdbconnectionlocation Specifies the database connection location. (Used only for DB2ZOS).
-wsrrdbfunctionpath Used to qualify the WSRR DB2 for z/OS procedures. (Used only for DB2ZOS).
-sibdbschema The database schema name for the service integration bus database.
-jmsuser Specifies the user to use for authentication to the service integration bus.
-jmspassword Specifies the password for the user specified for jmsuser.
-prefix Specify a prefix value to deploy a different instance of WSRR within the cell. (You can deploy WSRR only once to a federated server or cluster, but you can deploy WSRR instances to different servers or clusters in the same cell.) By default, the -prefix value is an empty string. The prefix value is prepended to enterprise application name and other resources.

Note that you must specify the same prefix value when you run the deploywsrrapp.py script for this deployment.

-urlPrefix Specify a value to prepend to the context roots of web modules when you are deploying an additional instance of WSRR in the cell. By default, the -urlPrefix value is an empty string. You should set it to the same value as -prefix.

Note that you must specify the same urlPrefix value when you run the deploywsrrbus.py script for this deployment.

Note: The parameters you supply must include either -cluster or -node and -server.

Examples

This command is run from the <WSRR_INSTALL_ROOT>\WSRR\install\jython directory.
WAS_INSTALL/bin/wsadmin -f deploywsrrbus.py -wsrrhome c:/washome/WebSphere/ServiceRegistry
-cluster prod1 -sibdbuser  db2admin -sibdbpassword  dbpword1 -wsrrdbtype DB2
-wsrrdbdriverpath c:/IBM/SQLLIB -sibdbserver localhost -sibdbport  50000 -sibdbname  WSRRDB
-sibdbschema  WSRR -jmsuser wasadmin -jmspassword  pword1 -prefix inst2 -urlPrefix inst2