Deleting an HA Group

Use LunaCM to delete an HA group from your configuration.

NOTE   This procedure only removes the HA group virtual slot; the member partitions and all their contents remain intact. Only the HSM SO can delete individual partitions.

To delete an HA group

1.Stop any applications currently using the HA group.

2.Delete the group by specifying its label (see hagroup listgroups).

lunacm:> hagroup deletegroup -label <label>

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.