Virtual Hometerm Subsystem (VHS) Manual (G06.24+, H06.04+, J06.03+)

Using VHS
Virtual Hometerm Subsystem (VHS) Manual429311-002
3-5
Specifying VHS as the Home
Terminal of Applications
PRI priority
specifies the run priority of the VHS process. The priority must be an integer in
the range 1 to 199. If you omit this option, VHS runs at a priority of 1 less than
that of the TACL process. If your applications have a high message rate, you
should specify a high priority. (If a $CMON process exists, $CMON might
specify a priority other than 1 less than your TACL process. For more
information about $CMON, see the Introduction to NonStop Operations
Management.
backup-cpu-number
specifies the number of the processor in which the backup process of VHS is to
execute. cpu-number is an integer in the range 0 through 15. If you omit this
parameter, VHS does not run as a process pair.
Specifying VHS as the Home
Terminal of Applications
You can specify VHS as the home terminal of your application depending on the type
of application you use. For most non-Pathway applications, specifying VHS as the
home terminal is simple. For Pathway applications, specifying VHS as the home
terminal can be done by using several methods. Two of these methods are described
in the subsections below.
Before you specify VHS as the home terminal for your applications, make sure VHS is
running. If VHS is not running, your application will not work correctly and might not
start.
Non-Pathway Applications
When you start a non-Pathway application from TACL, modify the TERM attribute and
specify the name of the VHS process. This command starts a non-Pathway application
MYAPP and specifies the VHS process $VHS as the home terminal for this application:
1> RUN MYAPP / NAME $APP, NOWAIT, CPU 3, TERM $VHS /
Pathway Application Example 1
If you have not hardcoded the HOMETERM attribute for every server in the Pathway
configuration file, you can use this first method to specify VHS as the home terminal.
1. Stop Pathway to reconfigure it.
Caution. Make sure you specify the backup CPU number when running VHS. Specifying the
backup CPU number ensures that VHS runs as a NonStop process and is always available to
your applications.