Fortinet black logo
7.2.0

Upgrading EMS HA

Upgrading EMS HA

To upgrade EMS in HA:
  1. Stop all EMS services on all secondary EMS servers. This is to avoid failover while upgrading the primary EMS server.
  2. While EMS services are running on the primary server, open Command Prompt as an administrator and install the EMS version that you want to upgrade to using the following command. The following example command upgrades EMS to 7.2.4:

    FortiClientEndpointManagementServer_7.2.4.0983_x64.exe SQLServer=sqllistener SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=1 FileStorageNic=\\Server\fileshare FileStorageNicUser=LAB\administrator FileStorageNicPass=Admin123! BackupDir=\\EMS-1\backup DBInitialSize=31MB DBInitialLogSize=4MB DBGrowth=11MB DBLogGrowth=11% DBLoginTimeout=31 DBQueryTimeout=61

  3. After the primary server upgrade successfully completes, upgrade the secondary EMS server by opening Command Prompt as an administrator on the secondary server and installing the EMS version that you want to upgrade to using the following command. The following example upgrades EMS to 7.2.4:
    Note

    You must use a unique backup directory for each EMS node. The following shows BackupDir values for an example HA configuration with one primary (EMS 1) and two secondary EMS nodes (EMS 2 and 3):

    • Primary (EMS 1): BackupDir=\\EMS-1\backup
    • Secondary (EMS 2): BackupDir=\\EMS-2\backup
    • Secondary (EMS 3): BackupDir=\\EMS-3\backup

    The FileStorageNic is shared between all EMS nodes.

    FortiClientEndpointManagementServer_7.2.4.0983_x64.exe SQLServer=sqllistener SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=0 FileStorageNic=\\Server\fileshare FileStorageNicUser=LAB\administrator FileStorageNicPass=Admin123! BackupDir=\\EMS-2\backup DBInitialSize=31MB DBInitialLogSize=4MB DBGrowth=11MB DBLogGrowth=11% DBLoginTimeout=31 DBQueryTimeout=61

    If you have multiple secondary servers, you can upgrade them one by one or simultaneously.

For information on the install commands and parameters, see Installing EMS and configuring SQL always on HA.

Upgrading EMS HA

To upgrade EMS in HA:
  1. Stop all EMS services on all secondary EMS servers. This is to avoid failover while upgrading the primary EMS server.
  2. While EMS services are running on the primary server, open Command Prompt as an administrator and install the EMS version that you want to upgrade to using the following command. The following example command upgrades EMS to 7.2.4:

    FortiClientEndpointManagementServer_7.2.4.0983_x64.exe SQLServer=sqllistener SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=1 FileStorageNic=\\Server\fileshare FileStorageNicUser=LAB\administrator FileStorageNicPass=Admin123! BackupDir=\\EMS-1\backup DBInitialSize=31MB DBInitialLogSize=4MB DBGrowth=11MB DBLogGrowth=11% DBLoginTimeout=31 DBQueryTimeout=61

  3. After the primary server upgrade successfully completes, upgrade the secondary EMS server by opening Command Prompt as an administrator on the secondary server and installing the EMS version that you want to upgrade to using the following command. The following example upgrades EMS to 7.2.4:
    Note

    You must use a unique backup directory for each EMS node. The following shows BackupDir values for an example HA configuration with one primary (EMS 1) and two secondary EMS nodes (EMS 2 and 3):

    • Primary (EMS 1): BackupDir=\\EMS-1\backup
    • Secondary (EMS 2): BackupDir=\\EMS-2\backup
    • Secondary (EMS 3): BackupDir=\\EMS-3\backup

    The FileStorageNic is shared between all EMS nodes.

    FortiClientEndpointManagementServer_7.2.4.0983_x64.exe SQLServer=sqllistener SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=0 FileStorageNic=\\Server\fileshare FileStorageNicUser=LAB\administrator FileStorageNicPass=Admin123! BackupDir=\\EMS-2\backup DBInitialSize=31MB DBInitialLogSize=4MB DBGrowth=11MB DBLogGrowth=11% DBLoginTimeout=31 DBQueryTimeout=61

    If you have multiple secondary servers, you can upgrade them one by one or simultaneously.

For information on the install commands and parameters, see Installing EMS and configuring SQL always on HA.