Use the steps below to upgrade JAMS if you have a Primary-Failover Server Environment.
- Upgrade the Secondary (Passive) JAMS Server. This will upgrade the JAMS Server as well as the JAMS SQL Database.
- 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" - 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. - Upgrade the Primary JAMS Server that is now in passive mode.
- 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" - Verify the Primary JAMS Server is now active and the Secondary JAMS Server is now passive by doing the following:
- From the JAMS Client, click the About icon and select JAMS Servers.
- Click the Status tab.
- 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.
- From the JAMS Client, click the About icon and select JAMS Servers.
Comments