Showing posts with label VMM. Show all posts
Showing posts with label VMM. Show all posts

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 

Tuesday, June 28, 2016

PowerShell–Get-VM command is not recognize or missing

Currently I’m supporting one of the customer, found out that the PowerShell is in version 1.0 in the SCVMM.  Therefore, I tried to execute a script using the get-vm but it says as not recognize.

The message was :

PS C:\Users\Administrator\Desktop> Get-VM
The term 'Get-VM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
As a workaround, I’ve execute the command as below :

Import-Module virtualmachinemanager

Then the get-vm command works.

keywords : SCVMM, get-vm missing, get-vm command not recognize, powershell command not recognize.

Friday, July 31, 2015

Class 20409B - Server Virtualization with Windows Server Hyper-V and System Center

 

Just finished conducting a 5-days class on Server Virtualization using Hyper-V and System Center.  During class, I shared real life scenarios on how it was implemented, what are the obstacles they will face if planning were not done properly in the first place before rolling out.

Feeling happy that the students went back with knowledge.

keywords : 20409, Hyper-V, virtualization, backup, protection, VMM, virtual machine manager, dpm, azure, cloud, vmmlibrary,

Wednesday, July 29, 2015

System Center Virtual Labs

 

Let’s get our hands ‘dirty’ and I want to share the “Virtual Labs” that I found especially lots and lots of Systems Center labs.

image

The Website is in this link.

Let’s get started !!

 

keywords : systems center, virtualization, virtual, hyper-v, virtual machine, data protection, monitoring, SCOM, SCCM, Service Manager

Thursday, July 4, 2013

How To Convert Physical to VHD

If you do not have the Virtual Machine Manager (VMM) to help you to convert the Physical Machine Hard Disk, then you can use another tool from the SYSINTERNALS .

To download this tool from the Microsoft Technet click Disk2vhd v1.63

Hope this helps as it has helped me.

keynote : Disk to vhd, physical to virtual, microsoft sysinternal, disk2vhd, VMM,

Thursday, December 20, 2012

SQL Eval has Expired for SCVMM

I had an issue.  Someone installed the SQL as eval copy.  I tried to Start the Database but couldn’t.  It states as expired.

So there’s I’ve to work around.  Firstly I find the location of the Database.  e.g.
C:\Program Files\Microsoft SQL Server\MSSQL10_50.SYSPREPSQL\MSSQL\DATA

image

Copy both the DB out to a location as backup.

From the services of the VMM check which account is used to start the System Center Virtual Machine Manager
In this scenario is pcloud\vmmsvc

image

 

Then I uninstall the entire SQL and then reboot the VMM server.  Install a fresh new SQL (full license) into the VMM server.

image

After the installation I copied both the files back into the new SQL path e.g.
C:\Program Files\Microsoft SQL Server\MSSQL_10_50.MSSQLSERVER\MSSQL\DATA

image

I then launch the Microsoft SQL Server Management Studio.  Expand the Databases. 

Then <right-click>  on the Databases and select Attach …

image

Click Add …

image

Select the VirtualManagerDB.mdf from the location that I copied into earlier and click OK twice.

image

Expand the Security Logins<Right-click> on the Logins, and select New Login ….

Add in the user that was use to start up the VMM Services (information services that was gathered earlier).  In this example is pcloud\vmmsvc.

image

<Right-click> on the particular user and select Properties.

image

In the Login Properties select User Mapping.

In the Users mapped to this login select VirtualManagerDB

In the Database role membership for VirtualManagerDB, select db_owner & public then click OK.

Once it’s done, launch the Virtual Machine Manager Console

image

Then it’s ready to go for administrating through the VMM Console.

Also thank you to both my colleagues, Law WF & Edmund Lim. Hope the steps help. 

keywords : Systems Center Virtual Machine Manager 2012, scvmm, vmm, SQL evaluation, SQL eval, expire SQL, SQL 2012.

Thursday, July 26, 2012

Cumulative Update 2 for System Center 2012

Microsoft had recently release the Cumulative Update 2 (CU2) for System Center 2012.   Part of  it, it fixes the issues for Data Protection Manager 2012 (DPM 2012), Orchestrator (SCO 2012), Operations Manager (SCOM 2012), AppContoller and Virtual Machine Manager (SCVMM 2012).

Most of the fixes are for the SCDPM and the SCVMM.

The Descriptions of bug fixes are in this link.

But if you want to download the CU2 only for the SCDPM 2012 then go to this link directly.

Note : Remember to backup your DPM database before you perform this rollup update.

The issue of the VM Status of Unsupported VM Configuration (Error 644) is resolved with the patch for the SCVMM and SCDPM.

keywords : DPM 2012, KB2706783, VM status of unsupported VM configuration (Error 644), error 644, VMM,

Thursday, July 19, 2012

VMM - VM status of Unsupported VM Configuration (Error 644)

I had provisioned a Standard W2K8R2 VM with the System Center Virtual Machine Manager (SCVMM) 2012.  Once installation is done, I attached the DPM ISO (with Share image file instead of copying it – tick in the box) to install through the VMM.  Everything went successfully, till I wanna detach the ISO.  I tried to detach the ISO but in vain through the VMM.

Error Message (Error 644) :

The specified host drive \\domain.local\Library\ISOs\SCDPM2012.iso does not exist on the host machine.

After some "bing”, it seems that it’s a common problem.  Steps carried our is as below :

  • Launch the Hyper-V Manager in that particular server that is hosting the VM. 
  • Detach the ISO or DVD, in the Settings for that particular VM and click Apply and then OK.
  • Then go back to the VMM, refresh it and the error “Unsupported VM Configuration” is no longer there.

Source from TechNet

Hope the above steps helps.

keywords :

Virtual machine configured to use an ISO has a status of Unsupported VM Configuration in System Center 2012 Virtual Machine Manager, VMM 2012,