Forum Discussion

justin_riggs's avatar
justin_riggs
Novice I
3 years ago

Okay, this has been great! Using the docs I was able

Okay, this has been great! Using the docs I was able to get a volume snapshot, create a reference object and use it to create a new volume, and assign the new volume to a host group. Client is happy, which means I'm happy! Step Two is to mount that new volume in the client's vSphere environment and assign the VMs to it... do I need to hop over into PowerCLI to accomplish that, or does your SDK have some nifty Cmdlets that make it nice and easy for me?
  • So in looking at the documentation, it appears that Add-PfaVmfsToCluster is probably what I'm looking for. Does this do the resignaturing, or is there a separate cmdlet for that? In looking at the Get-Help for the above cmdlet, I don't see any parameters or notes that would indicate a resignaturing takes place...
  • You can see the code here. https://github.com/PureStorage-OpenConnect/PureStorage.FlashArray.VMware/blob/master/PureStorage.FlashArray.VMware.VMFS/PureStorage.FlashArray.VMware.VMFS.psm1#L268|https://github.com/PureStorage-OpenConnect/PureStorage.FlashArray.VMware/blob/mast[…].FlashArray.VMware.VMFS/PureStorage.FlashArray.VMware.VMFS.psm1
  • that specific one adds an existing datastore to the cluster