cluster leave

Remove a Luna Network HSM 7 appliance from a cluster. This action must be performed on the local member and it is not possible to remove a non-local member from the cluster. If the member you want to remove is unreachable, use cluster member delete.

NOTE   Thales requires minimum Luna Appliance Software 7.8.5 with the lnh_cluster-1.0.4 package, Luna HSM Firmware 7.8.4, and Luna HSM Client 10.7.2 to use clusters in production environments.

REST API: PATCH /api/clusters/{clusterID}/members/{memberID}

User Privileges

Users with the following privileges can perform this command:

>Admin

Syntax

cluster leave -memberid <string> -partition <label> [-copassword <password>] [-force]

Argument(s) Shortcut Description
-memberid -m Specifies the ID of the member leaving the cluster.
-copassword -co Specifies the Crypto Officer password for the local partition that was used to authorize this member. If this option is omitted on a password-authenticated HSM, LunaSH prompts for the password. If this option is included on a multifactor quorum-authenticated HSM and the partition is not activated, it is ignored.
-force -f Leave the cluster without asking for confirmation.
-partition -p Specifies the label of the local partition that was used to authorize this member.

Example

lunash:>cluster leave -memberid ecb8f151-8184-412d-840a-6cd15e8ffb36 -partition localpar -co IamtheCO -force

Step 1/2: Executing initial 'leave Cluster' request...
Step 2/2: Clearing cluster data and restarting service

Command Result : 0 (Success)