Use the wsgridConfig.py script to configure the three steps that are required for configuring the external scheduler interface.
At installation, wsgridConfig.py is copied onto the installation target machines in the <install_root>/bin directory.
wsadmin.sh -f wsgridConfig.py -install -cluster <clusterName > -providers <providerList>
where
<clusterName> is the scheduler cluster name.
To configure WSGrid on a single server scheduler, use the following command:
wsadmin.sh -f wsgridConfig.py -install -node <nodeName> -server <serverName> -providers <providerList>
where
<nodeName> is the node name of the scheduler server.
<providerList> identifies a list of providerEndpoints 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 hostname of the servers in the scheduler cluster.
To remove WSGrid configurations, use the following commands:
wsadmin.sh -f wsgridConfig.py -remove -cluster <clusterName> wsadmin.sh -f wsgridConfig.py -remove -node <nodeName> -server <serverName>