Creating Datastore using vsphere powercli



1: Create NFS datastore:
    New-Datastore -Nfs -VMHost 10.1.1.22 -Name NFSDatastore -Path /mynfs -NfsHost 10.1.1.34


2:Create VMFS datastore:
Connect to vCenter:
     Connect-VIServer -Server “vcenter_IP” -User UserName -Password Password
Get canonical names:
    Get-SCSILun -VMhost 192.168.1.103 -LunType Disk | Select CanonicalName,Capacity
Create datastore:
New-Datastore -VMHost Host -Name Datastore -Path CanonicalName -VMFS

No comments:

Post a Comment

Selenium firefox driver session fails with : Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location,

 Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...