wsgridConfig.py batch script
Use the wsgridConfig.py script to configure the three steps required for configuring the external scheduler interface.
The wsgridConfig.py script performs the following three steps required for configuring the external scheduler interface:
- Installs JobSchedulerMDI.ear.
- Configures the service integration bus.
- Configures JMS artifacts.
At installation, wsgridConfig.py is copied onto the installation target machines in the app_server_root/bin directory.
The wsadmin.sh command to run wsgridConfig.py can only be run from the Deployment Manager's <was-home>/bin.
Example
To configure WSGrid on a scheduler cluster.
wsadmin.sh -user username -password userpassword -f ../bin/wsgridConfig.py -install -cluster clusterName -providers providerListwhere clusterName is the scheduler cluster name.To configure WSGrid on a single scheduler server.
wsadmin.sh -user username -password userpassword -f ../bin/wsgridConfig.py -install -node nodeName -server serverName -providers providerListwhere nodeName is the node name of the scheduler server.
providerList identifies a list of provider endpoints in the format hostname1,portnumber1[;hostname2,portnumber2...], where portnumber identifies the SIB_ENDPOINT_ADDRESS or SIB_ENDPOINT_SECURE_ADDRESS port of the scheduler server, and hostname1 and hostname2 identifies the host name of the servers in the scheduler cluster.
To remove WSGrid configurations.:
wsadmin.sh -user username -password userpassword -f ../bin/wsgridConfig.py -remove -cluster clusterNamewsadmin.sh -user username -password userpassword -f ../bin/wsgridConfig.py -remove -node nodeName -server serverName
Set up the external scheduler interface using the default messaging provider Script for batch applications