netapp

NetApp Clustered DataONTAP command lines

はじめに

Virtual Volumes の挙動を Nested ESXi 環境で気軽に試すために NetApp Clustered DataONTAP Simulator (vsim) をセットアップしています。この記事ではその際に利用したコマンドラインを備忘録として残します。

  • クラスター名を cdot-00a
  • ノード名を cdot-01a

とした 1 ノード クラスタを作成します。

コマンド集

ノードの名前を変更する

cdot-00a::> system node show
Node      Health Eligibility Uptime        Model       Owner    Location
--------- ------ ----------- ------------- ----------- -------- ---------------
cdot-00a-01
          true   true         00:13:08.007 SIMBOX               site-a

cdot-00a::> system node rename -node cdot-00a-01 -newname cdot-01a
[Job 13] Job succeeded: Rename of the node "cdot-00a-01" to "cdot-01a" is successful.

cdot-00a::>

Diag ユーザーで Systemshell にログイン

cdot-00a::> security login unlock -username diag

cdot-00a::> security login password -username diag

Enter a new password:
Enter it again:

cdot-00a::> set -privilege advanced

Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y

cdot-00a::*> systemshell local
  (system node systemshell)

Data ONTAP/amd64 (cdot-01a) (pts/2)

login: diag
Password:


Warning:  The system shell provides access to low-level
diagnostic tools that can cause irreparable damage to
the system if not used properly.  Use this environment
only when directed to do so by support personnel.

cdot-01a%

vsim のディスクを追加

以下は systemshell で実行。/usr/sbin はすでにパスに入っているので setenv せずとも vsim_makedisks を実行できます。

cdot-01a% echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/var/home/diag/bin
cdot-01a% cd /sim/dev
cdot-01a% vsim_makedisks -h
Usage: /usr/sbin/vsim_makedisks [ -n <additional number of disks to create> ]
          [ -t <disk type ID> ]
          [ -e <additional sectors> ]
          [ -a <adapter on which to start populating disks ]
          [ -h ]

By default 5 disks will be added. The <disk type ID> can be one
of the following: (NOTE, 0 is the default)
                                                               Fast
