If your high availability infrastructure is disabled and you require IIOP routing capabilities, you can create a static routing table for the members of a cluster to use to handle enterprise bean requests. Because the information contained in this static routing table does not account for server runtime state, you should delete this table and return to using the dynamic routing table as soon as your high availability infrastructure is enabled. Before you create a static route table, ensure that:
You should only create a static route table if your high availability infrastructure is disabled and you require IIOP routing capabilities. To create a static route table:
cluster = AdminControl.completeObjectName('cell=mycell,type=Cluster,name=managedClusterBean,*') print cluster
cluster = AdminControl.completeObjectName('cell=mycell,type=Cluster,name= managedClusterBean,*') print cluster
These commands return the name of the cluster MBean for the specified cluster. For example, for cluster cluster1, the output from these commands will be similar to the following message:
WebSphere:cell=mycell,name=cluster1,mbeanIdentifier=Cluster,type=Cluster,process=cluster1
$AdminControl invoke $managedClusterBean exportRouteTable
AdminControl.invoke(managedClusterBean, ‘exportRouteTable’)
After the table is created, the name of the route table file, is displayed in a message similar to the following message:
/home/myInstall/was/server/profiles/dmgrProfile/config/cells/mycell/clusters/cluster1/cluster1.wsrttbl
As this message illustrates, the file containing the table is placed in the config directory of the deployment manager for that cluster. You should keep a record of this location so that you can delete this file when you are ready to start using dynamic routing again.
-Dcom.ibm.websphere.management.registerServerIORWithLSD=false
For example, to start server1 on a Windows operating system with static routing enabled, issue the following command from the server profile’s bin directory:
startServer.bat server1 -Dcom.ibm.websphere.management.registerServerIORWithLSD=false