NAME
partition hainit - High Availability Initialization
SYNOPSIS
lunacm:> partition hainit -plabel <rsa-public-key-label> -rlabel <rsa-private-key-label> [-keyhandle <handleofprivatekey>]
DESCRIPTION
Performs a High Availability Initialization of the current active session.
This lunacm command is provided as a demonstration of an operation that you would actually perform within your own application. Consider this command along with lunacm partition -halogin command, and the material in the
SDK "High Availability Indirect Login Functions" .
OPTIONS
Command | (short) | Description |
---|---|---|
-help | -h | This help screen |
-plabel | -pl | RSA Public key label |
-rlabel | -rl | RSA Private key label |
-keyhandle | -kh | RSA Private Key handle (optional) |
-plabel <label> a label for the RSA Public Key. Must be supplied if you do not provide a keyhandle pointing to an existing RSA Private Key.
-rlabel <label> a label for the RSA Private Key. Must be supplied if you do not provide a keyhandle pointing to an existing RSA Private Key.
-keyhandle [optional] If this option is included then the HA function is initialized with an already existing RSA keypair, indicated by the handle that you provide.
SAMPLE OUTPUT
Here is an example of creating a new RSA keypair to HA initialize the partition. The handle of the object is displayed.
lunacm:> partition hai -plabel myrsapub -rlabel myrsapriv
Generating RSA Key pair for HAInit...
User in slot 1 has been HA Initialised
with key handle 11.
Command Result : No Error
lunacm:>
lunacm:>
Here is an example of HA initializing the partition when a suitable RSA keypair already exists, and you know its handle.
lunacm:> partition hai -keyhandle 11
User in slot 1 has been HA Initialised
with key handle 11.
Command Result : No Error
lunacm:>
lunacm:>