2013年11月28日木曜日

Exchange 2013 「メールボックスサーバー」「送信接続失敗時の再試行間隔(分)」で設定する数値は分ではなく、秒数です

  • このエントリーをはてなブックマークに追加


Exchange 2013で「サーバー」→「メールボックスサーバー」→「トランスポートの制限」→「再試行:送信接続失敗時の再試行間隔(分)」で設定した数値は分ではなく、秒数です。

例えば、500を設定した場合は、500分じゃなくて500秒です。

image

対応のパラメータ(OutboundConnectionFailureRetryInterval)を見ると"00:08:20"になっている。8分20秒です。

下記コマンドで確認できます。

Get-TransportService ws12mbx1 | fl OutboundConnectionFailureRetryInterval

2013年11月18日月曜日

Exchange 2013 DAGメンバーサーバーの追加時のエラ-

  • このエントリーをはてなブックマークに追加


EACからデータベース可用性グループを作成して、メンバーサーバーを追加したところ、以下のようなエラーが出ました。

サーバー側のデータベース可用性グループの管理操作に失敗しました。エラー:操作が失敗しました。CreateClusterエラーは静的アドレスが正しく設定されていないために発生した可能性があります。クラスタの操作中にエラーが発生しました。エラー:クラスターAPI’”0x5でCreateCluster()が失敗しました。エラー:アクセスが拒否されました。"’。「サーバー:<サーバーFQDN>」

アクティブマネージャーの操作は一時的なエラーが原因で失敗しました。操作を再施行してください。エラー:ノード<仮想サーバーFQDN>の完全修飾ドメイン名が見つかりませんでした。

 

どうやら仮想サーバーのオブジェクト作成に権限がないようです。

DAGを作成する前に、cluster name object (CNO)を作成したほうがいいです。

手順は以下です。


Pre-stage the CNO


  1. Open Active Directory Users and Computers.
  2. Expand the forest node.
  3. Right-click the organizational unit (OU) in which you want to create the new account, select New, and then select Computer.
  4. In New Object - Computer, type the computer account name for the CNO in the Computer name box. This is the name that you'll use for the DAG. Click OK to create the account.
  5. Right-click the new computer account, and then click Disable Account. Click Yes to confirm the disable action, and then click OK.

Assign permissions to the CNO


  1. Open Active Directory Users and Computers.
  2. If Advanced Features aren't enabled, turn them on by clicking View, and then clicking Advanced Features.
  3. Right-click the new computer account, and then click Properties.
  4. In <Computer Name> Properties, on the Security tab, click Add to add either the computer account for the first node to be added to the DAG or to add the Exchange Trusted Subsystem USG:
    • To add the Exchange Trusted Subsystem, type Exchange Trusted Subsystem in the Enter the object names to select field. Click OK to add the USG. Select the Exchange Trusted Subsystem USG and in the Permissions for Exchange Trusted Subsystem field, select Full Control in the Allow column. Click OK to save the permission settings.
    • To add the computer account for the first node to be added to the DAG, click Object Types. In the Object Types dialog box, clear the Built-in security principals, Groups, and Users check boxes. Select the Computers check box and click OK. In the Enter the object names to select field, type the name of the first Mailbox server to be added to the DAG, and then click OK. Select the first node's computer account, and in the Permissions for <NodeName>field, select Full Control in the Allow column. Click OK to save the permission settings.

 

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

2013年10月18日金曜日

Windows ストアでWindows 8.1の更新プログラムが見つかりません

  • このエントリーをはてなブックマークに追加


 

・KB 2871389更新プログラムがインストールされていない。Windows Updateからインストールする必要がある。

・以下のエディションの場合は、Storeから無料アップデートがサポートされていません。

  • Windows 8 Enterprise

  • Editions of Windows 8 Pro that are installed by enterprises using KMS activation

  • Editions of Windows 8 that are installed using an MSDN ISO, and activated using multiple activation keys

