Home >

Utilities Reference Guide > Ureset

  
Ureset

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

Syntax

ureset [<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 USB HSM connected to the host computer, and is optional if you have multiple SafeNet USB HSMs connected.

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

/dev/lunauhd0 - reset the first SafeNet USB HSM listed by the slot list command.

/dev/lunauhd1 - reset the second SafeNet USB HSM listed by the slot list command.

/dev/lunauhd2 - reset the third SafeNet USB HSM listed by the slot list command.

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

Example

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

        Available HSMs:

        Slot Id ->              0
        Label ->                myG5par
        Serial Number ->        16302360890475
        Model ->                G5Base
        Firmware Version ->     6.22.0
        Configuration ->        Luna User Partition With SO (PED) Signing With Cloning Mode
        Slot Description ->     User Token Slot

        Slot Id ->              1
        Label ->                SafeG5
        Serial Number ->        7001812
        Model ->                G5Base
        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>ureset /dev/lunauhd1
 
C:\Program Files\SafeNet\LunaClient>