Home >

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

hagroup creategroup

Create an HA group. Use the -slot or -serialNumber options to specify the primary member for 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.

Syntax

hagroup creategroup

-serialNumber <serial number> -l <label> -p <password>
-slot <slot number> -l <label> -p <password>

Parameter Shortcut Description
-serialNumber -se Serial number of primary member - [mandatory if -slotnumber not used] the serial number that identifies the primary member of the HA group.
-slot -sl Slot number of primary member - [mandatory if -serialnumber not used] a slot number to identify the primary member of the HA group.
-label -l Label for the new group - [mandatory] a label for the HA group being created.
-password -p Password for the primary member. The password is the text password and is mandatory for Password authenticated HSMs, or is the challenge secret for PED authenticated HSMs, 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 createGroup -serialnumber 12345678 -label mygroup -password some-obscure-string
 
Command Result : No Error