Type Vendor ID Product ID       Usable Size[B] Actual Size[B]  Zero  BPS   RPM
  0  NETAPP__  VD-16MB_________     16,777,216     38,273,024   No   512  10000
  1  NETAPP__  VD-35MB_________     35,913,728     57,409,536   No   512  10000
  2  NETAPP__  VD-50MB_________     52,428,800     73,924,608   No   512  10000
  3  NETAPP__  VD-100MB________    104,857,600    126,353,408   No   512  10000
  4  NETAPP__  VD-500MB________    524,288,000    545,783,808   No   512  10000
  5  NETAPP__  VD-1000MB_______  1,048,576,000  1,070,071,808   No   512  10000
  6  NETAPP__  VD-16MB-FZ______     16,777,216     38,273,024   Yes  512  15000
  7  NETAPP__  VD-35MB-FZ______     35,913,728     57,409,536   Yes  512  15000
  8  NETAPP__  VD-50MB-FZ______     52,428,800     73,924,608   Yes  512  15000
  9  NETAPP__  VD-100MB-FZ_____    104,857,600    126,353,408   Yes  512  15000
 10  NETAPP__  VD-500MB-FZ_____    524,288,000    545,783,808   Yes  512  15000
 11  NETAPP__  VD-1000MB-FZ____  1,048,576,000  1,070,071,808   Yes  512  15000
 12  NETAPP__  VD-16MB-520_____     16,777,216     38,273,024   No   520  10000
 13  NETAPP__  VD-35MB-520_____     35,913,728     57,409,536   No   520  10000
 14  NETAPP__  VD-50MB-520_____     52,428,800     73,924,608   No   520  10000
 15  NETAPP__  VD-100MB-520____    104,857,600    126,353,408   No   520  10000
 16  NETAPP__  VD-500MB-520____    524,288,000    545,783,808   No   520  10000
 17  NETAPP__  VD-1000MB-520___  1,048,576,000  1,070,071,808   No   520  10000
 18  NETAPP__  VD-16MB-FZ-520__     16,777,216     38,273,024   Yes  520  15000
 19  NETAPP__  VD-35MB-FZ-520__     35,913,728     57,409,536   Yes  520  15000
 20  NETAPP__  VD-50MB-FZ-520__     52,428,800     73,924,608   Yes  520  15000
 21  NETAPP__  VD-100MB-FZ-520_    104,857,600    126,353,408   Yes  520  15000
 22  NETAPP__  VD-500MB-FZ-520_    524,288,000    545,783,808   Yes  520  15000
 23  NETAPP__  VD-1000MB-FZ-520  1,048,576,000  1,070,071,808   Yes  520  15000
 24  NETAPP__  VD-16MB-FZ-ATA__     16,777,216     51,388,416   Yes  512   7200
 25  NETAPP__  VD-35MB-FZ-ATA__     36,700,160     73,801,728   Yes  512   7200
 26  NETAPP__  VD-50MB-FZ-ATA__     52,428,800     91,496,448   Yes  512   7200
 27  NETAPP__  VD-100MB-FZ-ATA_    104,857,600    150,478,848   Yes  512   7200
 28  NETAPP__  VD-500MB-FZ-ATA_    524,288,000    622,338,048   Yes  512   7200
 29  NETAPP__  VD-1000MB-FZ-ATA  1,048,576,000  1,212,162,048   Yes  512   7200
 30  NETAPP__  VD-2000MB-FZ-520  2,097,512,000  2,119,007,808   Yes  520  15000
 31  NETAPP__  VD-4000MB-FZ-520  4,194,304,000  4,215,799,808   Yes  520  15000
 32  NETAPP__  VD-2000MB-FZ-ATA  2,097,512,000  2,391,810,048   Yes  512   7200
 33  NETAPP__  VD-4000MB-FZ-ATA  4,194,304,000  4,751,106,048   Yes  512   7200
 34  NETAPP__  VD-100MB-SS-512_    104,857,600    126,353,408   Yes  512  15000
 35  NETAPP__  VD-500MB-SS-520_    524,288,000    545,783,808   Yes  520  15000
 36  NETAPP__  VD-9000MB-FZ-520  9,437,184,000  9,458,679,808   Yes  520  15000
 37  NETAPP__  VD-9000MB-FZ-ATA  9,437,184,000 10,649,346,048   Yes  512   7200
cdot-01a% sudo vsim_makedisks -n 14 -t 36 -a 2
Creating ,disks/v2.16:NETAPP__:VD-9000MB-FZ-520:46594100:18488448
Creating ,disks/v2.17:NETAPP__:VD-9000MB-FZ-520:46594101:18488448
Creating ,disks/v2.18:NETAPP__:VD-9000MB-FZ-520:46594102:18488448
Creating ,disks/v2.19:NETAPP__:VD-9000MB-FZ-520:46594103:18488448
Creating ,disks/v2.20:NETAPP__:VD-9000MB-FZ-520:46594104:18488448
Creating ,disks/v2.21:NETAPP__:VD-9000MB-FZ-520:46594105:18488448
Creating ,disks/v2.22:NETAPP__:VD-9000MB-FZ-520:46594106:18488448
Creating ,disks/v2.24:NETAPP__:VD-9000MB-FZ-520:46594107:18488448
Creating ,disks/v2.25:NETAPP__:VD-9000MB-FZ-520:46594108:18488448
Creating ,disks/v2.26:NETAPP__:VD-9000MB-FZ-520:46594109:18488448
Creating ,disks/v2.27:NETAPP__:VD-9000MB-FZ-520:46594110:18488448
Creating ,disks/v2.28:NETAPP__:VD-9000MB-FZ-520:46594111:18488448
Creating ,disks/v2.29:NETAPP__:VD-9000MB-FZ-520:46594112:18488448
Creating ,disks/v2.32:NETAPP__:VD-9000MB-FZ-520:46594113:18488448
Shelf file Shelf:DiskShelf14 updated
cdot-01a% sudo vsim_makedisks -n 14 -t 36 -a 3
Creating ,disks/v3.16:NETAPP__:VD-9000MB-FZ-520:48704500:18488448
Creating ,disks/v3.17:NETAPP__:VD-9000MB-FZ-520:48704501:18488448
Creating ,disks/v3.18:NETAPP__:VD-9000MB-FZ-520:48704502:18488448
Creating ,disks/v3.19:NETAPP__:VD-9000MB-FZ-520:48704503:18488448
Creating ,disks/v3.20:NETAPP__:VD-9000MB-FZ-520:48704504:18488448
Creating ,disks/v3.21:NETAPP__:VD-9000MB-FZ-520:48704505:18488448
Creating ,disks/v3.22:NETAPP__:VD-9000MB-FZ-520:48704506:18488448
Creating ,disks/v3.24:NETAPP__:VD-9000MB-FZ-520:48704507:18488448
Creating ,disks/v3.25:NETAPP__:VD-9000MB-FZ-520:48704508:18488448
Creating ,disks/v3.26:NETAPP__:VD-9000MB-FZ-520:48704509:18488448
Creating ,disks/v3.27:NETAPP__:VD-9000MB-FZ-520:48704510:18488448
Creating ,disks/v3.28:NETAPP__:VD-9000MB-FZ-520:48704511:18488448
Creating ,disks/v3.29:NETAPP__:VD-9000MB-FZ-520:48704512:18488448
Creating ,disks/v3.32:NETAPP__:VD-9000MB-FZ-520:48704513:18488448
Shelf file Shelf:DiskShelf14 updated
cdot-01a%

