Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all 2770 articles
Browse latest View live

error 20552 - missing permissions

$
0
0

Ok, so no matter what i do, VMM throws error 20552 when i try to perfom actions on VMs. Be it migrate or just a simple refresh.

It says, VMM doesnt have sufficient permissions on the VHDX File of the VMM. Well, I went so far as to grant full control to "everyone" on the entire VM Folder but the issue persists. really not sure how i can grant any more permissions than that.

Ive updated VMM to Rollup 5, same issue. Server is 2016, VMM is 2016.

Ive tried updateing the credentials of any account involved, same issue. Tried a different account for VMM Server Service, same issue.

I set delegetion for every server involved, i tried kerberos and cred ssp. i reset winrm.

I set up a whole new VMM Server, new database and all. Same fucking issue.

Ive tried so many things, im running out of options. I need help.


HPE ProLiant Updates Catalog for System Center

$
0
0

Hello everybody,

Anyone that has experience with HPE ProLiant Updates Catalog for System Center (SCCM/SCVMM) in their enviroment, that wants to share a guide to how this is configured and managed in a daily basis setup?

We have a enviroment containing of 45+ hosts inside the same domain, would be awesome to get this thing working for patching HP SPP bundle. (HPE has just released a new HP SPP btw http://h17007.www1.hpe.com/us/en/enterprise/servers/products/service_pack/spp/index.aspx )

Link to the product.

https://www.hpe.com/us/en/product-catalog/detail/pip.hpe-proliant-updates-catalog-for-system-center.3891444.html

Cheers!


MS Update Compliance Status Issue

$
0
0

I have come across something and I am not sure what to do with it at this point. I am running SCVMM 2016 version 4.0.2314.0 and I am running into an issue with my 14 2012 R2 Core servers.  I package the updates through SCVMM on a quarterly basis, so I have 2018 Q3, 2018 Q2, etc.  I ran a compliance scan on all of these hosts and 6 show as non-compliant while the others show as compliant.  This doesn't make sense because they should all be non-compliant for the updates that were released in September.

I have other 2016 hosts and those worked without an issue.  These have worked in the past without an issue.  I tried to do a rescan and they still show compliant.  I verified that the baseline is deployed to all of these servers.  I haven't tried rebooting the server that is an issue yet because these handle small remote sites and therefore are not in any form of HA. I plan on rebooting tonight.

Anyone else experience this issue or have any suggestions on what to try?  Any assistance in appreciated.

List all vhd/vhdx in SCVMM 2016

$
0
0

Hi! 

I've seen a few posts about this issue, but none works for me.. 

I have a SCVMM 2016 with 3 differents Clusters in it (cluster1, cluster2, cluster3), i would like to achieve the following:

- List all the vhdx and vhd with full path of a specific cluster like cluster1

- List all the vm's vhdx and vhd across the different clusters with full path too.

The "best" result i could achieve was from a post: https://social.technet.microsoft.com/Forums/en-US/8696598e-dbf6-4a47-9873-a490ecf0f737/get-storage-drives-info-for-all-vms-in-a-given-cluster?forum=winserverhyperv

Some results were ok, but others gave me "permission denied" (cannot understand why, the permissions are the same in the different vhd/vhdx files)

Result OK:

Name      : myserver01
Free(GB)  : 34
Path      : \\nas.domain.com\vms\myvm01\myvm01.vhdx
Type      : Dynamic
Used(GB)  : 26
Total(GB) : 60

Result Failed:

Get-VHD : Getting the mounted storage instance for the path '\\nas\vms\myvm02\Virtual Hard Disks\myvm.vhdx' failed.
You do not have permission to perform the operation. Contact your administrator if you believe you should have permission to perform this operation.
At line:14 char:15
+ ...       $VHDs=Get-VHD $vm.harddrives.path -ComputerName $vm.computernam ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (:) [Get-VHD], VirtualizationException
    + FullyQualifiedErrorId : AccessDenied,Microsoft.Vhd.PowerShell.Cmdlets.GetVHD

Any ideas? Thanks!





Create Template

$
0
0

I've been trying to create a 2012 template using SCVMM 2012 R2, at the end of the creation I got the error message:

an internal error has occurred trying to contact the server no_param no_param

Check that WS-Management service is installed and running on server Server01.

anyone has this issue before or can help, I will greatly appreciate.

Thanks


FD

Fail to add admin User for AzurePack

$
0
0

When I try to add admin user use powershell command Get-MgmtSvcAdminUser, I got bad result:

Get-MgmtSvcAdminUser : 未能使用提供程序“RsaProtectedConfigurationProvider”进行解密。提供程序返回错误消息为: 未能打开
RSA 密钥容器。 (C:\inetpub\MgmtSvc-AdminAPI\web.config line 67)
所在位置 行:1 字符: 1
+ Get-MgmtSvcAdminUser
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-MgmtSvcAdminUser], ConfigurationErrorsException
    + FullyQualifiedErrorId : System.Configuration.ConfigurationErrorsException,Microsoft.WindowsAzure.Config.PowerShe
   ll.GetAdminUser

translate it to English: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened.


...

Highly available VMM vs standard

$
0
0

Hi everyone,

I am trying to understand the difference between a highly available VMM and a standard VMM.  I come from a Vmware background, would highly available VMM be something similar to Vmware vCenter HA?  Keep in my, while VMware HA is extremely commonly used, Vmware vCenter HA is not nearly as popular.  If that's what I'm losing by not storing my keys in AD then I can live without it.

