メインコンテンツまでスキップ

クラスタ内のすべての ONTAP ノードを正常にシャットダウンして電源をオンにする方法

Views:
9,666
Visibility:
Public
Votes:
10
Category:
ontap-9
Specialty:
hw
Last Updated:

環境

  • ONTAP 9
  • AFFシステム
  • FASシステム
  • MetroCluster構成を除く

説明

次のような一部のイベントでは、ONTAP機器の正常なシャットダウンが必要になることがあります。

  • 予定されたサイトの停電
  • データセンター全体のメンテナンス
  • 物理システムの移動
  • 将来の機器転用に備えた準備
要件
シャットダウン前
(ベストプラクティス)
ハードウェアコンポーネントの特定

ONTAPシステムは、次の1つ以上のコンポーネントで構成されます。次のリンクを使用して、オンサイトの担当者が機器を見つけて識別できるように、役立つ詳細情報と画像を参照してください。

手順

警告

この手順によってクラスタ内のすべてのノードがシャットダウンされ、システムの電源がオンになるまでクラスタ上のデータにアクセスできなくなります。

ONTAPシャットダウンプロセス
  1. SSHを使用してクラスタにログインします。それ以外の場合は、 ローカルのコンソールケーブルを使用して、クラスタ内の任意のノードからログインします。
  2. スケジュールされたメンテナンス中にケースの自動作成を停止する方法Windows解決ガイド シャットダウンイベントの予想される期間、ケース抑制AutoSupportメッセージと説明文を生成します。

cluster1::>system node autosupport invoke -node * -type all -message "MAINT=8h Power Maintenance"

  1. すべてのノードのSP / BMC IPアドレスを特定します。

cluster1::>system service-processor show -node * -fields address

node           address
-------------- ------------
cluster1-01    10.10.10.10
cluster1-02    10.10.10.20
cluster1-03    10.10.10.30
cluster1-04    10.10.10.40

  1. クラスタシェルを終了します。

cluster1::>exit

  1. [1] 手順3で説明したいずれかのノードのIPアドレスを使用して、SSH経由でSP / BMCに接続します。それ以外の場合は、 ローカルのコンソールケーブルを ノードに接続します。  同じクラスタ管理者のクレデンシャルを使用してログインします。 

SP / BMCプロンプトからにアクセスする場合は、に切り替えて system console クラスタ管理者のクレデンシャルを指定します。

login as: admin
admin@10.10.10.10's password: <password>
SP cluster1-01>system console
Type Ctrl-D to exit.
SP-login: admin
Password: <password>
cluster1::>​​​​

注: この手順で説明するように、すべてのSP / BMCとのSSHセッションウィンドウを開いて監視します。

  1. クラスタ内のすべてのノードを停止します。

ほとんどのクラスタ構成の場合:

cluster1::>system node halt -node * -skip-lif-migration-before-shutdown true -ignore-quorum-warnings true -inhibit-takeover true

SnapMirror SynchronousがStrictSync モードで動作しているクラスタの場合

cluster1::>system node halt -node * -skip-lif-migration-before-shutdown true -ignore-quorum-warnings true -inhibit-takeover true -ignore-strict-sync-warnings true

  1. 各ノードのプロンプトにと入力します。

Warning: Are you sure you want to halt node "cluster1-01"?
{y|n}: y

Warning: Are you sure you want to halt node "cluster1-02"?
{y|n}: y

Warning: Are you sure you want to halt node "cluster1-03"?
{y|n}: y

Warning: Are you sure you want to halt node "cluster1-04"?
{y|n}: y

4 entries were acted on.

  1. 各ノードが完全に停止するまで待ち  ます。LOADERプロンプトが表示されます。

LOADER-A>

  1.  SP / BMCを使用してクラスタ内の各ノードに接続する か(まだ接続していない場合)、または ローカルのコンソールケーブルを使用して接続し 、各ノードに LOADERプロンプトが表示されていることを確認します(手順8のように)。
電源オフアクティビティ

警告

完全な ONTAPシャットダウンプロセスが 完了するまで続行しないでください。

 

ローカルでの電源オフ(推奨)

ここでの身体活動により、システムの電源をオフにしても機器の損傷が発生しないようにし、機器の正しい起動順序に従うことで、イベントの完了後にONTAPシステムがデータを提供できるようにします。

  1. 装置のPSUロッカースイッチをオフの位置に切り替えます。

:一部のPSUにはロッカースイッチがありません。

  1. 各PSUをPDUに接続している電源ケーブルを取り外します。
  2. 各コンポーネントの電源が正常にオフになったことを目視で確認する。
  3. クラスタに関連付けられているすべてのコントローラ、ディスクシェルフ、およびスイッチの電源がオフになっていることを確認します。
リモートでの電源オフ
  1. [2] SSH経由でSP / BMCに接続します。
  2.     に切り替えて、ノードがLOADERプロンプトに達したことを確認します。 system console:

login as: admin
admin@10.10.10.10's password: <password>
SP cluster1-01>system console
Type Ctrl-D to exit.
LOADER-A> 

  1. オプション:   電源投入後に意図しないブートが実行されないようにするには、自動ブートを無効にします。

LOADER-A>printenv AUTOBOOT
AUTOBOOT        true

LOADER-A>setenv AUTOBOOT false

LOADER-A>saveenv

  1. SP / BMCプロンプトに戻り、ノードのリモート電源をオフにします。

SP/BMC>system power off

  1. シャットダウンを確認します。  「This will原因a dirty shutdown of your appliance」という警告が表示されます。 この処理は、クリーンシャットダウンの実行後、ノードにLOADERプロンプトが表示され 、それ以外の用途で原因によるデータ損失が発生した場合にのみ無視できます。

This will cause a dirty shutdown of your appliance. Continue? [y/n] y

  1. 電源がオフになっていることを確認します。

SP/BMC>system power status

Chassis Power is off

一部のモデルでは、「system power status」コマンドを実行すると、「Chassis Power is off」ではなく「Host Power is off」が返されることがあります。

  1. シャットダウンする他のノードについて、上記の手順を繰り返します。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.