Share via


Cannot remove a Server 2012 DHCP failover relationship

Question

Wednesday, January 2, 2013 12:15 PM

Hi,

We created a test server (2012 std) and activated a dhcp server failover relationship with it.  After having conducted various tests, this server was deleted.  Unfortunately we discovered later that we couldn't remove the (now broken) dhcp failover relationship from the first server.

Whatever we try to do to remove the failover settings is honored with something like 'The DHCP service is not running on the target computer. Deconfigure failover failed'.

I have removed the dhcp role on both servers but when re-enabling it the relationship is still there...

Please help me with this....  

What do we do to force removal of this broken DHCP relationship?

rgds Tor

All replies (5)

Wednesday, January 2, 2013 2:21 PM ✅Answered

Go for a destroy option in a cluster manger console. Also run a command cluster /destroy /cleanup to clear cluster info from AD as well.

A useful thread for your refenece Remove a cluster

Regards, Ravikumar P


Thursday, January 3, 2013 6:02 AM ✅Answered

Hi,

You cannot remove the Cluster service, but you can return it to an unconfigured state. To remove the cluster service from a failover node, follow these steps:

  1. Start Cluster Administrator (CluAdmin.exe).

  2. Right-click the node, and then click Stop the Cluster service.

    Note: Do not perform this step if this server is the last node in the cluster. Right-click the node, and then click Evict Node.

    This step returns the cluster to its original unconfigured state. You can re-add it later to the same or to a different cluster.

To remove the cluster service from the last node, follow these steps:

  1. Start Cluster Administrator (CluAdmin.exe).

  2. Right-click the node, and then click Evict Node.

    Note The cluster service must be running if the cluster was configured to use the “Enable Kerberos authentication” option.

  3. Delete the computer object (network name) from Active Directory, and replicate for changes to take effect.

If you cannot start the Cluster service, or if you have trouble removing the node, you can manually unconfigure the Cluster service:

  1. Run the Cmd.exe program to open a command prompt.

  2. At the command prompt, type cluster node nodename /forcecleanup, and then press ENTER.

    Note: If the Cluster service does not exist in the registry, the command does not respond. To create a place holder, type the following line at the command line, and then press ENTER:

sc create clussvc

For more information please refer to following MS articles:

How to uninstall the Cluster service on a Windows Server 2003 cluster
http://support.microsoft.com/kb/282227
How to Evict a Node from a Windows Server 2008 Failover Cluster
http://technet.microsoft.com/en-us/library/bb676524(v=EXCHG.80).aspx

Lawrence

TechNet Community Support


Saturday, January 5, 2013 1:38 PM | 1 vote

Hi bushtor,

Are you trying to remove the failover relationship using DHCP MMC or PowerShell.

You can do this using the DHCP PowerShell cmdlet Remove-DhcpServerv4Failover on the first server and specify a -Force flag to delete the relationship.

With DHCP MMC, you should be prompted to continue the deletion of failover relationship on the first server even if the second server is not reachable.

Thanks,


Saturday, January 5, 2013 1:40 PM

-Force flag causes the cmdlet Remove-DhcpServerv4Failover to delete the relationship from the first server even if the second server is unreachable/down.


Sunday, December 22, 2013 10:08 AM

Hi bushtor,

Are you trying to remove the failover relationship using DHCP MMC or PowerShell.

You can do this using the DHCP PowerShell cmdlet Remove-DhcpServerv4Failover on the first server and specify a -Force flag to delete the relationship.

With DHCP MMC, you should be prompted to continue the deletion of failover relationship on the first server even if the second server is not reachable.

Thanks,

was having same issue, and PowerShell helped me perfectly

SAM