Upgrading JAMS in a Highly Available Configuration

Follow

Use the steps below to upgrade JAMS if you have a Primary-Failover Server Environment.

  1. Upgrade the Secondary (Passive) JAMS Server.  This will upgrade the JAMS Server as well as the JAMS SQL Database.
  2. After the Secondary JAMS Server is successfully upgraded, open the PowerShell command line and use Set-JAMSFailoverStatus to set the Secondary JAMS Server as the active server. The Secondary JAMS Server takes over scheduling and executing Jobs from the Primary JAMS Server.
    Note: Replace instances of MyPrimaryServerName and MySecondaryServerName with the actual names of the Primary and Secondary Servers in the environment.
          Import-Module JAMS
    ### List current status of the Secondary
    Get-JAMSFailoverStatus -Server MySecondaryServerName
    ### Set the Secondary to running mode
    Set-JAMSFailoverStatus -Server MySecondaryServerName -Active
    ### Double check the Primary status - should read: "Backup" 
  3. Wait for all of the Jobs on the Primary (local) JAMS Server to complete.
    Note: In a JAMS HA Configuration, the best practice is to have all Jobs execute on an Agent to prevent Job loss during a failover.
  4. Upgrade the Primary JAMS Server that is now in passive mode.
  5. After the Primary JAMS Server is successfully upgraded, open the PowerShell command line and use Set-JAMSFailoverStatus to set the Primary JAMS Server as the active server.
    Note: Replace instances of MyPrimaryServerName and MySecondaryServerName with the actual names of the Primary and Secondary Servers in the environment.
          Import-Module JAMS
    ### List current status of the Primary
    Get-JAMSFailoverStatus -Server MyPrimaryServerName
    ### Set the Primary to running mode
    Set-JAMSFailoverStatus -Server MyPrimaryServerName -Active
    ### Double check the Secondary status - should read: "Backup"
  6. Verify the Primary JAMS Server is now active and the Secondary JAMS Server is now passive by doing the following:
    1. From the JAMS Client, click the About icon and select JAMS Servers.
      JAMS_Server_List.png
    2. Click the Status tab.
    3. Ensure the server is listed in the correct mode (Running or Backup Mode). You may need to scroll down to see all of the information.
Have more questions? Submit a request

Comments