TeraTarmからESXiにファイル転送後、
Tera TarmでESXiにSSH接続を行い、メンテナンスモードの切り替えに以下のコマンドを入力して実行したのですが、エラーのままです。
指示書には
esxcli system maintenanceMode set --enable=trueesxcli system maintenanceMode set --enable=true
でメンテナンスモードに切り替わるとあり、実行したところ
下のエラーメッセージが出てしまいます。
指示書にメンテナンスモードに切り替わっているか確認するように
esxcli system maintenanceMode get
のコマンドを実行しましたが、結果はDisabledのままです。
ここをEnabledにする必要があるので、エラーメッセージを部分検索などして調べているのですが、 Argument type mismatch・・・・・・とは何がミスマッチなのか理解出来ずにいます。
➀https://ogawad.hatenablog.com/entry/20100822/1282460191
➁https://qiita.com/soushiy/items/9656e86b8d170458904d
➀は指定されているコマンドがあるため、
今のところ➁のサイトを参照して調べているのですが、目途が立たず質問させて頂きました。
エラーメッセージをどのように読み、対処すれば良いのかご教示くださると助かります。
<エラーメッセージ>
Error: While processing '--enable'. Argument type mismatch. Expecting one of {0, 1, n[o], y[es], f[alse], t[rue], off, on}. Got 'trueesxcli' Usage: esxcli system maintenanceMode set [cmd options] Description: set Enable or disable the maintenance mode of the system. Cmd options: -e|--enable enable maintenance mode (required) -t|--timeout=<long> Time to perform operation in seconds (default 0 seconds) -m|--vsanmode=<str> Action the VSAN service must take before the host can enter maintenance mode (default ensureObjectAccessibility). Allowed values are: ensureObjectAccessibility: Evacuate data from the disk to ensure object accessibility in the vSAN cluster, before entering maintenance mode. evacuateAllData: Evacuate all data from the disk before entering maintenance mode. noAction: Do not move vSAN data out of the disk before entering maintenance mode. [root@localhost:~] esxcli system maintenanceMode get Disabled [root@localhost:~]

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。