2021-10-29 04:05 AM
I'd like to know the proper procedure for decommissioning an appliance (in my case, New Health and Wellness) so that I can reuse the existing IP address and hostname.
Thanks.
2021-11-13 12:05 AM
Hi Jeremy,
Please follow the steps below to decommission a host.
1. Remove the host from UI.
2. Find the UUID of the removed host.
SSH to the host and run 'cat /etc/salt/minion'
3. Remove the key using orchestration-cli-client from the Admin server.
SSH to the the Admin server then run the following command.
orchestration-cli-client --remove-key <UUID noted in step #2>
salt-key |grep <UUID noted in step #2> -- to confirm the key is removed.
If the key still exists, try running the following command.
salt-key -d <UUID noted in step #2>
Type 'y' when asked.
4. Remove the federations from the Admin server.
rabbitmqctl clear_parameter -p /rsa/system federation-upstream carlos-upstream-<UUID noted in step #2>
Thanks.