Archive

Posts Tagged ‘Clustering’

Quick Tip – When Copying VHDs to a CSV Disk – Use The Disk Owner!

December 11th, 2009 Amit Gatenyo 2 comments

Cluster Shared Volumes (CSV) is a new feature that was introduced in Windows 2008 R2.

If you want to read more about it, how it works, and how you can enable it. There is a lot of material out there that you can refer to:

Well, after you’ve setup your cluster, enabled CSV, and added clustered disks to CSV, it is now time to copy your VHD files to those CSV disk. The big question is, which cluster node should you perform this operation on?

We’ll, to make a long story short – Copy it to the node that owns the CSV disk!

The reason this is important is that if you are running the copy on the coordinator node (the node which owns the CSV volume of interest), the writes are all local writes. If you are running the copy on any other node, the writes are actually redirected over the network (because they are extending writes to the file) and not done directly to the volume.

Hope this will save you some much needed time :)

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

Different CPUs on Hyper-V Cluster Nodes

November 19th, 2009 Kobi Akiva No comments

 

When trying to Live Migrate a virtual machine, the process might fail and inform you that your virtual machine is not compatible with the target node.

image

If you try to Move (instead of Live Migrate) the virtual machine to another node, the process will again fail and you the following event will be logged:

Log Name:      System
Source:        Microsoft-Windows-FailoverClustering
Event ID:      1205

The Cluster service failed to bring clustered service or application ‘xxxxx’ completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.

 

This situation is indeed caused, as the error indicated, by different processor capabilities. Check the exact processor version of your Nodes. You can use msinfo32 to get a detailed view. Here’s, for example, the types of CPUs I see:

Node1

clip_image001

Node2

clip_image001[5]

 

What happens is that when the virtual machine starts, the hypervisor exposes certain CPU capabilities to the virtual machine. When Live Migrating or Moving the VM to a different host, the VM isn’t aware of the hardware change, tries to use capabilities that it’s new CPU doesn’t support, and fails to start.

 

Luckily, the solution is simple. Open the VM’s settings, and under the CPU settings check the option named “Migrate to a physical computer with a different processor version".

image

Note that the VM has to be off in order for you to check this option.

 

When checking this option, the hypervisor is only exposing the VM to the features of the processor that are available on all versions of a virtualization-capable processor by the same processor manufacturer. Note that this option doesn’t allow you to migrate between AMD and Intel CPUs. Check this Microsoft Technet article for further details: http://technet.microsoft.com/en-us/library/dd446679(WS.10).aspx

 

It is important to read between the lines in this case. Although you will be able to migrate without errors, your VM does LOSE PERFORMANCE .

This means that when planning to build a new Hyper-V Cluster, make sure that you get exactly the same CPUs on your physical hosts. Otherwise, you will have to downgrade the CPU capabilities of your VMs.

 

Hope this is helpful.

Kobi

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

My presentation on Windows 2008 R2 High Availability

November 9th, 2009 Amit Gatenyo No comments

I know its a bit late, but here is the presentation I gave on November 3rd at the Microsoft convention – Let’s Talk Business-Tech that was held at Tel Aviv.

During the presentation, my co-presenter Ronen Gabay and myself talked about the new features of Failover Clustering in Windows 2008 R2.

We talked about Geo-Clusters, PowerShell 2.0 extensive support, Cluster Shared Volumes and mainly about how simple it is to create and manage complex cluster (everyone can do it! believe me! :) ).

We finished the presentation with a nice demo of RDS 7.0 media enhancement when we showed a 1080P HD movie (Terminators 2 Trailer) over RDP 7.0 while doing a Live Migration of the RDS Session Host virtual server that we RDPed into.. very nice!

What do you think, will we start seeing more clusters from now on? or something is still missing?

I’ll love to get your input.

 

 

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

Comprehensive List of Hyper-V Update List

April 6th, 2009 Amit Gatenyo No comments

Check out this nice list I found wondering on TechNet.

Mandatory reference in all Hyper-V implementation.

