Showing posts with label Windows Server 2008 R2. Show all posts
Showing posts with label Windows Server 2008 R2. Show all posts

Sunday, November 6, 2011

Stop 0x50 on Windows 2008 R2 Failover Cluster

I wanted to write something about what we have been seeing involving the use of Cluster Shared Volumes (CSV) and File Server resources on the same Cluster.There have been multiple instances we have seen regarding a Stop 0x00000050 on Cluster Servers that point to CSVFILTER.SYS as being the culprit.
同一クラスタ内にCSV構成と、ファイルサーバリソースが登録されている場合に、STOP ERROR 0x00000050が発生する。CSVFILTER.SYSが関係していて、これはCSVにメタデータを書き込む際に使われるフィルタードライバです。コーディネータの場合は直に書き込み、書き込むノードがコーディネータでない場合は、CSVFILTER.SYSがコーディネータへネットワーク経由でリダイレクトする。

構成としては以下3つのcaseが考えられる。


[case1]
A Cluster that has File Server resources only (no Hyper-V VMs) with Cluster Shared Volumes CSVが有効になっていて、ファイルサーバのリソースのみ登録されていて(Hyper-VのVMは登録されていない)状況の時

[Resolution]
you should disable CSV so that CSVFILTER.SYS is no longer in play.To do this, run Powershell from the Administrative Tools with this command
以下のコマンドパワーシェルから実行して、CSVを無効にし、CSVFILTER.SYSがロードされないようにする。
get-cluster %{$_.EnableSharedVolumes="Disabled"}


[case2]
File Server resources or shares that are located on the Cluster Shared Volumes
ファイルサーバリソース(シェア)がCSV上にある場合







So if you are keeping user or application data on a CSV drive, get it off or bad things can happen. This is not a valid or supported configuration.
上記メッセージあるように、Hyper-V専用にあるものなので、それ以外のリソースをおくと何が起こるかわからないのでノンサポートの構成ですとのこと。


[case3]
A Cluster that has both Hyper-V VMs on Cluster Shared Volumes and File Server resources on non-CSV drivesyou have all the highly available virtual machines on CSV drives and separate groups for File Servers on non-CSV drives. As mentioned at the beginning of this, CSVFILTER.SYS is attaching itself to all drives, including these non-CSV drives.This is where you would need the workaround and there are two options to consider.
クラスタが、Hyper-VのVMとファイルサーバリソース(非CSVドライブ)の両方を持っている場合この場合は、CSVFILTER.SYSは自分自身をすべてのドライブ(非CSVドライブも含めた)をアタッチするかたちになる。解決方法は、以下の2つがある。

[Resolution1]
The first is to create a virtual machine that is the File Server resource and shares. Add this VM into the Cluster on the drive that you can convert to Cluster Shared Volume.
親パーティションにてファイルサーバをホストするのではなく、子パーティションでホストする。言い換えると、ファイルサーバリソースとして登録するのではなく、ファイルサーバとなるVMを作成し、VMとしてCSV上に配置する。

[Resolution2]
The second option is to detach CSVFILTER.SYS from the non-CSV drives. This one is the easiest and quickest to do, but it is a little kludgy. For example, say your non-CSV was the Z: drive. To detach it, the command would be:
以下のコマンドを実行し、非CSVドライブに対するCSVFILTER.SYSをデタッチする。(Zはファイルサーバリソースで、非CSVドライブ)
Fltmc detach csvfilter z:
この方法は、クラスタサービスのリスタート、OSリブートするだけで元に戻ってしまうので、バッチを組んで対応する。



原文は以下を参照ください。
Ask the Core TeamMicrosoft Enterprise Platforms Support: Windows Server Core Team
http://blogs.technet.com/b/askcore/archive/2011/10/24/stop-0x50-on-windows-2008-r2-failover-cluster.aspx

Saturday, February 5, 2011

Intel nehalemハードでWindows 2008 R2のHyper-Vが有効になっていると、Stop Errorになることがある。

[症状 Sympthoms]

•A computer is running Windows Server 2008 R2 and has the Hyper-V role installed.
•This computer uses one or more Intel CPUs that are code-named Nehalem. For example, the Nehalem CPU for a server is from the Intel Xeon processor 5500 series, and the Nehalem CPU for a client is from the Intel Core-i processor series.
ハードウェアがサーバならXeon5500番台、クライアントならCore-iシリーズにWindows Server 2008 R2がインストールされていて、Hyper-vの役割が有効になっている時にでる以下Stop errorがでる可能性あり。
「0x00000101 (parameter1, 0000000000000000, parameter3, 000000000000000c)
CLOCK_WATCHDOG_TIMEOUT」


[原因 Cause]

This problem occurs because incorrect interrupts are generated on the computer that uses Intel processors that are code-named Nehalemintel nehalemコンピュータで正しくない?割り込みが発生するからだそうだ。
[解決策 Resolution]

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article
この問題専用の以下Hotfixがあります。http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=975530&kbln=en-us


[回避策 Workaround]

You can disable the Advance Configuration and Power Interface (ACPI) C-states by using a BIOS firmware option on the computer.
If the firmware does not include this option, a software workaround is available.
You can disable the ACPI C2-state and C3-state by setting a registry key. To do this, follow these steps:
ACPIを無効にすればよいです。BIOSのACPIオプションがない場合は、以下レジストリに必要なキーを登録して再起動すべし。
reg add HKLM\System\CurrentControlSet\Control\Processor /v Capabilities /t REG_DWORD /d 0x0007e066
The computer idle power consumption will increase significantly if the deeper ACPI C-states (processor idle sleep states) are disabled.
Windows Server 2008 R2 uses these deeper C-states on the Xeon 5500 series as a key energy-saving feature.
注意。これをやると電力消費量が増えるらしいです。
To continue to benefit from these energy-saving states, remove the registry key that you set in step 1 after you install the hotfix that this article describes.
To do remove the registry key, follow these steps:
省電力できなくていやな人はhotfixを当てた後に、前出のレジストリキーを削除して再起動するべし。
reg delete HKLM\System\CurrentControlSet\Control\Processor /v Capabilities /f
Microsoft KB http://support.microsoft.com/kb/975530