在將 Network Appliance (NetApp) 網路連結式儲存體 (NAS) 裝置用做法定裝置時,有以下要求:
必須安裝來自 NetApp 的 iSCSI 授權。
必須將叢集化檔案伺服器的一個 iSCSI LUN 配置為用做法定裝置。
必須將 NetApp NAS 單元配置為使用 NTP 同步化時間。
為叢集化檔案伺服器選取的 NTP 伺服器中,必須至少有一個是 Sun Cluster 節點的 NTP 伺服器。
啟動叢集時,請務必在啟動叢集節點之前啟動 NAS 裝置。
如果您啟動裝置的順序錯誤,則節點將無法找到法定裝置。如果節點發生此種情況的故障,則叢集可能會無法繼續提供服務。如果發生上述情況,則您必須重新啟動整個叢集,或者將 NetApp NAS 法定裝置移除然後重新將其增加至叢集。
叢集僅可將 NAS 裝置用於單一法定裝置。
如果您需要附加的法定裝置,則可以配置其他共用儲存體。使用相同 NAS 裝置的附加叢集,可將該裝置上的獨立 LUN 用做其法定裝置。
請參閱以下 Network Appliance NAS 文件,以取得有關建立與設置 Network Appliance NAS 裝置及 LUN 的資訊。您可以在 http://now.netapp.com 存取以下文件。
設置 NAS 裝置
「System Administration File Access Management Guide」
設置 LUN
「Host Cluster Tool for Unix Installation Guide」
安裝 ONTAP 軟體
「軟體設定指南」、「升級指南」
匯出叢集容體
「Data ONTAP Storage Management Guide」
在叢集節點上安裝 NAS 支援軟體套裝模組
請登入 http://now.netapp.com。從 [軟體下載] 頁面下載「Host Cluster Tool for Unix Installation Guide」。
請參閱以下 Sun Cluster 說明文件,以取得有關在 Sun Cluster 環境中安裝 NetApp NAS 儲存裝置的資訊:「Sun Cluster 3.1 With Network-Attached Storage Devices Manual for Solaris OS」。
請確定所有 Sun Cluster 節點均處於線上狀態,並可與 NetApp 叢集化檔案伺服器進行通訊。
成為叢集上任何節點的超級使用者。
啟動 scsetup 公用程式。
# scsetup |
螢幕將顯示 scsetup 主功能表。
鍵入與 [Quorum] 選項相對應的數字。
顯示 Quorum Menu。
鍵入與增加法定裝置的選項相對應的數字,然後在 scsetup 公用程式要求確認是否要增加法定裝置時鍵入 yes。
scsetup 公用程式將詢問要增加之法定裝置的類型。
鍵入與增加 netapp_nas 法定裝置的選項相對應的數字,然後在 scsetup 公用程式要求確認是否要增加 netapp_nas 法定裝置時鍵入 yes。
scsetup 公用程式將要求您提供新的法定裝置的名稱。
鍵入要增加之法定裝置的名稱。
該法定裝置名稱可以是您選擇的任意名稱。該名稱僅用於處理將來的管理指令。
scsetup 公用程式將要求您提供新法定裝置的檔案伺服器名稱。
鍵入新法定裝置的檔案伺服器名稱。
該名稱為檔案伺服器的網路可存取名稱或位址。
scsetup 公用程式將要求您提供檔案伺服器的 LUN ID。
鍵入檔案伺服器上法定裝置的 LUN ID。
scsetup 公用程式將要求您確認是否確定要將新的法定裝置增加至檔案伺服器。
鍵入 yes 繼續增加新的法定裝置。
如果新法定裝置增加成功,scsetup 公用程式會顯示增加成功的訊息。
確認法定裝置新增成功。
# scstat -q |
以下範例顯示了 scsetup 增加 NetApp NAS 法定裝置和驗證步驟時由其產生的 scconf 指令。
Make sure that all Sun Cluster nodes are online and can communicate with the NetApp clustered filer. Become superuser on any cluster node. [執行 scsetup 公用程式:] # scsetup Select Quorum>Add a quorum device. Select Netapp_nas quorum device. Type the name of the quorum device you are adding. qd1 Type the name of the filer of the new quorum device. nas1.sun.com Type the ID of the quorum device LUN on the filer. 0 Type yes to continue adding the new quorum device. yes [驗證 scconf 指令是否已成功完成:] scconf -a -q name=qd1,type-=netapp_nas,filer=nas1.sun.com,lun_id=0 Command completed successfully. Quit the scsetup Quorum Menu and Main Menu. [驗證法定裝置是否已增加:] # scstat -q -- Quorum Summary -- Quorum votes possible: 5 Quorum votes needed: 3 Quorum votes present: 5 -- Quorum Votes by Node -- Node Name Present Possible Status --------- ------- -------- ------ Node votes: phys-schost-1 1 1 Online Node votes: phys-schost-2 1 1 Online -- Quorum Votes by Device -- Device Name Present Possible Status ----------- ------- -------- ------ Device votes: qd1 1 1 Online Device votes: /dev/did/rdsk/d3s2 1 1 Online Device votes: /dev/did/rdsk/d4s2 1 1 Online |