Issue: As a Domino administrator it is important to keep on top of the platform health. As RabbitMQ is a vital part of Domino you might want to have a visual overview of the service. Since RabbitMQ is running as a cluster service it is not straight forward to access the user interface. This article describes an easy way to do this.
Solution: You will need several things in order to be able to access the web user interface.
Firstly you will have to setup a tunnel to the service ip and port. This can be done via ssh tunnel to your control/bastion host and kubectl port-forward option.
Example:
#ssh <user@host> -t -L 15672:localhost:15672 'kubectl -n domino-platform port-forward svc/rabbitmq-ha 15672:15672'
Once this command is executed you will now have the tunnel setup and this will allow you to access RabbitMq inerface from your localhost. http://localhost:15672/
The second part is to acquire the credentials in order to view RabbitMQ. This part will be different for the different Domino versions.
<= 3.x |
admin |
admin |
>=4.0.x and , 4.1.x |
guest |
guest |
>=4.1.x |
rabbitmq |
<random-password> |
>=5.3.x |
management |
<random-password> |
>=5.5.x |
rabbitmq |
<random-password> |
If you are running version of Domino >=4.1.x you will have to get the random password from the kubernetes secret. You can do so with the following command:
#kubectl get secrets -n <Platform-Namespace> rabbitmq-ha -ojsonpath='{.data.rabbitmq-password}' | base64 -d ; echo
The output of the above command is the decoded password you can use in combination with the username as per the provided table .
Comments
0 comments
Please sign in to leave a comment.