Home >

Utilities Reference Guide > Vreset Utility > vreset

vreset

You can use the vreset command to reset a SafeNet PCIe HSM that has become unresponsive, without having to reboot the host computer.

Syntax

vreset [<device>]

Parameter Description
<device>

Specifies the handle of the device that you want to reset. This parameter is not required if you have only one SafeNet PCIe HSM installed in the host computer, and is optional if you have multiple SafeNet PCIe HSMs installed.

If you have multiple SafeNet PCIe HSMs installed, you can use this parameter to specify which HSM to reset, as follows:

/dev/viper0 - reset the first SafeNet PCIe HSM listed by the slot list command.

/dev/viper1 - reset the second SafeNet PCIe HSM listed by the slot list command.

/dev/viper2 - reset the third SafeNet PCIe HSM listed by the slot list command.

If you have multiple SafeNet PCIe HSMs installed, and do not specify this parameter, then the first SafeNet PCIe HSM listed by the slot list command is reset.

Example

LunaCM v6.0.0 - Copyright (c) 2006-2015 SafeNet, Inc.

        Available HSMs:

        Slot Id ->              2
        Tunnel Slot Id ->       4
        Label ->                mypciepsopar
        Serial Number ->        349297122736
        Model ->                K6 Base
        Firmware Version ->     6.22.0
        Configuration ->        Luna User Partition With SO (PED) Signing With Cloning Mode
        Slot Description ->     User Token Slot

        Slot Id ->              3
        Tunnel Slot Id ->       4
        Label ->                mypcie6
        Serial Number ->        150022
        Model ->                K6 Base
        Firmware Version ->     6.22.0
        Configuration ->        Luna HSM Admin Partition (PED) Signing With Cloning Mode
        Slot Description ->     Admin Token Slot
        HSM Configuration ->    Luna HSM Admin Partition (PED)
        HSM Status ->           OK
               
        Current Slot Id: 0

lunacm:>exit
 
C:\Program Files\SafeNet\LunaClient>vreset /dev/viper01
 
C:\Program Files\SafeNet\LunaClient>