Could someone tell me the use case for Highly Available VMM?

SCVMM 2012 R2 - Error 2912

$
0
0
Hello,

Im having some issue deploying, and capturing VM Templates at my SCVMM 2012 R2 setup.
When deploying a VM template, SCVMM deploys the VM nice and smooth but when the Hyper-V Host is supposed to start up the virtual machine, and complete the configuration (VM Name, domain,etc...) it fails with at error code 2912.

This also happens when im creating a "VM Clone", the SCVMM completes the "local" tasks (deploy harddrive, nic, etc) - but when its supposed to start the virtual machine and sysprep it, it fails with the same error code 2912.

The problem appears to have started, when i upgraded to Update Rollup 8.

But both the VMM server, and the agents on the Hyper-V Servers where also updated in the process - so this shouldnt matter or???

I have checked almost every post regarding error 2912, and all the solutions on other forums dosent seem to work.

Also i have tested with Windows Firewall set to disabled for both the VMM, and the Hyper-V server - and checked eventviewer for errors...

I really hope someone, will try to help me out - because this is really ignoring, and i cant seem to find whats going wrong :)

Thanks in advance!


Datatechnician


Use Hardware Topology - Powershell?

Set Vlan ID

$
0
0

Hi,

I´ve a template to create vm´s and looking for a cmdlet to set Vlan ID.

Template looks like this,

New-SCVirtualMachine -Name Testvm2 -Path C:\ClusterStorage\Volume12 -VMHost hyper-vhost -VMTemplate Win16Std_2018_10 -ComputerName Testvm2 -CPUCount 4 -MemoryMB 6144

/Janne

Set IP address, gateway and DNS

$
0
0

Hi,
Looking for a way to set IP, Gateway and DNS with SC Powershell on a VM.
Anyone knows a way to do that?

/Janne

Install VM using Unatteded File

$
0
0

Hello,

Can someone provide a good Step by Step configuration in order to install VM using Unattended installation file? ( SCVMM 2016)

Or can someone tell me what i am missing form the fallowing steps:

1) Go to VM Templates

2) Use an existing VM template or a virtual disk stored in the library ( Select: Blank Disk -Snall.vhdx)

3) VM Template Identity: Select Generation 2

4) Hardware Configuration: Add Virtual DVD iso image ; Disable Secure Boot Enable

5)Configure Operating System 
        - I have created an answer file and added it to the Scripts> Answer File  ( if you have a good example please provide because i am not sure if it is working correctly what i created. Please provide a tested one because i took from internet more but they Windows System Image Manager is failing on loading them)

6) I have tried to deploy the VM using the template but the VM does not get deployed. I need to reset it because it is trying to boot from the network and after that it reaches the screen to select the language even tough i have added it in the Answer File)

Thank you,

Error after installing VMM 2016 UR6

$
0
0

Hi,

After installing VMM 2016 UR6, we encountered the following problem:

The first of the hosts in VMM 2016 after updating receives SMBIOS 00000000-0000-0000-0000-000000000000.

The following cluster nodes cannot refresh, an error occurs:

Error (21201)
SMBIOS GUID is found.

The VMM is also trying to assign them SMBIOS 00000000-0000-0000-0000-000000000000.

It resets the SMBIOS value to 00000000-0000-0000-0000-000000000000 in the table [dbo].[tbl_PMM_PhysicalMachine]

SMBIOS values on hosts in the registry HKLM:\System\HardwareConfig and in the table [dbo].[tbl_PMM_PhysicalMachine] are unique.

Re-adding hosts from VMM does not solve the problem.

How to set static ipv4 for linux in SCVMM 2012R2 by Powershell

$
0
0

How to set static ipv4 for rhel-server-6.5-x86_64-dvd.iso by powershell ?  

environment info:

Hyper-V - Win 2012 R2

VMM - SCVMM 2012 R2

use below link ,Windows os set static ipv4 sucess,but linux not sucess.

https://charbelnemnom.com/2016/03/how-to-switch-a-vm-from-dynamic-ip-to-static-ip-pool-in-virtual-machine-manager-vmm-scvmm-sysctr-hyperv/

Export-SCTemplate -IncludeAllLibraryResources

$
0
0

How can I successfully export library resources along with a VMM Template?

I am using this command:

    Export-SCTemplate -Name 'FOO' -IncludeAllLibraryResource -SettingsIncludePrivate -Overwrite -Path "C:\TEMP\FOO"

The result I get is:

Exporting from the console doesn't export the library resources (e.g. referenced VHDs).

How can I get this to work???


How to set static ipv4 for linux vm in SCVMM 2012R2 by Powershell?

$
0
0

How to set static ipv4 for rhel-server-6.5-x86_64 vm by powershell ?  

environment info:

Hyper-V - Win 2012 R2

VMM - SCVMM 2012 R2

use below link ,Windows vm set static ipv4 sucess,but linux vm not sucess.

https://charbelnemnom.com/2016/03/how-to-switch-a-vm-from-dynamic-ip-to-static-ip-pool-in-virtual-machine-manager-vmm-scvmm-sysctr-hyperv/

Here is a case, but I don't know how to configure:

https://social.technet.microsoft.com/Forums/systemcenter/en-US/346ee0e3-3e08-42b4-b160-02ad55ee1994/static-ip-assignment-to-linux-vm?forum=virtualmachinemanager#f4c6f0ef-ef95-4708-8682-352aec32647f

VMM ui crash when creating a new vm..