Knowledge Base Article Name Date Required? Availability Link
KB950050 ”Hyper-V Update for Windows Server 2008 x64 Edition” (This is the RTM version of Hyper-V.) 6/26/2008 Yes. Windows Update, Download Center http://go.microsoft.com/fwlink/?LinkId=139066
KB950182 “A computer that is running an x86-based version of Windows Server 2008 or an x86-based version of Windows Vista may use fewer processors than expected if the number of cores on a socket is not a power of 2” 04/11/2008 Yes, if you want to start an x86-based virtual machine running Windows Server 2008 on a computer that uses a 6-core processor. Hotfix http://go.microsoft.com/fwlink/?LinkId=139067
KB951308 “Increased functionality and virtual machine control in the Windows Server 2008 Failover Cluster Management console for the Hyper-V role” 09/11/2008 Yes, for Failover Clustering. Download Center http://go.microsoft.com/fwlink/?LinkID=125397
KB951636 “Hyper-V Language Pack Update for Windows Server 2008” 6/26/2008 Yes, if you are using the additional languages offered. Download Center http://go.microsoft.com/fwlink/?LinkId=139069
KB952627 “Description of the Windows Vista Service Pack 1 Management Tools update for the release version of Hyper-V” (Install this to enable remote management of a computer running Windows Server 2008 with the Hyper-V role installed.) 6/26/2008 Yes, to enable remote management using the Hyper-V Manager Microsoft Management Console (MMC) snap-in. Download Center http://go.microsoft.com/fwlink/?LinkID=122189
KB953585 “Error message when you try to start a Hyper-V virtual machine on a Windows Server 2008-based or Windows Vista-based computer that uses the NUMA architecture: "An error occurred while attempting to change the state of virtual machine VMNAME"” 09/04/2008 Yes, if you are using a computer running Windows Server 2008 with Non-Uniform Memory Access (NUMA) architecture. Hotfix http://go.microsoft.com/fwlink/?LinkId=139068
KB953828 “The NLB host does not converge as expected on Windows Server 2008 Hyper-V virtual machines” 6/25/2008 Yes, if you are using Network Load Balancing (NLB). Hotfix http://go.microsoft.com/fwlink/?LinkId=139070
KB956386 “Microsoft Hyper-V Server 2008” 10/03/2008 No. Download Center http://go.microsoft.com/fwlink/?LinkId=139610
KB956589 “Hyper-V Update for Windows Server 2008 x64 Edition” (Install this to resolve potential issues when you manage Hyper-V with System Center Virtual Machine Manager (VMM) 2008.) 9/23/2008 Yes, if you are using System Center VMM 2008 to manage your environment. Download Center http://go.microsoft.com/fwlink/?LinkId=139611
KB956697 “Update for Windows Server 2008 x64 Edition” (Install this to resolve an issue in which the Hyper-V Volume Shadow Copy Service (VSS) does not back up virtual machines properly.) 09/08/2008 Yes, if the Volume Shadow Copy Service (VSS) is utilized for backups. Windows Update, Download Center http://go.microsoft.com/fwlink/?LinkId=139612
KB956710 “Update for Windows Server 2008 x64 Edition” (Install this to enable the Hyper-V role to support up to 24 logical processors and 192 virtual machines.) 9/23/08 Yes, if the management operating system has more than 16 logical processors. Download Center http://go.microsoft.com/fwlink/?LinkId=139613
KB956774 “Update for Windows Server 2008 x64 Edition” (Install this to resolve the scenario where a Background Intelligent Transfer Service (BITS) client cannot handle files that have paths that contain the volume GUID in Windows Server 2008.) 9/23/08 Yes, if GUIDs are used instead of a drive letter or mount point. Hotfix http://go.microsoft.com/fwlink/?LinkId=139614
KB957967 “Stop error message on a Windows Server 2008-based computer that has the Hyper-V role installed: "STOP 0x0000001A"” 10/08/2008 Yes. Hotfix http://go.microsoft.com/fwlink/?LinkId=139615
KB958065 “You cannot configure a Hyper-V virtual machine by using Windows Server 2008 Failover Clustering when the virtual machine uses a storage device that is managed by a third-party clustered file system or a third-party replication solution” 11/03/2008 Yes, if you are using a non-Microsoft clustered file system or non-Microsoft replication solutions. Hotfix http://go.microsoft.com/fwlink/?LinkId=139616
KB958184 “Virtual machine backup operations fail in Windows Server 2008 when Hyper-V virtual machine files are saved on a volume that is mounted on a failover cluster by using a volume GUID” 11/05/2008 Yes, when backing up a volume that is mounted using a volume GUID. Hotfix http://go.microsoft.com/fwlink/?LinkID=133348
KB960578

