beautypg.com

HP XP RAID Manager Software User Manual

Page 383

background image

Porting notice for OpenVMS

383

HORCM daemon startup

In OpenVMS, horcmstart.exe is created as a detached process or batch job
by using the DCL command.

Using the detached process:

If you want the HORCM daemon to run in background, you will need to
create the detached LOGINOUT.EXE process by using the RUN
/DETACHED

command. You will also need to make a command file for

LOGINOUT.EXE.

The following are examples of the loginhorcm*.com file given to
SYS$INPUT for LOGINOUT.EXE. They show that
VMS4$DKB100:[SYS0.SYSMGR.]

was defined as SYS$POSIX_ROOT.

$ 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

$ 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

$