Description
Issue an HA command.
Request
Parameter
|
Required?
|
checklicense
|
N
|
haLicenseKey
|
Y
|
checkHAcontroller
|
N
|
regname
|
N
|
install
|
N
|
add
|
N
|
del
|
N
|
Command Options
Command
|
Possible Values
|
checklicense
|
check for valid ha license
|
haLicenseKey
|
Ha license key (required)
|
regname
|
license registration name (optional). If not specified it will use softnas.ini registration name.
|
checkHAcontroller
|
Check for valid HA Controller IP address
|
haControllerIP
|
Controller IP address
|
install
|
Begin install HA from the SnapReplicate "source" node
|
add
|
Begin Add configuration of SNAP HA from the SnapReplicate "source" node
|
awsAccessKey
|
aws Access Key
|
awsSecretKey
|
aws Secret Key
|
vip
|
virtual IP (AWS Elastic IP)
|
hacontrollerip
|
Controller IP address (required only on Virtual machine)
|
del
|
delete HA from SnapReplicate
|
Example 1
Check HA License.
$ softnas-cmd hacommand checklicense XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX --pretty_print
|
Example 2 :
Install HA.
$ softnas-cmd hacommand install XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX --pretty_print
|
Example 3
Add HA.
$ softnas-cmd hacommand add YOUR_AWS_ACCESS_KEY YOUR_AWS_SECRET_KEY 54.84.87.120 --pretty_print
|
Example 4
Check HA controller.
$ softnas-cmd hacommand checkHAcontroller 50.15.14.15 --pretty_print
|
Example 5
Delete HA.
$ softnas-cmd hacommand del --pretty_print
|