Chapter 5: Backing Up the Appliance Configuration
NOTE
Check the new configurations before rebooting or restarting the services.
Example of Backing Up and Restoring Your Appliance Configuration
If we factory reset the configuration parameters, a snapshot backup is created automatically, but for this
example we will explicitly create a configuration backup file.
1.
Create a backup of current appliance configuration parameters.
[Net_HSM] lunash:>sysconf config backup -description Example backup
Created configuration backup file: Net_HSM_Config_20120222_0556.tar.gz
Command Result : 0 (Success)
2.
Check the current state of a configuration parameter (users).
[Net_HSM] lunash:>user list
Users
Roles
Status
RADIUS
admin
admin
enabled
no
bob
monitor
enabled
no
john
admin
enabled
no
monitor
monitor
enabled
no
operator
operator
enabled
no
Command Result : 0 (Success)
3.
Perform the factory reset of the chosen configuration parameter (users).
[Net_HSM] lunash:>sysconf config factoryReset -service users
WARNING !! This command resets the configuration of the selected service(s) to factory
defaults.
Resetting services to factory defaults can affect connectivity and the operation of the HSM.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'.
> proceed
Proceeding...
Resetting service(s) to factory defaults:
-----------------------------------------
users : succeeded
Command Result : 0 (Success)
[Net_HSM] lunash:>sysconf appliance reboot
WARNING !!
This command will reboot the appliance.
All clients will be disconnected.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'
> proceed
Proceeding...
'hsm supportInfo' successful.
Use 'scp' from a client machine to get file named:
supportInfo.txt
Broadcast message from root (pts/1) (Wed Feb 22 08:00:41 2012):
The system is going down for reboot NOW!
Reboot commencing
Command Result : 0 (Success)
SafeNet Luna Network HSM 7.3 Appliance Administration Guide
007-013576-005 Rev. A 13 December 2019 Copyright 2001-2019 Thales
56