Using NS3000/iX Network Services (36920-90008)

212 Chapter 8
NetCI
Sample Applications
The CONFJOB job file contains the following commands and data:
!job net3,operator.sys/net3k;hipri;pri=cs;outclass=epoc,13
!comment this will print the system configuration report
!file conflist=sysinfo;dev=pp;env=elite.hpenv.sys
!run sysinfo.prv.telesup
out pp
title “NET3”
all
exit
!eoj The job file, CONFJOB, will run a program on the node
or list that you specify with the PLAY command. This
program called SYSINFO will generate a report listing
the node's configuration. The configuration includes the
devices on the system, other system information such
as MPE tables, program stack size usages, directory
usage, system logging, user logging, spooling, virtual
memory, GIC hardware configuration summary, data
communication device summary, and so forth.
To execute this script file against all the nodes in NET3, we will execute
the SYSCONF script file on the previously configured list named NET3.
To execute this script file, enter
NetCI>NET3 PLAY SYSCONF
This will stream the job for each node in NET3. When the job is
completed for nodes Y, I, J, K, L, and H, the configuration listing will be
sent to the printer.
Example The following example shows how you can also create a script file which
can be executed on each node/list instead of a script file containing a job
stream. We will write a script file called NODCONF that will execute the
SYSINFO program on the node that you specify with the PLAY
command. Logging will be used to send all output to a log file called
REPORT.
The NODCONF script file contains the following commands:
%/log report redirects output to logfile called REPORT.
%run sysinfo.prv.telesup
executes program.
title “NET3” information required by program.
all information required by program.
exit exits program.