此產品有較新版本可以使用。
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
配置儲存網路介面控制器(NIC)
如果您使用額外的網卡進行存儲,則可以透過 SSH 連接到管理節點,或使用 vCenter 控制台並執行 curl 命令來設定標記或未標記的網路介面。
開始之前
-
您知道您的 eth0 IP 位址。
-
您的叢集版本正在執行NetApp Element軟體 11.3 或更高版本。
-
您已部署管理節點 11.3 或更高版本。
配置選項
請選擇與您的環境相關的選項:
為未標記的網路介面配置儲存網路介面控制器 (NIC)
步驟
-
開啟 SSH 或 vCenter 控制台。
-
請將以下命令範本中的值替換為對應的值,然後執行該命令:
值用以下方式表示 `$`針對新儲存網路介面的每個必需參數。這 `cluster`以下範本中的物件是必要的,可用於管理節點主機名稱重命名。 `--insecure`或者 `-k`生產環境中不應使用選項。 curl -u $mnode_user_name:$mnode_password --insecure -X POST \ https://$mnode_IP:442/json-rpc/10.0 \ -H 'Content-Type: application/json' \ -H 'cache-control: no-cache' \ -d ' { "params": { "network": { "$eth1": { "#default" : false, "address" : "$storage_IP", "auto" : true, "family" : "inet", "method" : "static", "mtu" : "9000", "netmask" : "$subnet_mask", "status" : "Up" } }, "cluster": { "name": "$mnode_host_name" } }, "method": "SetConfig" } '
為標籤的網路介面配置儲存網路介面控制器 (NIC)
步驟
-
開啟 SSH 或 vCenter 控制台。
-
請將以下命令範本中的值替換為對應的值,然後執行該命令:
值用以下方式表示 `$`針對新儲存網路介面的每個必需參數。這 `cluster`以下範本中的物件是必要的,可用於管理節點主機名稱重命名。 `--insecure`或者 `-k`生產環境中不應使用選項。 curl -u $mnode_user_name:$mnode_password --insecure -X POST \ https://$mnode_IP:442/json-rpc/10.0 \ -H 'Content-Type: application/json' \ -H 'cache-control: no-cache' \ -d ' { "params": { "network": { "$eth1": { "#default" : false, "address" : "$storage_IP", "auto" : true, "family" : "inet", "method" : "static", "mtu" : "9000", "netmask" : "$subnet_mask", "status" : "Up", "virtualNetworkTag" : "$vlan_id" } }, "cluster": { "name": "$mnode_host_name", "cipi": "$eth1.$vlan_id", "sipi": "$eth1.$vlan_id" } }, "method": "SetConfig" } '