Creating Startup and Shutdown Files

$ZHOME

Is preconfigured on your system during system generation

$ZHOME

The $ZHOME process is a process pair that provides a reliable home terminal to which processes can perform write operations. The $ZHOME process can be used by processes that must write to the system console but do not require a response.

$ZHOME is preconfigured on your system by the CONFBASE file. $ZHOME is a generic process that is part of the SCF Kernel subsystem. Note the following about the configuration of $ZHOME:

The $ZHOME process is configured with $YMIOP.#CLCI as its HOMETERM, INFILE, and OUTFILE.

Because $ZHOME acts as a reliable home terminal designed to interact with the system console, $YMIOP.#CLCI, HP recommends that you do not change its configuration. Most important:

°Do not specify $ZHOME for the INFILE, OUTFILE, or HOMETERM for the $ZHOME process.

°Never specify $ZHOME for the INFILE for a process. The $ZHOME process returns the FEINVALOP error (file-system error 2) in response to any read operation.

Generic processes started by the $ZPM persistence manager inherit

$YMIOP.#CLCI as the HOMETERM, INFILE, and OUTFILE unless these attributes are changed in the configuration record for the generic process. HP recommends that you configure most NonStop Kernel and system-level generic processes to use $ZHOME for the HOMETERM and OUTFILE.

$ZHOME Alternative

Instead of $ZHOME, you might want to use the optional NonStop Virtual Hometerm Subsystem (VHS) product if both of the following conditions are true:

The processes you are configuring cannot handle error responses returned if $YMIOP.#CNSL or $YMIOP.#CLCI is not available.

The process must perform read operations to the device.

Example Command Files

This section describes and shows examples of command files that can be used to start up and shut down the server:

Examples and sample programs are for illustration only and might not be suited for your particular purpose.

HP Integrity NonStop NS-Series Operations Guide529869-005

16-4

Page 204
Image 204
HP NonStop NS manual Example Command Files, $ZHOME Alternative