SCVMMService service crash (System Center Virtual Machine Manager)

This solution can apply following conditions and Virtual Machine Manager Builds.

3.1.6011.0 System Center 2012 Virtual Machine Manager Service Pack 1 RTM

3.1.6018.0 System Center 2012 Virtual Machine Manager Service Pack 1 with Update Rollup 1

3.1.6020.0 System Center 2012 Virtual Machine Manager Service Pack 1 with Update Rollup 2

3.1.6027.0 System Center 2012 Virtual Machine Manager Service Pack 1 with Update Rollup 3

 

Event logs:

Log Name: Application

Source: .NET Runtime

Event ID: 1026

Task Category: None

Level: Error

Keywords: Classic

User: N/A

Computer:

Description:

Application: vmmservice.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: Microsoft.VirtualManager.DB.CarmineSqlException

Stack:

at Microsoft.VirtualManager.Engine.RefreshDriver`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=]].RefreshThreadFunction(System.Object)

at Microsoft.VirtualManager.Utils.Multithreading.ThrottledThreadPool+<>c__DisplayClass3. <ScheduleNextThread>b__2(System.Object)

at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()

at System.Threading.ThreadPoolWorkQueue.Dispatch()

Log Name: Application

Source: Application Error

Date:

Event ID: 1000

Task Category: (100)

Level: Error

Keywords: Classic

User: N/A

Computer:

Description:

Faulting application name: vmmservice.exe, version: 3.1.6011.0, time stamp:

Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp:

Exception code: 0xe0434352

Fault offset: 0x000000000003811c

Faulting process id: 0x76c

Faulting application start time:

Faulting application path: C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Bin\vmmservice.exe

Faulting module path: C:\Windows\system32\KERNELBASE.dll

Report Id: e6bd218a-f629-11e3-93fe-abc23376a54f

Faulting package full name:

Faulting package-relative application ID:

Trace logs:

0x15D0,0x1FE4,4,Catalog.cs,662,0x00000000,!!! System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_tbl_ADHC_FCHbaToFibrePortMapping_tbl_ADHC_FibrePort". The conflict occurred in database "VirtualManagerDB"; table "dbo.tbl_ADHC_FibrePort"; column 'PortID'. 

0x15D0,0x1FE4,9,HostFibreChannelHba.cs,296,0x00000000,AddFibrePort: Trying to add fibre port xxxxxxxx-xxxxx-xxxx-a3aa-xxxxxxxxxxx with PortWWN xxxxxxxxxxxxxxxx with Type VirtualFibrePort for hba xxxxxxxx-3817-4d56-a879-xzxxxxxxxxxx,{00000000-0000-0000-0000-000000000000},4,

0x15D0,0x1FE4,9,HostFibreChannelHba.cs,300,0x00000000,AddFibrePort: fibre port with PortWWN with Type VirtualFibrePort already exists with ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx portWWN xxxxxxxxxxxxxxxx type VirtualFibrePort; adding mapping for hba 8a4641d5-3817-4d56-a879-9aef645618bb,{00000000-0000-0000-0000-000000000000},4,

Solution:

This issue fixed with SCVMM 2012 Sp1 UR4. https://support.microsoft.com/kb/2879276 please check “issue 16” under “Virtual Machine Manager (KB2887779, KB2888944, and KB2888946)” caption in article.

You could install UR5 https://support.microsoft.com/kb/2904727 instead of UR4 because Update Rollup 5 for System Center 2012 Virtual Machine Manager SP1 includes all previous update rollups for System Center 2012 Virtual Machine Manager SP1.

Do not forget update also SCVMM console and host agents.

How to update host agents: Fabric – All hosts – right click host – Update Agent.

https://technet.microsoft.com/en-us/library/hh430984.aspx

 

clip_image001

Burak FİLİZ

Technorati Tags: vmm2012,vmm,Virtual Machine Manager 2012,SCVMMService service crash