“The IRET and IRETD instructions do not support the Nested Task (NT) flag in protected mode in a Windows Server 2008 Hyper-V environment”

12/17/2008 Yes, if you have a program that uses the IRET (interrupt return) or IRETD (interrupt return double) instruction.

Hotfix

http://go.microsoft.com/fwlink/?LinkId=145170
KB959962 “An update is available for Windows Server 2008-based computers to address issues with backing up and restoring Hyper-V virtual machines” 1/16/2009 Yes, when backing up virtual machines. Hotfix http://go.microsoft.com/fwlink/?LinkId=145171
VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

Comprehensive List of Hyper-V Updates

January 20th, 2009 Amit Gatenyo No comments

Check out this nice list I found wondering on TechNet. Mandatory reference in all Hyper-V implementation.

Knowledge Base Article Name Date Required? Availability Link
KB950050 ”Hyper-V Update for Windows Server 2008 x64 Edition” (This is the RTM version of Hyper-V.) 6/26/2008 Yes. Windows Update, Download Center http://go.microsoft.com/fwlink/?LinkId=139066
KB950182 “A computer that is running an x86-based version of Windows Server 2008 or an x86-based version of Windows Vista may use fewer processors than expected if the number of cores on a socket is not a power of 2” 04/11/2008 Yes, if you want to start an x86-based virtual machine running Windows Server 2008 on a computer that uses a 6-core processor. Hotfix http://go.microsoft.com/fwlink/?LinkId=139067
KB951308 “Increased functionality and virtual machine control in the Windows Server 2008 Failover Cluster Management console for the Hyper-V role” 09/11/2008 Yes, for Failover Clustering. Download Center http://go.microsoft.com/fwlink/?LinkID=125397
KB951636 “Hyper-V Language Pack Update for Windows Server 2008” 6/26/2008 Yes, if you are using the additional languages offered. Download Center http://go.microsoft.com/fwlink/?LinkId=139069
KB952627 “Description of the Windows Vista Service Pack 1 Management Tools update for the release version of Hyper-V” (Install this to enable remote management of a computer running Windows Server 2008 with the Hyper-V role installed.) 6/26/2008 Yes, to enable remote management using the Hyper-V Manager Microsoft Management Console (MMC) snap-in. Download Center http://go.microsoft.com/fwlink/?LinkID=122189
KB953585 “Error message when you try to start a Hyper-V virtual machine on a Windows Server 2008-based or Windows Vista-based computer that uses the NUMA architecture: “An error occurred while attempting to change the state of virtual machine VMNAME”” 09/04/2008 Yes, if you are using a computer running Windows Server 2008 with Non-Uniform Memory Access (NUMA) architecture. Hotfix http://go.microsoft.com/fwlink/?LinkId=139068
KB953828 “The NLB host does not converge as expected on Windows Server 2008 Hyper-V virtual machines” 6/25/2008 Yes, if you are using Network Load Balancing (NLB). Hotfix http://go.microsoft.com/fwlink/?LinkId=139070
KB956386 “Microsoft Hyper-V Server 2008” 10/03/2008 No. Download Center http://go.microsoft.com/fwlink/?LinkId=139610
KB956589 “Hyper-V Update for Windows Server 2008 x64 Edition” (Install this to resolve potential issues when you manage Hyper-V with System Center Virtual Machine Manager (VMM) 2008.) 9/23/2008 Yes, if you are using System Center VMM 2008 to manage your environment. Download Center http://go.microsoft.com/fwlink/?LinkId=139611
KB956697 “Update for Windows Server 2008 x64 Edition” (Install this to resolve an issue in which the Hyper-V Volume Shadow Copy Service (VSS) does not back up virtual machines properly.) 09/08/2008 Yes, if the Volume Shadow Copy Service (VSS) is utilized for backups. Windows Update, Download Center http://go.microsoft.com/fwlink/?LinkId=139612
KB956710 “Update for Windows Server 2008 x64 Edition” (Install this to enable the Hyper-V role to support up to 24 logical processors and 192 virtual machines.) 9/23/08 Yes, if the management operating system has more than 16 logical processors. Download Center http://go.microsoft.com/fwlink/?LinkId=139613
KB956774 “Update for Windows Server 2008 x64 Edition” (Install this to resolve the scenario where a Background Intelligent Transfer Service (BITS) client cannot handle files that have paths that contain the volume GUID in Windows Server 2008.) 9/23/08 Yes, if GUIDs are used instead of a drive letter or mount point. Hotfix http://go.microsoft.com/fwlink/?LinkId=139614
KB957967 “Stop error message on a Windows Server 2008-based computer that has the Hyper-V role installed: “STOP 0x0000001A”” 10/08/2008 Yes. Hotfix http://go.microsoft.com/fwlink/?LinkId=139615
KB958065 “You cannot configure a Hyper-V virtual machine by using Windows Server 2008 Failover Clustering when the virtual machine uses a storage device that is managed by a third-party clustered file system or a third-party replication solution” 11/03/2008 Yes, if you are using a non-Microsoft clustered file system or non-Microsoft replication solutions. Hotfix http://go.microsoft.com/fwlink/?LinkId=139616
KB958184 “Virtual machine backup operations fail in Windows Server 2008 when Hyper-V virtual machine files are saved on a volume that is mounted on a failover cluster by using a volume GUID” 11/05/2008 Yes, when backing up a volume that is mounted using a volume GUID. Hotfix http://go.microsoft.com/fwlink/?LinkID=133348
VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

