hagroup deletegroup

Delete an HA group. Use the -label option to specify the group to be deleted.

Syntax

hagroup deletegroup -label <label>

Argument(s) Short Description
-label <label> -l Label of the group being deleted.

Example

lunacm:> hagroup deletegroup -label myHAgroup

        The HA group myHAgroup was successfully deleted.

Command Result : No Error

NOTE   Using Luna HSM Client 10.9.4 or older, apply labels no longer than 31 characters to a new HA group. The creation of an HA group, in client versions up to this point, allows input of as many as 32 characters for the group label, but incorrectly trims the 32nd character. For any label with fewer than 32 characters, that is not an issue. For a previously input 32-character label, the hagroup deletegroup command fails to recognize the label and does not delete the group.

Further, an attempt to create a second HA group with a label that differed from the first by only the 32nd character, would cause lunacm to see that as a duplicate and present an error saying the label is already being used.

WORKAROUND: When using the deletegroup command against an HA group with a label that was nominally 32 characters, provide just the first 31 characters for your group label. The deletion proceeds properly.
When creating an HA group using Luna HSM Client 10.9.4 or older, restrict labels to maximum 31 characters.