NETWORK ENGINEER BLOG

Tips and Reviews for Engineers

ONTAP 8.1 シミュレーター初期セットアップ

ONTAP は、NetApp 社のストレージシステムで使用されている OS です。ONTAP 8.1 シミュレーターでは、この OS の運用・管理を体験できます。シミュレーター及びライセンスは、NOW からダウンロード可能です。以下、VMware Workstaion 8.0.1 上にインストールする際の例になります。

仮想マシンセットアップ

デフォルトでは、NIC を 4 つ(e0a, e0b, e0c, e0d)認識しています。必要に応じて NIC の追加、 削除を行います。例では、NIC を2つ(e0a:管理用、e0b:ストレージ接続用)とします。
f:id:FriendsNow:20130123145331p:plain
f:id:FriendsNow:20130123145338p:plain

初期 Boot

VMware Workstaion からシミュレーター仮想マシンを起動します。起動後、"Press Ctrl +C" for Boot Menu." メッセージが表示されますので、CTRL + C を実行します。Boot Menu 表示後、"4" Clean configuration and initialize all disks.を選択し、config のをクリア及び zeroing(要 Reboot)を行います。
f:id:FriendsNow:20130123145348p:plain
f:id:FriendsNow:20130123145355p:plain
f:id:FriendsNow:20130123145400p:plain

初期 Setup

ホスト名、ネットワーク等の設定を行います。初期設定の再設定は、setup コマンドで可能です。
尚、設定を反映させるためには再起動が必要です。

netapp> setup
The setup command will rewrite the /etc/rc, /etc/exports,
/etc/hosts, /etc/hosts.equiv, /etc/dgateways, /etc/nsswitch.conf,
and /etc/resolv.conf files, saving the original contents of
these files in .bak files (e.g. /etc/exports.bak).
Are you sure you want to continue? [yes]
        NetApp Release 8.1.1X34 7-Mode: Thu May 31 21:30:59 PDT 2012
        System ID: 4061490311 (netapp)
        System Serial Number: 4061490-31-1 (netapp)
        System Storage Configuration: Multi-Path
        System ACP Connectivity: NA
        slot 0: System Board
                Processors:         2
                Memory Size:        4096 MB
                Memory Attributes:  None
        slot 0: 10/100/1000 Ethernet Controller V
                e0a MAC Address:    00:0c:29:1a:e7:91 (auto-1000t-fd-up)
                e0b MAC Address:    00:0c:29:1a:e7:9b (auto-1000t-fd-up)
Please enter the new hostname [netapp]:
Do you want to enable IPv6? [n]:
Do you want to configure interface groups? [n]:
Please enter the IP address for Network Interface e0a [192.168.1.51]:
Please enter the netmask for Network Interface e0a [255.255.255.0]:
Please enter media type for e0a {100tx-fd, tp-fd, 100tx, tp, auto (10/100/1000)} [auto]:
Please enter flow control for e0a {none, receive, send, full} [full]:
Do you want e0a to support jumbo frames? [y]:
Please enter the IP address for Network Interface e0b [1.1.1.51]:
Please enter the netmask for Network Interface e0b [255.255.255.0]:
Please enter media type for e0b {100tx-fd, tp-fd, 100tx, tp, auto (10/100/1000)} [auto]:
Please enter flow control for e0b {none, receive, send, full} [full]:
Do you want e0b to support jumbo frames? [y]:
Would you like to continue setup through the web interface? [n]:
Please enter the name or IP address of the IPv4 default gateway [192.168.1.2]:
        The administration host is given root access to the filer's
        /etc files for system administration.  To allow /etc root access
        to all NFS clients enter RETURN below.
Please enter the name or IP address of the administration host:
Please enter timezone [Japan]:
Where is the filer located? []:
Enter the root directory for HTTP files [/vol/vol0/home/http]:
Do you want to run DNS resolver? [n]:
Do you want to run NIS client? [n]:
This system will send event messages and weekly reports to NetApp Technical Support. To disable this feature, enter "options autosupport.support.enable off" within 24 hours. Enabling AutoSupport can significantly speed problem determination and resolution should a problem occur on your system. For further information on AutoSupport, please see: http://now.netapp.com/autosupport/
        Press the return key to continue.


        The Shelf Alternate Control Path Management process provides the ability
        to recover from certain SAS shelf module failures and provides a level of
        availability that is higher than systems not using the Alternate Control
        Path Management process.
Do you want to configure the Shelf Alternate Control Path Management interface for SAS shelves [n]:
        The initial aggregate currently contains 3 disks;  you may add more
        disks to it later using the "aggr add" command.

Now type 'reboot' for changes to take effect.
netapp> reboot
オプション設定

Telnet 及び、HTTP 接続はデフォルトで無効となっているので、必要に応じて有効にします。

ontap> options telnet.enable on
ontap> options telnet
telnet.access                legacy
telnet.distinct.enable       on
telnet.enable                on
ontap> options httpd.admin.enable on
ontap> options httpd.admin
httpd.admin.access           legacy
httpd.admin.enable           on

*ONTAP 8.01 では、上記を有効化すると HTTP アクセス(http://ipaddress/na_admin)で、FilerView を呼び出す事が可能となりますが、8.1 では、"Error 500 Servlets not enabled" エラーが出力されました。調べてみると、FilerView は、8.1 以降はサポートしておらず、System Manager でのみ対応しているとの情報もあり、引き続き調査予定です。
http://communities.netapp.com/thread/17542
Filerview is no longer available is 8.1. For a GUI use system manager 2.0r1 and operations manager / NetApp management console in the on command products.System manager replaces Filerview for 8.1.

ライセンスの有効化

使用する機能に対応したライセンス(CIFS, iSCSI 等)を有効化する必要があります。
アクティベートは、"license add "ライセンス" コマンドにより、行います。
ライセンスの詳細については Data ONTAP Simulator Installation Simple Steps and FAQ をご参照ください。