$
0
0

 Hi , 

 i did have some problem with my scvmm 2012 sp1 . The vmm ui will stop working whenever i want to create a new virtual machine using a vmm console. 

I did found a few method but seem it does not work well woth my problem. 

Appreciate if anyone have a solution this matter 

regards, 

Munir


Munir Tajudin

SCVMM Standard CU2 2016 - Cluster Crash and unable to delete a host not belonging to the cluster

$
0
0

I have written before about this product.

My setup was, 3 hosts in a cluster, and 4 standalone host all connected on the same subnet with one SCVMM2016 Standard CU2 to manage them all.

Yesterday I deleted 3 standalone without any issue, the 4 fourth troughs me a lot of errors and when I look at the bucket error , I get the following group of errors.(the forum makes this smaller, not me)


The fourth server produces a lot of errors, 

Warning (25354)
Cluster node Server35.fqdn(IT IS NOT PART OF THE CLUSTER, IT WAS ONLY ADDED BECAUSE THERE WAS ZERO OTHER OPTIONS TO MOVE THE VM FROM STANDALONE TO THE CLUSTER)

Recommended Action
Add the pending cluster node under VMM management(NO IT DOES NOT BELONG TO THE CLUSTER).

Error (2927) (PLEASE ALLOW ME TO DELETE THIS SERVER)
A Hardware Management error has occurred trying to contact server 'Server35.FQDN' :n:CannotProcessFilter :HRESULT 0x8033801a:No instance found with given property values. .

