SCVMM

Searching for Duplicate MAC addresses with Hyper-V and SCVMM 2012

Hi,

I ran into an issue today where a server was complaining about a duplicate MAC address. Since almost all of our servers were virtual, I thought the best step (after doing an arp -a command locally and seeing if the offending IP address/MAC address was listed – which it wasn’t) would be to do a quick Google to see if there was an easy way without checking each VM.

Of course there is, thanks to Powershell. I quickly found this blog post from The Daily Admin and gave it a try. There was one slight change I had to make to get it to work:

Using the “Virtual Machine Manager Command Shell” I tried the command from the link above:

Get-VMMServer | get-vm | Get-VirtualNetworkAdapter | select name,EthernetAddress | export-csv “c:\temp\VM_Macs.csv”

It prompted for a Computer name. After working out you needed to specify your SCVMM server in the first part after ‘Get-VMMServer’ as per this:

Get-VMMServer “ScvmmServerName”| get-vm | Get-VirtualNetworkAdapter | select name,EthernetAddress | export-csv “c:\temp\VM_Macs.csv”

It worked perfectly. The resulting CSV file had a full list of the MAC addresses, which helped me narrow down what I was looking for.

 

Full credit to The Daily Admin at http://www.thedailyadmin.com/ !

 

 

Service Center 2012 is out

All the Service Center 2012 programs have gone RTM!

I downloaded them all during the week and spent tonight upgrading Systems Center Operations Manager (SCOM) 2007 to 2012.

Getting SCOM 2007 ready was the time consuming bit. I had to apply roll up 5 which was a rather long process, then work out how to enable SQL’s full text search and apply a few extra updates to finally get the 2012 installer happy.

Thankfully the actual install was quote smooth (even though it took about 30 minutes) and everything seems to be working fine after allowing the clients to update.

SCVMM might be next, and SCCM is a while away as I need some new servers at all our sites to get that one going.

SCSM might be sooner, I need to read up on how easy it is to upgrade, but may end up doing a fresh install and starting again, we will see.

Fun times ahead!