Installing RabbitMQ manually
This section explains how to install RabbitMQ for clustered and non-clustered servers.
Note: See Troubleshooting for information on specific troubleshooting scenarios.
- If clustering multiple servers together, perform the following:
- Create a new system Environment Variable to each Document Generation Services (DGS) server.
- Variable Name =
RABBITMQ_BASE - Variable Value =
C:\ProgramData\RabbitMQ
Note: This step is mandatory; if not completed, all RabbitMQ configuration information is placed atC:\Users\<current user>\AppData\Roaming\RabbitMQ. This path is incompatible if multiple users access the server hosting RabbitMQ. - Variable Name =
- Pre-create the
rabbitmq.configfile, with the clustering content (see below), and then place into theC:\ProgramData\RabbitMQfolder (on all clustered servers). Arabbitmq.configfile is required to define the servers for the cluster. Update the server names for your environment. See Appendix: rabbitmq.config file for a sample .config file.Note: Consider the following:- Verify the file name is rabbitmq.config and is not saved as a .txt file.
- Enter the exact case-specific server names.
- Pre-create the
.erlang.cookiefile with a preferred value.Note: A-Z, 0-9, Uppercase, lowercase and underscore values only - Copy the
.erlang.cookiefile to the following locations on all clustered DGS servers:C:\windows\system32\config\systemprofileC:\Users\<UserThatInstalledERLang>\.erlang.cookie
See Appendix: Configuring additional Document Generation Services resources for more information.
Note: The.erlang.cookiefile must be the same on all clustered DGS servers. - Install erlang: Install
otp_win64_21.0.1.exe(Erlang / OTP 21.0.1) from http://www.erlang.org/download/21.0.html; the default options are recommended. - Install RabbitMQ: Install
rabbitmq-server-3.7.7.exefrom https://www.rabbitmq.com/download.html or here; the default options are recommended; allow the service to install and start. - From a command prompt (run as admin), enter
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.7\sbin; executerabbitmq-plugins enable rabbitmq_management.Note: If you receive an error stating Erlang cannot be located, check if a previous command prompt was open.
- Create a new system Environment Variable to each Document Generation Services (DGS) server.
- If not clustering servers, perform the following:
- Create a new system Environment Variable to each Document Generation Services (DGS) server.
- Variable Name =
RABBITMQ_BASE - Variable Value =
C:\ProgramData\RabbitMQ
- Variable Name =
- Install erlang: Install
otp_win64_21.0.1.exe(Erlang / OTP 21.0.1) from https://www.erlang.org/downloads/21.0 ; the default options are recommended. - Install rabbitMQ: Install
rabbitmq-server-3.7.7.exefrom https://www.rabbitmq.com/download.html or here. - Confirm that rabbit is functioning properly. This enables a web UI for a Management application at http://localhost:15672; username and password are both “guest."
- Create a new system Environment Variable to each Document Generation Services (DGS) server.