I recently came across a strange situation where the System Center VMM 2012 Admin Console crashes every hour.
There were 2 Errors displayed in the VM Manager Event Log;
Error : 19999
Error : 1
I carried out all possible configuration checks on the Hyper-V hosts and the VMM Server;
I checked the SPN settings using Setspn.
I updated the Nic Drivers and the Broadcom Software
I checked and changed how the SQL and VMM Manager and Agent Services log on.
I reassociated the Hyper-V hosts
I validated the Failover Cluster
I re-installed SCVMM 2012 (several times)
I removed all links between SCVMM 2012 and SCOM 2012
It was only after I had re-installed SCVMM 2012 for the umpteenth time that I tried to refresh the Library and this was when I saw the errors occur!
I then Checked the Library Refresh Interval Setting and sure enough it was set to 1 hour.
Upon further investigation I foung that it was refreshing some of the Stored Virtual Machines before it failed.
We had P2V’d our old Exchange Edge Server when we purchased a Sophos Email Appliance and stored it in the library.
I started to look at the configuration of the Library Stored Virtual Machines.
The stored VM’s consist of;
VHD file
config.xml
a .exp file
I started to compare the config.xml files and found that the Edge Server stored in the Library had a corrupted config.xml file.
It was reporting as 2KB in size but when opened in notepad was blank.
The format of the config.xml file is;
<?xml version=”1.0″ encoding=”utf-16″?>
<configuration xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema“>
<vhd>
<source type=”string”>C:\ClusterStorage\Volume1\<VM NAME>\<VM DISK>.vhd</source>
<target type=”string”>\\ccmgmt02.carmel.local\MSSCVMMLibrary\<VM NAME>\<VM DISK>.vhd</target>
</vhd>
<VmStateCopied type=”bool”>True</VmStateCopied>
<ExternalDataRoot type=”string”>\\<LIBRARY SERVER FQDN>\<LIBRARY SHARE>\<VM NAME></ExternalDataRoot>
<SnapShotDataRoot type=”string”>\\<LIBRARY SERVER FQDN>\<LIBRARY SHARE>\<VM NAME></SnapShotDataRoot>
</configuration>
I simply created a new config.xml file for the Edge Server VM and was then able to refresh the library successfully.
The System Center VMM 2012 Admin Console has not crashed since!
Hope this helps someone else out there get a quicker more simple resolution than me!