Decommissioning A Server
Is there any good documentation or best way to decommission a server? The server has been shut down but H&W is still sending alarms and since the server has been shut down we are not able to ssh into it. I wanted to know the steps or best way to decommission a server from our environment even if shut down prematurely. Please provide documentation or steps to accomplish this. We are on v18.104.22.168. Thanks.
I would suggest to open an RSA case but the below procedure may suffice for this purpose.
1) display all available hosts to to the NW server:
you should see an output similar to this
Host: ID=62a918aa-e965-4ce4-a50f-43753211a9f2, ADDR=192.168.97.100, NAME=servertodemissionhostname, VERSION=22.214.171.124
2) Make sure that you have removed from the UI the appropriate server to decomission (hosts view)
3) Take note of the server ID that you want to decomission and execute below command
orchestration-cli-client --remove-key 62a918aa-e965-4ce4-a50f-43753211a9f2
4) Remove H&W alarm and Check if the H&W appear again after few minutes
I really appreciate the feedback. However, I am not able to get the UUID because I cannot run the "cat /etc/salt/minion" command because I cannot ssh into the server itself. I was hoping there was a work around to get the UUID. I know how to remove from the UI and from the SA Head. I was wondering if there is another way to remove it from the database without having to have the server brought back online. Thanks.
Run on the NW Server (node0)
orchestration-cli-client -l (will list all the active nodes on the NW server)
orchestration-cli-client -k (will list the known nodes, finde the one(s) that are in the second list and not in the first list, use that ID in the --remove-key command