Power-on, Power-off, or Reboot the Appliance
This section describes how to power-on, power-off, or reboot the appliance. It contains the following sections:
>Automatic Restart Following a Power Interruption
Power On
On the back panel, ensure that the power supplies are connected and working - the green LED on each power supply glows steadily when in operation.
If the appliance does not immediately begin to start up, press and release the START/STOP switch on the front panel.
The HSM appliance begins to power up.
If power was removed while the system was on (either a power failure, or the power cable was disconnected), the system restarts without a button press. This behavior allows unattended resumption of activity after power interruption.
The front-panel LCD begins showing activity, then settles into the ongoing system status display once the appliance has completed its boot-up and self-test activity. See Front-panel LCD Display.
Power Off
To power-off the HSM appliance locally, press and release the START/STOP switch. Do not hold it in. The HSM appliance then performs an orderly shutdown (that is, it closes the file system and shuts down services in proper order for the next startup). This takes approximately 30 seconds to complete. In the unlikely event that the system freezes and does not respond to a momentary “STOP” switch-press, then press and hold the START/STOP switch for five seconds. This is an override that forces immediate shutoff.
CAUTION! Never disconnect the power by pulling the power plug. Always use the START/STOP switch.
To switch off the HSM appliance from the LunaSH command line, use lunash:> sysconf appliance poweroff.
Reboot
To perform a system restart, you can switch the power off and then on again using the momentary-contact START/STOP switch on the front panel of the system, or use lunash:> sysconf appliance reboot.
To switch off the system, use lunash:> sysconf appliance poweroff, or use the START/STOP switch on the Luna Network HSM 7 front panel:
> If you issue the poweroff command, the system requests that you confirm by typing "proceed". After you type "proceed", the system returns a success message. From that point the orderly shutdown takes 15 to 20 seconds.
>After you momentarily press and release the START/STOP switch, the system performs a graceful shutdown, which takes 15 to 20 seconds.
If the system does not appear to be properly shutting down, then press and hold the front-panel START/STOP switch, which forces an immediate shutdown. This is not normally required, and should never be done unless it is required, since it bypasses the normal, graceful file-system closing and shutdown procedure.
Hard Reboot
The commands lunash:> sysconf appliance reboot and lunash:> sysconf appliance poweroff are preferred when you have easy physical access to the appliance, because they perform orderly shutdown, but you can access the START/STOP button if the commands fail.
For situations where you do not have convenient local access to the START/STOP button on the appliance, the preferred command choice is lunash:> sysconf appliance hardReboot.
>The disadvantage is that the shutdown is abrupt and not orderly - in a constrained and hardened system like Luna Network HSM 7, any risk is minimal, but not zero.
>The advantage of using the hard reboot is that, with many services and file closures being bypassed, there are far fewer opportunities for a shutdown or reboot sequence to hang in an unrecoverable state. You avoid the risk incurred by remotely using one of the other "softer" commands when there is no convenient access to the physical button override in the event that the command fails.
Automatic Restart Following a Power Interruption
If the appliance was deliberately powered down, using the START/STOP switch or lunash:> sysconf appliance poweroff, it remains off until you press the START/STOP switch. However, if power was removed while the system was on (either a power failure, or the power cables were disconnected - not good practice), then the system restarts without a button press.
This behavior allows unattended resumption of activity after power interruption. In most cases, it is assumed that this would never be needed, as you would install the appliance with its two power supplies connected to two completely separate, independent power sources, at least one of which would be battery-backed (uninterruptible power supply) and/or generator-backed.