Upgrading EMS HA
To upgrade EMS in HA:
- Stop all EMS services on all secondary EMS servers. This is to avoid failover while upgrading the primary EMS server.
- 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=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
- 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:
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.2.4.0983_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
If you have multiple secondary servers, you can upgrade them one by one or simultaneously.
- Primary (EMS 1):
For information on the install commands and parameters, see Configuring EMS HA.