DFS Improvements in Windows 2008 R2

January 20th, 2009 Amit Gatenyo 2 comments

Windows 2008 R2 will feature some major DFS improvements, following is an explanation of them:

1. Support for Windows Failover Clusters

In Windows Server 2008 R2, Windows Failover clusters can be configured to be part of a replication group. Windows Failover clustering technology enables administrators to configure services and applications to be highly available.

Busy hub servers located in the datacenter that replicate with many branch office servers are perfect candidates for clustered DFS Replication. These servers are critical to the replication infrastructure and administrators expect high availability from these servers. A failure (hardware/software) on such crucial servers has the potential to bring all replication activity to a standstill.

2. Read-only Replicated Folders

Often, customers use the DFS Replication service to publish data from a central server out to many branch office servers. A typical characteristic of this data is that it is created/modified at one location (typically the hub/datacenter server) and changes aren’t expected to occur on any of the other member servers. Usually, administrators configure strict ACLs for the replicated data to ensure that changes aren’t made by end-users in branch offices.

Configuring and maintaining strict ACLs to block accidental modifications or recovering data that has been accidentally deleted entail high administrative overheads. A new feature in Windows Server 2008 R2 called ‘Read-only replicated folders’, offers an easy to manage solution to this problem.

In essence, on a read-only replica:

  • Local modifications are blocked by the DFS Replication service. Changes to files/folders including creation, deletion, modification of attributes/permissions etc. are not possible. Semantically, the read-only replicated folder mimics a read-only share.

  • Changes from members hosting read-write copies are replicated in. The DFS Replication service replicates in changes from other replication partners that host read-write enabled copies of the replicated folder. This ensures that the data remains up to date on the read-only replica.

3. SYSVOL on Read-only Domain Controllers

Windows Server 2008 introduced support in the DFS Replication service for Read-only Domain Controllers (RODC).

Building on this implementation, in Windows Server 2008 R2 the concept of read-only replicated folders has been extended to the SYSVOL replicated folder. This means that on read-only domain controllers running Windows Server 2008 R2 and using the DFS Replication service to synchronize the SYSVOL share, the SYSVOL share is configured as a read-only replicated folder. Therefore, there is a change in the end-user experience for the SYSVOL share exposed by a Windows Server 2008 R2 domain controller.

On Windows Server 2008 based RODC: Changes can be made to the contents of the SYSVOL share on RODCs. However, the DFS Replication service monitors these changes and then asynchronously overwrites these changes with updates from a writable domain controller. Therefore, any changes made on a Windows Server 2008 RODC will be visible for a short duration, until they are reverted by the DFS Replication service.

On Windows Server 2008 R2 based RODC: Changes cannot be made to the contents of the SYSVOL share on RODCs. Any attempts to make such modifications will encounter an ACCESS DENIED error. Therefore, the SYSVOL share on such RODCs looks like a read-only share.

