Archive for category Microsoft Hyper-V 2008 / 2008 R2

“Robocopy /B” does not copy the security information such as ACL in Windows 7 and in Windows Server 2008 R2

 “Robocopy /B” does not copy the security information such as ACL in Windows 7 and in Windows Server 2008 R2:

KB979808 for Windows Server 2008 R2

 

Hyper-V R2 – EAL 4+ certification

Microsoft Windows Server 2008 R2 Hyper-V, Release 6.1.7600 receives EAL 4+ BSI-DSZ-CC-0755-2012 06.02.2012 certification

https://www.bsi.bund.de/ContentBSI/EN/Topics/Certification/newcertificates.html

Tags: ,

Deploying Microsoft Hyper-V Server 2008 R2 on USB Flash Drive

1) Deploying Microsoft Hyper-V Server 2008 R2 on USB Flash Drive (original Technet article)

http://technet.microsoft.com/en-us/library/ee731893(WS.10).aspx
————————————————————————————————————————-

2) Tool for Deployment: Detailed and EASY

http://blogs.msdn.com/virtual_pc_guy/archive/2009/11/18/booting-hyper-v-r2-off-a-usb-stick.aspx
—————————–
[download id=”3″]

How to back up Hyper-V virtual machines from the parent partition on a Windows Server 2008-based computer by using Windows Server Backup

How to back up Hyper-V virtual machines from the parent partition on a Windows Server 2008-based computer by using Windows Server Backup

http://support.microsoft.com/kb/958662

Video – How Do I: Backup Hyper-V with Windows Server Backup?

http://technet.microsoft.com/en-us/windowsserver/2008/dd775213.aspx

Another Blog ASKCORE:

http://blogs.technet.com/askcore/archive/2008/08/20/how-to-enable-windows-server-backup-support-for-the-hyper-v-vss-writer.aspx

Tags:

How to Implement Hyper-V R2’s new Cluster Shared Volumes feature

With the release of Windows Server 2008 R2, Microsoft’s Hyper-V virtualisation platform gains a host of much-needed features. Microsoft has added capabilities to Hyper-V, making it a viable choice for production virtualisation. Nowhere is this more evident than with Hyper-V R2’s new capabilities for host disk resources, specifically those used by highly available virtual machines (VMs) on top of a Windows failover cluster.
In this article, we cover Hyper-V’s R2’s new functionality in its Cluster Shared Volumes(CSV), which allow multiple virtual machines to be stored on a single logical unit number (LUN).
Hyper-V’s disk limitations
You’ve likely heard the grumbling associated with Hyper-V R1’s disk limitations. In the original version of Hyper-V, clustered configurations were forced into installing only a single virtual machine per connected LUN. Each new virtual machine in an environment required the creation of a separate LUN.
What is not well known is that this was not truly a Hyper-V problem. These initial disk issues were actually based on a limitation associated with the Windowsfailover clustering services in Windows Server 2008 release to manufacturing (RTM).
Think about the traditional NT file system (NTFS) and how failover clustering makes use of [its] disk resources. In the last version of Failover Clustering, each node in a cluster was aware that it did or did not own a virtual disk resource. The entire disk resource, regardless of the files and folders in it, was the boundary of cluster resource management.

This is problematic because an individual VM is also a cluster resource that depends on a particular node. So failover with a cluster resource requires the simultaneous failover of its dependant disk resource as well. With multiple VMs on the same LUN, failover of one VM took all the VMs with it.

To combat this problem, Microsoft adds Cluster Shared Volumes to Hyper-V R2. This new feature brings cluster awareness to Hyper-V disk resources, enabling the storage of multiple VMs on a single LUN.
But some confusion remains about the setup of this new feature. Even after upgrading to Windows Server 2008 R2, you’ll find that the process to set it up involves a number of not-entirely-obvious steps. Here is the process to configure to enable this useful new feature:
  • Step 1: Create a cluster. CSV is designed for use only in a Windows failover cluster. If your environment doesn’t use high availability for Hyper-V VMs, none of these steps will be useful. Even with Hyper-V R1, virtual machines that aren’t highly available don’t have the same disk limitations. Thus, in a single-server situation, you can install as many virtual machines to a disk as you wish.
  •  
  • Step 2: Enable CSV. Once a cluster is ready enabling the CSV feature is done within the Cluster Failover Manager console. This is the case even if your environment uses System Center Virtual Machine Manager. Click your cluster name in the left pane to bring forward the cluster properties screen in the middle pane. Once there, click the link to Enable Cluster Shared Volumes. Be aware that this decision cannot be reversed.
  •  
  • Step 3: Enable disks for CSV. This is where much of the confusion lies in enabling CSV. Once the CSV feature has been enabled, a new node will appear in the Failover Cluster Management console. That node, titled Cluster Shared Volumes, provides a place to identify which disks should be enabled with the CSV feature. Be aware that any disks to be CSV-enabled must be empty. The console will not permit you to enable a disk resource that contains virtual machines.
  •  
  • Step 4: Migrate VMs to CSV disks. Once its volumes are created, virtual machines can be migrated to CSV-enabled disks. This can be done through the manual export/import process in Hyper-V, or, if an environment uses Virtual Machine Manager 2008 R2, it might be easier to automate relocation or storage migration. When migrating VMs, enable each for high availability.
