Experiences in a Virtual World

Recent Articles: Docker Containers and Hopes for More!

leave a comment »

Docker is hot these days and is gaining the eye of the technology giants like Microsoft, Google and Amazon in their own ways.  Last month’s SearchServerVirtualization Advisory Board took on the question of the viability of Container Applications.  Here is my take on it.

“ Container applications may not be a new concept, but Docker is the most recent torch bearer of its metamorphosis into a functional tool for enterprises.  I say tool, because there is still some work to do here, as it is currently limited to Linux-based applications, but it has caught the eye of many big players like VMware, Amazon, and Microsoft.

With support from the top private and public entities, their focus has been providing a platform for the Docker containers to run, but nonetheless it shows there is competition brewing.  If you want to know more about Docker, hit up Youtube or even the Docker website.

Docker’s ability to build, execute a process, and then tear it down in just a few seconds is the epitome of on-demand computing.  The ability to run an application without the overhead of a separate operating system instance also puts it on a level above virtual machine architecture in stretching physical resources.

In my opinion, there are real world uses for this technology today inside the enterprise as part of the private or public cloud strategy in meeting specific application needs. However, questions still remain, such as:  will Docker be around in 2 years?  Will a major application presentation player scoop it up and bring it to the next level? (i.e. Citrix or Microsoft).  From my standpoint, without support for Windows applications, or even support from vendors on this type of computing, becoming a mainstay in the enterprise space is still a ways off. “

Look for more exciting announcements by Microsoft, Google and Amazon soon, and start to really look and study up on the technology.  Container Technology may be finally getting over the hump with a big nudge by these players.


Check out the full article here as well as responses from Jason Helmick (Concentrated Technology) and Brian Kirsch (Milwaukee Area Technical College)

Written by VirtuallyAware

November 5, 2014 at 3:38 PM

Posted in Hyper-V

PowerShell Snip of the Week (Get-SCVirutalNetworkAdapter)

leave a comment »


powershell_2Ben Armstrong recently posted a method on Listing all the IP Addresses used by VMs.  The Method was pretty straight forward and gave back some great information.  It got me thinking of how enterprise customers could do this using System Center Virtual Machine Manager 2012 R2.  Here is what I came up with for this weeks PowerShell Snip of the Week.


Find IPv4 and IPv6 IP Addresses for all Running VMs:

Get-SCVirtualMachine | ? StatusString –eq “Running” | Get-SCVirtualNetworkAdapter | ft Name, IPv4AddressType, IPv4Addresses, IPv6Addresses –a



With this base there are a whole variety of options you could get from this if you twist the script a little.

Find Information about a server with a specific IP Address:

Sometimes in a troubleshooting scenario you get limited information.  Many times that information comes from the network team or from a Firewall log where only the an IP Address of a VM is known.

Get-SCVirtualMachine | Get-SCVirtualNetworkAdapter | ? IPv4Addresses –eq “IPADDRESS”


Get-SCVirtualMachine | Get-SCVirtualNetworkAdapter | ? IPv4Addresses -eq


This gets you some valuable information in your troubleshooting, most notably, the name of the VM so that you can now start to look at it directly.

Find VMs with duplicate MAC Addresses or Just track down a VM by MAC Address:

Modifying the script in a different way, looking for MAC Address, allows for another common troubleshooting scenario where VMs have the same virtual MAC Address.  It doesn’t happen all that often, but it can be tricky to track down when it does.  The following script will return the VM with the MAC Address you are looking for or multiple VMs if they share the same MAC Address.

Get-SCVirtualMachine | Get-SCVirtualNetworkAdapter | ? MACAddress -eq “<MACADDRESS>”


Get-SCVirtualMachine | Get-SCVirtualNetworkAdapter | ? MACAddress -eq “00:15:5D:F3:F8:03”

Written by VirtuallyAware

April 22, 2014 at 8:27 AM

PowerShell Snip of the Week – (Get-VMIntegrationService)

leave a comment »


Finding the status of a VMs or all your VMs Integration Components can be a very useful troubleshooting tool when you are having various VM management issues.  Examples could be that VMs that have the correct Integration Components versions are slipping into saved state or maybe the VM is not responding to a shutdown command from the Hyper-V or SCVMM console.  I have seen both of these.  This week I have a couple of examples for you that might just come in handy if you come across a VM that just is not responding as a fully enlightened VM should.

These scripts need to be run from a Workstation/Server that has the Hyper-V PowerShell Components

View Status of all Integration Components for a VM:

Get-VM -ComputerName HOSTNAME–VMName <VMNAME>| Get-VMIntegrationService| ft VMName, Name, primarystatusDescription, Enabled

If all ICs are in a good state you will see this  output


If you see this, the VM will go into Saved State when backups are performed



To get just the VMs with Integration Services that have a Primary Status of “No Contact” you can use this method:

$s = “VMHOST1″,”VMHOST2″

foreach ($server in $s) {Get-VM -ComputerName $server | Get-VMIntegrationService| ? primarystatusdescription -like “no*” | ft VMName, Name, primarystatusDescription, Enabled}


Output will look like this if there are any VMs with IC Contact issues.



My next post will go more deeply into what to do when you see these issues with Integration Components.

Written by VirtuallyAware

April 14, 2014 at 8:27 AM

PowerShell Snip of the Week (Get-WinEvent)

leave a comment »

VMs that went into Saved State in the Last Day

