Professional Documents
Culture Documents
SoftReboot White Paper (766152-001a, March 2014) (Edition 2, December 2014) PDF
SoftReboot White Paper (766152-001a, March 2014) (Edition 2, December 2014) PDF
SoftReboot White Paper (766152-001a, March 2014) (Edition 2, December 2014) PDF
Contents 3
HP secure development lifecycle
Starting with HP-UX 11i v3 March 2013 update release, HP secure development lifecycle provides
the ability to authenticate HP-UX software. Software delivered through this release has been digitally
signed using HP's private key. You can now verify the authenticity of the software before installing
the products, delivered through this release.
To verify the software signatures in signed depot, the following products must be installed on your
system:
• B.11.31.1303 or later version of SD (Software Distributor)
• A.01.01.07 or later version of HP-UX Whitelisting (WhiteListInf)
To verify the signatures, run: /usr/sbin/swsign -v –s <depot_path>
For more information, see Software Distributor documentation at: http://www.hp.com/go/sd-docs
and Ignite-UX documentation at: http://www.hp.com/go/ignite-ux-docs.
4
About this document
This document discusses about the features of SoftReboot.
SoftReboot solution is a feature for HP-UX 11iv3 operating system environment.
Intended audience
This document is intended for owners, system administrators and customers seeking information
about the features of SoftReboot.
Typographic conventions
This document uses the following typographical conventions:
IMPORTANT: This alert provides essential information to explain a concept or to complete a task.
Intended audience 5
Executive summary
This white paper addresses only the following supported system configurations.
SoftReboot feature is supported for “nPar” systems only. The solution is not supported on HPVM
host/guest and vPar environments.
Table 1 Supported system configurations
Requirement Description
Operating SoftReboot feature is supported from HP-UX B.11.31.1109 fusion release onwards that is HP-UX 11iv3
system operating system environment.
Supported
platforms B.11.31.1109 B.11.31.1203 B.11.31.1303 B.11.31.1403
6 Executive summary
1 Technologies/features
SoftReboot feature reduces the operating system reboot time experienced during routine system
maintenance. SoftReboot achieves this downtime reduction by skipping the platform hardware
reset and booting the next kernel directly from the current operating system instance.
The time saved due to SoftReboot solution varies across platforms and different hardware
configurations of the same platform. Hence, the down time savings due to SoftReboot are not
quantifiable.
Product contents
The SoftReboot feature is implemented in two Dynamically Loadable Kernel Modules, two commands
and kernel enabler patches.
PHKL_42333
nl
PHKL_43752
nl
5 SW-DIST version >= B.11.31.1203 SD-UX product to support swinstall with special SoftReboot
flag
1303
To install the SoftRebootEnh bundle, perform the following steps:
1. Install the SoftRebootEnh bundle from B.11.31.1303 OE that is available electronically and
on media. SoftRebootEnh bundle is available B.11.31.1303 OE onwards.
2. Verify the supported platform
3. USB and Graphics drivers must be disabled explicitly for the SoftReboot feature to function.
• To disable USB driver, do the following:
Install the Patch PHKL_43265, which disables the USB driver. To disable the USB driver,
run the following command:
kctune usb_disable_core=1
For more information, see the section HP Only in the Patch document.
• To disable Graphics, run the following commands:
kcmodule gvid_info=unused
kcmodule gvid_him_cons=unused
kcmodule gvid_core=unused
kcmodule gvid=unused
1403
To install the SoftRebootEnh bundle from 1403 OE media, perform the following steps:
1. Install the SoftRebootEnh bundle from B.11.31.1403 OE.
2. Verify supported platform.
NOTE: It is recommended to install patch PHKL_43845 to enable Kernel Crash Dump during
Softreboot.
Uninstallation
To uninstall SoftReboot solution, run the command:
# swremove -x autoreboot=true SoftRebootEnh
NOTE:
• Uninstallation of SoftReboot patches requires normal boot.
• SoftReboot cannot be used during its uninstallation.
Uninstallation 9
3 Configuration and usage
SoftReboot functionality requires both "rbloader" and "uxex" DLKMs to be loaded. Upon installation
of the SoftReboot product, these two DLKMs are automatically configured to be loaded. Reboot
and shutdown utilities have been enhanced for SoftReboot and provide a new option, "-S", to
initiate a SoftReboot instead of normal reboot.
SoftReboot can also be invoked as part of swinstall SD command through a new option -x
softreboot. Using this new option, one can specify swinstall to perform a SoftReboot after
installation of patches that require a reboot.
swinstall –x softreboot=true –x autoreboot=true –s <kernel patch> \*
Synopsis for reboot and shutdown with the installation of bundle is changed as follows:
reboot –S [-t time] [-m message]:
Specifying "-S" option results in SoftReboot. It skips firmware and hardware
reinitialization unlike normal reboot. The other options [-t time] and [-m
message] are optional arguments.
[-t time] Specify what time reboot will bring the system down, where argument
"time" can be "now" (indicating immediate shutdown) or a future time in one of
the two formats: +number and hour:min.
Application of kernel patches that contain defect fixes results in a reboot to the newly built kernel.
This reboot can be done through SoftReboot to save the downtime.
Apply the required bug fixes (kernel patches)
# swinstall -x softreboot=true -x autoreboot=true –s
<PHKL_xyz> \*
The system shall boot load to the new kernel through SoftReboot in lesser time.
While most HP-UX kernel tunables can be changed immediately, some require a reboot to take
effect. Those kernel tunables can be changed with kctune(1m) and their changes take effect when
done through SoftReboot.
Sequence as follows:
1. Change your favorite kernel tunable setting that needs a reboot
# kctune maxfiles=4096
OR
# shutdown -S
If a machine is installed with DRD that supports SoftReboot feature on a supported platform, run
the following command:
# /opt/drd/bin/drd activate -x softreboot=true
A new option -x softreboot=true is added to drd activate command. SRB will be
supported to reduce the booting time to clone disk when you use the command drd activate
–x softreboot=true. The drd activate -x softreboot=true option activates the
clone disk and boot to clone disk (where downtime is reduced).
11
5 Constraints
Hardware configuration changes
Primary boot path changes
If the boot path is changed using setboot to a different disk, the softreboot should not be invoked.
Instead normal reboot should be issued.
HyperThreading settings
If the hyper threading settings are changed using setboot -m ON/OFF then those settings do
not take effect across a softreboot. To effect the settings, normal reboot without "-S" option should
be done.
Cell OLAD
If a floating cell is dynamically deleted using the parolrad command and then a softreboot is
performed, the new kernel OS instance shall not contain the deleted cell. Whereas, upon a normal
reboot, any floating cell deleted using parolrad is available in the next kernel boot. If the deleted
cell is to be made available, then that cell should be added back using "parolrad" or normal
reboot should be attempted instead of softreboot.
• If icapmodify was run prior to softreboot, the next booted Kernel may not show the correct
number of processor cores. Hence, iCAP is not recommended to be used in combination with
softreboot.
12 Constraints
6 Troubleshooting
This chapter explains some of the problem scenarios that you might encounter while working with
SoftReboot.
Problem
On B.11.31.1403 release, if SoftReboot is used without the patch PHKL_43845 certain dumps
may fail during softreboot window with an error message indicating no dump space configured.
Compressed dumps may fail and fall back to uncompressed dump during softreboot.
Workaround
Install PHKL_43845.
13
7 Documentation feedback
HP is committed to providing documentation that meets your needs. To help us improve the
documentation, send any errors, suggestions, or comments to Documentation Feedback
(docsfeedback@hp.com). Include the document title and part number, version number, or the URL
when submitting your feedback.
14 Documentation feedback
A SoftReboot Software Depot List
# swlist -l product SoftRebootEnh
# Initializing...
# Contacting target "mdepkt5"...
#
# Target: mdepkt5:/
#
# SoftRebootEnh B.11.31.1403 HPUX Soft Reboot
SoftRebootEnh.SoftReboot B.11.31.1403 SoftReboot feature
# swlist -l fileset SoftRebootEnh
# Initializing...
# Contacting target "mdepkt5"...
#
# Target: mdepkt5:/
#
# SoftRebootEnh B.11.31.1403 HPUX Soft Reboot
# SoftRebootEnh.SoftReboot B.11.31.1403 SoftReboot feature
SoftRebootEnh.SoftReboot.SOFTREBOOT-CMD B.11.31.1403 Soft Reboot command files
SoftRebootEnh.SoftReboot.SOFTREBOOT-KRN B.11.31.1403 Soft Reboot kernel files
15
B Messages during SoftReboot
Diagnostics and Driver messages during SoftReboot
During a softreboot the user may notice warnings or errors from the diagnostics
and other I/O drivers. These messages are safe and do not affect the behavior of
the next kernel booted.