If RabbitMQ is deployed in a failover configuration with a master node and a secondary
node, you must use an adapted procedure to upgrade RabbitMQ to version 3.7.10. This version of
RabbitMQ was introduced in Genetec Mission
Control™
2.11.
Before you begin
Copy the
Genetec Mission
Control™
2.12.1.0 installation package to both RabbitMQ servers.
What you should know
RabbitMQ version 3.7.10 installs an important security update and is highly
recommended.
This procedure refers to a master node and a secondary node. Because these
servers are interchangeable, the secondary node is always the first node to be brought
down.
Procedure
-
On the secondary node, do the following:
-
Stop the RabbitMQ service.
-
Back up the .erlang.cookie file from
C:\Windows to a temporary storage location.
IMPORTANT: A new .erlang.cookie file is generated
during the upgrade process and must be replaced with the backup.
-
On the master node, do the following:
-
Stop the RabbitMQ service.
-
Back up the .erlang.cookie file from
C:\Windows to a temporary storage location.
-
Use the advanced setup in the Genetec Mission
Control™
2.12.1.0 installation wizard to only upgrade RabbitMQ.
-
Restore your backup of the .erlang.cookie file to the
following locations:
-
Restart the RabbitMQ service.
-
On the secondary node, do the following:
-
Uninstall the current version of Erlang/OTP.
-
Install Erlang/OTP 21.2.
NOTE: The Erlang/OTP 21.2 installer is bundled with our software. To install it, do
the following:
- Open the Genetec Mission
Control™
2.12.1.0 installation package.
- Navigate to the MC Packages folder.
- Run the Erlang/OTP installer for your version of Windows.
- otp_win32_21.2 (32-bit)
- otp_win64_21.2 (64-bit)
-
Restore your backup of the .erlang.cookie file to the
following locations:
-
Use the advanced setup in the Genetec Mission
Control™
2.12.1.0 installation wizard to only upgrade RabbitMQ.
-
Restart the RabbitMQ service.
Results
Your RabbitMQ failover cluster has been upgraded.