imageDuring the migration of VMs to a Hyper-V in Windows Server 2012 R2 environment you may find that some of your VMs go in to Saved State when the backup process kicks off.  This may be because you have not updated the Integration Components, there is a problem with the Integration Component install or some other issue where the Hyper-V Writers determine that the VM should be backed up offline (Look for a post on this soon).  During this time of troubleshooting you can go to the Windows-Hyper-V-Worker-Admin event log on each server to identify which VMs are having this issue by looking for event 18510.  If you have a larger environment this gets a little inefficient.

I have used the script below during my troubleshooting.  You could easily change this to either look to a server list text file or even to accept a switch.




foreach ($server in $s) {Get-WinEvent -ComputerName $server -FilterHashTable @{LogName =”Microsoft-Windows-Hyper-V-worker-admin”; StartTime = (Get-Date).AddDays(-1)} | ? id -eq 18510}

Written by VirtuallyAware

April 7, 2014 at 8:27 AM

PowerShell Snip of the Week (SCVMM)

with one comment


imageHere is this weeks PowerShell Snip of the Week.

Using Get-VirtualNetworkAdapter.

When looking into a recent issue with a NIC Team on a host, I had a need for a quick way to identify which VMs were using a particular logical network and their MAC Address so that the VM(s) traffic could be identified with WireShark.

This snip targets VMs on a specified cluster that are assigned to a certain logical network.

Get-VMHostCluster CLUSTERNAME | Get-VMHost| Get-VM |Get-VirtualNetworkAdapter |? LogicalNetwork -eq “LOGICALNETWORKNAME”| FT name, logicalnetwork, macaddress -a

Written by VirtuallyAware

March 31, 2014 at 8:27 AM

Deep Dive Day 2014 is Just Around the Corner

leave a comment »

There is still time to sign-up for Virtualization Deep Dive Day 2014 on March 12th. This has been a great day to Network with peers, learn about new products in virtualization, as well as network with some very bright folks. 

I am going to be talking about important features in Hyper-V 2012 and 2012 R2 that really matter to administrators and how the can be practically used in your environment.  As always there will be lot of demos and time to chat before or after one-on-one.  

You can register HERE.

clip_image002 VirtG Presents

The Sixth Annual Virtualization Deep Dive Day 2014

An event for Information Technology Professionals

Event location: Date: Wednesday, March 12th

Microsoft Time: 8:00AM – 5:00PM

4th Floor, Multi-Purpose Rooms Information and Registration:

One Cambridge Center (1CC)

Cambridge, MA. 02142 Morning snacks and lunch are free.

Deep Dive Day 2014 is a multi-track event put on by the Virtualization Group Boston (VirtG). Experts from around the country will be providing great technical talks covering every form of virtualization. Also, visit with industry leading vendors in the exhibition area.

Whether you are new to virtualization or want the technical details on the latest for server, desktop, application, networking, security and storage virtualization, plus "The Cloud", you don’t want to miss this event. Refer to the schedule below for all the great breakout sessions.


clip_image006 clip_image008 clip_image010 clip_image012 clip_image014 clip_image016 clip_image018 clip_image020 `

Written by VirtuallyAware

February 28, 2014 at 9:57 PM

Posted in Hyper-V

Steps for Updating SCVMM 2012 R2 to Update Rollup 1

leave a comment »

The update of SCVMM 2012 R2 with Update Rollup one is fairly straight forward with the exception of the need to execute a SQL script after the server component update, but if you have used VMM for any length of time you know that an occasional modification to the database itself is necessary to correct issues.  Even with that, the process, should take no more than five minutes to complete. Here are the steps below.  Make sure you either perform this in your test environment first or wait a few weeks until others have tested the update just to be sure any unexpected issues have been vetted.  There are not a lot of changes in the rollup, I can think of many more that need to be corrected, but having an outage of your main virtual machine management tool is never a good thing.

    1. Download the Hotfixes HERE
    2. Extract the MSP files from the CAB files by double clicking on the download CAB then right-clicking the MSP file and choosing extract.


3. Execute msiexec.exe /update kb2904712_vmmserver_amd64.msp

4. Execute the following SQL script: (It is stressed to do this immediately after the server side update)

/* script starts here */
ALTER Procedure [dbo].[prc_RBS_UserRoleSharedObjectRelation_Insert]
@ID uniqueidentifier,
@ObjectID uniqueidentifier,
@ObjectType int,
@RoleID uniqueidentifier,
@UserOrGroup varbinary (85),
@ForeignAccount nvarchar (256),
@IsADGroup bit,
@ExistingID uniqueidentifier = NULL OUTPUT
SELECT @ExistingID = [ID] FROM [dbo].[tbl_RBS_UserRoleSharedObjectRelation]
WHERE [ObjectID] = @ObjectID AND [RoleID] = @RoleID
– Select owner OR Select all which matches ForeignAccount or UserOrGroup OR
– both ForeignAccount and UserOrGroup is NULL
(([UserOrGroup] = @UserOrGroup OR [ForeignAccount] = @ForeignAccount) OR
([UserOrGroup] IS NULL AND @UserOrGroup IS NULL AND [ForeignAccount] IS NULL AND @ForeignAccount IS NULL))
/* Ignore duplicate entries */
IF (@ExistingID IS NULL)
INSERT [dbo].[tbl_RBS_UserRoleSharedObjectRelation]
/* script ends here */

5. Execute msiexec /update kb2919248_AdminConsole_amd64.msp


Version Before: 3.2.7510.0 Version After: 3.2.7620.0
image image

***You can also check out the Video put out by the SCVMM Support Team on the deployment process HERE.

Written by VirtuallyAware

January 30, 2014 at 7:27 AM


Get every new post delivered to your Inbox.

Join 325 other followers

%d bloggers like this: