image_pdfimage_print

Now that the new toolkit has been released its time to start with an example of using some of the new cmdlets. The focus of this post is setting up replication connections between a FA-420 and an FA-405 using PowerShell.

The screenshots below show the two different arrays that will be connected for replication.

PureDemoArray (Target)

 

Replication

MFT-PURE1 (Source)

In order to setup the connection between both FlashArrays you need a Connection Key from the target. In order to get the details for any FlashArray using PowerShell the Get-PfaConfiguration cmdlet is used to retrieve all of the details for that particular array.

Replication

With a few more lines of PowerShell we can automatically connect the Replication Target and Replication Source without the need to go between the two web management GUIs.

Note: I typically don’t use the ‘tick‘ mark for line continuation but I did in the above sample script for readability.

MSFT-PURE1 is now connected to the Replication Target array named PureDemoArray.

Viewing the PureDemoArray web management GUI we can see that the PureDemoArray is also connected to the Replication Source, MSFT-PURE1.

Replication

It is just as easy to remove replication connections using Remove-PfaConnection.

 

Thanks,
barkz