Remove node from master server cluster
Hi
I am attempting to remove one node from a master server SFWHA (VCS) 2 node cluster. This is as it has been decided that the second node is no longer required (a single node is sufficient).
I realise it is not possible to convert from a cluster master to non-clustered, but it should be possible to remove a node from the cluster.
What I have tried was the following
Use the cluster configuration tool to remove the node from the cluster (this worked, but the second removed node still appears known to NetBackup in EMM). At that satge attempting to use the command "nbemmcmd -deletehost -machinename <master2> -machinetype master" failed.
So I added the node back into the cluster using the same cluster configuration tool. So far back to a 2 node cluster.
Next I am trying to use the same nbemmcmd as above to remove the node from NetBackup before removing from the cluster.
This time the command fails with the following error:
C:\Users\dmoline>nbemmcmd -deletehost -machinename master2 -machinetype master
NBEMMCMD, Version: 7.6.0.1
The function returned the following failure status: "Please Delete Disk Objects First"
So I removed the all the disk STUs (I read this in another similar unresolved post), and tried again.
Now I am getting the following error:
C:\Users\dmoline\Documents>nbemmcmd -deletehost -machinename master2 -machinetype master
NBEMMCMD, Version: 7.6.0.1
The function returned the following failure status:
generic EMM SQL error (193)
Command did not complete successfully.
I'm wondering if anyone has any other suggestions.
After having support look at the problem, it was determined that there was an audit record associated with the second node of the cluster preventing its removal.
As this was/is simply a test system, and the only supported option would have been to raise a case to get backline to create a custom SQL script to address the issue, I deicided to simply rebuild the master server.
I believe what I tried and Marrianne's suggestions should have worked and would work most of the time, just not in my particular case.
Sorry I can't offer any better solution to my problem.