none
Procedure for destroying a cluster

    Întrebare

  • Hello,

    we have a hyperv core cluster 2012 with two hosts and 4 VMs.

    We need to destroy this cluster and keep the 4 VMs now in the hyperv core in single server mode.

    What is the correct procedure for destroying the cluster so that the VMs are not shut down and the data is not corrupted from the CSV?

    Thank you.
    16 mai 2018 18:00

Toate mesajele

  • Hi,

    Once you have removed all the high availability virtual machines from Failover Cluster, you can perform the following steps:

    1. Evict one of the nodes.

    Remove-ClusterNode -Name node2

    2. On the last node, destroy the cluster.

    Get-Cluster -Name Cluster1 | Remove-Cluster -Force -CleanupAD

    King regards,
    Leon


    Blog: https://thesystemcenterblog.com  LinkedIn:   

    16 mai 2018 18:51
  • Hi,

    Once you have removed all the high availability virtual machines from Failover Cluster, you can perform the following steps:

    1. Evict one of the nodes.

    Remove-ClusterNode -Name node2

    2. On the last node, destroy the cluster.

    Get-Cluster -Name Cluster1 | Remove-Cluster -Force -CleanupAD

    King regards,
    Leon


    Blog: https://thesystemcenterblog.com  LinkedIn:   

    My CSV disk will continue to be accessed by two servers.

    Is it okay to disconnect a two-node or disable iSCSI so simultaneous access does not occur?

    Does the CSV disk need not be unconfigured before performing the destruction?

    16 mai 2018 19:37
  • Hi,

    You can remove the CSV from the cluster, this way it will not be used, only present. Use the following PowerShell cmdlet to remove the CSV disk:

    Get-ClusterSharedVolume -Name "Cluster Disk 1" | Remove-ClusterSharedVolume

    This removes the volume from the Cluster Shared Volumes in a failover cluster, and places it in Available Storage in the cluster. After placing a volume in Available Storage, you can use the volume when you configure a new clustered role.

    Kind regards,
    Leon


    Blog: https://thesystemcenterblog.com  LinkedIn:   

    16 mai 2018 19:46
  • Hi,

    You can remove the CSV from the cluster, this way it will not be used, only present. Use the following PowerShell cmdlet to remove the CSV disk:

    Get-ClusterSharedVolume -Name "Cluster Disk 1" | Remove-ClusterSharedVolume

    This removes the volume from the Cluster Shared Volumes in a failover cluster, and places it in Available Storage in the cluster. After placing a volume in Available Storage, you can use the volume when you configure a new clustered role.

    Kind regards,
    Leon


    Blog: https://thesystemcenterblog.com  LinkedIn:   

    Hi friend,

    I understand, but I have linked virtual machines that are allocated on the cluster disk.

    If I run only these commands, can the virtual machines remain connected?

    I'm planning the right cluster destruction steps, but keeping the virtual machines on.

    If this is not possible, I will have to turn them off and move them to a disk that is not part of the cluster to avoid impact and corruption.

    Thank you.

    16 mai 2018 19:51
  • Hi,

    If the virtual machines are cluster resources (I suppose they are) and they are stored on the C:\ClusterStorage\XXX they will most likely fail when removing the cluster.

    If you move them to local storage, then you would be able to remove the cluster & CSV disk from the cluster without downtime on the VMs.

    Kind regards,
    Leon


    Blog: https://thesystemcenterblog.com  LinkedIn:   

    16 mai 2018 19:58
  • Hi,

    If the virtual machines are cluster resources (I suppose they are) and they are stored on the C:\ClusterStorage\XXX they will most likely fail when removing the cluster.

    If you move them to local storage, then you would be able to remove the cluster & CSV disk from the cluster without downtime on the VMs.

    Kind regards,
    Leon


    Blog: https://thesystemcenterblog.com  LinkedIn:   

    I can present a new LUN without making it a CSV and moving to clusternode1.

    And then destroy the cluster.
    16 mai 2018 20:51
  • Hi,

    That will work,, once that is done you can move the VMs to the new LUN.

    Kind regards,
    Leon


    Blog: https://thesystemcenterblog.com  LinkedIn:   

    16 mai 2018 20:51