BlueCat Server Update Services (BSUS) uses a RabbitMQ database to store vital data. While installing or upgrading the BSUS application itself, you must leave the RabbitMQ user and password at its default values. After installation of BSUS 24.1 or later finishes, you can change the default RabbitMQ user and password as follows:
Make sure that the installation or upgrade process for BSUS 24.1 (or later) has completely finished.
For more details on installing BSUS, see Installing BlueCat Server Update Services.
For more details on upgrading an existing BSUS system, see Upgrading BlueCat Server Update Services to a new version.
On the host machine, restart the updated version of BSUS (v25.2).
BSUS will use the default credentials to connect with the RabbitMQ database.
In BSUS, open the RabbitMQ Credentials window. (Click the Administration tab, then click RabbitMQ Credentials.)
In the credentials window, enter the list of user names and password credentials that the BSUS application should use when attempting to connect to the RabbitMQ password.
BSUS will attempt the passwords in the order given. When you're done, click Update.
Turn off the BSUS docker container using the following command:
docker-compose downYou can verify that the BlueCat Server Update Services container is turned off by running the
docker pscommand. If the BlueCat Server Update Services container names do not appear in the list, then the Docker containers were successfully shut down.-
In the
.envenvironment file (no prefix), edit the RabbitMQ service credentials to use your preferred default user and password.Specifically, edit the following settings:
RABBITMQ_DEFAULT_USER=<RabbitMQ user name> RABBITMQ_DEFAULT_PASS=<RabbitMQ password> BSUS will now use the updated RabbitMQ account details the next time it starts.
To restart the updated BSUS docker container using the following command:
docker-compose up -dThe BSUS Adaptive Application starts up. You can now access the BSUS UI from the browser window once the service has started.
To verify that the service has started, run the following command:docker-compose logs -f | grep "Declaring"The following log message indicates that the service has started:logstash_1 | [2021-05-17T16:06:42,205][INFO ][logstash.inputs.rabbitmq ] [main][ab3ce81ccc3d228c9c8d56d7f16bb605c6d35ff5bca7dd75ed83e6ab37dfa86e] Declaring exchange 'bsus' with type topicImportant: You must wait for the BlueCat Server Update Services Adaptive Application to start before attempting to access the UI. If you do not wait for theDeclaring exchange 'bsus' with type topicmessage to appear and attempt to access the UI before the service has started, you will receive the following error:Get Batches Error: NotFoundError(404, 'index_not_found_exception', 'no such index [batch], batch, index_or_alias)If you receive this error, you must stop the current BlueCat Batch Update Services container, delete the container, and install a new container.