第1回 ESXi5.5 SATP rule add
○○○○対策を投稿して行こうと思う
知っている人からすればバレバレ
感の鋭い人ならば気づき
今後の投稿にWatchするだろう
しかし、何故、誰も共有しないのだろうか
内包していた方が個人の価値は高いだろうが
それは、一時の価値であり停滞である
本題ですが、
VMware ESXi5.5で、SATP ( Storage Array Type Plugin )のruleを追加する方法
1.ESXiにSSHでログインする
2.以下のコマンドに
esxcli storage nmp satp rule add
オプションを付けて実行する
esxcli storage nmp satp rule add --satp=VMW_SATP_ALUA --vendor=TEST --psp=VMW_PSP_RR
3.結果は以下の通り
Name Device Vendor Model Driver Transport Options Rule Group Claim Options Default PSP PSP Options Description
VMW_SATP_ALUA IBM 2145 system VMW_PSP_RR
VMW_SATP_ALUA TEST user VMW_PSP_RR
3.esxcli storage nmp satp rule addを実行するとオプションのヘルプが表示されるので、ヘルプを見てコマンドを組み立てる
~ # esxcli storage nmp satp rule add
Error: Missing required parameter -s|--satp
Usage: esxcli storage nmp satp rule add [cmd options]
Description:
add Add a rule to the list of claim rules for the given SATP.
Cmd options:
-b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile.
-c|--claim-option=<str>
Set the claim option string when adding a SATP claim rule.
-e|--description=<str>
Set the claim rule description when adding a SATP claim rule.
-d|--device=<str> Set the device when adding SATP claim rules. Device rules are mutually exclusive with vendor/model and driver rules.
-D|--driver=<str> Set the driver string when adding a SATP claim rule. Driver rules are mutually exclusive with vendor/model rules.
-f|--force Force claim rules to ignore validity checks and install the rule anyway.
-M|--model=<str> Set the model string when adding SATP a claim rule. Vendor/Model rules are mutually exclusive with driver rules.
-o|--option=<str> Set the option string when adding a SATP claim rule.
-P|--psp=<str> Set the default PSP for the SATP claim rule.
-O|--psp-option=<str> Set the PSP options for the SATP claim rule.
-s|--satp=<str> The SATP for which a new rule will be added. (required)
-R|--transport=<str> Set the claim transport type string when adding a SATP claim rule.
-t|--type=<str> Set the claim type when adding a SATP claim rule.
-V|--vendor=<str> Set the vendor string when adding SATP claim rules. Vendor/Model rules are mutually exclusive with driver rules.
0 件のコメント:
コメントを投稿