Before You Begin

To stay prepared for unplanned downtime, complete a planned role swap from your master server to your standby server every two months. This is best completed during non-peak times.

Note: If you're switching to your standby server due to unplanned downtime, skip to the Activating your Standby Server section below.

Note: Skybot Scheduler has been renamed to Automate Schedule is now part of the Automate suite of products. The existing Skybot Scheduler features and functionality are the same; only the product name has changed.

Shutting Down Your Master Server

  1. Make sure all users are logged out of Skybot Scheduler.
  2. Hold your job queues and stop the Scheduler.
    • To hold job queues, go to the Agents page and click Lock all Agent Job Queues.

      Lock all agent job queues
    • To stop the Scheduler, select Job Scheduler from the Server menu. On the Job Scheduler page click Stop Scheduler.
  3. Check the standby server to verify that your database is up-to-date. If there are files that still need to be duplicated, the File Replication Requests displays a number. When the number is 0, the database is up to date.

    Countdown for file replication requests
  4. Shut down your master server.

Activating your Standby Server

  1. Switch your standby to master by running the following script (located in your Skybot Scheduler directory):
    • For Windows: standbyToMaster.exe
    • For UNIX/Linux: standby2master.sh
  2. Wait until all of your agents are connected and active. To check agents, log on to your new master server and go to the Agents page.
  3. Start the Scheduler and unlock your Job Queues.
    • To start the Scheduler, select Job Scheduler from the Server menu. On the Job Scheduler page click Start Scheduler.
    • To unlock your Job Queues, go to the Agents page and click Unlock all Agent Job Queues.

All job schedule activity will now continue as normal on the new master server.

Converting the Original Master to the New Standby Server

  1. Restart your original master server and run the following script:
    • For Windows: masterToStandby.exe
    • For UNIX/Linux: master2standby.sh
    Make sure you have the admin password, network address, and listen port of the new master server. To find the network address and listen port, select Server Properties from the Server menu.

    Note: Converting the original master to standby requires replicating the database. If your database is large, make sure your server has enough free disk space. Depending on the size of the database and the speed of your network and PC, this may take up to 30 minutes.
  2. To verify that the script completed and replication is working, log on to Skybot Scheduler on the master server using a web browser.

    Note: The standby server does not display on the Agents page.

    Under the Current Status section of the homepage, the STANDBY SERVER status should be Active with a green background:

    Standby server is active

    You can also check the standby server by typing its IP address in a web browser. A note states that the standby server is active and connecting to your master server:

    Standby server is active and connected to the master server

    Note: In a planned role swap, the database should be up-to-date. However, if a job completes and is not recognized by the master server, its record is stored under Server History.


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: March 11, 2019