4. Diagnostics Improvements

Windows Server 2008 R2 also features a set of powerful enhancements to the diagnostics capabilities of the DFS Replication service. These are in the form of new command line options to the dfsrdiag.exe command line diagnostics tool.

Dfsrdiag.exe ReplState : This command line switch provides an insight into the current working state of the DFS Replication service. This command initiates a snapshot of the internal state of the service and thereby gathers a list of the updates that are currently being processed (downloaded from or served out to replication partners) by the service.

Using this command line switch, an administrator can retrieve a snapshot of the status of replication activity across all connections on a given DFS Replication member server.

Dfsrdiag.exe IdRecord: The DFS Replication service maintains a record for each file and folder in the replicated folder in its database. These are known as ID records. This command line switch can be used to display the ID record information maintained by the DFS Replication service corresponding to a particular file/folder in its database. The ID record also contains information such as version vectors of the file/folder, timestamps etc.

Using this command line switch, an administrator can dump the ID record corresponding to a file/folder on each individual replication member server. In order to check whether a particular update has replicated to the member servers in the replication group, the version information in the ID records on these members can be compared.

Dfsrdiag.exe FileHash: This command line switch computes and displays the file hash generated by the DFS Replication service for a particular file. The file hash can be used to compare two files and determine whether they are similar.

For instance, while pre-seeding the contents of a newly added replicated folder, it is often required to verify whether the file being pre-seeded is identical (attributes, timestamps, ACLs etc.) to that on the authoritative copy being used as the source for pre-seeding. By comparing the file hash generated by this command line option for two files, it is possible to verify if the files are identical. If the data being pre-seeded is identical to that contained on the source server, the DFS Replication service will complete initial sync much faster. This is because it does not need to download the file data and merely downloads metadata.

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

Hyper-V Clustering Guidance

January 12th, 2009 Amit Gatenyo No comments

Microsoft’s Virtualization UA team has put together some great Hyper-V clustering guidance on TechNet. 

Content includes:

  1. Design for a Failover Cluster in Which All Nodes Run Hyper-V – http://go.microsoft.com/fwlink/?LinkId=129117
  2. Requirements and Recommendations for Failover Clusters in Which All Nodes Run Hyper-V – http://go.microsoft.com/fwlink/?LinkId=129110
  3. Checklist: Failover Cluster in Which the Servers Run Hyper-V – http://go.microsoft.com/fwlink/?LinkId=129123

Enjoy!

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

Operation Manager 2007 in Highly Available and Distributed Enterprise Environments

December 19th, 2008 Amit Gatenyo No comments

SCOM MVP Andy Dominey has compiled a very nice document on installing System Center Operations Manager 2007 with high availability.

Get it from here – SCOM in Highly Available and Distributed Enterprise Environments.

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]
Categories: Clustering, SCOM Tags: ,

Presentations from the System Center Round Table for Enterprise Clients

December 19th, 2008 Amit Gatenyo No comments

As promised, I’ve uploaded the presentations from the sessions I gave on December 18th at Microsoft Israel. Enjoy.

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

Trend Micro OfficeScan on Server 2008 Cluster

December 15th, 2008 Kobi Akiva No comments

Issue:
Trend Micro OfficeScan Version 8.0 SP1 on a server 2008 Failover Cluster may cause the cluster service to fail while moving a resource group. 

Cause:
Current TDI Driver of the OfficeScan causes a loss of connectivity between the cluster nodes, and may cause the cluster service on one of the nodes to fail. The current version of  office scan doesn’t support Windows Server 2008 Clusters yet. It should be supported in the next version. 

Workaround:
Until the newer version of OfficeScan, a workaround is available for this issue.
Follow these instruction : 

Open Device Manager
Select View > Show Hidden Devices
Expand Non-Plug and play devices
Select Trend Micro TDI Driver  > Properties
Go to Driver tab
Under Current Status press the stop button
Under Startup change the type to Disabled (Uninstalling the driver didn’t work, because it was installed automatically at the next boot.) 


Repeat these steps on both nodes and restart them.

VN:F [1.9.3_1094]
VN:F [1.9.3_1094]

.