You are here: Reference Manual > Client-side Commands (lunacm) > lunacm hsm Commands > lunacm hsm recoveryinit Command

lunacm hsm Commands

lunacm hsm recoveryinit Command

This command, and all the lunacm hsm commands, appear only when the current slot selected in lunacm is for a local HSM, like an installed Luna PCI-E.

HSM commands do not appear in the lunacm command menu when lunacm is directed at a slot corresponding to a remote Luna SA - lunacm has a client-only connection to a remote HSM and therefore cannot log in as SO to a remote HSM.

For Luna SA, the HSM commands are available via the Luna appliance's Luna Shell (lunash:>), which can be accessed via ssh if you have the required authentication.

NAME

hsm recoveryinit  - high availability init

SYNOPSIS

    Syntax for hsm recoveryinit:

 hsm recoveryinit [-plabel <rsapublickeylabel> -rlabel <rsaprivatekeylabel> -keyhandle <rsaprivatekeyhandle> [-force] -password

DESCRIPTION

This command performs a Recovery (formerly High Availability) initialization on the current active session.

OPTIONS

Options Short Description
-plabel -pl RSA Public key label
-rlabel -rl RSA Private key label
-keyhandle -kh RSA Private Key handle (optional)
-force -f Force the action (no prompts)

 

 Labels are required only to create custom-named RecoveryInit RSA key pair, which is the default action if [keyhandle] is not supplied.


 

SAMPLE OUTPUT

 

lunacm:> hsm recoveryinit

         Generating RSA Key pair for Recovery Init...

         No label were supplied for the RSA key pair. Default labels
         will be used.
         Are you sure you wish to continue?

         Type 'proceed' to continue, or 'quit' to quit now -> proceed

Command Result : Success

lunacm:>