Why can't I find the update in the Store?

2013年10月16日水曜日

フェールオーバークラスタ Event ID 1194, 1069, 1205, 1254

  • このエントリーをはてなブックマークに追加


Windows Server 2012 でCluster1という名前のクラスタをインストールし、fileserverというファイルサーバー役割を構成しました。

役割fileserverを構成後、fileserverをオンラインにできず、以下のようなエラーイベントが出力されました。

ログの名前:         System
ソース:           Microsoft-Windows-FailoverClustering
日付:            2013/10/16 14:44:58
イベント ID:       1194
タスクのカテゴリ:      ネットワーク名リソース
レベル:           エラー
キーワード:        
ユーザー:          SYSTEM
コンピューター:       WS1201.abcd.local
説明:
クラスター ネットワーク名リソース 'fileserver' は、ドメイン 'abcd.local' の関連付けられたコンピューター オブジェクトを作成できませんでした (期間: Resource online)。

関連するエラー コードのテキストは次のとおりです: 制限の違反が発生しました。


ドメイン管理者と協力して、次のことを確認してください。
- クラスター ID 'CLUSTER1$' が、コンピューター オブジェクトを作成するためのアクセス許可を持っていること。既定では、すべてのコンピューター オブジェクトがクラスター ID 'CLUSTER1$' と同じコンテナー内に作成されます。
- コンピューター オブジェクトのクォータに達していないこと。
- 既存のコンピューター オブジェクトがある場合は、[Active Directory ユーザーとコンピューター] のツールを使用して、クラスター ID 'CLUSTER1$' にそのコンピューター オブジェクトに対するフル コントロールのアクセス許可があることを確認してください
。
イベント XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
    <EventID>1194</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>19</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-10-16T05:44:58.872055000Z" />
    <EventRecordID>1208</EventRecordID>
    <Correlation />
    <Execution ProcessID="5160" ThreadID="3020" />
    <Channel>System</Channel>
    <Computer>WS1201.abcd.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="ResourceName">fileserver</Data>
    <Data Name="DomainName">abcd.local</Data>
    <Data Name="FailureString">Resource online</Data>
    <Data Name="Status">制限の違反が発生しました。
</Data>
    <Data Name="ClusterIdentity">CLUSTER1$</Data>
    <Data Name="BinaryParameterLength">4</Data>
    <Data Name="BinaryData">2F200000</Data>
  </EventData>
</Event>

ログの名前:         System
ソース:           Microsoft-Windows-FailoverClustering
日付:            2013/10/16 14:44:58
イベント ID:       1069
タスクのカテゴリ:      リソース コントロール マネージャー
レベル:           エラー
キーワード:        
ユーザー:          SYSTEM
コンピューター:       WS1201.abcd.local
説明:
クラスター化された役割 'fileserver' の種類 'Network Name' のクラスター リソース 'fileserver' が失敗しました。

リソースおよび役割のエラー ポリシーに基づいて、このノードでリソースをオンラインにする処理またはグループをクラスターの別のノードに移動した後に再起動する処理がクラスター サービスによって試行される場合があります。フェールオーバー クラスター マネージャーまたは Get-ClusterResource Windows PowerShell コマンドレットを使用して、リソースおよびグループの状態を確認してください。
イベント XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
    <EventID>1069</EventID>
    <Version>1</Version>
    <Level>2</Level>
    <Task>3</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-10-16T05:44:58.879055700Z" />
    <EventRecordID>1209</EventRecordID>
    <Correlation />
    <Execution ProcessID="4256" ThreadID="4468" />
    <Channel>System</Channel>
    <Computer>WS1201.abcd.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="ResourceName">fileserver</Data>
    <Data Name="ResourceGroup">fileserver</Data>
    <Data Name="ResTypeDll">Network Name</Data>
  </EventData>
</Event>

