NETWORK ENGINEER BLOG

Tips and Reviews for Engineers

ONTAP 8.2 シミュレーター(Cluster-Mode)初期セットアップ

ONTAP 8.2 シミュレーターがリリースされていたので試してみました。
今回は、汎用性の高い仕様に変更され、注目が高まっている Cluster-Mode を使用します。
7-Mode の初期セットアップ方法については、こちらをご参照頂けますと幸いです。

7-Mode と Cluster-Mode の違い
  • 7-Mode
    • スケールアップ型のアーキテクチャ
    • コントローラーとディスクを搭載したシェルフが分離した構造が前提。
    • パフォーマンスを強化する場合は、より高速なコントローラーに「スケールアップ」する。*1
  • Cluster-Mode
    • スケールアウト型のアーキテクチャ
    • コントローラーを「スケールアウト」し、パフォーマンスを強化する事が可能。
    • 新旧のモデル(旧モデルは、2世代前までを推奨)をクラスターに同居させることが可能。
First Node のセットアップ(例)

初期 boot の手順は、7-Mode と同様になります。

クラスタを作成します。

Welcome to the cluster setup wizard.
You can enter the following commands at any time:
"help" or "?" - if you want to have a question clarified,
"back" - if you want to change previously answered questions, and
"exit" or "quit" - if you want to quit the cluster setup wizard.
Any changes you made before quitting will be saved.
You can return to cluster setup at any time by typing "cluster setup".
To accept a default or omit a question, do not enter a value.
Do you want to create a new cluster or join an existing cluster?
{create}: create

デフォルトの値を使用するため、Enter を実行します。

System Defaults:
Private cluster network ports [e0a].
Cluster port MTU values will be set to 1500.
Cluster interface IP addresses will be automatically generated.
Do you want to use these defaults? {yes, no} [yes]: <Enter>

クラスタ名[cluster1]を設定します。

It can take several minutes to create cluster interfaces...
Step 1 of 5: Create a Cluster
You can type "back", "exit", or "help" at any question.
Enter the cluster name: cluster1

license key を入力し実行します。*2

Enter the cluster base license key: 

クラスタ管理ポート及び、アドレスを設定します。

Enter the cluster management interface port [e0c]: e0c
Enter the cluster management interface IP address: 192.168.1.50
Enter the cluster management interface netmask: 255.255.255.0
Enter the cluster management interface default gateway: 192.168.1.2
A cluster management interface on port e0c with IP address 192.168.1.50 has been created.
You can use this address to connect to and manager the cluster.
Enter the DNS domain names: <Enter>

SFO(Storage Failover)情報であるロケーション[lab]を設定します。

Where is the controller located []: lab

ノード管理ポート及び、アドレスを設定します。

Enter the node management interface port [e0c]: <Enter>
Enter the node management interface IP address: 192.168.1.53
Enter the node management interface netmask: 255.255.255.0
Enter the node management interface default gateway: <Enter>
A node management interface on port e0c with IP address 192.168.1.53
has been created.

以上でセットアップは完了です。

You can access your cluster to complete these tasks by:
1) Using the NetApp System Manager to manage cluster cluster1 at 192.168.1.50.
NetApp System Manager must be at version 2.0 or above.
You can download System Manager from http://support.netapp.com
2) Logging in to the cluster by using SSH (secure shell) from your work station:
ssh admin@192.168.1.50

"cluster show"コマンドで、クラスタ情報を確認します。

cluster1::> cluster show
Node                  Health  Eligibility
--------------------- ------- ------------
cluster1-01           true    true

下記コマンドで、使用可能なディスクをノードに追加します。

cluster1::> storage disk assign -all true -node cluster1-01
Second Node セットアップ(例)

Serial Number 及び、System ID を変更します。*3

[シリアルポート]の[Named Pipe]を \\.\pipe\vsim-cm-N2-cons へ変更します。
f:id:FriendsNow:20130707235031p:plain

[シリアルポート2]の[Named Pipe]を \\.\pipe\vsim-cm-N2-gdb へ変更します。
f:id:FriendsNow:20130707235039p:plain

ONTAP を起動後即時に Space key を押下し、VLOADER> プロンプトを確認します。

Serial Number 及び System ID を変更します。

VLOADER> setenv SYS_SERIAL_NUM 4034389-06-2
VLOADER> setenv bootarg.nvram.sysid 4034389062

Serial Number 及び System ID を確認します。

VLOADER> printenv SYS_SERIAL_NUM
VLOADER> printenv bootarg.nvram.sysid

新しい Serial Number 及び System ID で起動します。

VLOADER> boot

初期 boot の手順は、7-Mode と同様になります。

First Node セットアップ時に作成したクラスタ[Cluster1]へ join します。

Welcome to the cluster setup wizard.
You can enter the following commands at any time:
"help" or "?" - if you want to have a question clarified,
"back" - if you want to change previously answered questions, and
"exit" or "quit" - if you want to quit the cluster setup wizard.
Any changes you made before quitting will be saved.
You can return to cluster setup at any time by typing "cluster setup".
To accept a default or omit a question, do not enter a value.
Do you want to create a new cluster or join an existing cluster?
{join}: join

デフォルトの値を使用するため、Enter を実行します。

System Defaults:
Private cluster network ports [e0a].
Cluster port MTU values will be set to 1500.
Cluster interface IP addresses will be automatically generated.
Do you want to use these defaults? {yes, no} [yes]: <Enter>

join するクラスタを選択し Enter を実行します。

It can take several minutes to create cluster interfaces...
Step 1 of 3: Join an Existing Cluster
You can type "back", "exit", or "help" at any question.
Enter the name of the cluster you would like to join [cluster1]:
<Enter>

ノード管理ポート及び、アドレスを設定します。

Step 3 of 3: Set Up the Node
You can type "back", "exit", or "help" at any question.
Enter the node management interface port [e0c]: <Enter>
Enter the node management interface IP address: 192.168.1.54
Enter the node management interface netmask [255.255.255.0]: <Enter>
Enter the node management interface default gateway: <Enter>

以上でセットアップは完了です。

A node management interface on port e0c with IP address 192.168.1.54 has been created.
Cluster setup is now complete.
To begin storing and serving data on this cluster, you must complete the following additional tasks if they have not already been completed:
1) Join additional nodes to the cluster by running "cluster setup" on those nodes.
2) If in a HA configuration, verify that storage failover is enabled by running the "storage failover show" command.
3) Create a Vserver by running the "vserver setup" command.
You can access your cluster to complete these tasks by:
1) Using the NetApp System Manager to manage cluster cluster1 at 192.168.1.54.
NetApp System Manager must be at version 2.0 or above.
You can download System Manager from http://support.netapp.com
2) Logging in to the cluster by using SSH (secure shell) from your work station:
ssh admin@192.168.1.50

"cluster show"コマンドで、クラスタ情報を確認します。

cluster1::> cluster show
Node                  Health  Eligibility
--------------------- ------- ------------
cluster1-01           true    true
cluster1-02           true    true
2 entries were displayed.

下記コマンドで、使用可能なディスクをノードに追加します。

cluster1::> storage disk assign -all true -node cluster1-01

*1:容量を増やす場合は、シェルフを追加し対応する。

*2:シミュレーターをダウンロードする URL にあります。

*3:Serial Number と System ID はクラスタ内の各ノードでユニークである必要があります。