diag ユーザーをロック

cdot-00a::*> set -privilege admin

cdot-00a::> security login lock -username diag

cdot-00a::>

追加したディスクを assign する

cdot-00a::> storage disk assign -all true -node cdot-01a

cdot-00a::> storage disk show
                     Usable           Container
Disk                   Size Shelf Bay Type        Position   Aggregate Owner
---------------- ---------- ----- --- ----------- ---------- --------- --------
cdot-01a:v4.16       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.17       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.18       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.19       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.20       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.21       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.22       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.24       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.25       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.26       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.27       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.28       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.29       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v4.32       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.16       1020MB     -   - aggregate   dparity    aggr0     cdot-01a
cdot-01a:v5.17       1020MB     -   - aggregate   parity     aggr0     cdot-01a
cdot-01a:v5.18       1020MB     -   - aggregate   data       aggr0     cdot-01a
cdot-01a:v5.19       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.20       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.21       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.22       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.24       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.25       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.26       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.27       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.28       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.29       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v5.32       1020MB     -   - spare       present    -         cdot-01a
cdot-01a:v6.16       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.17       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.18       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.19       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.20       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.21       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.22       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.24       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.25       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.26       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.27       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.28       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.29       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v6.32       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.16       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.17       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.18       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.19       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.20       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.21       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.22       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.24       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.25       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.26       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.27       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.28       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.29       8.81GB     -   - spare       present    -         cdot-01a
cdot-01a:v7.32       8.81GB     -   - spare       present    -         cdot-01a
56 entries were displayed.

cdot-00a::>

関連記事

  1. vmotion

    vMotion の歴史 (5) – vCenter Server 5.1 –…

    前回のエントリでは vCenter Server 5.0 までの vM…

  2. vmware

    VMware から提供されるサービス

    はじめにVMware Cloud on AWS は、AWS のデー…

  3. vcenter

    How to deploy vCenter Server 6.0 (Embedded) applia…

    まとめこのエントリは Embedded (PSC: Platfo…

  4. console

    VMware Remote Console 9.0 was just released

    VMware Remote Console (VMRC) 9.0 が …

  5. nested esxi

    vSphere Home Lab 向けの CentOS 7.x NFS Server

    まとめ検証環境であることから、性能を少しでも稼ぐのとズボラな設定…

  6. vmotion

    vMotion の歴史 (6) – vCenter Server 6.0 – Technology …

    前回のエントリでは vCenter Server 5.5 までの vM…

コメント

  1. この記事へのコメントはありません。

  1. この記事へのトラックバックはありません。










  1. vsphere

    ESXi の ポート 902 について
  2. powercli

    オフラインで VMware PowerCLI 6.5.1 をインストールする
  3. angularjs

    Pro AngularJS の Getting Ready の node スクリ…
  4. vco

    [Fixed] Unable to serialize object of cl…
  5. container

    Container Technology Map
PAGE TOP
Translate »