Fortinet black logo
7.0.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 by doing one of the following:
    • To upgrade EMS to 7.0.8 or a later version, run the following command. The following example command upgrades EMS to 7.0.11:

      FortiClientEndpointManagementServer_7.0.11.0584_x64.exe SQLServer=DBVIP 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

    • To upgrade EMS to 7.0.7 or an earlier version, run the following command. The following example command upgrades EMS to 7.0.7:

      FortiClientEndpointManagementServer_7.0.7.0398_x64.exe SQLServer=DBVIP SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=1 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 by doing one of the following:
    • To upgrade EMS to 7.0.8 or a later version, run the following command. The following example command upgrades EMS to 7.0.11:
      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

      All EMS nodes share the same FileStorageNic.

      FortiClientEndpointManagementServer_7.0.11.0584_x64.exe SQLServer=DBVIP 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

    • To upgrade EMS to 7.0.7 or an earlier version, run the following command. The following example command upgrades EMS to 7.0.7:
      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

      All EMS nodes share the same FileStorageNic.

      FortiClientEndpointManagementServer_7.0.7.0398_x64.exe SQLServer=DBVIP SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=0 BackupDir=\\EMS-2\backup DBInitialSize=31MB DBInitialLogSize=4MB DBGrowth=11MB DBLogGrowth=11% DBLoginTimeout=31 DBQueryTimeout=611

For information on the install commands and parameters, see Configuring 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 by doing one of the following:
    • To upgrade EMS to 7.0.8 or a later version, run the following command. The following example command upgrades EMS to 7.0.11:

      FortiClientEndpointManagementServer_7.0.11.0584_x64.exe SQLServer=DBVIP 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

    • To upgrade EMS to 7.0.7 or an earlier version, run the following command. The following example command upgrades EMS to 7.0.7:

      FortiClientEndpointManagementServer_7.0.7.0398_x64.exe SQLServer=DBVIP SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=1 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 by doing one of the following:
    • To upgrade EMS to 7.0.8 or a later version, run the following command. The following example command upgrades EMS to 7.0.11:
      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

      All EMS nodes share the same FileStorageNic.

      FortiClientEndpointManagementServer_7.0.11.0584_x64.exe SQLServer=DBVIP 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

    • To upgrade EMS to 7.0.7 or an earlier version, run the following command. The following example command upgrades EMS to 7.0.7:
      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

      All EMS nodes share the same FileStorageNic.

      FortiClientEndpointManagementServer_7.0.7.0398_x64.exe SQLServer=DBVIP SQLUser=emsha SQLUserPassword=123456789 InstallSQL=0 ScriptDB=0 BackupDir=\\EMS-2\backup DBInitialSize=31MB DBInitialLogSize=4MB DBGrowth=11MB DBLogGrowth=11% DBLoginTimeout=31 DBQueryTimeout=611

For information on the install commands and parameters, see Configuring EMS HA.