ログの名前:         System
ソース:           Microsoft-Windows-FailoverClustering
日付:            2013/10/16 14:44:58
イベント ID:       1205
タスクのカテゴリ:      リソース コントロール マネージャー
レベル:           エラー
キーワード:        
ユーザー:          SYSTEM
コンピューター:       WS1201.abcd.local
説明:
クラスター化されたサービスまたはアプリケーション 'fileserver' を完全にオンラインまたはオフラインにすることはできませんでした。1 つ以上のリソースが失敗した状態になっている可能性があります。これは、クラスター化されたサービスまたはアプリケーションの可用性に影響を及ぼす場合があります。
イベント XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
    <EventID>1205</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>3</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-10-16T05:44:58.880056600Z" />
    <EventRecordID>1210</EventRecordID>
    <Correlation />
    <Execution ProcessID="4256" ThreadID="4468" />
    <Channel>System</Channel>
    <Computer>WS1201.abcd.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="ResourceGroup">fileserver</Data>
  </EventData>
</Event>

ログの名前:         System
ソース:           Microsoft-Windows-FailoverClustering
日付:            2013/10/16 14:44:58
イベント ID:       1254
タスクのカテゴリ:      リソース コントロール マネージャー
レベル:           エラー
キーワード:        
ユーザー:          SYSTEM
コンピューター:       WS1201.abcd.local
説明:
クラスター化された役割 'fileserver' がフェールオーバーのしきい値を超えました。割り当てられたフェールオーバー期間内に試行できる構成済みのフェールオーバー回数の上限に達したため、エラー状態のままとなります。この役割をオンラインにしたり、クラスター内の別の役割にフェールオーバーしたりするために、これ以上の処理が試行されることはありません。エラーに関係するイベントを確認してください。エラーの原因となった問題を解決した後で、この役割を手動でオンラインにするか、再起動の遅延期間が過ぎた後で、クラスターから役割をオンラインにすることができます。
イベント XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
    <EventID>1254</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>3</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-10-16T05:44:58.880056600Z" />
    <EventRecordID>1211</EventRecordID>
    <Correlation />
    <Execution ProcessID="4256" ThreadID="4468" />
    <Channel>System</Channel>
    <Computer>WS1201.abcd.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="ResourceGroup">fileserver</Data>
  </EventData>
</Event>

原因としては、Cluster Name Object(CNO)であるCluster1がfileserverコンピューターオブジェクトを作成する権限を持っていないからです。

こちらの環境は、クラスタノードがDCになっているため、CNOとVirtual Computer Objects (VCO)が「Domain Controllers」に入っています。メンバーサーバーの場合は、コンテナ「Computers」に入るはず。

image

CNO(Cluster1)がOU「Domain Controllers」に対し、Create権限がなくて、fileserverというVCOを作成できないため、エラーが発生したわけです。

で、解決方法は、Cluster1に権限を付与すればいいです。

1,「Active Directoryユーザーとコンピューター」を起動し、「Domain Controllers」を右クリックし、「プロパティ」を選択する。

2,「セキュリティ」タブで「詳細設定」をクリックする。

3,詳細設定画面で「追加」をクリックする。

4,「プリンシパルの選択」をクリックする。
image

5,以下の画面が表示され、「オブジェクトの種類」で「コンピューター」をチェックする。Cluster1(CNO)を入力しOK。
image image

image

6,アクセス許可エントリ画面で「すべてのプロパティの読み取り」と「コンピューターオブジェクトの作成」をチェックして、OKをクリック。

imageimage

2013年10月11日金曜日

Windows Server 2012 Failover Cluster logの場所

  • このエントリーをはてなブックマークに追加


Windows Server 2012ではGet-ClusterLogというPowershellコマンドがあります。これを使って、クラスタログの場所や、ログファイルの属性(サイズ、更新日時)などを確認することができます。

Get-ClusterLog

image

ログファイルのLengthは4369648で、場所は\\WS1202.abcd.local\admin$\Cluster\Reports\Cluster.logになっていることがわかります。