Home >

Lunacm Command Reference Guide > LunaCM Commands > hagroup > hagroup addmember

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 <serial_number> -l <label> -p <password> [-force]
-slot <slot_number> -l <label> -p <password> [-force]

Parameter Shortcut Description
-serialNumber -se Serial number of primary member. This parameter is mandatory if -slotnumber is not used. the serial number that identifies the HSM being added to the HA group.
-slot -sl Slot number of primary member - [mandatory if -serialnumber not used] a slot number to identify the HSM being added to the HA group.
-group -g Label for the group being joined - [mandatory] a label for the HA group being created.
-password -p Password for the HSM to add - [mandatory if Password-authenticated/ignored if PED] The password or challenge secret shared by group members.
-force -f Force the action - no prompting (useful for scripting).

Example

lunacm:> hagroup addmember -serialnumber 12345679 -label mygroup
 
Command Result : No Error