<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Virtual Machine Management : Virtual Server</title><link>http://blogs.technet.com/m2/archive/tags/Virtual+Server/default.aspx</link><description>Tags: Virtual Server</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How Virtual Machine Manager Administrator Console uses VirtualMachineViewer.exe</title><link>http://blogs.technet.com/m2/archive/2008/06/02/how-virtual-machine-manager-administrator-console-uses-virtualmachineviewer-exe.aspx</link><pubDate>Mon, 02 Jun 2008 21:46:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3065011</guid><dc:creator>mlmich</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/m2/comments/3065011.aspx</comments><wfw:commentRss>http://blogs.technet.com/m2/commentrss.aspx?PostID=3065011</wfw:commentRss><description>&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The VMM Administrator Console's VirtualMachineViewer.exe and the VMM Self-Service Portal (SSP) both use a same codebase for connecting to Hyper-V virtual machines. With the enhancements made to Win2k8 and VistaSP1, we are able to leverage MSTSCAX to connect to virtual machines through the host. What this means is that instead of directly connecting to the Virtual Machine using RDP, we instead RDP to the host and specify the VM to connect to. This allows VMM to connect to virtual machines with no network connectivity and to be able to view the virtual machine while booting (both of these features would not have been possible with regular RDP). One caveat of this implementation is that if you don't have the Integration Services installed inside of the guest operating system, then mouse support is not enabled when you launch either VirtualMachineViewer or the SSP within a terminal services connection. Basically, trying to RDP inside an RDP connection makes the mouse not behave correctly, so we disabled mouse support for this scenario. VMConnect.exe from Hyper-V has the same limitation.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Because this is only possible with Vista SP1 and Win2k8, if neither of these operating systems are&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;installed on the client machine (and in this case, a client machine is the machine either running the&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;internet explorer in the SSP case, or the machine running the Administrator Console), then VMM tries to&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;connect to the Virtual Machine using standard RDP. Connecting via regular RDP has a few requirements of its own as well.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;-The Integration Services need to be installed in the virtual machine. When the integration services are installed, VMM is able to get the fully qualified computer/domain name of the operating system installed in the guest operating system. We use this computer name to connect to the VM via RDP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;-There has to be a network connection from the client machine to the Virtual Machine (meaning we need network connectivity as well as the RDP port being open in any firewalls)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-BOTTOM: 0pt"&gt;&lt;SPAN style="mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;o:p&gt;For connecting to VMware virtual machines, we use their QuickMKS ActiveX control that is available from their web service. As always, for Virtual&amp;nbsp;Server we use the VMRC protocol for connecting to the virtual machines.&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3065011" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/m2/archive/tags/VMM/default.aspx">VMM</category><category domain="http://blogs.technet.com/m2/archive/tags/Hyper-V/default.aspx">Hyper-V</category><category domain="http://blogs.technet.com/m2/archive/tags/Virtual+Machine+Manager/default.aspx">Virtual Machine Manager</category><category domain="http://blogs.technet.com/m2/archive/tags/Virtual+Server/default.aspx">Virtual Server</category><category domain="http://blogs.technet.com/m2/archive/tags/VMware/default.aspx">VMware</category></item><item><title>Hyper-V RC1 and update for Virtual Server 2005 R2 SP1</title><link>http://blogs.technet.com/m2/archive/2008/05/27/hyper-v-rc1-and-update-for-virtual-server-2005-r2-sp1.aspx</link><pubDate>Tue, 27 May 2008 18:53:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3061695</guid><dc:creator>mlmich</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/m2/comments/3061695.aspx</comments><wfw:commentRss>http://blogs.technet.com/m2/commentrss.aspx?PostID=3061695</wfw:commentRss><description>&lt;P&gt;Hyper-V RC1 is readily available. You can find more details here: &lt;A href="http://blogs.technet.com/virtualization/archive/2008/05/20/hyper-v-rc1-release-available-on-microsoft-download-center.aspx"&gt;http://blogs.technet.com/virtualization/archive/2008/05/20/hyper-v-rc1-release-available-on-microsoft-download-center.aspx&lt;/A&gt;. The link to the Microsoft Download Center is &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3ed582f0-f844-40ba-b692-230845af1149&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=3ed582f0-f844-40ba-b692-230845af1149&amp;amp;displaylang=en&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Virtual Server has also been updated and Win2k8 is now qualified as a quest and a host operating system. For more details, see &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a79bcf9b-59f7-480b-a4b8-fb56f42e3348&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=a79bcf9b-59f7-480b-a4b8-fb56f42e3348&amp;amp;displaylang=en&lt;/A&gt;.&lt;/P&gt;
&lt;DIV class=downloadInfo&gt;&lt;A class="" name=Description&gt;&lt;/A&gt;&lt;SPAN&gt;This update for Microsoft Virtual Server R2 SP1 includes support for the following additional Host and Guest Operating Systems&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Additonal Guest Operating System support: &lt;/B&gt;&lt;BR&gt;Windows Vista® Ultimate Edition with Service Pack 1 (SP1) &lt;BR&gt;Windows Vista® Business Edition with Service Pack 1 (SP1) &lt;BR&gt;Windows Vista® Enterprise Edition with Service Pack 1 (SP1) &lt;BR&gt;Windows Server® 2008 Core&lt;BR&gt;Windows Server® 2008 Standard&lt;BR&gt;Windows Server® 2008 Datacenter&lt;BR&gt;Windows Server® 2008 Enterprise&lt;BR&gt;Windows Server® 2008 Small Business Server&lt;BR&gt;Windows XP Professional with Service Pack 3 &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Additional Host Operating System support: &lt;/B&gt;&lt;BR&gt;Windows Vista® Ultimate Edition with Service Pack 1 (SP1) (non-production use only)&lt;BR&gt;Windows Vista® Business Edition with Service Pack 1 (SP1) (non-production use only)&lt;BR&gt;Windows Vista® Enterprise Edition with Service Pack 1 (SP1)(non-production use only)&lt;BR&gt;Windows Server® 2008 Core&lt;BR&gt;Windows Server® 2008 Standard&lt;BR&gt;Windows Server® 2008 Datacenter&lt;BR&gt;Windows Server® 2008 Enterprise&lt;BR&gt;Windows Server® 2008 Small Business Server&lt;BR&gt;Windows XP Professional with Service Pack 3 (non-production use only) &lt;BR&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3061695" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/m2/archive/tags/Hyper-V/default.aspx">Hyper-V</category><category domain="http://blogs.technet.com/m2/archive/tags/Virtual+Server/default.aspx">Virtual Server</category></item><item><title>What are the different ways virtual machines can be migrated using VMM 2008</title><link>http://blogs.technet.com/m2/archive/2008/05/05/what-are-the-different-ways-virtual-machines-can-be-migrated-using-vmm-2008.aspx</link><pubDate>Tue, 06 May 2008 04:03:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3050701</guid><dc:creator>mlmich</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/m2/comments/3050701.aspx</comments><wfw:commentRss>http://blogs.technet.com/m2/commentrss.aspx?PostID=3050701</wfw:commentRss><description>&lt;P&gt;A post on the VMM newsgroup today prompted me to explain the different ways that VMs can be migrated when using VMM 2008.&lt;/P&gt;
&lt;P&gt;From a VMM perspective, we have a few ways that we allow you to move a VM from one host to another. I listed them below in no particular order:&lt;/P&gt;
&lt;P&gt;-Using Hyper-V and Windows Clustering, we offer what we call "quick migration". This method takes very little time to move a VM from one host to another. This time is proportional to the amount of time required to save the VM state and restore it. Clustering and the Hyper-V cluster resources take care of the rest.&lt;/P&gt;
&lt;P&gt;-Using our network migration, we perform a network copy of the data as we move the VM from one host to another. The bulk of the time here is spend on the network copy operation. This is the slowest method of virtual machine migration that VMM offers.&lt;/P&gt;
&lt;P&gt;-Using our SAN migration, we allow you to move a VM from one host to another via SAN. For this method, we employ a variety of techniques depending on your storage infrastructure. We can utilitze NPIV (In this case, we migrate a VM from host to host via delete and create vport), iSCSI (in this case, we migrate a VM from host to host via login and logout)&amp;nbsp;or FC (In this case, we migrate a VM from host to host via&amp;nbsp;Storage Array based LUN Masking, utilizing VDS).&lt;/P&gt;
&lt;P&gt;-For VMware VMs, we can also utilitize VMotion. &lt;/P&gt;
&lt;P&gt;Because of the fact that we move LUNs from one machine to another, we require that for any of the above methods (except VMotion)&amp;nbsp;you need to allocate one VM per LUN. Otherwise we can only migrate a VM via the network migration method.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3050701" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/m2/archive/tags/VMM/default.aspx">VMM</category><category domain="http://blogs.technet.com/m2/archive/tags/Hyper-V/default.aspx">Hyper-V</category><category domain="http://blogs.technet.com/m2/archive/tags/Virtual+Machine+Manager/default.aspx">Virtual Machine Manager</category><category domain="http://blogs.technet.com/m2/archive/tags/Virtual+Server/default.aspx">Virtual Server</category><category domain="http://blogs.technet.com/m2/archive/tags/VMware/default.aspx">VMware</category></item><item><title>getting the computer name of a virtual machine</title><link>http://blogs.technet.com/m2/archive/2008/04/16/getting-the-computer-name-of-a-virtual-machine.aspx</link><pubDate>Thu, 17 Apr 2008 00:35:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3038205</guid><dc:creator>mlmich</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/m2/comments/3038205.aspx</comments><wfw:commentRss>http://blogs.technet.com/m2/commentrss.aspx?PostID=3038205</wfw:commentRss><description>&lt;P&gt;A&amp;nbsp;lot of people have asked me how they can get the actual computer name or FQDN of a virtual machine from from the host system. (FYI, this method does not allow you to get the IP address from within the VM - to do that, you would need to use your DNS infrastructure to correlate the MAC address of the VM and get its IP addresses.)&lt;/P&gt;
&lt;P&gt;The answer is pretty simple.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If you are using VMM, you can use a simple PowerShell command:&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;get-vmmserver localhost | get-vm "vmname" | select Name, ComputerName, HostName | format-list&lt;/P&gt;
&lt;P&gt;To ensure this works, you would need to ensure your VM is running and that you already installed the VM Additions inside the VM (if this is Virtual Server R2 Sp1), or have&amp;nbsp;installed the Integration Services if this is Hyper-V. VMM 2008&amp;nbsp;will make it easy to install both via a simple action in our Administrator Console.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If you are using Virtual Server 2005 R2 Sp1+ and the COM API, a new interface was added to support this functionality. The new interface is called IVMGuestOS2 (&lt;A href="http://msdn2.microsoft.com/en-us/library/bb427400(VS.85).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/bb427400(VS.85).aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb427400(VS.85).aspx&lt;/A&gt;) and it has a ComputerName property. This property will give you the FQDN name of the OS inside the Virtual Machine provided that the latest version of the VM Additions are installed.&lt;/LI&gt;
&lt;LI&gt;If you are using Hyper-V and the WMI namespace, this can be achieved in a couple of different ways.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;1) If you just want the Operating system name, you can get that via the GuestOperatingSystem property of the Msvm_SummaryInformation class (&lt;A href="http://msdn2.microsoft.com/en-us/library/cc136898(VS.85).aspx"&gt;http://msdn2.microsoft.com/en-us/library/cc136898(VS.85).aspx&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;2) If you want the OS name and the computer name (FQDN), you can use the GuestIntrinsicExchangeItems property of the Msvm_KvpExchangeComponent class to get this. GuestIntrinsicExchangeItems returns an array of embedded Msvm_KvpExchangeDataItem instances which contain the set of key-value pairs that the guest operating system has pushed up to be available for access by external clients. Again the Intergration Components need to be up to date within the Virtual Machine. &lt;/P&gt;
&lt;P&gt;Below is&amp;nbsp;a sample script to illustrate how to do this.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Option Explicit &lt;/P&gt;
&lt;P mce_keep="true"&gt;Dim WMIService&lt;BR&gt;Dim KvpComponents &lt;BR&gt;Dim VMList&lt;BR&gt;Dim VM &lt;BR&gt;Dim item&lt;BR&gt;Dim component&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;BR&gt;'Get instance of 'virtualization' WMI service on the local computer&lt;BR&gt;Set WMIService = GetObject("winmgmts:\\.\root\virtualization") &lt;/P&gt;
&lt;P mce_keep="true"&gt;'Get all the MSVM_ComputerSystem object&lt;BR&gt;Set VMList = WMIService.ExecQuery("SELECT * FROM Msvm_ComputerSystem")&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;For Each VM In VMList&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;if VM.Caption = "Virtual Machine" then&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;WScript.Echo "========================================"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;WScript.Echo "VM Name: " &amp;amp; VM.ElementName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;WScript.Echo "VM GUID: " &amp;amp; VM.Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;WScript.Echo "VM State: " &amp;amp; VM.EnabledState&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;end if&lt;BR&gt;Next&lt;/P&gt;
&lt;P mce_keep="true"&gt;' Get the list of KvpComponents&lt;BR&gt;Set KvpComponents = WMIService.ExecQuery("SELECT * FROM Msvm_KvpExchangeComponent") '.ItemIndex(0)&lt;/P&gt;
&lt;P mce_keep="true"&gt;For Each component in KvpComponents&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;' ensure that we are displaying the correct settings for the VM based on its instance ID/Name (you would need to replace the ID with the right one below)&lt;BR&gt;&amp;nbsp;If component.SystemName = "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA" then&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&amp;nbsp;Dim GuestItems&lt;BR&gt;&amp;nbsp;&amp;nbsp;GuestItems = component.GuestIntrinsicExchangeItems&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;' Now enumerate the Msvm_KvpExchangeDataItem's that are in XML format&lt;BR&gt;&amp;nbsp;&amp;nbsp;For Each item In GuestItems&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;WScript.Echo "========================================"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;' if you wanted the FullyQualifiedDomainName or OSName for the VM, you need to parse the XML&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;' returned and you can get that value&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Wscript.Echo item&lt;BR&gt;&amp;nbsp;&amp;nbsp;Next&lt;BR&gt;&amp;nbsp;End If&lt;BR&gt;Next&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3038205" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/m2/archive/tags/VMM/default.aspx">VMM</category><category domain="http://blogs.technet.com/m2/archive/tags/Hyper-V/default.aspx">Hyper-V</category><category domain="http://blogs.technet.com/m2/archive/tags/Virtual+Machine+Manager/default.aspx">Virtual Machine Manager</category><category domain="http://blogs.technet.com/m2/archive/tags/Virtual+Server/default.aspx">Virtual Server</category></item></channel></rss>