hagroup addmember

Add a member to an HA group. Use the -slot option or the -serialNumber option to specify which HSM to add to the group.

All password-authenticated HA group members must have the same password.

All PED-authenticated HA group members must have a challenge created, and activation turned on, and all challenges must be the same.

If you intend to add a standby member to the group, you must first use this command to add the member to the group, then use the LunaCM hagroup addstandby command to convert the member to standby status.

Syntax

hagroup addmember

-serialnumber <serialnum> -group <label> -password <password>
-slot <slotnumber> -group <label> -password <password>

Option Shortcut Description
-serialnumber <serialnum> -se Serial number of the member to add. This parameter is mandatory if -slot is not used. the serial number that identifies the HSM being added to the HA group.
-slot <slotnumber> -sl Slot number of the member to add- [mandatory if -serialnumber not used] a slot number to identify the HSM being added to the HA group.
-group <label> -g Label for the group being joined - [mandatory] a label for the HA group being created.
-password <password> -p Password for the HSM to add - [mandatory if Password-authenticated/ignored if PED] The password or challenge secret shared by group members.

If an HSM is intended to join an existing HA group, that HSM's password or challenge secret must be changed to match the password or secret used by the group, before the new member is added.

Example

lunacm:> hagroup addmember -serialnumber 1238700701515 -group myHAgroup
 
        Enter the password: ********
        Member 1238700701515 successfully added to group myHAgroup. New group
        configuration is:
 
         HA Group Label:  myHAgroup
        HA Group Number:  1154438865288
       HA Group Slot ID:  5
       Synchronization: enabled
          Group Members:  154438865288, 1238700701515
             Needs sync:  yes
        Standby Members:  <none>
 
 
Slot #    Member S/N                      Member Label    Status
======    ==========                      ============    ======
     0  154438865288                            sa78-2     alive
     1  1238700701515                            sa40-2     alive
 
 
        Please use the command "ha synchronize" when you are ready
        to replicate data between all members of the HA group.
        (If you have additional members to add, you may wish to wait
        until you have added them before synchronizing to save time by
        avoiding multiple synchronizations.)
 
Command Result : No Error