The location for disk storage changes once CSV is enabled and in use. The new default storage location for VMs changes to various subfolders of c:\ClusterStorage. This location is on the system drive of Hyper-V hosts, but that it is not the actual location of a VM’s disk files.
CSV uses information stored on the root drive of every server in a cluster to determine ownership of files on the disk resource, and it operates as a set of pointers to the actual data stored within your cluster’s shared storage. Because CSV will install this folder to the root drive on every server in the cluster, Microsoft requires that the root drive be the same on every server. This shouldn’t be a problem for most environments because most still use the c:\ drive as the root drive.
Even with these new capabilities, you should still consider Cluster Shared Volumes to be a 1.0 release. In comparison with other file systems from third parties, CSV’s cluster awareness is limited. As a result, you’ll find that support has been added in Hyper-V R2 for third-party clustered file systems such as Sanbolic Inc.’s Melio FS or Veritas Volume Manager. These third-party systems provide greater support for cluster awareness than Microsoft offers out of the box

SCVMM R2 what’s new

http://technet.microsoft.com/en-us/library/ee230429.aspx

Hyper-V Command Line (First Time Install)

On first boot log into Hyper V server administrator and blank password now you will be prompted to change it.
Using the Hyper V server configurator (Blue Box). Change Hyper V server name to “HYPER-V” and reboot.
Using the Hyper V server configurator (Blue Box). Configure it to use a static IP of “10.10.10.x” gateway and dns1 i.e. “10.10.10.x”.
Using the Hyper V server configurator (Blue Box). Check Regional settings and Date and Time are correct.
Using the Hyper V server configurator (Blue Box). Add “some admin user” to the local administrators group with same password as your domain account.
Run the following command as an administrative user on the Hyper V server:
‘netsh advfirewall firewall set rule group=”Windows Management Instrumentation (WMI)” new enable=yes
Run the following command as an administrative user on the Hyper V server:
net localgroup “Distributed COM Users” senan.finucane /add
Run the following commands as an administrative user on the Hyper V server:
netsh advfirewall set allprofiles settings remotemanagement enable
 Run the following commands as an administrative user on the Hyper V server:
netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
Run the following commands as an administrative user on the Hyper V server:
‘netsh advfirewall firewall set rule group=”Remote Desktop” new enable=yes
Run the following commands as an administrative user on the Hyper V server:
cscript %windir%\system32\scregedit.wsf /AR 0
Run the following commands as an administrative user on the Hyper V server:
cscript %windir%\system32\scregedit.wsf /CS 0
Run the following commands as an administrative user on the Hyper V server: ‘winrm quickconfig –q
Run the following command as an administrative user on the Hyper V server: ‘net start VDS
This starts the Virtual Disk Service, so through computer management you can administer the disks.
Run the following command as an administrative user on the Hyper V server: ‘sc config VDS start= auto
This sets the Virtual Disk Service to auto start.
Run the following command as an administrative user on the Hyper V server:
 ‘netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes
 Reboot Hyper V Server Note – Its good practice to move the swap file to another volume or disk if possible.
See this how too, http://blog.mpecsinc.ca/2008/04/serv…-file-wmi.html
For the remote access management machine ( Vista SP1 or Server 2008 )
 Run the following command as an administrative user on the remote access management machine:
netsh advfirewall firewall set rule group=”Windows Management Instrumentation (WMI)” new enable=yes
Run the following command as an administrative user on the remote access management machine:
netsh firewall add allowedprogram program=%windir%\system32\mmc.exe name=”Microsoft Management Console”
Run the following command as an administrative user on the remote management machine:
netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes
At a run prompt type “Dcomcnfg” When the Component Services MMC opens click Component Services\Computers\My Computer Right click my computer then properties, them com security tab. Click “Edit Limits” under Access Permissions, the click “Anonymous Logon” Verify that Allow is clicked for “Local Access” and “Remote Access”
Install RSAT tools and Hyper V Manager MMC if on a Vista SP1 remote machine.
Install Hyper V tools from add features in Server 2008 if remote machine is Server 2008. If your remote access machine is Server 2008 make sure and apply KB950050, it updates the Hyper V tools.
You can also use Computer Management in Administrative Tools on your remote management machine to manage the Hyper V server just right click and connect to a different computer.
Always used fixed size disks for both boot and data virtual hard disks for far better performance. Only use IDE controllers for boot VHD’s and SCSI for data VHD’s. Create fixed size disk first then install OS then attach VHD’s to OS.

Tags: , ,

CSV DISKS

http://blogs.msdn.com/clustering/archive/2009/02/19/9433146.aspx

Cluster New Quorum model

http://msmvps.com/blogs/clusterhelp/archive/2007/06/12/windows-server-2008-failover-clustering-the-new-quorum-model.aspx

Hyper-V Server R2 2008 Core – “ENABLE Ping”

netsh firewall set icmpsetting 8 enable

Tags: