Monday, February 27, 2017

How to remove “Unsupported Cluster Configuration” in SCVMM 2012

Recently I had a incident in one of the end user’s environment. 

The scenario is as follow :
The storage LUNs where the Virtual Machines resides had several Hard Disks failed.  There were not enough hotspare disks assigned to it.  The only way is to replace the faulty Hard Disks in the storage and then reconfigure it again.

Once it was done, the LUN was presented back to the Hosts and Failover Cluster recognize the LUN and then VMs were configured.

However, in the System Center Virtual Machine Manager (SCVMM 2012) has an issue.  It contained two identical records.  One is displayed as Running and another as Unsupported Cluster Configuration

image

Steps Taken

  • Ensure the VM is running in the Cluster
  • Launch the Virtual Machine Manager Command Shell in the Server that is running the SCVMM 2012
    (right-click run as administrator)
    image
  • Key in the command as follow in the VMM Command Shell that was launched :

    Get-SCVirtualMachine | where { $_.Name -EQ "Duplicate-ComputerName"} | fl name, status


    Note : Replace the Pink with your computer name that you want to remove from the SCVMM.   Remember the rest of the commands stay, including the quotes.
  •  It will display something like the screen below :

    SNAGHTMLb479c8
  • Next is to execute the command to  remove from the SCVMM database
    Get-SCVirtualMachine | where { $_.Name -EQ "Duplicate-ComputerName"} | Remove-SCVirtualMachine –Force

    Note : Replace the Pink with the computer name that you want to remove from the SCVMM.  The rest of the commands stays inclusive the quotes.  This is going to remove from the SCVMM DB but not removing the VM.  Remember the VM needs to be up and running.
  • In the SCVMM, the record will be removed and you need to do a refresh to once again get the information from the Cluster. 
    Right click on the Cluster in the VMM and click refresh

    image

After the SCVMM has completed the job (getting the information from the Cluster), the Unsupported Cluster Configuration is no longer in the record.  The one that is healthy is displayed in the cluster information.

A thank you to Aidan Finn and Law.

keywords : error 2604, unsupported cluster configuration, system center virtual machine manager, scvmm hyper-v, duplicate computer name in scvmm 2012, how to remove computer from scvmm 

Saturday, February 4, 2017

Cluster Disk in Failover Cluster Failed to Start (File Server)

Recently one of the customer had an upgrade in their firmware of their storage.  Their setup is as follow :

2 Hosts in Windows 2012 Server.  Using a shared storage and it’s setup with Windows 2012 Failover Cluster.

After both the hosts were rebooted, the Cluster Disk that was assigned as FileServer in the Failover Cluster failed to start.  From what I know it’s because both the hosts are assuming they are the owner of that particular Disk.  So both are locked to the resources.

SNAGHTML509baf5

I clicked on the “more details” to check it displayed as :

image

Further probing into the Disk Management and found that the Disk is in RAW. Before this it was in NTFS format.

image

Next I go into the shared Storage Management (which is the Dell Storage Manager in this scenario), tried to repair but in vain.  It displayed as follow :

SNAGHTML50f06bb

After going through the logs as earlier on, found that the resource was locked due to both the hosts are assume they are the rightful owner and both are trying to write at the same time.  In a Windows cluster environment, there’s only one owner at any one time.

Therefore I launched a PowerShell ISE in Administrator mode.

Execute a command to clear the Cluster Disk Reservation on both the hosts

image

In my scenario as above, in the Disk Management it shows as Disk 6, I execute the command of :

Clear-ClusterDiskReservation –disk 6

 Note : change only the one in Pink according to the info from disk management

Resource of the command : https://technet.microsoft.com/en-us/library/ee461016.aspx 

After that, I started the FileServer and no issue.  The format was in NTFS and content was intact.

In the Failover cluster of the File Server :

image

Hopefully this helps.

keywords : cluster disk reserve, error 219, dell storage manager, disk in RAW format, incorrect function, cannot start up cluster disk file server, the requested resource is in use, persistent reservation