You can use the jobrecovery script when a primary site fails to allow a secondary site to take over.
Use this script to enable a secondary site to take over the responsibility for a failed primary site. In this scenario, each site has a separate WebSphere cell where an active job is running on the primary site, and a stopped or job scheduler is on the secondary site. The Compute Grid cells on the primary and secondary sites are expected to be clones of one another - i.e. same topography, same names. They share the same database, not replicas of a database.
The jobrecoveryscript is located either in the install_root/bin directory or in the install_root/profiles/{LRS_profiles}/bin directory on the designated LRS backup server. If the script is run from the install_root directory, the profileName option must be specified. Otherwise, it should not be specified. The username and password options are required if security is enabled on the server which is running the LRS. This script should be run on the backup cell once the primary cell is shutdown. After it is run, the backup cell can be started.
When the primary site fails, you will be instructed to follow a takeover procedure that includes the following steps:
./jobRecovery.sh <server> [options]
./jobRecovery.sh server1 -profileName AppSrv01 -username wsadmin -password wspassword