WinRM: URL: [http://SERVER35:5985], Verb: [INVOKE], Method: [GetVersion], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AgentManagement]

Unknown error (0x8033801a) (Please allow me to delete the host, please provide this option for me SCVMM2016, a force delete, just as you have in Active Directory when a Domain Host cannot uninstall AD correctly)

Recommended Action
Check that WinRM is installed and running on server 'SERVER35.FQDN'. For more information use the command "winrm helpmsg hresult" and http://support.microsoft.com/kb/2742275.

WinRM is saying it is okay on SERVER35

Error (20413)
VMM encountered a critical exception and created an exception report at C:\ProgramData\VMMLogs\SCVMM.9d2f8e81-2d93-4738-b818-9af845ff80fe\report.txt.

Recommended Action
See the report for exception type, exception message, stack trace and other relevant details. Also check the Windows Event Log for additional troubleshooting information.


Error report created 14-02-2017 09:38:40
CLR is not terminating

----------------------------------------------------
------------ exceptionObject.ToString() ------------
----------------------------------------------------
Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again. ---> System.Data.SqlClient.SqlException: The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "FK_tbl_WLC_VHD_VHD". The conflict occurred
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
   --- End of inner exception stack trace ---
   at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
   at Microsoft.VirtualManager.DB.SqlContext.ExecuteNonQuerySP(String spName, Action`1 parameterAdder, Action`2 afterExecutionAction)
   at Microsoft.VirtualManager.DB.VmmDbTransaction.Microsoft.VirtualManager.DB.IVmmDbTransaction.ExecuteSP(String spName, Action`1 parameterAdder)
   at Microsoft.VirtualManager.DB.ImageLibrary.VHDDBAccess.Remove(Guid vhdId, IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VHD.RemoveFromDB(IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VHD.RemoveFromDBForHostRemove(IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveGuestAgentsFromHostSubtask.<>c__DisplayClass9.<RunSubtask>b__4(IVmmDbTransaction _tx)
   at Microsoft.VirtualManager.DB.SqlContext.Transact(CallSite callSite, String connectionString, WindowsIdentity identity, Action`1 action)
   at Microsoft.VirtualManager.DB.TransactableDbContext.Microsoft.VirtualManager.DB.IVmmDbConnection.Transact(Action`1 action)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveGuestAgentsFromHostSubtask.RunSubtask(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveHostTask.RunSubtask(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
*** Carmine error was: DatabaseFailure (2605); SQLServer; 547
[s#1a6cee] ExecuteNonQuery(this: (SqlRetryCommand#[cdf3c]) { cmd = (SqlCommand#7f8c54) System.Data.SqlClient.SqlCommand, errorTitle = (string) "errorTitle", sqlContext = (SqlContext#[1e910]) { [rw] RemoveGuestAgentsFromHostSubtask.RunSubtasktx = (SqlTransaction#32628bc) System.Data.SqlClient.SqlTransaction, currentTxRecord = (SqlTransactionRecord#[7ba9]), constructionIdentity = (WindowsIdentity#11dbe72) System.Security.Principal.WindowsIdentity commandList: { n=2 { tx:(SqlTransactionRecord#[7ba9]) Q:"dbo.prc_WLC_GetVHDById(VHDId=8b5d0f5d-e477-413e-a998-17a1a8ca2016)", @14-02-2017 09:38:40 }, { tx:(SqlTransactionRecord#[7ba9]) NQ:"dbo.prc_WLC_RemoveVHD(VHDId=8b5d0f5d-e477-413e-a998-17a1a8ca2016)", @14-02-2017 09:38:40 } } txRecordList: { n=1  { tx#31657 RemoveGuestAgentsFromHostSubtask.RunSubtask() +00:00:00.0047773 ReadCommitted commands: { n=2 { tx:(SqlTransactionRecord#[7ba9]) Q:"dbo.prc_WLC_GetVHDById(VHDId=8b5d0f5d-e477-413e-a998-17a1a8ca2016)", @14-02-2017 09:38:40 }, { tx:(SqlTransactionRecord#[7ba9]) NQ:"dbo.prc_WLC_RemoveVHD(VHDId=8b5d0f5d-e477-413e-a998-17a1a8ca2016)", @14-02-2017 09:38:40 } } } } , conn = (SqlConnection#3246232) { State: Open Database: VirtualManagerDB DataSource: SERVER99\HYPERV PacketSize: 8000 ServerVersion: 13.00.1722 StatisticsEnabled: False WorkstationId: Server99 } }, behavior = Default, failFast = (bool) False })
[s#1a6ced] VHD.RemoveFromDB(this: (VHDX#[14e80]) { objLock = (CarmineObjectLock#[a78c]) { lockType = Delete, objectID = 8b5d0f5d-e477-413e-a998-17a1a8ca2016, objectType = VirtualHardDisk, taskID = 5d7b4b4d-d67b-4ee4-b64b-eca4a345553f }, data = (VHDData#[bb42c]) { id = 8b5d0f5d-e477-413e-a998-17a1a8ca2016, LastUpdatedTimestamp = 12-02-2017 22:18:36, objectType = VirtualHardDisk, ObjectState = 0, name = "Server37_5E525B89-9064-4A49-AA0F-34015693A5AC", Enabled = True, Accessibility = Internal, description = "auto-discovered", CreationTime = 16-01-2017 14:21:19, modifiedTime = 12-02-2017 22:18:36, GrantedToList = ∅, vmHostId = 76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, hostType = None, Location = "D:\HyberV_VM\Server37_5E525B89-9064-4A49-AA0F-34015693A5AC.avhdx", HostVolumeId = 9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96, objectSize = 1492123648, srcObjectId = 00000000-0000-0000-0000-000000000000, srcObjectType = VirtualHardDisk }, originalContent = (VHDData#[bb42d]) { id = 8b5d0f5d-e477-413e-a998-17a1a8ca2016, LastUpdatedTimestamp = 12-02-2017 22:18:36, objectType = VirtualHardDisk, ObjectState = 0, name = "Server37_5E525B89-9064-4A49-AA0F-34015693A5AC", Enabled = True, Accessibility = Internal, description = "auto-discovered", CreationTime = 16-01-2017 14:21:19, modifiedTime = 12-02-2017 22:18:36, GrantedToList = ∅, vmHostId = 76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, hostType = None, Location = "D:\HyberV_VM\Server37_5E525B89-9064-4A49-AA0F-34015693A5AC.avhdx", HostVolumeId = 9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96, objectSize = 1492123648, srcObjectId = 00000000-0000-0000-0000-000000000000, srcObjectType = VirtualHardDisk }, pendingChildAdditions = ∅, isNewObject = False, host = (Host#[14e6e]) { objLock = (CarmineObjectLock#[a783]) { lockType = Delete, objectID = 76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, objectType = VMHost, taskID = 5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, IsInTaskCache = (bool) True }, credential = (SecureCredential#[1f2c]) { user = "hypervraa", domain = "fqdn", password = "<password omitted from trace>", encrypted = False }, data = (HostData#[bb3b5]) { id = 76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, LastUpdatedTimestamp = 14-02-2017 08:38:02, Flags = AvailableForPlacement, HostGroupID = 9db34b98-02c3-44e6-8470-b807682ce203, AgentServerID = 09b94958-3298-47ea-831c-6d73bc4c81d9, OverrideHostGroupReserves = False, NumaSpanningEnabled = True, CPUPercentageReserve = 10, NetworkPercentageReserve = 0, DiskSpaceReserveMB = 10240, MaxDiskIOReservation = 10000, MemoryReserveMB = 2048, VhdPaths = (String[][0]#3a72623) { }, VMRCEnabled = True, VMRCPort = 2179, SecureVMRCEnabled = False, VMRCCertificateAvailable = False, VirtualizationPlatformScheme = "viridian://Server35.fqdn", SupportsLiveMigration = True, EnableLiveMigration = True, LiveMigrationMaximum = 2, LiveStorageMigrationMaximum = 2, UseAnyMigrationSubnet = False, MigrationSubnet = (String[][0]#1e884f0) { }, MigrationSubnetUserManaged = (Boolean[][0]#15cd791) { }, MigrationAuthProtocol = CredSSP, VirtualServerState = Running, VirtualServerVersion = (Version#603807c9) 6.3.9600.18377, VirtualServerVersionState = UpToDate, IsDMZHost = False, UseCACert = False, IsNonTrustedDomainHost = False, UserName = "", Password = "<password omitted>", LogicalProcessorCount = 24, PhysicalProcessorCount = 2, CoresPerProcessor = 12, L2CacheSize = 1536, L3CacheSize = 15360, BusSpeed = 100, ProcessorSpeed = 1995, ProcessorModel = "Xeon", ProcessorManufacturer = "Intel", ProcessorArchitecture = 9, ProcessorStepping = "179", TotalMemory = 68636917760, OperatingSystemName = "Microsoft Hyper-V Server 2012 R2 ", OperatingSystemVersion = (Version#60380fff) 6.3.9600, OpticalDrives = "E:;", IsoRWRepositoryAvailableBytes = 0, CpuUtilization = 6, AvailableMemory = 60168, Custom = (String[][9]#2997716) { (null), (null), (null), (null), (null), (null), (null), (null), (null) }, MaximumMemoryPerVM = 1048576, MinimumMemoryPerVM = 32, SuggestedMaximumMemoryPerVM = 512, IMAPIInstalled = False, AvailableMemoryTierredPerfCounterID = b9f6757c-0965-4834-86f7-7aca6f05e3a8, CpuTieredPerfCounterID = b9a3c28b-8ab6-43d9-948e-a1e22ba50454, ClusterNodeStatus = ClusterNodeStateUnknown, SecureMode = True, SslTcpPort = 5985, SslCertificateImportedByVMM = False, SshTcpPort = 0, IsRemoteFXRoleInstalled = False, IsCPUSLAT = True, TimeZone = (Int32?) 60 (0x3c), HostVolumeIDs = (List`1<Guid>#e1aa8e) { n: 2 962883e9-9aaf-49a7-9988-3308aa11a362, 9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96 }, HostDiskIDs = (List`1<Guid>#256e709) { n: 3 63b6a56b-01d4-4ce8-87b5-90a801a10e30, 4d9a5fbf-96d9-4be6-945a-ef3add3fef1d, 053bf4ba-be66-4b8d-8094-f64f66f63c07 }, StorageFileShareIDs = ∅, HostGPUIDs = ∅, InstalledVirtualSwitchExtensionIDs = (List`1<Guid>#2d5731) { n: 3[4] ae9ede92-9cbf-42ba-8d39-6a4a40ba144d, 254c28ae-6fe1-41b5-bc19-b777de44d3a4, 2510a9b6-b4b3-4058-93e9-d38c87ee0831 }, HostFibreChannelHbaIDs = ∅, HostSASHbaIDs = ∅, HostInternetSCSIHbaIDs = ∅, PhysicalMachineID = 4765543f-54be-416d-8073-4e59d7e26963, OobType = None, IsPowerOptimizationControlled = False, RunAsAccountID = 1daa42f2-6a8b-42af-bdc0-fb79d7b4c047, CustomPropertyIDs = ∅, HealthMonitorIDs = (List`1<Guid>#3123ae3) { n: 10 cf44fc85-300f-4612-9cb8-2e5f8ac1b151, 6f3a183f-f520-4126-ac10-32b0709ab60b, 81e771ec-7f54-42c0-ba58-384423f67fbc, 7eaf40f0-b33b-409b-bb14-3cc8e20d02f7, 0b3e14e4-cdb9-490b-b2b8-54b6958e0fb9, b2128b34-96ee-4a06-8bbf-766c02cb4b61, 8fcc841b-34be-4be6-87c8-856aef1ec040, fd93fc7e-aff7-4fc0-b0a6-8c903d4cf2bc, 3b855827-39ee-44c0-8def-9a3d24fac775, 2833240c-e469-45ec-a4f7-aae325c019e2 } }, server = (RemoteServer#305c24e) Microsoft.VirtualManager.DB.Adhc.RemoteServer, agentVersionState = (VersionState) { UpToDate } }, needToReleaseCloudLock = (bool) False, needToReleaseHostOrLibLock = (bool) False, differencingDiskParentChanged = (bool) False }, tx: (VmmDbTransaction#[a27c]) { startTime: (DateTime#4afe4a3d) 14-02-2017 09:38:40 sqlContext: (SqlContext#[1e910]) }) in s:\btvsts\3125\private\product\engine\ImgLibEngine\VHD.cs:line 1034
[s#1a6cec] VHD.RemoveFromDBForHostRemove(this: (VHDX#[14e80]) {  }, tx: (VmmDbTransaction#[a27c]))
[s#1a6ce1] RemoveGuestAgentsFromHostSubtask.RunSubtask(this: (RemoveGuestAgentsFromHostSubtask#[bb3a8]) { subtaskId = 639e6281-270a-4da2-a984-092498884560, description = (SubtaskDescription#102f00) Remove guest agents from virtual machine host, children = (NotifyList`1<ISubtask>#1de391f) Microsoft.VirtualManager.Utils.NotifyList`1[Microsoft.VirtualManager.Engine.ISubtask], taskContext = (TaskContext#5034a4) Microsoft.VirtualManager.Engine.TaskRepository.TaskContext, parentSubtask = (RemoveHostTask#[bb3a0]) { subtaskId = f390a89f-725e-4180-b085-194268555980, description = (SubtaskDescription#2b9a09d) Remove virtual machine host, children = (NotifyList`1<ISubtask>#27e44fd) Microsoft.VirtualManager.Utils.NotifyList`1[Microsoft.VirtualManager.Engine.ISubtask], taskContext = (TaskContext#5034a4) Microsoft.VirtualManager.Engine.TaskRepository.TaskContext, isInitialized = True, isTopLevelSubtask = True, shouldSkipCompletedSubtasksOnRestart = False, state = Running, clientTraceProvider = (TraceProvider#31a8031) Microsoft.VirtualManager.Trace.TraceProvider, authData = (TaskAuthorizationData#faa33a) Microsoft.VirtualManager.Engine.TaskAuthorizationData }, isInitialized = True, isTopLevelSubtask = False, shouldSkipCompletedSubtasksOnRestart = False, state = Running, clientTraceProvider = (TraceProvider#31a8031) Microsoft.VirtualManager.Trace.TraceProvider }, dbConnection: (TransactableDbContext#[236a1]) { constructionCallSite = (CallSite) { SqlContext.Connect }, sqlContext = (SqlContext#[1e8ff]) { [rw] SqlContext.ConnectconstructionIdentity = (WindowsIdentity#3823de5) System.Security.Principal.WindowsIdentity commandList: { n=93 { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, @ObjectType=VMHost, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_Host_Get(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HealthMonitor_GetAllIDsByAgent(@AgentServerID=09b94958-3298-47ea-831c-6d73bc4c81d9)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostVolume_GetIDsByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostDisk_GetIDsByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_StorageFileShareAssociation_GetShareIDsByServerIDAndType(@ServerID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, @ServerType=VMHost)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_GetHostFibreChannelHbaByHostID(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_GetHostSASHbaByHostID(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_GetHostInternetSCSIHbaByHostID(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostGPU_GetByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_NetMan_InstalledVirtualSwitchExtension_GetByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_GetHostFibreChannelVirtualSANByHostId(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_RBS_GetRunAsAccountConsumer(RunAsAccountID=, ObjectID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_RBS_GetRunAsAccountById(RunAsAccountID=1daa42f2-6a8b-42af-bdc0-fb79d7b4c047)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_RBS_UserRoleSharedObjectRelation_GetSharedListForObject(ObjectID=1daa42f2-6a8b-42af-bdc0-fb79d7b4c047)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostVolume_GetByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=962883e9-9aaf-49a7-9988-3308aa11a362, @ObjectType=VMHostVolume, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostVolume_Get(@VolumeID=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetStorageFileShareIdsByAssociatedVolumeID(@AssociatedVolumeID=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetReplicationGroupIdByVolumeId(VolumeId=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_DR_GetVolumeSynchronizedByVolumeId(VolumeId=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:34 }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96, @ObjectType=VMHostVolume, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostVolume_Get(@VolumeID=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetStorageFileShareIdsByAssociatedVolumeID(@AssociatedVolumeID=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetReplicationGroupIdByVolumeId(VolumeId=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_DR_GetVolumeSynchronizedByVolumeId(VolumeId=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostDisk_GetByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 [+00:00:00.0156496] }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=63b6a56b-01d4-4ce8-87b5-90a801a10e30, @ObjectType=VMHostDisk, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostDisk_Get(@DiskID=63b6a56b-01d4-4ce8-87b5-90a801a10e30)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostVolume_GetByHostDiskID(@HostDiskID=63b6a56b-01d4-4ce8-87b5-90a801a10e30)", @14-02-2017 09:38:34 }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=4d9a5fbf-96d9-4be6-945a-ef3add3fef1d, @ObjectType=VMHostDisk, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostDisk_Get(@DiskID=4d9a5fbf-96d9-4be6-945a-ef3add3fef1d)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostVolume_GetByHostDiskID(@HostDiskID=4d9a5fbf-96d9-4be6-945a-ef3add3fef1d)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetStorageFileShareIdsByAssociatedVolumeID(@AssociatedVolumeID=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetReplicationGroupIdByVolumeId(VolumeId=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_DR_GetVolumeSynchronizedByVolumeId(VolumeId=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:34 }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=053bf4ba-be66-4b8d-8094-f64f66f63c07, @ObjectType=VMHostDisk, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostDisk_Get(@DiskID=053bf4ba-be66-4b8d-8094-f64f66f63c07)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_HostVolume_GetByHostDiskID(@HostDiskID=053bf4ba-be66-4b8d-8094-f64f66f63c07)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetStorageFileShareIdsByAssociatedVolumeID(@AssociatedVolumeID=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ST_GetReplicationGroupIdByVolumeId(VolumeId=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_DR_GetVolumeSynchronizedByVolumeId(VolumeId=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_GetHostFibreChannelHbaByHostID(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_WLC_GetDRProtectedVMIdsByHost(HostId=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_TR_Task_GetTaskWithSubtasks(@TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_TR_Task_GetUserRolesForTask(ObjectID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_AgentServer_Get(@AgentServerID=09b94958-3298-47ea-831c-6d73bc4c81d9)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetByAgent(@AgentServerID=09b94958-3298-47ea-831c-6d73bc4c81d9)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_AgentServer_Get(@AgentServerID=09b94958-3298-47ea-831c-6d73bc4c81d9)", @14-02-2017 09:38:34 }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=09b94958-3298-47ea-831c-6d73bc4c81d9, @ObjectType=AgentServer, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetByAgent(@AgentServerID=09b94958-3298-47ea-831c-6d73bc4c81d9)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_UM_GetAllUpdateServers()", @14-02-2017 09:38:34 }, { Q:"dbo.prc_TR_Task_GetTaskWithSubtasks(@TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_TR_Task_GetUserRolesForTask(ObjectID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f)", @14-02-2017 09:38:34 }, { Q:"dbo.prc_TR_Task_GetTaskWithSubtasks(@TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_TR_Task_GetUserRolesForTask(ObjectID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f)", @14-02-2017 09:38:39 }, { NQ:"dbo.prc_VMM_ReleaseLock(@ObjectID=09b94958-3298-47ea-831c-6d73bc4c81d9, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @LockType=Delete)", @14-02-2017 09:38:39 [+00:00:00.0156254] }, { Q:"dbo.prc_BTBS_HostGroup_GetByID(@ID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_BTBS_HostGroup_GetChildGroupIDs(@ID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_Host_GetByGroupID(@HostGroupID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_Host_GetByComputerName(@ComputerName=Server35.fqdn)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_HostVolume_GetIDsByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_HostDisk_GetIDsByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ST_StorageFileShareAssociation_GetShareIDsByServerIDAndType(@ServerID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, @ServerType=VMHost)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_GetHostFibreChannelHbaByHostID(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_GetHostSASHbaByHostID(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_GetHostInternetSCSIHbaByHostID(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_HostGPU_GetByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_NetMan_InstalledVirtualSwitchExtension_GetByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_GetHostFibreChannelVirtualSANByHostId(HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_RBS_GetRunAsAccountConsumer(RunAsAccountID=, ObjectID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_RBS_GetRunAsAccountById(RunAsAccountID=1daa42f2-6a8b-42af-bdc0-fb79d7b4c047)", @14-02-2017 09:38:39 [+00:00:00.0156241] }, { Q:"dbo.prc_RBS_UserRoleSharedObjectRelation_GetSharedListForObject(ObjectID=1daa42f2-6a8b-42af-bdc0-fb79d7b4c047)", @14-02-2017 09:38:39 }, { Q:"dbo.prc_ADHC_HostDisk_GetByHost(@HostID=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_ADHC_HostVolume_GetByHostDiskID(@HostDiskID=63b6a56b-01d4-4ce8-87b5-90a801a10e30)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_ADHC_HostVolume_GetByHostDiskID(@HostDiskID=4d9a5fbf-96d9-4be6-945a-ef3add3fef1d)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_ST_GetStorageFileShareIdsByAssociatedVolumeID(@AssociatedVolumeID=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_ST_GetReplicationGroupIdByVolumeId(VolumeId=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_DR_GetVolumeSynchronizedByVolumeId(VolumeId=962883e9-9aaf-49a7-9988-3308aa11a362)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_ADHC_HostVolume_GetByHostDiskID(@HostDiskID=053bf4ba-be66-4b8d-8094-f64f66f63c07)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_ST_GetStorageFileShareIdsByAssociatedVolumeID(@AssociatedVolumeID=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:40 [+00:00:00.0155805] }, { Q:"dbo.prc_ST_GetReplicationGroupIdByVolumeId(VolumeId=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_DR_GetVolumeSynchronizedByVolumeId(VolumeId=9c9ce20d-9ac6-4c1d-ac98-5a5c56d9da96)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_BTBS_HostGroup_GetByID(@ID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_BTBS_HostGroup_GetChildGroupIDs(@ID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_ADHC_Host_GetByGroupID(@HostGroupID=9db34b98-02c3-44e6-8470-b807682ce203)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_WLC_GetVMObjectIdByHostId(HostId=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, ObjectType=VM)", @14-02-2017 09:38:40 }, { Q:"dbo.prc_WLC_GetPhysicalObjectIdByTypeHostId(HostId=76ffbcab-c3e3-4ab2-b9ca-7e3a95f586f3, ObjectType=VirtualHardDisk)", @14-02-2017 09:38:40 }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=8b5d0f5d-e477-413e-a998-17a1a8ca2016, @ObjectType=VirtualHardDisk, @TaskID=5d7b4b4d-d67b-4ee4-b64b-eca4a345553f, @ReqLockType=Delete)", @14-02-2017 09:38:40 } } , conn = (SqlConnection#178664f) { State: Open Database: VirtualManagerDB DataSource: Server99\HYPERV PacketSize: 8000 ServerVersion: 13.00.1722 StatisticsEnabled: False WorkstationId: Server99 } }, constructionIdentity = (WindowsIdentity#2d1ebed) System.Security.Principal.WindowsIdentity }) in s:\btvsts\3125\private\product\engine\ADHC\Operations\RemoveHostSubtask.cs:line 460
[s#1a6ba6] Task`1.SubtaskRun(this: (Task`1<RemoveHostTask>#[11]) { TBD }, TaskID: (guid) 5d7b4b4d-d67b-4ee4-b64b-eca4a345553f)
[s#199c03] RefreshDriver`1.RefreshThreadFunction(this: (RefreshDriver`1<ProMomAlertReference>#[1]) { tbd }, obj: (WaitCallbackState<ProMomAlertReference>#18ade09) Microsoft.VirtualManager.Engine.RefreshDriver`1+WaitCallbackState[Microsoft.VirtualManager.Engine.MOMDataAccessLayer.ProMomAlertReference]) in s:\btvsts\3125\private\product\engine\Common\RefreshDriver.cs:line 566
Full call stack from when the exception was thrown:   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
   at Microsoft.VirtualManager.DB.SqlContext.ExecuteNonQuerySP(String spName, Action`1 parameterAdder, Action`2 afterExecutionAction)
   at Microsoft.VirtualManager.DB.VmmDbTransaction.Microsoft.VirtualManager.DB.IVmmDbTransaction.ExecuteSP(String spName, Action`1 parameterAdder)
   at Microsoft.VirtualManager.DB.ImageLibrary.VHDDBAccess.Remove(Guid vhdId, IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VHD.RemoveFromDB(IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VHD.RemoveFromDBForHostRemove(IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveGuestAgentsFromHostSubtask.<>c__DisplayClass9.<RunSubtask>b__4(IVmmDbTransaction _tx)
   at Microsoft.VirtualManager.DB.SqlContext.Transact(CallSite callSite, String connectionString, WindowsIdentity identity, Action`1 action)
   at Microsoft.VirtualManager.DB.TransactableDbContext.Microsoft.VirtualManager.DB.IVmmDbConnection.Transact(Action`1 action)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveGuestAgentsFromHostSubtask.RunSubtask(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveHostTask.RunSubtask(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
--- SqlException details -----------------
System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "FK_tbl_WLC_VHD_VHD". The conflict occurred
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
ClientConnectionId:3ebba05f-c839-4aa3-bdb9-93b2bb73fcdd
Error Number:547,State:0,Class:16
 Error = 547
Index #0
Source: .Net SqlClient Data Provider
Number: 547
State: 0
Class: 16
Server: Server99\HYPERV
Message: The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "FK_tbl_WLC_VHD_VHD". The conflict occurred
Procedure: prc_WLC_RemoveVHD
Line: 16
Index #1
Source: .Net SqlClient Data Provider
Number: 3621
State: 0
Class: 0
Server: SERVER99\HYPERV
Message: The statement has been terminated.
Procedure: prc_WLC_RemoveVHD
Line: 16
--- Caller StackTrace -----------------
FileName:; Method:ExecuteNonQuery(); lineNo:0; ilOffset:171.
FileName:; Method:ExecuteNonQuerySP(); lineNo:0; ilOffset:25.
FileName:; Method:Microsoft.VirtualManager.DB.IVmmDbTransaction.ExecuteSP(); lineNo:0; ilOffset:6.
FileName:; Method:Remove(); lineNo:0; ilOffset:17.
FileName:; Method:RemoveFromDB(); lineNo:0; ilOffset:72.
FileName:; Method:RemoveFromDBForHostRemove(); lineNo:0; ilOffset:73.
FileName:; Method:<RunSubtask>b__4(); lineNo:0; ilOffset:60.
FileName:; Method:Transact(); lineNo:0; ilOffset:16.
FileName:; Method:Microsoft.VirtualManager.DB.IVmmDbConnection.Transact(); lineNo:0; ilOffset:47.
FileName:; Method:RunSubtask(); lineNo:0; ilOffset:927.
FileName:; Method:Run(); lineNo:0; ilOffset:390.
FileName:; Method:RunSubtask(); lineNo:0; ilOffset:1871.
FileName:; Method:Run(); lineNo:0; ilOffset:390.
FileName:; Method:Connect(); lineNo:0; ilOffset:31.
FileName:; Method:SubtaskRun(); lineNo:0; ilOffset:305.
FileName:; Method:RunInternal(); lineNo:0; ilOffset:121.
FileName:; Method:Run(); lineNo:0; ilOffset:9.
FileName:; Method:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem(); lineNo:0; ilOffset:53.
FileName:; Method:Dispatch(); lineNo:0; ilOffset:164.


-------- exception.InnerException.ToString() -------
System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "FK_tbl_WLC_VHD_VHD". The conflict occurred
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
ClientConnectionId:3ebba05f-c839-4aa3-bdb9-93b2bb73fcdd
Error Number:547,State:0,Class:16


-------- exception.InnerException.Data --------
HelpLink.ProdName = Microsoft SQL Server

HelpLink.ProdVer = 13.00.1722

HelpLink.EvtSrc = MSSQLServer

HelpLink.EvtID = 547

HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink

HelpLink.LinkId = 20476


----------------------------------------------------
--------------- exception.StackTrace ---------------
----------------------------------------------------
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
   at Microsoft.VirtualManager.DB.SqlContext.ExecuteNonQuerySP(String spName, Action`1 parameterAdder, Action`2 afterExecutionAction)
   at Microsoft.VirtualManager.DB.VmmDbTransaction.Microsoft.VirtualManager.DB.IVmmDbTransaction.ExecuteSP(String spName, Action`1 parameterAdder)
   at Microsoft.VirtualManager.DB.ImageLibrary.VHDDBAccess.Remove(Guid vhdId, IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VHD.RemoveFromDB(IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VHD.RemoveFromDBForHostRemove(IVmmDbTransaction tx)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveGuestAgentsFromHostSubtask.<>c__DisplayClass9.<RunSubtask>b__4(IVmmDbTransaction _tx)
   at Microsoft.VirtualManager.DB.SqlContext.Transact(CallSite callSite, String connectionString, WindowsIdentity identity, Action`1 action)
   at Microsoft.VirtualManager.DB.TransactableDbContext.Microsoft.VirtualManager.DB.IVmmDbConnection.Transact(Action`1 action)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveGuestAgentsFromHostSubtask.RunSubtask(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.Adhc.RemoveHostTask.RunSubtask(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
   at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)


----------------------------------------------------
------------- StackTrace from handler --------------
----------------------------------------------------
This is the call stack from where the exception was caught, not where it was thrown.
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
   at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
   at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
   at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Error (802)
The 'ISO' 'vmguest' is already in use by another 'ISO'. (Without any specific path/name/how should I track this down?)


Recommended Action
Wait for the object to become available, and then try the operation again.(NO, I was trying to install the host again and it fails and uninstall itself again on the target host machine, and I cannot use the local agent from DVD media where I installed SCVMM 2016 because it is not CU2 and SCVMM 2016 Standard CU2 does not provide a manuel reinstallation option where I can access a specific share and install the correct version agent.

How do I remove Server35?


How to use PowerShell cloned virtual machine set the hostname in SCVMM2012R2?

$
0
0

Hi all :

How to use PowerShell cloned virtual machine(windows or linux vm) set the hostname in SCVMM2012R2?


@Andy Liu50

SCVMM Inventory Issues Discovery

$
0
0

Hi all,

I've been assigned a task to discover and fix all the errors/issues in an existing SCVMM environment which has many clusters. I've manually checked and run some online scripts to identify them. 

I've verified some prerequisites such as Integration Services, Admin User accounts, Nework uniformity etc. But, it's not satisfactory. Sometimes, the hosts show error messages and sometimes the VMs. 

Is anyone aware of any methods or scripts to identify the issues in the environment? Please help. 

Thanks,

Mushthaq. 

Viewing all 2770 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>