Your virtual machines need storage for their configuration files, disks, swap files, and snapshot files. These files can be placed on datastores that reside on a host's local storage, Network File System (NFS), Internet Small Computer System Interface (iSCSI), Fibre Channel (FC), Fibre Channel over Ethernet (FCoE), Storage Area Networks (SANs), or VMware vSAN. Datastores can be grouped into datastore clusters to create pools of datastores for storage aggregation, easy initial placement of disks, and load balancing using Storage Distributed Resource Scheduler (Storage DRS). vSphere storage policy-based management can be used to create virtual machines on storage that is compliant with a certain storage policy. In this chapter, we will discuss managing storage with PowerCLI.
The following topics will be covered in this chapter are:
Rescanning for new storage devices
Creating datastores
Retrieving datastores
Setting the multipathing policy
Configuring vmhba paths to a...