slot list
List the available slots on the system. The HSM administrative partition and any application partition are distinct and appear individually in a LunaCM slot list, so at least two slots. Similarly, if you have several local SafeNet Luna HSMs installed or connected, or if you have SafeNet Luna Network HSM application partitions Ethernet-connected via NTLS links, then you can have multiple slots represented in a LunaCM slot list.
LunaCM depends on the availability of HSM partitions in order to be useful. If no application partition has been created, then only the HSM SO (administrative) partition is available, against which to run commands.
If the Chrystoki.conf / Crystoki.ini configuration file [Presentation] setting "ShowAdminTokens=" is set to no, then the HSM administrative partition/slot is also unavailable, and LunaCM is not usable. If you know you have a working SafeNet Luna PCIe HSM or SafeNet Luna USB HSM attached to your Client computer and LunaCM shows no usable commands, then verify in your Chrystoki.conf or Crystoki.ini file that "ShowAdminTokens" is not set to no.
NOTE The LunaCM command hagroup haonly acts on your client applications, either allowing (default or hagroup haonly -disable) or disallowing (hagroup haonly -enable) the application to see individual HSM partition slots or just the HA group virtual slot, respectively. The command has no effect on administrative tools like LunaCM, where a slot list returns all slots, both actual and virtual, regardless of the status of hagroup haonly.
Syntax
slot list
Example
lunacm:> slot list
Slot Id -> 0
Label -> par0
Serial Number -> 1238700701521
Model -> LunaSA
Firmware Version -> 7.0.1
Configuration -> Luna User Partition With SO (PED) Signing With Cloning Mode
Slot Description -> Net Token Slot
Slot Id -> 1
Label -> par1
Serial Number -> 1238700701522
Model -> LunaSA
Firmware Version -> 7.0.1
Configuration -> Luna User Partition With SO (PED) Signing With Cloning Mode
Slot Description -> Net Token Slot
Slot Id -> 2
Label -> par2
Serial Number -> 154438865317
Model -> LunaSA 7.0.0
Firmware Version -> 7.0.1
Configuration -> Luna User Partition With SO (PW) Signing With Cloning Mode
Slot Description -> Net Token Slot
Slot Id -> 3 Label -> myRBSG5Bk Serial Number -> 7000329 Model -> G5Backup Firmware Version -> 6.22.0 Configuration -> Luna HSM Admin Partition (PW) Backup Mode Slot Description -> Net Admin Token Slot HSM Configuration -> Luna HSM Admin Partition (PW) Backup Device HSM Status -> OK
Current Slot ID: 3
Command Result : No Error
NOTE Each HSM administrative partition in a slot list includes "HSM Status". The possible values are listed, along with expanded descriptions and possible responses, at HSM Status Values in the Administration Guide.