beautypg.com

HP XP P9500 Storage User Manual

Page 20

background image

that OpenVMS cannot make a daemon process from the POSIX program. Therefore, horcmstart.exe
has been changed to wait until HORCM has been exiting by horcmshutdown.exe after startup of
the horcmgr. According to the rule for creating process in OpenVMS, to start up the horcmstart.exe
is to create the detached process or Batch JOB by using DCL command, as this method closely
resembles the horcmd process on UNIX.

For example, using the Detached process:

If you want to have the HORCM daemon running in the background, you need to make the
Detached LOGINOUT.EXE Process by using the ‘RUN /DETACHED’ command of the OpenVMS,
and need to make the commands file for LOGINOUT.EXE.

The following are examples of “loginhorcm*.com” file given to SYS$INPUT for LOGINOUT.EXE,
and are examples that “VMS4$DKB100:[SYS0.SYSMGR.]” was defined as SYS$POSIX_ROOT.

loginhorcm0.com

$ DEFINE/TRANSLATION=(CONCEALED,TERMINAL) SYS$POSIX_ROOT "VMS4$DKB100:[SYS0.SYSMGR.]"
$ DEFINE DCL$PATH SYS$POSIX_ROOT:[horcm.usr.bin],SYS$POSIX_ROOT:[horcm.etc]
$ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$TEMPORARY_MAILBOX LNM$GROUP
$ horcmstart 0

loginhorcm1.com

$ DEFINE/TRANSLATION=(CONCEALED,TERMINAL) SYS$POSIX_ROOT "VMS4$DKB100:[SYS0.SYSMGR.]"
$ DEFINE DCL$PATH SYS$POSIX_ROOT:[horcm.usr.bin],SYS$POSIX_ROOT:[horcm.etc]
$ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$TEMPORARY_MAILBOX LNM$GROUP
$ horcmstart 1

$ run /DETACHED SYS$SYSTEM:LOGINOUT.EXE /PROCESS_NAME=horcm0 -
_$ /INPUT=VMS4$DKB100:[SYS0.SYSMGR.][horcm]

loginhorcm0.com -

_$ /OUTPUT=VMS4$DKB100:[SYS0.SYSMGR.][horcm]run0.out -
_$ /ERROR=VMS4$DKB100:[SYS0.SYSMGR.][horcm]run0.err
%RUN-S-PROC_ID, identification of created process is 00004160
$
$

$

$ run /DETACHED SYS$SYSTEM:LOGINOUT.EXE /PROCESS_NAME=horcm1 -

_$ /INPUT=VMS4$DKB100:[SYS0.SYSMGR.][horcm]

loginhorcm1.com -

_$ /OUTPUT=VMS4$DKB100:[SYS0.SYSMGR.][horcm]run1.out -
_$ /ERROR=VMS4$DKB100:[SYS0.SYSMGR.][horcm]run1.err
%RUN-S-PROC_ID, identification of created process is 00004166

You can also verify that the HORCM daemon is running as Detached Process by using the show
process

command.

$ show process horcm0
25-MAR-2003 23:27:27.72 User: SYSTEM Process ID: 00004160
Node: VMS4 Process name: "HORCM0"
Terminal:
User Identifier: [SYSTEM]
Base priority: 4
Default file spec: Not available
Number of Kthreads: 1
Soft CPU Affinity: off

$

$ horcmshutdown 0 1

inst 0:
HORCM Shutdown inst 0 !!!
inst 1:
HORCM Shutdown inst 1 !!!
$

(5) Command device

RAID Manager uses the SCSI class driver for accessing the command device on the XP1024/XP128
Disk Array, because OpenVMS does not provide the raw I/O device such as UNIX, and defines
“DG*,DK*,GK*” as the logical name for the device. The SCSI class driver requires the following
privileges: DIAGNOSE and PHY_IO or LOG_IO (for details see the OpenVMS manual).

In RAID Manager version 01-12-03/03 or earlier, you need to define the Physical device as either
DG* or DK* or GK* by using DEFINE/SYSTEM command. For example:

20

Installation requirements

This manual is related to the following products: