solidfire / PowerShell

Collection of scripts, functions, and examples using the SolidFire Tools for PowerShell
MIT License
27 stars 20 forks source link

Improve SFCluster Pairing Examples #77

Closed scaleoutsean closed 2 years ago

scaleoutsean commented 5 years ago

Online help has this example:

   -------------------------- EXAMPLE 1 --------------------------

    PS C:\>Start-SFClusterPairing | Complete-SFClusterPairing

    Completes the pairing process with the generated ClusterPairingKey.

But it's not that simple and from here one has to dive into SF Connections:


PS > Start-SFClusterPairing | Complete-SFClusterPairing                                        
Complete-SFClusterPairing : xInvalidKey: Pairing a cluster with itself is not permitted.

This might be more intuitive (even if two connections aren't explicitly mentioned):

PS > Start-SFClusterPairing -Target 192.168.2.151 | Complete-SFClusterPairing -Target 192.168.3.151
arjun960 commented 2 years ago

@scaleoutsean Updated the examples in the help of Complete-SFPairing commandlet with ip addresses and the changes are addressed in the SDK 12.3 release. So closing the issue.