SCVMM 2012 R2 Remove Storage Classification fails

Hello.
I'm trying to remove an unused Storage Classification, but it fails:
Warning (26154)
The storage classification cannot be removed as one or more objects are associated with this classification.
Recommended Action
Remove all associations of this classification and retry the operation.
I have checked the dependencies with the "View Dependent Resources" button and changed a few templates that depended on this classification. I tried to remove it again but it throws the same error. This happens with more tan one Storage classification.
I have only been able to remove one classification that I think i had never used.
Any ideas?

The IP address was in use by the cluster.  The IP has to be free (not pingable) and host name must not already exist in AD.  Fixed.

Similar Messages

  • SCVMM 2012 R2 RU3 - Live storage migration failing with error 12711 if cluster resource name is not in form of "SCVMM vmname "

    At the end of live storage migration in SCVMM 2012 R2 RU3 getting error:
    Error (12711)
    VMM cannot complete the WMI operation on the server (hypervhost1.domain.local) because of an error: [MSCluster_Resource.Name="SCVMM test-vm"] The cluster resource could not be found.
    The cluster resource could not be found (0x138F)
    Recommended Action
    Resolve the issue and then try the operation again.
    Storage migration actually succeeds and after Repair/Ignore and Refresh, the VM shows up ok in VMM, with the VHD in new location.
    If VM is offline, storage migration always succeeds. Live (non-storage) migration always succeeds.
    I noticed in the error message that it searches for cluster resource name "SCVMM test-vm" and for some VMs I've got different cluster resource names.
    Like for this VM cluster resource names are:
    Virtual Machine test-vm
    Virtual Machine Configuration test-vm
    Furthermore, those resource names are showing up correctly in [VirtualManagerDB].[dbo].[tbl_WLC_VMInstance] table, columns VMResource and VMConfigResource.
    Anyone knows why SCVMM keeps searching for "SCVMM test-vm" and how to fix this without recreating cluster resources?

    Ok, you have the same problem and same configuration that this post:
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/853c021f-dd0a-4d88-a7c1-72bb8d4d0591/hyperv-cluster-live-migration-does-not-work-anymore-after-ur5-installation?forum=virtualmachingmgrhyperv#b5ae914f-7b52-4cea-86ef-a64ce4b32bb0
    This problem occurs will old and new vm?

  • SCVMM 2012 R2 - Problems with VM storage location

    Hello , 
    I have a SCVMM 2012 R2 HA Installation . Under vmm i have an 8 node hyper-v 2012 r2 cluster with cluster shared volumes. My problem is with VM placement. Every time i create a Virtual machine by default VMM chooses a spesific CSV that i don't want . Also
    because of a provisioning engine i work a lot creating Vm's with powershell. The same happens with powershell. By default the VM's are created in a Volume i don't want. Is there a way to change this somehow ? If i go to each node properties and in placement
    paths in the default paths i see all my CSV but the add-remove buttons are grayed out and i cannot remove or add anything. 
    Any ideas ? 
    Thanks

    Running the VM Deployment wizard when deploying to a host group, you are able to specify the CSV for placement. this is also possible through powershell using -path.
    Normally, we recommend to use storage classification and associate vhdx's with the right classification so that the intelligent placement engine can take care of it for us.
    Have you tried this?
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )
    Hello Kristian and thanks for your answer , 
    Yes as you said running the Vm Deployment wizard i can choose the volume i want to create the VM. As i understand the default volume is the one with the largest free space. I also dont use storage classifications. All of my CSV's created manually before
    VMM exists in my infastructure. Also as i see i cannot edit the placements in each hosts. It has as default all my CSV and add-remove is greyd out. 
    So...
    As i said in my previous post im using a provisioning portal (not 3rd party) to create Virtual Machines. Im using powershell to create my VM's . Can you help me a little with the -path command ? I have take the script from VMM for creation of machines BUT
    vmm dos not put somethere the -path command. It only have
    Set-SCVMConfiguration -VMConfiguration $virtualMachineConfiguration -VMLocation  but with this it only creates the vm configuration in the path i choose and vmdisks are going to the default path vmm chooses (the csv with the most free
    space). 
    Any ideas ? 
    Thanks a lot

  • Equal logic Storage not Integrating with SCVMM 2012 R2

    Hi,
    I am using Equal logic 6210 with firmware 7.0. I also installed Hit Kit 4.7 on my SCVMM servers (in High Availability Cluster) and direct access to my ISCSi san subnet.
    I am facing issue in adding storage to my SCVMM 2012 R2, after running below commands i am able to see Storage Proivder in SCVMM but no success in adding storage in Array tab of scvmm.
    Please guide me , see attached screen shots
    Import-Module -Name 'C:\Program Files\EqualLogic\bin\EqlPSTools.dll'
    New-EqlGroupAccess -GroupName Group -GroupWKAddress 192.168.1.5 -MgmtWKAddress 10.1.1.5 -UserName grpadmin -Password testpwd 
    Update-StorageProviderCache
    Import-SCStorageProvider
    Afzal Munir
    <ADMIN NOTE: Phone number removed per privacy policy>

    Hi Kevin
    I am struggling with the same thing during bare metal installs of Hyper-V hosts. In my case I have managed to narrow it down to the language settings in the oobe pass. If I include them, parsing of the unattend file halts (without an explicit error anywhere)
    and the host fails to join the domain. Could you try to leave out the language settings in oobe pass and see if it then completes as expected? Would be interesting to see if it actually is the same issue with a slightly different flavour :)
    EDIT: Got a bit further now with the new release of WS2012 R2. All the testing I've done has been with the 05182 build. Stumbled across KB2913316 which stated that a new build (31419) was released december 11th. Allthough the KB does not directly apply to our
    issue I thought I'd give it a go, so I went about building a new vhdx-image. Low and behold - the first test went smoothly applying all the settings in the unattend file! I'm going to continue testing to make sure the successful run wasn't just a fluke.

  • Upgrade of scvmm 2012 sp1 to scvmm 2012 r2 fails with "Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied"

    I had a working scvmm 2012 sp1 installation, and am attempting to upgrade to 2012 r2.
    The old SCVMM product was removed (retaining the database), as well as ADK 8.0.  I then installed ADK 8.1.
    The install fails after a number of minutes with "Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied".  From my reading of the log, that was the only obvious failure, and that the VMM server MSI installed successfully. 
    It doesn't appear to get so far as to upgrade the database.
    The OS is Windows Server 2012 R2 Standard, with all updates applied.  I have tried the install many times, noticed that the McAfee virus scanner was pushed to the box at some point, so I removed it, but still no dice.
    12:18:58:LaunchMSI: MSI C:\Users\mscott\Desktop\mu_system_center_2012_r2_virtual_machine_manager_x86_and_x64_dvd_2913737\amd64\setup\msi\Server\vmmServer.msi succeeded.
    12:18:58:Doing Postinstall task for PangaeaServer
    12:18:58:ProcessInstalls: Install Item VMM management server was successful.  We will launch the post process delegate.
    12:19:47:Windows feature RSAT-Clustering-PowerShell already enabled, skipping
    12:20:15:Windows feature WindowsStorageManagementService already enabled, skipping
    12:20:41:Windows feature UpdateServices-API already enabled, skipping
    12:23:31:VMMPostinstallProcessor threw an exception: Threw Exception.Type: System.UnauthorizedAccessException, Exception.Message: Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied.
    12:23:31:StackTrace:   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
       at System.IO.StreamWriter..ctor(String path, Boolean append)
       at System.IO.File.AppendText(String path)
       at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(String trace)
       at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(LogLevel level, String trace)
       at Microsoft.VirtualManager.SetupFramework.Trc.Log(LogLevel level, String trace, Object parameter1, Object parameter2, Object parameter3)
       at Microsoft.VirtualManager.SetupFramework.Trc.LogException(LogLevel logLevel, String customMessage, Exception exception)
       at Microsoft.VirtualManager.Setup.DBConfigurator.ExecuteScript(SqlContext ctx, String fileName)
       at Microsoft.VirtualManager.Setup.DBConfigurator.UpgradeDatabaseTables()
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.CreateDB()
       at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
    12:23:31:ProcessInstalls: Running the PostProcessDelegate returned false.
    12:23:31:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item.  Setting rollback.
    12:23:31:SetProgressScreen: FinishMinorStep.
    12:23:31:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    12:23:31:****************************************************************
    12:23:31:****Starting*RollBack*******************************************
    12:23:31:****************************************************************
    12:23:31:SetProgressScreen: StartMinorStep.
    Mark E. Scott Jr.

    Perhaps relevant, perhaps not. This error shows up right after the above log snippet. I assumed it was an error with the rollback routine, but just in case, here it is:
    12:23:31:SetProgressScreen: StartMinorStep.
    12:23:31:ProcessInstalls: Install Item VMM management server has a Preprocessing delegate of PangaeaServerPreinstallProcessor.  Launching it now.
    12:23:31:GetSqlLoginName: TThe login name for the vmm server service is [DGSLAB\tfs-vmm]
    12:24:49:no HAVMM name detected in DB. Doing VMM Uninstall
    12:24:53:Start setspn.exe parameters  -D SCVMM/tfsvmm1.dgslab.com DGSLAB\tfs-vmm
    12:24:56:Start setspn.exe parameters  -D SCVMM/tfsvmm1 DGSLAB\tfs-vmm
    12:25:00:DBConfigurationHander.SetupAsVMMServerRole() CarmineException : Threw Exception.Type: Microsoft.VirtualManager.Utils.FailedToAcquireLockException, Exception.Message: Unable to perform the job because one or more of the selected objects are locked by
    another job.
    To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
    12:25:00:StackTrace:   at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLockWithRetries(CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLock(CarmineObjectLockType lockType, Boolean doNotWaitForLock)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(RemoteServer server, Guid serverID, Version agentVersion, VersionState agentVersionState, AgentPackageType agentPackageType, Boolean wsManOverSSL, Int32 wsManPort, Nullable`1 complianceStatusID,
    Nullable`1 mostRecentTaskID, Nullable`1 mostRecentTaskUIState, Guid taskID, CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(SqlRow row, Guid serverID, Guid taskID, CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer.<>c__DisplayClass4.<GetInstance>b__3(SqlRow row)
       at Microsoft.VirtualManager.Engine.DbAccessHelper.GetFromCommand[_RetTy,_ColumnsTy](ReadOption readOption, SqlRetryCommand cmd, GetFromCommandWorker`1 worker)
       at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleReadErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo notFoundErrorInfo)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer.GetOne(String computerName, GetFromCommandWorker`1 ctor, ConnectionProperties properties)
       at Microsoft.VirtualManager.Setup.DBConfigurator.SetupAsVMMServerRole(Boolean isAssociate)
    12:25:00:InnerException.Type: Microsoft.VirtualManager.DB.DBCorruptionException, InnerException.Message: Unable to connect to the VMM database because the database is in an inconsistent state.
    Contact an experienced SQL administrator whenever this error occurs. In some cases, it may be necessary to restore the VMM database. If the problem persists, contact Microsoft Help and Support.
    12:25:00:InnerException.StackTrace:   at Microsoft.VirtualManager.DB.SqlRetryCommand.ValidateReturnValue()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
    Mark E. Scott Jr.

  • How to get the details of a LUN (Storage Logical Units) presented to an ESX host thru SCVMM 2012

    Hi,
    We are working with a UI Add-in for SCVMM 2012 where we should support both Hyper-v and ESX hosts. When added the ESX host and presented few LUNs (out of band operation) from the HP 3PAR array,
    we are unable to view the Storage details like Storage Logical unit, Storage Pool and Storage Array when we select the same LUN in the Classification and Pools section of SCVMM.
     We tried even with the PowerShell, but couldn’t help. Can you please guide us, how we can get the storage details of a LUN presented to the ESX host which is added in the SCVMM 2012.
    Thanking you.
    Regards,
    Hari

    Hi Jiannan,
    No worries, you can go to UDDI client from the main page of PI  i.e. http://<serverName>:<serverPort>/
    And you use the search function for  the TModel for your Physical System. Search parameters can use the % wildcard.
    Hit the search and you find the UDDI Key for the Physical System.
    Cheers.
    Hemant Chahal

  • Required permissions for SCVMM 2012 R2 Library Share - SOFS on Clustered Storage Volume

    Setup / Notes:
    SCVMM 2012 R2
    SCVMM Library Server - SOFS Role on 2 Nodes of Clustered Storage Server 2012 R2
    Library Server and Nodes show up under Fabric->Infrastructure->Library Servers
    Server and Nodes show no errors or problems
    Shares have been added in SCVMM and able to refresh properly
    Problem:
    I cannot do any job which involves writing to these shares. Import Resource, Create VM Template, etc. Everything fails with Error (2910) VMM does not have appropriate permissions... Access Denied.
    Solutions Tried:
    I have setup FULL CONTROL Share and Security permissions for Administrators Domain and Local, SCVMM Service Account, SCVMM Run as Account, Everyone Account, SYSTEM, Hyper-V Computer Accounts basically everything in my domain. I still get access denied to
    the Library Server Shares.
    Other Notes:
    I do have shares configured for VM / shared storage for hosts. These are working great and appear to be configured completely by SCVMM.
    What are the required permissions? Are they manually setup or controlled by SCVMM? Why does it appear that nobody has had this problem before me on the interwebs? Am I an idiot?

    More Information:
    It would appear that Failover Cluster Manager doesn't immediately change the permissions related to a share. I have manually gone in and set the FULL CONTROL Share and Security permissions for the Everyone Account on the Cluster Volume and the share is now
    working. I do need to lock this down for security purposes so what account/accounts does it need?
    Scratch That:
    I was able to Import a Physical resource but the saving of a VM to the library does not work... 2904 or 2910.
    Anybody?

  • SCVMM 2012 agent install fails on standalone 2008 R2 host

    I am attempting to install SCVMM 2012 agent and getting this error:
    Error (421)
    Agent installation failed on exhpv01.denverwater.org because of a WS-Management configuration error.
    Recommended Action
    Ensure that the Windows Remote Management service is enabled and running on the server exhpv01.denverwater.org. Additionally, in the Local Group Policy Editor (gpedit.msc), navigate to Computer Configuration\Administrative Templates\Windows Components\Windows
    Remote Management (WinRM), and then ensure that there are no policy settings configured for WinRM Client or WinRM Service.
    I have run winrm qc and it shows winrm is configured.  I have verified there is no gpo settings configuring winrm.
    My runas account is a local administrator on the target host.
    I can install the agent local but still cannot add to the SCVMM server.
    Mark

    I am attempting to install SCVMM 2012 agent and getting this error:
    Error (421)
    Agent installation failed on exhpv01.denverwater.org because of a WS-Management configuration error.
    Recommended Action
    Ensure that the Windows Remote Management service is enabled and running on the server exhpv01.denverwater.org. Additionally, in the Local Group Policy Editor (gpedit.msc), navigate to Computer Configuration\Administrative Templates\Windows Components\Windows
    Remote Management (WinRM), and then ensure that there are no policy settings configured for WinRM Client or WinRM Service.
    I have run winrm qc and it shows winrm is configured.  I have verified there is no gpo settings configuring winrm.
    My runas account is a local administrator on the target host.
    I can install the agent local but still cannot add to the SCVMM server.
    Mark

  • SCVMM 2012 SP1 (RTM) Deployment from VMM Console fails.

    Error During a library refresh, or deployment from template - It all fails:
    Error (12710)
    VMM does not have appropriate permissions to access the Windows Remote Management resources on the server (MyServer).
    Unknown error (0x80338105)
    Recommended Action
    1) Ensure that the Windows Remote Management (WS-Management) service is running on the server (myserver).
    2) If the System Center Virtual Machine Manager service on your VMM management server is configured to run by using the machine account, ensure that there is not a group policy that does not allow adding machine accounts to a computer's Administrators group.
    If there is, you can use one of the following workarounds:
      - Disable the group policy in Active Directory Domain Services (AD DS)
      - Modify the group policy to allow the VMM machine account in the Administrators group
      - Move the machine account to its own organizational unit (OU) and block the group policy from being applied
      - Reinstall the VMM management server and choose the option to run the System Center Virtual Machine Manager service by using a domain account, and re-add all of your virtual machines.
    So, as soon as SCVMM 2012 Sp1 was released we decided that it was best to upgrade so we could utilise the new features of Server 2012 as a host.
    The upgrade worked a treat. VM's deployed, Server 2012 worked. Anyway, a few days after deployment we start to see errors relating to WinRM and permissions (See end of the post). After a quick trace around we found some failed services, usually on a host
    but sometimes it seemed to happen on the Library/Management server as well.
    So, our setup is as follows:
    Management/Library server = VMware  VM, Server 2012 standard, 6 GB memory, 4 vCPU's
    Hosts = HP DL360p G7, HP DL360 Gen8 (we have a few of these), Server 2012. We also have a DL380 G7 on Server 2008 R2 Enterprise that fails as well, so it seems the error isn't O/S specific (I'm picking a VMM issue).
    So I have tried many resolutions and now none of them work.
    We have no restrictions on group policy for the local admin, this can be set manually, and works for that matter.
    WinRM is working and the listening port is 5985 (I can see it working and listening via a "netstat -an")
    Also, I have ensured many many times that all of the required services are up and running (SCVMMAgent, VirtualDisk managerment, WinRM) and initially these where at fault and a simple restart of each service (or even a full start from dead) fixed
    it - Now it all fails. Even a library refresh fails. And all while each of the services required are up and running.

    So, I have now tried a reinstall of the management server & made some changes
    1- Changed the service account during the install.
    2 - Added the service account user to the local admins group of each host in question.
    3 - Tried "winrm /qc" .which lets me know its already up and running and configured. Although I must admit, I'm not 100% sure how to use WinRM. From what I can read, this is like an express setup and ensures you are up, running and listening.
    4 - Verified that WinRM is working of the right port (Listening ports dump below)
    5 - Verified that I can connect to each port required for the SCVMM Management server.
    BUT, it seems the error is still there and deployments still fail,
    although the library refreshes correctly now.
    Error (12710)
    VMM does not have appropriate permissions to access the Windows Remote Management resources on the server ( Myserver).
    Unknown error (0x80338105)
    NETSTAT Listening ports dump.
    PS C:\Users\nzadmin> netstat -an
    Active Connections
      Proto  Local Address          Foreign Address        State
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:443            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:1801           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:2103           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:2105           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:2107           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:5985           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8000           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8100           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8101           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8102           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8103           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49170          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49201          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49211          0.0.0.0:0              LISTENING
      TCP    127.0.0.1:57388        0.0.0.0:0              LISTENING
      TCP    172.23.16.69:139       0.0.0.0:0              LISTENING

  • SCVMM 2012 R2 - install fails on creation of resource group

    Hi,
    When I run the installation for SCVMM 2012 R2, I get the error below:
    20200
    Creation of the VMM resource group (%GroupName;) failed.
    Ensure that the group name is valid, and cluster resource or group with the same name does not exist, and the group name is not used in the network.
    Permissions have been granted to AD containers and cluster.  Cluster is online and pinging.  I'm installing as an SCVMM administrator and also tried with Domain Admins.
    Any ideas?  Thanks, Matt.

    The IP address was in use by the cluster.  The IP has to be free (not pingable) and host name must not already exist in AD.  Fixed.

  • Support IBM IVM (Integrated Virtualization Manager) and Njay NAS Storage in SCVMM 2012 R2

    Hello Frenz,
                     Can you someone help me to understand the below Queries,
    Will SCVMM 2012 R2 support following Management
                       01. IBM IVM (Integrated Virtualization Manager)
       02. Njay NAS device
               03. Cisco Router

    VMM has a "datacenter abstraction layer" approach, based on standard-based management. If your storage devices can be managed through SMI-S or SMP, then it is hope. However, the vendor of the device must have a supported provider for you do communicate with
    from VMM.
    The same goes for networking device, and Cisco Nexus v1000 can be added as an extension into the fabric. 
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • Setting Storage Classification on Local Storage (e.g. local SSDs.)

    Hi all, I'm integrating SCVMM 2012 SP1 on Windows Server 2012 R2 Hyper-V with XenDesktop 7. When defining storage resources in XenDesktop, it can see the 'Local Storage' classification from SCVMM and use that for VM placement.
    What this does though, is treat all local disks that have been marked by SCVMM as 'Available for Placement' as that Local Storage. (i.e. in the SCVMM console, view the properties of a Hyper-V host, select 'Available for placement' on specified volumes under
    Hardware and then under Storage view the Storage Classifications on each physical drive.
    Instead, I'd like to be able to treat each physical direct attached drive as a separate location for XenDesktop VM placement. To that end, I've been looking at setting a different storage classification for each physical drive I'm targeting. I assume this
    is the right approach as XenDesktop looks to query SCVMM for the storage classifications to define VM placement.
    When attempting to change a storage classification on a physical drive in the host properties in SCVMM, I receive the following error:
    Virtual Machine Manager
    VMM is unable to process one of the provided parameters for the cmdlet (Set-SCStorageDisk):
    Cannot convert 'System.Object[]' to the type 'Microsoft.SystemCenter.VirtualMachineManager.StorageDisk' required by parameter 'StorageDisk'. Specified method is not supported.
    Try the operation again. If the issue persists, contact Microsoft Help and Support.
    ID: 12416
    OK   
    Directly running the PowerShell code returns the same error (as you would expect).
    $vmHost = Get-SCVMHost -ID "31ddbd43-b14f-42a1-9326-710b45eec45d"
    $storageClassification = Get-SCStorageClassification -Name "Local Drive D" -ID "a818fcbb-3346-49c4-837b-df2be834f7f7"
    $hostDisk = Get-SCStorageDisk -VMHost $vmHost -Name "\\.\PHYSICALDRIVE0"
    Set-SCStorageDisk -StorageDisk $hostDisk -StorageClassification $storageClassification -JobGroup "40edcf09-239e-496e-8dce-84b5eec02bb3" -Verbose
    Set-SCVMHost -VMHost $vmHost -JobGroup "40edcf09-239e-496e-8dce-84b5eec02bb3" -RunAsynchronously -VMPaths "C:\ProgramData\Microsoft\Windows\Hyper-V|D:\" -BaseDiskPaths ""
    Interestingly, if I change $hostDisk to $hostDisk[0], the Set-SCStorageDisk line runs and produces no error, but this does not actually achieve the desired effect.
    Can anyone offer some thoughts or reasons why I would be seeing this? Or am I going about this the wrong way (and thus failing).
    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
    answer your question). This can be beneficial to other community members reading the thread.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
    Twitter:
    @stealthpuppy | Blog:
    stealthpuppy.com |
    The Definitive Guide to Delivering Microsoft Office with App-V

    Moderator Action:
    Your post has been moved to the ASM Installation forum space for better topic alignment.
    You are attempting to install and/or configure ASM  and the forum members that monitor the ASM Installation space will have much more familiarity with whatever you're going to go through..

  • After host crash - cluster no longer working correctly in SCVMM 2012

    Hi
    one of our nodes in our cluster crashed. It came back. All the VMs on this host were running on other hosts so failover worked fine BUT for 2 VMs. One of those 2 VMs is - according to VMM - running on the crashed host. The other VM is - according to VMM
    - running on another host node which did not fail.
    I have a lot of job errors saying that VMM library object virtuals disk is missing of those two VMs. So I looked into the FailoverManager. There I was able to see that the VMs are running on totaly different host nodes then what VMM tells me. In addition
    those VMs work just fine. I connected to both of them over Hpyer-V and they are just fine and the application also work without a problem. Please not those VMs are not shown twice or missing in VMM.
    Live Migration to the Host node that crashed is no longer possible. But when looking into the status on VMM - it tells me that everything is fine. From Hpyer-V Manager I am able to do live migration to this host. But no longer from VMM console.
    I rebooted the host node with no change. I refreshed the host nodes (all) in FailoverManager and in SCVMM, I refreshed the cluster... nothing. So I wanted to remove the cluster from SCVMM and re-add it. Doesn't work... It started with the first host and
    after that my cluster was somewhat broken (I thought that removing cluster - NOT "uncluster" - wouldn't have an effect on the cluster itself - well I was wrong). Anyway I repaired the cluster it is back into VMM but I still have the issues with the VMs. There
    are only warning on the VMM server that the library object (vhd) is missing but on the cluster nodes itself there are no errors.
    Any ideas what I could do. I have no clue what to do about the VM which is supposed to be on this host but in FailoverManager it is on a totally different server. Any ideas?

    Hi,
    version is SCVMM 2012 RC - yes there were errors with live migration but unfortunately I receive so many warning messages now (about missing library objects for vhd files) that the errors from tuesday are already gone. I guess they might be in database ...
    The log files you asked for are from 2011 when the cluster was created - no entries after that.
    No the cluster is not in Maintenance or Pause mode - i checked that. Remove and re-join the cluster with VMM 2012 RC was already tried. As described above: that failed - the first cluster node was removed and after that the job failed in VMM. I found the
    error message quite ironic because it said that "cluster node 1" is no longer reachable. Nooo really... it just had been removed a second before the "remove cluster" job failed. Unfortunately this job played havoc with my cluster. It took me 4 hours to bring
    it back online (mostly VMs).
    The good thing is, my cluster is somewhat working again - meaning after I repaired it and was able to re-add the missing cluster node back into VMM live migration now works both from Hyper-V and from SCVMM. The VERY bad part is that now several more VMs
    are - according to VMM - runing on "cluster node 1" while the Failover Manager says they are runing on "cluster node 2 or 3...". In addition I get many more warning messages. This error is the one I am trying to eleminate. As said I haven't found anything
    which helped me narrow done a solution. Everything I tried so far didn't have any response or - like the cluster - it made things quite bad (temporary). I checked the Event logs on the cluster nodes and VMM itself. Currently there are no error messages there.
    Warning messages in VMM:
    Warning (23234) VM Refresher encountered an error while creating or updating <vm name> with id XXXXX. VMM cannot find VirutalHardDisk object XXX. Ensure the library object is valid, and then try the operation again.
    Warning (10647) The virtual network adapter for the virtual machine <vm name> is connected to a virtual network switch <swtich name> that is not valid.
    Does anyone know how to change the time interval of the "VM Refresher"? I get those warning messages for each VM every 2 min. As there are several VMs affected by now I have several thousend messages each day...

  • Missing Event Viewer VM Manager Log after ugrade from SCVMM 2012 SP1 to R2

    We recently upgraded from SCVMM 2012 SP1 to SCVMM 2012 R2. After the upgrade, I noticed that the VM Manager log, in the Event Viewer, is missing. I've tried to peruse all of the logs to see if it has been moved/renamed, with no luck. I highly doubt an important
    log would be removed without a replacement being available, so I'm curious if it was something that had to be enabled (isn't turned on by default).
     I had scripts which relied on the log for VM status changes, Event ID 821 (shut down/running/etc), to keep a last-used database for all of the VMs on our cloud.
    Has anyone run in to this problem, or have any idea how I can get get the information that was available in the VM Manager log?
    Thank you.

    I have a similar problem when migrating VMs from Windows 2008 R2 (Non Clustered) Hyper-V to Windows 2012 Hyper Cluster. I had previously migrated about 100 VMs like this with no problem. It appears since upgrading from VMM SP1 Rollup 4 to Rollup 5 this problem
    is happening. All Agents are up to date.
    I can migrate VMs in the cluster no problem.
    I removed the Windows 2008 R2 Hyper-V host and added it back which allowed the job to at least start but when it gets to the final steps of importing the VM it fails with the same error and references the VMM server.
    Others suggest this is a VMM Certificate problem and you can remove the Cluster node and add it back again but I can't do that in a production Cluster with hundreds of VMs. That is not an acceptable solution.
    How can we fix this?

  • Unable to install SCVMM 2012 - MSI error 1638

    Hi Folks,
    I am getting an installation error whilst trying to install the new version of SCVMM 2012.  I had an earlier version (2010 I think) install which I removed via Programs and Features (also removed database, share and program directories). 
    When I try and install the new version the log file shows
    Note: 1: 1729
    Product: Microsoft Web Deploy 3.5 -- Configuration failed.
    Windows Installer reconfigured the product. Product Name: Microsoft Web Deploy 3.5. Product Version: 3.1237.1762. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 1638.
    I assume that there are probably some left over registry settings or something, does anyone know how I can clean out the old system properly or fix the issue?
    Regards
    Andy

    Manually uninstall the "Microsoft Web Deploy 3.5" first from the "Programs and Features" works for me.
    hq

Maybe you are looking for