Storage is VMware preferred first step for drop a datastore from a host
Starting vSphere, esxcli corestorage is used to handle path masking, instead of previous configuration file editing.
esxcli corestorage claiming is temporary, it won't survive the reboot.
Claim Rule modification does not operate on the VMkernel directly. Changing the current claim rules requires two steps:
- a call to add/remove/move claim rule: esxcli corestorage claimrule add/delete/move
- a call to esxcli corestorage claimrule load to load the change from config file to VMkernel.
Here are the steps for Path Masking:
- esxcli corestorage claimrule add --plugin MASK_PATH --rule <rule ID> --type location -A <adapter> -C <> -T <> -L <>
- esxcli corestorage claimrule list to verify
- esxcli corestorage claimrule load to load the new rules into VMkernel
- esxcli corestorage claiming unclaim (remove old rules)
- esxcli corestorage claimrule run (run the path claiming rule without reboot)
- esxcli corestorage claimrule delete --rule <rule ID> --type location -A <adapter> -C <> -T <> -L <>
- esxcli corestorage claimrule list to verify
- esxcli corestorage claimrule load to load the new rules into VMkernel
- esxcli corestorage claiming unclaim (remove old rules)
- esxcli corestorage claimrule run (run the path claiming rule without reboot)
No comments:
Post a Comment