Oracle
Video Server Administrator's Guide: UNIX Release 2.1.7.3 A42271_4 |
|
This chapter tells you how to monitor the Oracle Video Server (OVS) using log files and monitoring utilities. Topics covered in this chapter are:
The OMN logger process (mnlogsrv) writes system and trace messages generated by the OVS components to the log file mzlog. mzlog is located in $ORACLE_HOME/vs21/log, and should be used to troubleshoot OVS and OMN components. For information on the messages written by mnlogsrv, refer to the Oracle Video Server Logger Messages guide.
mnlogsrv is started by the script ovsstart. Should you
need to change the
start-up option used by mnlogsrv, edit the ovsstart script.
For information on ovsstart, refer to The
Start-up Script in the "Operating
the Oracle Video Server" chapter.
This example starts mnlogsrv for all OVS components using the message file mzlm.dat in the directory $ORACLE_HOME/vs21/mesg and the log file mzlog in the directory $ORACLE_HOME/vs21/log:
% mnlogsrv -m $ORACLE_HOME/vs21/mesg/mzlm.dat \ -f $ORACLE_HOME/vs21/log/mzlog -l 7 &
This example uses the -s command line option to route messages to the server console:
% mnlogsrv -m $ORACLE_HOME/vs21/mesg/mzlm.dat -s -l 7 &
For further information about mnlogsrv and the system logging functions that it provides, refer to mnlogsrv section of the "Oracle Video Server Components Reference" chapter later in this guide.
mnping allows you to determine whether or not the OMN address server (mnaddrsrv) can be reached.
The syntax for mnping is:
mnping -g media_net_address
where:
is the physical address of the OMN address server. The Media Net address is defined as the IP address and UDP port number assigned to the OVS at installation.
This example uses OMN_ADDR as the argument to -g:
% mnping -g $OMN_ADDR echo from 0xffffffff.1, ms=2
Once you have determined that you can contact mnaddrsrv, you can use the mnls utility to obtain a list of all services currently registered with it.
mnls takes no command line options or arguments.
The OMN_ADDR environment variable must contain the physical address that mnaddrsrv uses to communicate with the OVS processes established at installation.
This example output shows nine services registered with the address server:
% mnls Name Address Program ID /mds 1.0.5.3 6d64730000000001 7.0 /ocs 1.0.4.1 0200000000000000 1.0 /mfsi 1.0.2.5 7e0b4a4d81f4b5b2 1.0 /mnsc 1.0.2.1 75d86072657bc692 1.0 /mznm 65535.65535.0.2 0000000000000002 1.0 /mzsi 1.0.2.3 8bb95b5176c39dfc 2.0 /sctrl 1.0.4.4 dc9f35727f768c74 1.0 /logserv 1.0.3.1 0806070209040900 1.0 /vspump 1.0.27.4 8bb95b51b710cfb3 1.0 (9 entries)
The OMN process server (mnprocsrv) receives service requests from clients that are intended for the stream service or other application services and routes these requests to a process which services the request. If several requests are made at once, a process server queue of requests may form as mnprocsrv attempts to direct requests to various processes.
For example, in large deployments of the OVS, several clients sometimes request a file at once. If your server has only one instance of the stream service (vsstrmsrv), the requests will form a process server queue as the one instance of vsstrmsrv can only respond to one request at a time.
In deployments where multiple instances of vsstrmsrv are running, mnprocsrv will balance the load and divide incoming requests among the available vsstrmsrv instances. Note that if several clients make requests simultaneously, even with multiple instances of vsstrmsrv, process server queues can form behind each instance; the queues will just be shorter and thus executed more rapidly.
You can monitor the status of the OMN process server queues with the mnps utility. This utility queries the OMN process server and displays information about its queues.
mnps [-s] [-c] [-a] [-l] [queue_address...]
where:
shows additional information about pending calls in the specified queues.
shows additional information about the specified queues and attached server instances.
shows additional information about each server instance attached to the specified queues.
shows information about the specified queues. If you omit the queue addresses, mnps shows information on all queues.
This example shows sample output when using mnps:
% mnps -al QUEUE ADDR SF ISTAT CSTAT QSTAT NAME 1.0.2.5 R 1/1/1/1 0/1/1/4 0/0/1/2ms mzsi INSTANCE ADDR ST GETTM FWDTM CCNT DELAY CALL ADDR 1.0.6.1 W 2h 2h 4 1s 1.0.35.5 QUEUE ADDR SF ISTAT CSTAT QSTAT NAME 1.0.2.5 R 1/1/1/1 0/1/1/4 0/0/1/6ms mfsi INSTANCE ADDR ST GETTM FWDTM CCNT DELAY CALL ADDR 1.0.28.1 W 2h 2h 4 832ms 1.0.35.2
The mnps utility output contains information about:
This section lists the fields mnps may show for a queue:
The mnps utility also shows these fields if you use the -l command-line option:
The section lists the fields mnps may show for an instance:
The following list describes each field that may appear for a call description.
CALL ADDR |
the address of the client who made the call. |
ARRIVAL |
the elapsed time since the arrival of the call at the process server. |
|
Copyright © 1997 Oracle Corporation. All Rights Reserved. |
|