Академический Документы
Профессиональный Документы
Культура Документы
This document is copyrighted with all domestic and international rights reserved.
No part of this document may be reproduced, stored in a retrieval system, or
transmitted, in any form, by any means, without the prior written permission of
Glenayre Electronics, Inc. No patent is assumed with respect to the use of the
information contained in this document.
Trademarks
All brand names and product names are trademarks or registered trademarks of
their respective companies and are used with the permission of their owners.
Revisions
Reordering
When purchasing additional copies of this document, please include the following
information:
Part Number: 9110.01068
Revision 1.0
Date of Issue: Aug. 4, 1998
Glenayre Electronics
Technical Publications Department
11360 Lakefield Drive
Duluth, GA 30097-1508
USA
PN 9110.01068 iii
DOCUMENT CHANGE RECORD
Date: ____________________
Name of Manual: _______________________________________
Part Number: ____________________
Issue Date: ____________________
Page Number: ___________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
1 = extremely urgent
Major error in critical information; could result in severe system problems.
2 = moderately urgent
Highly useful but noncritical information is missing or incorrect; the flaw should
not, however, cause major system problems.
3 = not urgent
Relatively minor error which should be addressed with next scheduled
documentation update; this category includes, but is not limited to, minor
typographical and page layout errors.
__________________________________________________________
(Name)(Company)
________________________
(Phone Number)
TABLE OF CONTENTS
1. GENERAL INFORMATION ................................................................................................................ 1
1.1 Introduction ................................................................................................................................. 1
1.1.1 Intended Audience .......................................................................................................... 1
1.1.2 How to Use this Manual .................................................................................................. 2
1.2 Getting Technical Assistance ..................................................................................................... 3
PN 9110.01068 v
TABLE OF CONTENTS
5. MODEM BANK.................................................................................................................................47
5.1 Installing the U.S. Robotics Modem Bank ................................................................................47
5.1.1 Hardware Installation ....................................................................................................47
5.1.2 Modem Bank Card Configuration..................................................................................48
5.1.3 Modem Bank Configuration ..........................................................................................49
5.2 Configuring the NETServer ......................................................................................................50
5.2.1 Input Filter Configuration...............................................................................................50
5.2.2 Address Pool Configuration ..........................................................................................51
5.2.3 User Account Configuration ..........................................................................................52
5.2.4 Modem Port Configuration ............................................................................................53
5.3 Administrative Tools .................................................................................................................55
5.3.1 Viewing DEBUG Messages ..........................................................................................55
5.3.2 IFCONFIG .....................................................................................................................55
5.3.3 PING .............................................................................................................................56
5.3.4 PTRACE .......................................................................................................................56
5.3.5 TRACEROUTE .............................................................................................................56
5.3.6 SHOW ...........................................................................................................................57
5.3.7 TRNKDIAG ...................................................................................................................58
9. CGI PROGRAM................................................................................................................................91
9.1 Process Interactions .................................................................................................................91
9.1.1 Interactions with the SNMP Alarm Server.....................................................................91
9.1.2 Interactions with the Fax Server....................................................................................92
9.1.3 Interactions with the MVP Server..................................................................................92
9.1.4 Interactions with the HTML and/or Java Clients...........................................................92
9.2 Data Processing .......................................................................................................................93
9.2.1 Password Validation .....................................................................................................93
9.2.2 Account Validation ........................................................................................................93
9.2.3 Update ..........................................................................................................................94
9.2.4 Delete............................................................................................................................94
9.2.5 Forward .........................................................................................................................94
9.2.6 Modify ...........................................................................................................................95
9.2.7 Download ......................................................................................................................95
9.2.8 Upload...........................................................................................................................95
PN 9110.01068 vii
TABLE OF CONTENTS
INDEX 179
PN 9110.01068 ix
WWW Server Reference Manual
L IST OF F IGURES
Figure 2-1 WWW Server System Diagram.................................................................................................6
Figure 6-1 Processes for HTML Client .....................................................................................................62
Figure 7-1 Processes for Java Client .......................................................................................................69
Figure 7-2 MailRoom Download HTML Page...........................................................................................72
Figure 7-3 MailRoom Windows 95/NT Download Page ...........................................................................72
Figure 7-4 Upgrade Options .....................................................................................................................73
Figure 7-5 Client Directory Structure ........................................................................................................81
Figure 7-6 System Log Dialoque Box.......................................................................................................83
Figure 10-1 SNMP Agent Process .............................................................................................................97
PN 9110.01068 xi
WWW Server Reference Manual
LIST OF TABLES
Table 2-1 WWW Server Components ...................................................................................................... 7
Table 4-1 Inside Addresses ....................................................................................................................42
Table 5-1 T1 Interface Cable Pinouts......................................................................................................48
Table 6-1 Client Problems.......................................................................................................................66
Table 6-2 Server Problems .....................................................................................................................67
Table 8-1 MVP Server specific................................................................................................................86
Table 8-2 MVP Server Originated Error Codes.......................................................................................88
Table 8-3 Config Subdirectory Files .......................................................................................................90
Table 10-1 Statistic Variables ...................................................................................................................98
Table 10-2 cgiStats MIB Object Identifiers .............................................................................................100
Table 10-3 runStatus MIB Object Identifiers ..........................................................................................100
Table 10-4 Command MIB Object Identifiers .........................................................................................101
Table 10-5 Alarm Table Shared Memory ...............................................................................................101
Table 10-6 Alarm Table Index ................................................................................................................102
Table 10-7 Default Alarms ......................................................................................................................104
Table 10-8 Alarm Table MIB ..................................................................................................................107
Table 10-9 The Processes MIB ..............................................................................................................111
Table 10-10 The Memory MIB ................................................................................................................112
Table 10-11 The Disk MIB ......................................................................................................................112
Table 10-12 The Loadaves MIB .............................................................................................................113
Table 10-13 The Version MIB ................................................................................................................114
Table 10-14 The System Group .............................................................................................................115
Table 10-15 The Interfaces Group .........................................................................................................115
Table 10-16 The At Group ......................................................................................................................117
Table 10-17 Basic IP Configuration Parameters ....................................................................................118
Table 10-18 IP Address Table ................................................................................................................118
Table 10-19 IP Routing Table ................................................................................................................119
Table 10-20 Statistic for IP Routing Discards .........................................................................................120
Table 10-21 IP Address Translation Table .............................................................................................120
Table 10-22 IP Statistics ........................................................................................................................120
Table 10-23 Statistics for Incoming ICMP Messages .............................................................................122
Table 10-24 Statistics for Outgoing ICMP Messages .............................................................................123
Table 10-25 TCP Configuration: Basic Parameters ...............................................................................124
PN 9110.01068 xiii
LIST OF TABLES
GENERAL INFORMATION
1.1 Introduction
This manual contains detailed information about the Glenayre World Wide Web
(WWW) Server. It is a companion manual to the complete product reference set
for the MVP X.6.
The WWW Server Reference Manual is NOT intended for direct use by
subscribers and callers.
The minimum skill level required to use this manual properly is that of a
certified Unix system administrator.
PN 9110.01068 1
GENERAL INFORMATION
Note This manual does not distinguish between standard and optional
features.
PN 9110.01068 3
WWW Server Reference Manual
This chapter describes the individual hardware and software components necessary to set
up the WWW Server System. The functionality and responsibility of each component is
described, as well as the interfaces between individual components.
PN 9110.01068 5
WWW SERVER SYSTEM
A block diagram of the WWW Server system is shown below. The system includes an
MVP, an WWW Server, a Fax Server, a Modem Bank, and a Firewall. The Firewall
protects the local Glenayre network against improper access. At this time, the system
supports a single MVP per WWW Server.
Fax Server
Control
& L
Data O
C
A
E1/T1 L
SS7
G
Switch
or
ISUP
Glenayre Terminal Server L
Wireless Network
Other PSTN MVP Modem Bank E
Interface N
(Optional)
A
Y
R
E
WWW Server
modem
PSTN N
E
HTML or T
Java Client W
network O
R
K
TCP/IP Network
FireWall
Unit Description
1 200 MHz Ultra Sparc processor with 512 Mbyte of DRAM, 1 Mbyte
FLASH, two sbus slots, dual SCSI-II FAST, Dual Ethernet Ports,
Centronics port, two serial channels, Keyboard/Mouse Port, VME 64
Interface, and OBP.
1 INT0KIT-USP-1.
1 NEBS compliant system chassis with dual 8-slot backplane, -48 VDC
power supplier and cooling system.
1 CD-ROM Drive.
1 Solaris 2.6 RTU license.
4 Canisters.
1 Alarm Board.
PN 9110.01068 7
WWW SERVER SYSTEM
2.2.2 Firewall
The PIX Firewall by Cisco Systems, Inc. is used to allow specific packets from the
Internet to connect with the servers inside an installation cluster. For the purposes of this
document, an installation cluster consists of at least the following:
An MVP
A FAX Server
A WWW server
A Modem pool
A Firewall
The term inside the cluster will refer to all of the above components except for the outside
port of the Firewall, that is anything that is protected by the Firewall.
World Wide Web technology can be employed instead of a more traditional mail scheme.
An MVP-to-WWW Server protocol provides the server access to the MVP database and
messages.
The WWW Server system is designed to allow the Remote Client to use the HTTP
protocol to send/receive fax messages. Each fax message is broken down into individual
pages. The HTTP protocol downloads the fax image to the Remote Client. The fax header
information (which is stored in ASCII) is downloaded first, followed by the fax pages.
This allows a subscriber to view a fax page (i.e., the cover page), prior to the complete
download of the entire fax and thereby uses the limited bandwidth to its full potential.
PN 9110.01068 9
WWW SERVER SYSTEM
The second method of WWW access is through a Java Application called MailRoom,
which provides subscriber access. MailRoom will provide the subscriber with greater
functionality than available with the HTML Client. The MailRoom is an independent
platform supporting Windows 95, Windows NT, Solaris, and MacIntosh.
Both the HTML and the Java Clients offer subscriber access. The subscriber's user
number and password are verified, and the subscriber is able to display a list of current
fax, voice mail, and DMS messages, retrieve specific fax or DMS messages, delete
specific fax, voice mail, or DMS messages. The subscriber can also send pages or faxes
to other subscribers. The subscriber can also send faxes to external phone numbers.
Guest access is possible using the HTML Client in Guest mode. In this case, the Guest
must specify a valid subscriber's account number and request a guest login. While logged
in, a Guest can send Fax or DMS messages to the subscriber's account. However, a Guest
cannot send faxes to external numbers.
When a subscriber executes the Remote Client, a screen is displayed that welcomes the
caller and asks for a user ID and password.
For Fax message retrieval, the WWW Server obtains the Fax Servers IP address and the
message filename supplied in the account data from the MVP. Then, it obtains the fax
file from the Fax Server, followed by the format conversion to G3-format files and the
standard image GIF format files. In this way, the user is able to clearly see the fax as it is
downloaded from the top down. The subscriber can choose to cancel the download at any
time.
During this process, the Remote Client provides the subscriber with the option of
requesting the next-page, requesting a specific page, or requesting any other service
offered by the Fax Server (deletion, forwarding, etc.).
Any messages placed on the trash folder can be selected for undeletion. A message that
is undeleted will return to its original folder.
For DMS Messages, the Guest user fills in the message field, which is range-checked to
ensure that it is within the permissible message lengths for the account. For fax messages,
the Guest user may deliver a cover sheet and/or a postscript fax file. If specified, the
cover sheet is created by the user (typically including From, To, Subject, and Message
Text fields).
PN 9110.01068 11
WWW Server Reference Manual
Filesystem avail
/dev/dsk/c0t0d0s5 87776
Make sure that the number listed under avail is 512000 (500 Mb) or better. If it
is not then you need to arrange to have more space in /opt. In the sample output
above, you would not have enough space to install.
3. If you would like to use an attendant that is specific to the web interface on the
MVP and you have not yet created this attendant, do so now.
4. See what the ciin_term flag on the MVP is set to. To do this, login to the
console of the MVP and run flags. The second line of data will look like this:
ciin_term EOF
If this has no value, then set the value to some string. You will need to know this
string during the configuration process for the MVP Server software. If you
change the value, be sure to edit /batch/autoexec.b and add the following
line:
set_flag ciin_term EOF
where EOF is the string that you entered in the flags program. This will make
sure that this flag is reset whenever the MVP reboots.
PN 9110.01068 13
WWW SERVER INSTALLATION
5. Make sure that the /syspar/config file contains a setting for ipaddress
faxserver like this:
ipaddress faxserver:127.0.0.1
where the IP address that you enter is the address of the Fax Server attached to
this MVP.
6. You need to have an account on the Fax Server that is attached to the MVP. This
account should be accessible from the nobody account on the WWW Server.
Create this account now if you do not already have one. It is recommended that
you use a fairly unprivileged account. It must have access to the fax images held
in /usr2/fax and be able to write to /var/tmp.
7. Once the account is created, make a .rhosts file in its home (for example,
/usr/nobody). This file should have Read Only permissions, be owned by
root, and have the following line:
<webserver> nobody
You can test that this is setup properly by following these steps:
su
enter root password
su nobody
rlogin faxserver -l account
Where faxserver is the name or address of your Fax Server computer, and
account is the name of the account that was just created. If you are logged in
without being asked for a password, then everything is setup properly. If not,
verify the permissions on the .rhosts file; it should be Read Only. Verify that
the file is in the accounts home directory. Verify that the webserver entry in the
file is correct. Test the name resolution by running ping webserver.
8. At the prompt, type:
TERM=vt100
export TERM
9. Edit the /etc/services file and add the following lines:
omc_ci 6020/tcp
Mailroom 9595/tcp
snmpalarm 7777/udp
10. Edit the /etc/syslog.conf file and add the following lines at the end. Use
the tab key on the keyboard for the term [tab].
local5.debug [tab] /opt/omcrel/v1.0.1/logs/omcsrv.log
local0.debug [tab] /var/log/snmptraps.log
local6.debug [tab] /opt/webserv/logs/debug
11. Issue the touch command to create the above 3 files:
touch /opt/omcrel/v1.0.1/logs/omcsrv.log
touch /var/log/snmptraps.log
touch /opt/webserv/logs/debug
If your tape drive is not on the machine that you wish to be your WWW Server,
then simply copy the files from the tape, using ftp, rcp, a nfs mount or some
other method, to the WWW Server computer.
PN 9110.01068 15
WWW SERVER INSTALLATION
Once the program starts, you will be greeted with the installation banner and
asked if this is an install or uninstall.
*****************************************************************************
*****************************************************************************
G L E N A Y R E E L E C T R O N I C S
*****************************************************************************
*****************************************************************************
For context sensitive help at any prompt, type '?'. Default values are
displayed in '[]' in each prompt.
At the prompt, enter 1 and press Enter. You will then be prompted to specify
the location of the media (tape or CD). If you enter a file name that can not be
found, you will be re-prompted for the media.
The installation program will now make sure that there is at least 500 MB free on
the /opt partition. If there is not, then the installation program will inform you
of the space shortage and exit. If this happens, try to make some more space in
/opt and run the installation program again.
At this point you are ready to begin installing the software onto the system. The
basic components to the WWW Server are installed in this order:
The Apache HTTP Server,
The Iona Orbix Server and interface repository,
The Glenayre WWW Server itself,
The Glenayre MVP Server, and
The Glenayre SNMP Servers
Installing HTTPD...
HTTPD Port [80]?
HTTPD Server Name [<hostname>]?
HTTPD Servers [5]?
HTTPD Administrator [root@<hostname>]?
HTTPD installation complete
Your responses to the prompts are used to configure the HTTP Server software.
The reference to <hostname> will display the hostname of the computer where
you are installing the software. For more details on HTTP Server configuration,
see Section 3.3 on page 27.
Next, you will install the Orbix software. If Orbix is already installed on your
system then the installation program will not attempt to install a new one. Orbix
is installed using Sun Microsystems pkgadd program. The WWW Server
software is expecting Orbix to be installed in /opt/Orbix_2.0. You will also
need a license key for the Orbix software.
When prompted by pkgadd to continue with the installation always reply with
y. When asked to make this your default installation, reply with y.
Installing ORBIX
Press Enter to accept the default, or type in /opt/Orbix_2.0 for the Orbix
installation directory
PN 9110.01068 17
WWW SERVER INSTALLATION
Type in y to create the directory. If you do not see this message then
/opt/Orbix_2.0 must already exist.
The following files are already installed on the system and are being
used by another package:
* /opt/Orbix_2.0 <attribute change only>
/opt/Orbix_2.0/Interfaces/IR/Rep.idl
/opt/Orbix_2.0/Interfaces/IR/Rep.sa
/opt/Orbix_2.0/Interfaces/IR/TypDf.idl
/opt/Orbix_2.0/Interfaces/IR/TypDf.sa
/opt/Orbix_2.0/README
/opt/Orbix_2.0/README.ver
/opt/Orbix_2.0/RELEASE_NOTES
/opt/Orbix_2.0/bin/IR
/opt/Orbix_2.0/bin/catit
/opt/Orbix_2.0/bin/chmodit
/opt/Orbix_2.0/bin/chownit
/opt/Orbix_2.0/bin/grouphosts
/opt/Orbix_2.0/bin/install_licence
/opt/Orbix_2.0/bin/killit
/opt/Orbix_2.0/bin/lsit
/opt/Orbix_2.0/bin/mkdirit
/opt/Orbix_2.0/bin/orbix13to20_ImpRep
/opt/Orbix_2.0/bin/orbixd
/opt/Orbix_2.0/bin/pingit
/opt/Orbix_2.0/bin/psit
/opt/Orbix_2.0/bin/putit
/opt/Orbix_2.0/bin/rmdirit
/opt/Orbix_2.0/bin/rmit
/opt/Orbix_2.0/bin/servergroups
/opt/Orbix_2.0/bin/serverhosts
/opt/Orbix_2.0/man/man1/catit.1
/opt/Orbix_2.0/man/man1/chmodit.1
/opt/Orbix_2.0/man/man1/chownit.1
/opt/Orbix_2.0/man/man1/grouphosts.1
/opt/Orbix_2.0/man/man1/idl.1
/opt/Orbix_2.0/man/man1/ir.1
/opt/Orbix_2.0/man/man1/killit.1
/opt/Orbix_2.0/man/man1/lsit.1
/opt/Orbix_2.0/man/man1/mkdirit.1
/opt/Orbix_2.0/man/man1/orbixd.1
/opt/Orbix_2.0/man/man1/pingit.1
/opt/Orbix_2.0/man/man1/psit.1
/opt/Orbix_2.0/man/man1/putit.1
/opt/Orbix_2.0/man/man1/rmdirit.1
/opt/Orbix_2.0/man/man1/rmit.1
/opt/Orbix_2.0/man/man1/servergroups.1
/opt/Orbix_2.0/man/man1/serverhosts.1
[ verifying class <common> ]
[ verifying class <config> ]
## Executing postinstall script.
Enter your Orbix license key now. The license key is formatted as follows:
XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX
PN 9110.01068 19
WWW SERVER INSTALLATION
----------------------------------------------------------------------
Okay, the Orbix common objects have now been installed.
Now, you must install one or both of the remaining Orbix packages.
----------------------------------------------------------------------
The Orbix 2.0 OMG CORBA 2.0 C++ Mapping Objects will be
installed in the directory /opt/Orbix_2.0/corba2
If you do not see this message then pkgadd has been able to determine your
domain name. If you do not have a domain name, enter null.
PN 9110.01068 21
WWW SERVER INSTALLATION
/opt/Orbix_2.0/corba2/include/idl/TypDf.idl
/opt/Orbix_2.0/corba2/include/idl/daemon.idl
[ verifying class <includes> ]
/opt/Orbix_2.0/corba2/demos/Makefile
/opt/Orbix_2.0/corba2/demos/README
/opt/Orbix_2.0/corba2/demos/Xwin/Makefile
/opt/Orbix_2.0/corba2/demos/Xwin/README
/opt/Orbix_2.0/corba2/demos/Xwin/client.cc
/opt/Orbix_2.0/corba2/demos/Xwin/label.cc
/opt/Orbix_2.0/corba2/demos/Xwin/label.h
/opt/Orbix_2.0/corba2/demos/Xwin/label.idl
/opt/Orbix_2.0/corba2/demos/Xwin/xtorbix.cc
/opt/Orbix_2.0/corba2/demos/Xwin/xtorbix.h
/opt/Orbix_2.0/corba2/demos/any_demo/Client.cc
/opt/Orbix_2.0/corba2/demos/any_demo/Makefile
/opt/Orbix_2.0/corba2/demos/any_demo/README
/opt/Orbix_2.0/corba2/demos/any_demo/Server.cc
/opt/Orbix_2.0/corba2/demos/any_demo/Server.h
/opt/Orbix_2.0/corba2/demos/any_demo/Srv_Main.cc
/opt/Orbix_2.0/corba2/demos/any_demo/test1.idl
/opt/Orbix_2.0/corba2/demos/caching/Bank_Srv.cc
/opt/Orbix_2.0/corba2/demos/caching/Bank_Srv.h
/opt/Orbix_2.0/corba2/demos/caching/Child.cc
/opt/Orbix_2.0/corba2/demos/caching/Client.cc
/opt/Orbix_2.0/corba2/demos/caching/Makefile
/opt/Orbix_2.0/corba2/demos/caching/README
/opt/Orbix_2.0/corba2/demos/caching/Smart_Ac.cc
/opt/Orbix_2.0/corba2/demos/caching/Smart_Ac.h
/opt/Orbix_2.0/corba2/demos/caching/Srv_Main.cc
/opt/Orbix_2.0/corba2/demos/caching/caching.idl
/opt/Orbix_2.0/corba2/demos/colocate/BANK.idl
/opt/Orbix_2.0/corba2/demos/colocate/Bank_Srv.cc
/opt/Orbix_2.0/corba2/demos/colocate/Bank_Srv.h
/opt/Orbix_2.0/corba2/demos/colocate/Client.cc
/opt/Orbix_2.0/corba2/demos/colocate/Makefile
/opt/Orbix_2.0/corba2/demos/colocate/README
/opt/Orbix_2.0/corba2/demos/dii_demo/Client.cc
/opt/Orbix_2.0/corba2/demos/dii_demo/Makefile
/opt/Orbix_2.0/corba2/demos/dii_demo/README
/opt/Orbix_2.0/corba2/demos/encrypt/Client.cc
/opt/Orbix_2.0/corba2/demos/encrypt/Makefile
/opt/Orbix_2.0/corba2/demos/encrypt/README
/opt/Orbix_2.0/corba2/demos/encrypt/Server.cc
/opt/Orbix_2.0/corba2/demos/encrypt/Server.h
/opt/Orbix_2.0/corba2/demos/encrypt/enc.idl
/opt/Orbix_2.0/corba2/demos/encrypt/srv_main.cc
/opt/Orbix_2.0/corba2/demos/encrypt/trans.cc
/opt/Orbix_2.0/corba2/demos/encrypt/trans.h
/opt/Orbix_2.0/corba2/demos/filters/Client.cc
/opt/Orbix_2.0/corba2/demos/filters/Makefile
/opt/Orbix_2.0/corba2/demos/filters/ProcFilt.h
/opt/Orbix_2.0/corba2/demos/filters/README
/opt/Orbix_2.0/corba2/demos/filters/Server.cc
/opt/Orbix_2.0/corba2/demos/filters/Server.h
/opt/Orbix_2.0/corba2/demos/filters/Srv_Main.cc
/opt/Orbix_2.0/corba2/demos/filters/filter.idl
/opt/Orbix_2.0/corba2/demos/grid/Client.cc
/opt/Orbix_2.0/corba2/demos/grid/Makefile
/opt/Orbix_2.0/corba2/demos/grid/README
/opt/Orbix_2.0/corba2/demos/grid/Srv_Main.cc
/opt/Orbix_2.0/corba2/demos/grid/grid.idl
/opt/Orbix_2.0/corba2/demos/grid/grid_i.cc
/opt/Orbix_2.0/corba2/demos/grid/grid_i.h
/opt/Orbix_2.0/corba2/demos/grid_tie/Client.cc
/opt/Orbix_2.0/corba2/demos/grid_tie/Makefile
/opt/Orbix_2.0/corba2/demos/grid_tie/README
/opt/Orbix_2.0/corba2/demos/grid_tie/Srv_Main.cc
/opt/Orbix_2.0/corba2/demos/grid_tie/grid.idl
/opt/Orbix_2.0/corba2/demos/grid_tie/grid_i.cc
/opt/Orbix_2.0/corba2/demos/grid_tie/grid_i.h
/opt/Orbix_2.0/corba2/demos/idl_demo/BANK.idl
/opt/Orbix_2.0/corba2/demos/idl_demo/Bank_Srv.cc
/opt/Orbix_2.0/corba2/demos/idl_demo/Bank_Srv.h
/opt/Orbix_2.0/corba2/demos/idl_demo/Client.cc
/opt/Orbix_2.0/corba2/demos/idl_demo/Makefile
/opt/Orbix_2.0/corba2/demos/idl_demo/README
/opt/Orbix_2.0/corba2/demos/idl_demo/Srv_Main.cc
/opt/Orbix_2.0/corba2/demos/ir_demo/BANK.idl
/opt/Orbix_2.0/corba2/demos/ir_demo/Bank_Srv.cc
/opt/Orbix_2.0/corba2/demos/ir_demo/Bank_Srv.h
/opt/Orbix_2.0/corba2/demos/ir_demo/Client.cc
/opt/Orbix_2.0/corba2/demos/ir_demo/Makefile
/opt/Orbix_2.0/corba2/demos/ir_demo/README
/opt/Orbix_2.0/corba2/demos/ir_demo/Srv_Main.cc
/opt/Orbix_2.0/corba2/demos/opaque/Makefile
/opt/Orbix_2.0/corba2/demos/opaque/README
/opt/Orbix_2.0/corba2/demos/opaque/client.cc
/opt/Orbix_2.0/corba2/demos/opaque/gentor.cc
/opt/Orbix_2.0/corba2/demos/opaque/gentor.h
/opt/Orbix_2.0/corba2/demos/opaque/opaq.idl
/opt/Orbix_2.0/corba2/demos/opaque/opaq_i.cc
/opt/Orbix_2.0/corba2/demos/opaque/opaq_i.h
/opt/Orbix_2.0/corba2/demos/opaque/opaqserv.cc
/opt/Orbix_2.0/corba2/demos/opaque/opaqserv.h
/opt/Orbix_2.0/corba2/demos/opaque/server.cc
/opt/Orbix_2.0/corba2/demos/per_mast/BANK.idl
/opt/Orbix_2.0/corba2/demos/per_mast/Makefile
/opt/Orbix_2.0/corba2/demos/per_mast/README
/opt/Orbix_2.0/corba2/demos/per_mast/banksrv.cc
/opt/Orbix_2.0/corba2/demos/per_mast/banksrv.h
/opt/Orbix_2.0/corba2/demos/per_mast/clientc.cc
/opt/Orbix_2.0/corba2/demos/per_mast/demo-cli.cc
/opt/Orbix_2.0/corba2/demos/per_mast/hEntity.h
/opt/Orbix_2.0/corba2/demos/per_mast/hashTbl.cc
/opt/Orbix_2.0/corba2/demos/per_mast/hashTbl.h
/opt/Orbix_2.0/corba2/demos/per_mast/loader.cc
/opt/Orbix_2.0/corba2/demos/per_mast/loader.h
/opt/Orbix_2.0/corba2/demos/per_mast/server.cc
/opt/Orbix_2.0/corba2/demos/per_mult/BANK.idl
/opt/Orbix_2.0/corba2/demos/per_mult/Makefile
/opt/Orbix_2.0/corba2/demos/per_mult/README
/opt/Orbix_2.0/corba2/demos/per_mult/banksrv.cc
/opt/Orbix_2.0/corba2/demos/per_mult/banksrv.h
/opt/Orbix_2.0/corba2/demos/per_mult/clientc.cc
/opt/Orbix_2.0/corba2/demos/per_mult/demo-cli.cc
/opt/Orbix_2.0/corba2/demos/per_mult/loader.cc
/opt/Orbix_2.0/corba2/demos/per_mult/loader.h
/opt/Orbix_2.0/corba2/demos/per_mult/server.cc
/opt/Orbix_2.0/corba2/demos/per_simp/BANK.idl
/opt/Orbix_2.0/corba2/demos/per_simp/Makefile
/opt/Orbix_2.0/corba2/demos/per_simp/README
/opt/Orbix_2.0/corba2/demos/per_simp/banksrv.cc
/opt/Orbix_2.0/corba2/demos/per_simp/banksrv.h
/opt/Orbix_2.0/corba2/demos/per_simp/clientc.cc
/opt/Orbix_2.0/corba2/demos/per_simp/demo-cli.cc
/opt/Orbix_2.0/corba2/demos/per_simp/loader.cc
/opt/Orbix_2.0/corba2/demos/per_simp/loader.h
/opt/Orbix_2.0/corba2/demos/per_simp/server.cc
/opt/Orbix_2.0/corba2/demos/threads/Makefile
/opt/Orbix_2.0/corba2/demos/threads/README
/opt/Orbix_2.0/corba2/demos/timer/Makefile
/opt/Orbix_2.0/corba2/demos/timer/README
/opt/Orbix_2.0/corba2/demos/timer/perf.idl
/opt/Orbix_2.0/corba2/demos/timer/perfclnt.cc
/opt/Orbix_2.0/corba2/demos/timer/perfsrv.cc
/opt/Orbix_2.0/corba2/demos/timer/perfsrv.h
/opt/Orbix_2.0/corba2/demos/timer/server.cc
[ verifying class <demos> ]
## Executing postinstall script.
PN 9110.01068 23
WWW SERVER INSTALLATION
----------------------------------------------------------------------
There has been a minor change to the format of the Implementation
Repository directory structure for Orbix 2.0.
----------------------------------------------------------------------
Okay, the new CORBA2 mapping component is now installed.
* The Orbix daemon, when run, will use the port number
specified by IT_DAEMON_PORT. To alter this, set IT_DAEMON_PORT
to an appropriate value in your environment, or edit the
value (currently 1570) in the configuration file, Orbix.cfg.
----------------------------------------------------------------------
Now cd to /opt/Orbix_2.0/corba2/demos, read the README, and run a "make".
----------------------------------------------------------------------
If you had trouble installing the Orbix software and would like to reinstall just
this part at a later time, you can run:
pkgadd d /tmp/orbix.img ORBXc20 ORBXo20
If you need to remove just the Orbix software, you can run:
pkgrm n ORBXc20 ORBXo20
Next, the CGI (or WWW Server) software installation will proceed.
Installing CGI
What account should be used on the fax server [ ]?
CGI installation complete
At the prompt, enter an account that exists on the Fax Server computer that you
intend to use. This account should have been set up in the pre-installation
procedures (see steps 5 and 6 of the Pre-installation Procedures on page 13 and
the example below).
Example
Installing CGI
What account should be used on the fax server [nobody]?
CGI installation complete
Now for the final step, the MVP Server software will be installed.
Installing SNMP
What is the trap community [wwwuser]?
What is the trap sink [host name of webserver]?
Editing /opt/snmp/lib/snmp/snmpd.conf
SNMP installation complete
} Enter the host name where the
traps should be sent.
The trap community is the name of your SNMP management scheme. If you
dont know what to change it to, press enter and the trap community will be set
to wwwuser.
The trap sink is the host name where the traps should be sent. If you dont know
what to change it to, press enter and the traps will be sent to the WWW Server
itself.
The installation program assumes that you will be talking with a single MVP.
Your replies to these prompts are used to edit the MVP Server configuration
files. For more details on MVP Server configuration, see Section 3.3 on page 27.
PN 9110.01068 25
WWW SERVER INSTALLATION
The only parameter that is set in this file is the directory at the very top.
This should be set to /opt/webserv/htdocs.
/opt/webserv/conf/httpd.conf
Most of the configuration parameters for the HTTP Server are in this file.
Below is a brief description of their use:
Port This sets the port number to which the Server will
listen for connections.
PN 9110.01068 27
WWW SERVER INSTALLATION
ErrorLog Sets the name of the file to which the server will
write errors.
TransferLog Sets the name of the file to which the server will
log the incoming requests.
KeepAliveTimeout How long to wait for the next request (in seconds).
/opt/webserv/conf/srm.conf
The srm.conf file defines the files on the host that the Server has access to.
PN 9110.01068 29
WWW SERVER INSTALLATION
logoText Text for the ALT field of the logo IMG tag.
The other point of configuration for the HTML Client is the mailroom.cgi script.
This file is in:
/opt/webserv/cgi-bin/glenayre/mailroom.cgi
There are three environment variables specified in this script, they are:
PN 9110.01068 31
WWW SERVER INSTALLATION
For access to configuration outside of the Java client, run the Server program.
From within the Java client, these settings are accessible from the User
Preferences menu, then the Advanced Configuration submenu.
Port Address This is the port on the server where the CGI is
listening, typically 80.
Socket Timeout (seconds) The timeout is how long the client waits for com-
munication response from the server before tim-
ing out.
Server Configuration
Logger.ser This file contains the user preference for the sys-
tem log that specifies whether system logging is
to a file (log.txt) or to the screen.
Version File
PN 9110.01068 33
WWW SERVER INSTALLATION
This file contains one line for each MVP that the system will communicate
with. At this time there is only one MVP per Server. Each line contains nine
colon (:) separated values.
MVP Hostname The symbolic name of the MVP for this line in the
file.
EOF When all results have been sent from the MVP, it
can be configured to send an end of data string.
This field tells MVP Server what that string is. The
default is EOF.
/opt/omcrel/v1.0.1/config/range.tbl
This file describes what range of subscriber ids go to which MVP. Each line
in this file describes a range of addresses and maps it to an MVP. There are
5 fields delimited by white spaces.
PN 9110.01068 35
WWW SERVER INSTALLATION
CGI_SMK = 51509
STATS_SMK = 51510
MVP_CONTROL_PORT = 1234
MVP_PIPE_PORT = 5999
MAXPAGERLEN = 22
MAXTSILEN = 22
MVP_IP_ADDRESS = "157.230.163.67"
FAXSERV_IP_ADDRESS = "157.230.162.107"
MVP_EOF = "+ EOF"
LOCALHOST = "127.0.0.1"
MVP_FS = "/"
* LOGFILE_NAME = "/export/home/mike/FAXServer.log"
* PIPE_LOGFILE = "/usr/local/etc/apache/logs/MVPPipe.log"
* DOC_DIRECTORY = "/usr/local/etc/apache/htdocs"
BASE_FAX_DIR = "/usr2/fax"
* COVER_SHEET_TEMPLATES = "/export/home/mike/cs_templates"
TEMPLATE_FIELD_MARKER = "FAXTemplateField"
* FAXUSER = "faxdemo"
* BINDIR = "/usr/local/bin"
The values preceded by an asterisk (*) indicate that they have been changed from
the default. Currently, the only way to change the default values is to add a line
to the configuration file. At this time, some of these variables are not used, and
will not be needed. Currently, these are MVP_PIPE_PORT, MVP_IP_ADDRESS,
FAXSERV_IP_ADDRESS, and PIPE_LOGFILE.
This script is responsible for starting the ORBIX Daemon and interface
repository. The environment variable OBINDIR at the top should be set to
/opt/Orbix_2.0/bin.
S997omcmainsrv
This script is responsible for adding the MVP Server orb to the ORBIX
interface repository. The environment variable OBINDIR at the top should
be set to /opt/Orbix_2.0/bin. The environment variable BASEDIR
should be set to /opt/omcrel/v1.0.1.
S999webserver
This script is responsible for starting the Apache HTTPD Server. The envi-
ronment variable HTTPD_DIR at the top should be set to /opt/webserv.
S99snmp
This script is responsible for starting both the snmpd and snmpalarmd
processes.
S998cgi
PN 9110.01068 37
WWW SERVER INSTALLATION
**********************************************************************
MVP Web Server Status
PROCESSES:
----------
Num HTTP servers: 10
Num CGI processes: 0
MVP server: Running [pid=244] production
Mailroom server: Running [pid=263]
SNMP server: Running [pid=306]
Alarm server: Running [pid=296]
FILES (Kbytes):
---------------
HTTP Logs: 1180 [154496 free on /opt]
HTTP Documents: 140646 [154496 free on /opt]
OMC Logs: 51641 [154496 free on /opt]
System Logs: 10 [399940 free on /var]
MVPs:
-----
epa4: Alive
DEFINED SERVICES:
-----------------
omc_ci: 6020/tcp
Mailroom: 9595/tcp
snmpalarm: 7777/udp
DIRECTORY PERMISSIONS:
----------------------
/opt/webserv/logs: is ok
/opt/webserv/htdocs: is ok
IPC STATUS:
-----------
Web server shmem: OK [id=2]
Web server semaphore: OK [id=0]
Alarm server shmem: OK [id=3]
MVP server shmem: OK [id=1]
**********************************************************************
You will see the welcome banner and the first prompt.
*****************************************************************************
*****************************************************************************
G L E N A Y R E E L E C T R O N I C S
*****************************************************************************
*****************************************************************************
For context sensitive help at any prompt, type '?'. Default values are
displayed in '[]' in each prompt.
Enter 2 to begin the software removal process. To make sure that you really want
to remove the software, you will be prompted to confirm your selection.
Uninstalling HTTPD
HTTPD uninstallation complete
Uninstalling ORBIX
<some messages from pkgrm>
ORBIX uninstallation complete
Uninstalling CGI
CGI Uninstallation complete
At this point the software has been erased from the system.
PN 9110.01068 39
WWW Server Reference Manual
FIREWALL INSTALLATION
4.1 Overview
This document serves as an extension to the documentation available from Cisco
Systems, Inc. For further reference on installation and configuration please see
the following documents which should be shipped with your CISCO PIX
Firewall:
PIX520DC Installation Guide, Version 4.0, Cisco Systems, Inc., Customer
Order Number DOC-PIX520DC-IG=, Text Part Number 78-4224-01.
PIX Firewall Series Configuration Guide, Version 4.0, Cisco Systems, Inc.,
Customer Order Number DOC-PIXFW-CG=, Text Part Number
78-4222-01.
The PIX Firewall by Cisco Systems, Inc. is used to allow specific packets from the
Internet to connect with the servers inside an installation cluster. For the
purposes of this document, an installation cluster consists of at least the
following:
An MVP
A FAX Server
A WWW server
A Modem pool
A Firewall
The term inside the cluster will refer to all of the above components except for the
outside port of the Firewall, that is anything that is protected by the Firewall.
A set of standardized IP addresses has been assigned for each computer inside
the cluster. These addresses are from the standard range of addresses for private
networking, and thus will never be assigned by the NIC (RFC 1597). The inside
addresses are specified on the next page.
PN 9110.01068 41
FIREWALL INSTALLATION
IP Address Computer
The WWW Server is the only computer that should be accessible from outside
the Firewall. The Server only allows HTML traffic from the Internet through the
Firewall. The only exceptions to this are administrative connections from a
specific outside server.
Note Before you begin this section, you need to have a range of NIC
registered IP addresses for the PIX to use for outbound connections.
Also, you need to have a NIC registered address for the outside port
of the Firewall and for the WWW Server.
The notes in this section are derived from the Cisco Systems, Inc. document PIX
Firewall Series Configuration Guide.
1. From the pixfirewall> prompt, type enable. When asked for a password,
press Enter. A new enable password will be set up later. Your prompt should
now look like:
pixfirewall#
2. From enabled mode type config terminal. This instructs the PIX to
configure itself from the terminal. Your prompt should now look like:
pixfirewall(config)#
3. Enter the following commands:
interface ethernet inside auto
Indicates that you are using an automatic speed detecting ethernet card on
the inside port.
interface ethernet outside auto
Indicates that you are using an automatic speed detecting ethernet card on
the outside port.
ip address inside 192.168.160.1 255.255.255.0
Assigns the default external router. Note that we will leave the internal router
undefined.
static nic_address_for_web_server 192.168.160.10
Defines a static external address for the WWW Server. This will be used with
the conduit command next to allow HTML access.
conduit nic_address_for_web_server 80 tcp 0 0
Allows TCP connections bound for port 80 (HTML) on the WWW Server,
and which can originate from anywhere to get through the Firewall.
PN 9110.01068 43
FIREWALL INSTALLATION
global 1 first_address_in_pool-last_address_in_pool
Allocates the global address pool. These addresses are used for temporary
outbound connections.
nat 1 0
Allows all outbound connections to pass through the Firewall with address
translation. The PIX will map the actual inside address to an address in the
global pool.
write memory
10. Next, create a conduit using that static address. The conduit specifies who can
connect with which protocol and to which port. The syntax of the conduit
command is as follows:
conduit global_ip port [tcp|udp] orig_ip_address [netmask]
PN 9110.01068 45
WWW Server Reference Manual
MODEM BANK
PN 9110.01068 47
MODEM BANK
For more details on the hardware installation, see the document Total Control
CHASSIS 35A/45A and 70A/130A Ac and DC HARDWARE INSTALL GUIDE.
Be sure to store these configurations after setting them using menu option 9.
Otherwise, the setting are lost after a reboot.
2. Use the serial port cable and necessary adapters to configure the Netserver card
in slot 16. First login as !root using the enter key as the default password. Set up
the appropriate IP address and netmask (i.e., set net0 address, set net0
netmask).
Set the password as personnel (using the set password command). Set the
gateway to the same address as the IP address of the netserver (i.e., using the set
gateway command). Be sure to save all settings (i.e., save all command) and reset
the Netserver card (i.e., reboot command) after completing the configuration.
3. Use the serial port cable and necessary adapters to configure the T1 interface
card in slot 1. First, set the system clock reference list to derive the system clock
from the T1 spans with the local reference as the lowest priority (i.e., the
configuration menu).
Set the T1 line configuration with Framing Mode SF and Line Coding AMI (i.e.,
the line configuration menu). Set the Signaling as E&M type II with immediate
trunk seize and no expected address (i.e., the Call Parameter menu). Most
importantly, be sure to save the configuration to NVRAM and reset the card to
ensure the settings are retained (i.e., Configuration menu).
PN 9110.01068 49
MODEM BANK
U.S. Robotics
Total Control (tm) NETServer Card V.34/ISDN with Frame Relay V3.4.23
Build date: Mar 6 1997
Build time: 10:12:26
Network Interface Card: Ethernet & Frame Relay Combination (26)
ISDN Interface Card : MUNICH32 (4)
Packet Bus Circuit : Enhanced
Licensed for 60 ports.
The V3.4.23 at the end of the second line is the software revision of the
NETServer card. The commands in this document are correct for version 3.4.23.
Line 2 fills in rule #1 for input filter www.in. The rule is read as follows:
permit 0.0.0.0/0 <web server IP>/32 Allow any outside address to connect
to the WWW Server. The /32 means
that all 32 bits of the web servers IP
address must match the destination of
the incoming packet.
tcp dst eq 80 This is a further specification of the first part of the rule. This
means that only TCP traffic is allowed by this rule and that the
destination of any packet must be port 80.
The show table filter command will list all of the filters that are defined on the
NETServer. To view the rules for an individual filter, type show filter filter
name. For the case of www.in, this will display:
- IP rules -
1 permit 0.0.0.0/0 <web server IP>/32 tcp dst eq 80
Line 1 tells the netserver the first IP address in the address pool range.
Line 2 tells the netserver how many addresses are in the address range.
The show global command will display the address pool information among
other system wide settings:
Assigned Address: <first address in range>
Assigned Pool Size: <range size>
PN 9110.01068 51
MODEM BANK
Line 2 sets the netmask for this user. A netmask of all 1s (255.255.255.255)
tells the NETServer that this is a PPP account.
Line 4 tells the NETServer to pick an address from the address pool and assign
to the remote computer.
Line 5 sets the default inbound packet filter for this user. We will leave the
outbound packet filter blank.
The show table users command will list every user that is configured on the
NETServer. For example:
The show user username command will show the configuration for the named
account. For example, show user webuser will result in:
Once the set of ports has been identified, type the following commands for each
port. The notation of s# has been used in place of the actual modem port
identifier (e.g. s5.)
1. set modem s# active
2. set s# network dialin
3. set s# databits 8
4. set s# parity none
5. set s# stopbits 1
6. set s# idletime 60
7. set s# security on
8. set s# autolog
9. set s# ifilter www.in
10. save all
11. reset s#
Line 6 sets the maximum idle time for this port. If no data is transferred for
longer than 60 minutes, the connection will be dropped.
Line 7 turns on security for this port. This means that the NETServer will hang
up on any users who are not in the users table.
PN 9110.01068 53
MODEM BANK
The command show s# will show the configuration for the port s#. For example,
show s5 will result in:
where code is one of 0x51 for IP and/or IPX connection messages, or 0x71 for
PPP negotiation messages.
When you are finished viewing debug messages, type the following:
set debug 0x00
reset console
5.3.2 IFCONFIG
Use ifconfig to display or reconfigure the current configuration of an
interface. Any changes made in this way only affect the interface while it is
active. When reset, the configuration will revert to its default values.
If you do not specify an interface then all interfaces will be listed. To change
an interface, use the following command:
ifconfig interface option new setting
where interface can be Net0, ptp1, ptp2, etc. The point-to-point
connections must be established in order to be configurable.
PN 9110.01068 55
MODEM BANK
5.3.3 PING
This command verifies that the NETServer can communicate with other devices
on the network. Type:
ping IP address
where IP address is the IP address or name of the device on the network you
want to contact.
5.3.4 PTRACE
This command allows you to monitor network traffic at the packet level. Type
the following:
ptrace filter name
If you type the command without specifying a packet filter, ptrace will be
disabled.
This does not function as an inbound or outbound packet filter since it does not
cause any packets to be dropped. It simply reports any packets that meet the
filter criteria.
When accessing the NETServer by a Telnet session, filter out the administrative
Telnet packets. Otherwise ptrace will report packets from the administrators
own ptrace output, causing a large amount of unusable packet tracing
information to be displayed.
This example filters out all Telnet packets while allowing all IP traffic to be seen
for the purpose of debugging.
5.3.5 TRACEROUTE
This command is used to determine any routers or hosts that packets route
through en route to the specified IP address. Use the following command:
traceroute IP address
5.3.6 SHOW
The show command is used to view the NETServers current configuration and
its routing activity. The command has the following options:
show
all All S ports
arp <interface> IP address resolution data
filter <filter name> A packet filter
flash A summary of flash memory
global Global configuration
init_script <script name> A modem initialization string
ipxroutes The ipxroutes table
isdnservice *ISDN service profiles
isdncallmap *ISDN call mapping table
location <location name> A location table entry
memory DRAM memory usage
netconns Active connections
net0 LAN port configuration
netstat Network statistics
netuser <user name> The specified user
routes or routing The IP routes table
sap SAP interfaces
s<port number> The specified port
sessions Current dial-in sessions
table filter Filter table summary
table hosts Hosts table summary
table location Location table summary
table netmask The netmasks table
table snmp Snmp table summary
table user User table summary
vpn The Virtual Private Network Connections being serviced
tunnel Shows the VPN tunnels on a Specific CBA
user <user name> The specified user
<wan0|wan1> *V.35 port configuration
<wan0|wan1> dlci *Frame relay static DLCIs
<wan0|wan1> mib errors Frame relay error MIB
<wan0|wan1> mib interface *Frame relay interface MIB
<wan0|wan1> mib pvc *Frame relay virtual circuit MIB
The show commands most commonly used for troubleshooting are arp, flash,
memory, netconns, netstat, sap and sessions.
PN 9110.01068 57
MODEM BANK
5.3.7 TRNKDIAG
Trnkdiag is a utility that may be run from an MVP console. You will need to
know which TSC board you have connected from the MVP to the U.S. Robotics
Modem Bank. TSC 0 is on shelf A and TSC 1 is on shelf B.
This utility also numbers the T1 time slots using zero based numbering. For the
first T1 interface card on a shelf, the first time slot is 0 and the last T1 time slot is
23. The second T1 interface card on a shelf uses time slots 32 to 56.
In the example below, setting the signaling bit on time slot 0 to 0xf causes the
Modem Bank to set its signaling to 0xf and results in the amber light on the
second card from the left in the Modem Bank to illuminate. This indicates that
the T1 connection from the MVP to the WWW Server is active. Afterwards, the
time slot 0 signal should be restored to zero before going to the next channel. In
the event of difficulties, the Modem Bank T1 configuration provides error counts
and signal monitoring abilities for troubleshooting purposes. The LDI diagnostic
port provides similar error counts.
For example,
MVP> trnkdiag
Which tsc board do you wish to test?
0
Trunk Diagnostic Utility: <"quit"> to Exit.
TSC Main Menu Functions
t - trunk functions
b - voice buffer functions
i - digital interface functions
d - dialout functions
c - central functions
s - trunk run status
x - 8980 test
v - version number
p - Get Process Data
e - escape to debug mode
quit - Exit trnkdiag
? i
Digital Interface Functions Menu
d - send a command to digital interface
t - toggle digital interface print flag
l - read back ldi card signaling
w - write ldi channel signaling
? w
channel#-> 0
Signaling Nibble-> 0xf
alt chan 0 sending f
Digital Interface Functions Menu
d - send a command to digital interface
t - toggle digital interface print flag
l - read back ldi card signaling
w - write ldi channel signaling
? l
RX Signaling, TX Signaling
0 0 0 0 0 0 0 0 f 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PN 9110.01068 59
WWW Server Reference Manual
HTML CLIENT
Note that the HTML client consists of both the HTML browser located on the
users platform and the HTML Client software located on the WWW Server
platform. Most standard HTML browsers (Netscape 2.0x or greater, Internet
Explorer 4.0 or greater, etc.) with Javascript can be used. While the user only
interfaces directly with the HTML browser, problems with the Server software
can affect the client usage. Refer to Section 11. on page 133 for information on
troubleshooting the Server software.
PN 9110.01068 61
HTML CLIENT
TCP socket
Mailroom
HTML CGI CGI
Server Process rsh, rcp FAX
Process Server
The CGI interfaces with
The Mailroom server parses the MVP through the MVP
the input from the browser Process and accesses files
and formats it as a CGI request. on the Fax Server.
It creates new HTML output
based on the CGI's response.
WWW Server Platform
The HTML client operates through the World Wide Web. Users should be using
a recommended or accepted browser. It is assumed that the user knows how to
operate the browser. The installation and configuration of the HTML browser as
well as general problems with its usage should be referred to the browsers User
Manual, Web page, or Technical Support Service.For help operating the
browser, refer to the browsers User Manual, on-line help, Web page, or
Technical Support Service.
The following browsers are fully compatible with the HTML client:
Netscape Navigator 3.x, 4.x, or greater on any platform. (The Macintosh
versions have a tendency to display very narrow text fields, but have a full
range of functionality.)
Microsoft Internet Explorer (MSIE) 4.0 or greater on any platform.
The following browser will work with the HTML client with some reduced
cosmetic capabilities:
Netscape Navigator 2.x on any platform.
MSIE 3.x Users should upgrade to either MSIE 4.x or Netscape Navigator
4.x, both of which are free.
The following browsers are known to have serious problems running the HTML
client and should be avoided:
Hot Java Users should switch to one of the recommended browsers for
HTML client sessions.
Mosaic Users should switch to one of the recommended browsers for
HTML client sessions.
PN 9110.01068 63
HTML CLIENT
Title Bar
Each User Interface screen in the HTML client features a Title Bar underscored
with a red horizontal rule running the width of the page. The Title Bar displays
the title for the current screen.
Status Bar
Underneath the red horizontal rule is a Status Bar indicating the status of the
current operation. Always consult the Status Bar first if an operation does not
produce the expected results. The status is mirrored on the browsers status bar
which is usually on the bottom frame of the browser window.
To the right of the Status Bar is the Help Manual Icon. Clicking the Help Manual
Icon will display the on-line help for the current screen in a separate Help
Window.
To perform any operation represented on the screen by an icon, simply click the
icon with the mouse.
Ordinarily, the first input field is automatically selected when a screen is initially
displayed. It is usually possible to tab to the next field or button and press the
Enter key to perform the action for the currently selected button.
Note Some older browsers may not support tabbing to the next field or
button. When using one of these browsers, it is necessary to use the
mouse to select the field or click the button. Consider upgrading your
browser!
6.4 Troubleshooting
When operating the HTML client, problems can occur on both the client and
server platforms. Client problems may be related to an unsupported browser,
improper browser settings, or faulty network connection. The servers problems
may be more likely due to improper installation, erroneous configuration
settings, or lack of file permissions.
See Section 11.7 on page 147 for error codes and general troubleshooting
information.
The following tables should help in diagnosing and curing common problems
on the client and server.
PN 9110.01068 65
HTML CLIENT
Browser responds to efforts to connect to The IP address or domain name is incorrect. Check the IP
HTML client with a dialog stating that it address or DNS name in the location or bookmark.
is unable to locate the server.
Browser times out with a message such The HTTP server is not operating or is not correctly
as: There was no response. The server configured. Follow the instructions in Section 3. on page 13
could be down or is not responding. for installing, configuring and starting the HTTP server.
User receives the message, File Not The WWW Server cannot locate the mailroom.cgi file.
found The requested URL was not Verify that:
found on this server, when attempting the user has entered the correct URL.
to connect to the HTML clients server. the mailroom.cgi file is correctly installed.
the WWW Server can access and run the
mailroom.cgi program.
User receives the message, Mailroom The mailroom.cgi program is unable to interface with
CGI Error *** ERROR: client can't the HTML clients server. This is most likely because
connect to server, when attempting to HTML client is not running. Perform the following checks:
connect to the HTML clients server. use ps ef | grep com.glenayre.mailroom to
make sure that the HTML client is running.
make sure that SERVER_HOST_PORT and
SERVER_HOST_ADDR are set correctly in the
mailroom.cgi script.
Make sure that htmlPort is set correctly in the
Mailroom.conf file.
Be certain that the HTML client is using the correct
Mailroom.conf file. It will use the Mailroom.conf
file under /opt/webserv/conf unless another one is
provided as a command line argument.
Users Login screen just hangs (and is The HTML clients server is not receiving a response from
eventually timed-out by the browser) the CGI program. Make sure that the Mailroom.conf
when attempting to login. file has the correct MvpPath setting.
Buttons, widgets, icons, etc. appear in the This problem has been noted with Netscape 4.0.4 on a
wrong positions on the screen after Windows NT PC using large fonts. While the exact cause
resizing or scrolling the browser. is not known, the screen can be corrected by clicking the
refresh button. This problem might also occur with
unsupported browsers such as HotJava or MSIE 3.0. The
solution in these cases is to upgrade to a supported
browser (see Section 6.2.1 on page 63).
FAXs, help pages, and alphanumeric Browser does not support targeting of windows. Upgrade
messages appear in the main HTML client to one of the supported browsers (see Section 6.2.1 on page
browser window, while the auxiliary 63).
windows intended for them remains
empty.
The HTML Client fails to start. This problem is probably due to one of the following
conditions:
Java is improperly installed. See installation
instructions for the JDK or JRE.
The user starting the remote clients server lacks read
permissions for the HTML client class files.
The HTML client class was not found. The command
to start the remote client server must reference it by its
full package name,
com.glenayre.mailroom.server.Mailroom.
The HTML Client starts, but immediately This is probably due to one of the following conditions:
exits. The Mailroom.conf file was not present in the
/opt/webserv/conf directory.
User running the HTML client lacks read permissions
in the /opt/webserv/conf directory.
In the configuration file, Mailroom.conf,
cmdLineInf is set to true, but the HTML client is being
started in the background. Either run the HTML client
as a foreground process or set cmdLineInf to false in
the configuration file.
User running the HTML client lacks write permissions
in the /opt/webserv/logs directory.
If none of these conditions is true, examine the mr.log file
in the /opt/webserv/logs directory for error messages.
Otherwise, a thorough review of the configuration file
settings and the HTML client file locations and
permissions is in order.
PN 9110.01068 67
HTML CLIENT
JAVA CLIENT
The Java client is a program that provides subscribers with access to their MVP
accounts via a TCP/IP network connection and uses the HTTP protocol. The
Java client provides the remote user with functionality similar to what is
currently available via a telephone session using DTMF input. The Java client
resides on the users platform.
MailRoom HTTP
HTTP
Java Server
client The Common Gateway Process
Interface is the interface
between the HTTP server
The User invokes the and a CGI program.
MailRoom Java client
via an application icon.
CGI
TCP socket MVP TCP socket
Server MVP
Process
PN 9110.01068 69
JAVA CLIENT
The Java client establishes a connection with the HTTP server normally listening
at the standard port 80. When the HTTP server receives a request, it executes the
CGI program. The CGI programs on the WWW Server will process these
requests via the MVP and the FAX server. The WWW Server will respond with
a message that may be as simple as a confirmation of the operation performed or
as complicated as the return of a FAX message as a byte stream. Any client
request may cause the CGI program to generate an operation failure response
that will include the specific reason the operation failed.
The CGI program gets its input from the HTTP server via environment variables
and data streams. The standard input stream (stdin) is used by the HTTP server
to pass streamed data to the CGI program. The CGI program decodes input from
the client and interfaces with MVP through the MVP Server process using TCP
socket interface. The CGI program also access files on the FAX server via rcp and
rsh utilities.
Before the CGI program can send data to its client, it must send a response
header that identifies the type of data it is sending with a Multipurpose Internet
Multimedia Extensions (MIME) content type. Output of the CGI program is sent
to the HTTP server and then the client via the standard output stream.
The HTTP server closes the connection after the response is sent.
For each platform, there are two files containing the Java client software. One
contains the Java Runtime Environment (JRE or MRJ) and the other does not.
Both contain full release of Java client software. The actual file names used differ
depending on the source (CD or download) and the version number.
Each subdirectory has a plain-text instruction file on installing Java client called:
install.txt
After receiving an URL for the Java MailRoom Download page, a subscriber can
download the Java MailRoom software using a WWW Browser. The Uniform
Resource Locator (URL) is the common format of address objects on the World
Wide Web. Your URL should look like:
http://www.X/java_client/download.html
PN 9110.01068 71
JAVA CLIENT
The following figures illustrate the options that are available at different stages
of the download. These figures are for demonstration purposes only (using
Netscape browser to download Windows 95/NT version of software).
The URL for the Java client download page provides a link for each supported
OS: Windows 95/NT, MAC, and Solaris SPARC. See Figure 7-2 and Figure 7-3 as
follows.
Subscribers whose computer already has the Java client installed can download
the Java client software at logon. A message box informs the subscriber at logon
if the version currently installed is older than what is available on the server. The
message indicates the users version, whats new in the upgrade, and present
on-line upgrade options. See Figure 7-4 below.
As shown in Figure 7-4, you may select one of the following upgrade options:
Incremental - normally the preferred option since it has a minimum size.
Incremental with Java - preferred when a newer version of Java is available.
Full - replaces the entire program.
Full with Java - replaces the entire program and the Java software.
When the new release of Java client requires a newer version of Java, then only
the upgrade options with Java are available.
PN 9110.01068 73
JAVA CLIENT
Windows 95
Memory: at least 32 Mb
Windows NT
Memory: at least 32 Mb
NT 4.0 or greater
Macintosh
Sun Solaris
Solaris 2.6
The following requirements must be met to install the Java client on Windows 95
or NT.
The Java client works with Intel or Intel-compatible based PC systems with
80486 and Pentium or better microprocessors. Windows 95 or NT 4.0 is
required with a minimum of 32 MB of built-in RAM and 30 MB of free disk
space.
JRE 1.1 or JDK1.1 (Java client is compliant with Sun's JDK 1.1).
PPP or intranet/internet connection to the target server.
CD-ROM drive is required for CD installation.
PN 9110.01068 75
JAVA CLIENT
The following requirements must be met to install the Java client on MAC OS.
Java client works with Macintosh or Macintosh-compatible systems with
68040 or PowerPC microprocessors. System 8.0 or later is required with a
minimum of 32 MB of built-in RAM and 40 MB of free disk space.
Systems with 68040 microprocessors must have 32-bit addressing turned
on. This can be done by using the Memory control panel.
Virtual memory must be enabled and set to at least 1.5 times the physical
memory.
MRJ 2.0 (Java client is compliant with Sun's JDK 1.1)
PPP or intranet/internet connection to the target server.
CD-ROM drive is required for CD installation.
Stuffit software properly installed.
Note MRJ 2.0 is included with Mac OS 8.1, so there is no need to download
it if you already have the Mac OS 8.1 distribution CD.
1. Make sure Stuffit software is properly installed (it is on the Mac OS CD).
2. Insert the CD into the CD-ROM drive and view the contents of the CD via the
CD strip.
3. Navigate to the /win subdirectory and double-click your choice of the
following self-extracting files:
mac_fj.hqx contains the Java client release and Mac Runtime for Java
(MRJ 2.0). This is for a first-time users of Java client software whose
computer does not have MRJ 2.0 installed.
mac_f.hqx contains the Java client release. This is for users who already
have MRJ 2.0 installed.
7. If you have selected the Java client with MRJ option (mac_fj.hqx),
double-click the MRJ icon inside the MailRoom folder from the previous step to
install MRJ. Select the "easy install" option while installing the MRJ.
8. You may clean intermediate files from the desktop by dragging
MailRoom.sea, mac_f.hqx, or mac_fj.hqx to the trash can.
9. Double-click the Java client icon inside the MailRoom folder to start the Java
client.
The following requirements must be met to install the Java client on MAC OS.
Java client works with Sun Solaris SPARC systems. Solaris 2.5 or later is
required with a minimum of 128 MB of built-in RAM and 30 MB of free disk
space.
JRE 1.1 or JDK1.1 (Java client is compliant with Sun's JDK 1.1).
PPP or intranet/internet connection to the target server.
CD-ROM drive is required for CD installation.
ls -l /cdrom/cdrom0/sparc
The following file names should be listed in the output from the command
install.txt sparc_f.z sparc_fj.z.
sparc_fj.z contains the Java client software and the Java Runtime
Environment. This file is for first-time users of the Java client software
whose computer does not have JRE installed. First-time users are strongly
encouraged to install from this file.
sparc_f.z contains Java client software only. This file is for users who
already have JRE installed. If you use this file, you must set up your own
shell program to run Java client. A sample.sh program is included in the
tar file as an example. If you do not have JRE installed, use sparc_fj.z
instead.
PN 9110.01068 77
JAVA CLIENT
For access to configuration outside of the Java client, run the Server program.
From within the Java client, these settings are accessible from the User
Preferences menu, then the Advanced Configuration submenu.
Server IP Address
Note Because the TCP/IP address defaults to 0.0.0.0, it must be set prior to
logon.
Port Address
This is the port on the server where the CGI is listening, typically 80.
The timeout is how long the client waits for communication response from the
server before timing out.
PN 9110.01068 79
JAVA CLIENT
There is one configuration file that all clients on a particular computer share: the
server file. This file specifies the IP address, port number, and timeout setting
for the WWW Server.
The system maintains a Users file that keeps an ordered list of all the users who
have been on the system from this client. This is used for recalling users when
entering the Logon screen at start-up of the program.
This file contains the user preference for the system log that specifies whether
system logging is to a file (log.txt) or to the screen.
This file identifies the version of the Java client including the version number
and date.
This file contains the user preferences and any other configurable type of data.
Also the users last Update request time is saved in this file.
This file contains the User Profile information that is retrieved from the MVP.
The Profile information in this file is updated, after each Update request.
This file contains the Message Directory information that was retrieved from the
MVP. This file also contains the folder directory information for all Folders on
the clients system. The information in this file and the actual folder directory
structure are updated after each Update request.
Version File
Logger File
n n n
n n n n n n n n n
PN 9110.01068 81
JAVA CLIENT
7.5.1 Windows 95
1. Change directory to the c:\MailRoom subdirectory (or where you have
installed the Java client).
2. Double click the Java client shortcut to start the Java client.
7.5.2 Windows NT
1. Change directory to the c:\MailRoom subdirectory (or where you have
installed the Java client).
2. Double click the MailRoomNT.PIF to start the Java client.
7.5.3 MacOS
1. Double click the Java client icon inside the MailRoom Folder.
7.5.4 Solaris
1. Change directory (cd) to the subdirectory where the Java client is installed.
2. Run MailRoom.sh.
7.6 Troubleshooting
For information on diagnosing the WWW Server, see Section 11.7 on page 147.
Note In order to view the standard output destination, you must start-up
the Mailroom with the debug setup.
Note Glenayre Engineering personnel will help you decipher the system log
information once it has been printed out or is available on screen.
PN 9110.01068 83
JAVA CLIENT
The MVP Server computer interface is accessed via a standard TCP/IP session.
The address of the MVP Server is defined in the /etc/hosts file, and the
service name is defined in /etc/services file as omc_ci/tcp. The service
port number is configured by the network administrator. If the service name and
port number are missing, port number 6020 can used as a default.
Access to the computer interface may be made via a Telnet session to the same
address and port number.
When first connected to the computer interface, a logon in the form of a plus sign
(+) is sent, indicating connection has been made, and the computer interface is
waiting for commands. Once commands have been received and processed the
computer interface prompts with another plus sign.
PN 9110.01068 85
MVP SERVER PROCESS
Command Definition
get Get the value of the named MVP Server variable which can
be:
TRACE - the trace level. The exact syntax is:
get /TRACE/
RUNMODE - the runmode (production or
maintenance).
CLIENTS - the number of clients current being served.
set Set the value of the named MVP Server variable which can
be:
TRACE - the trace level. For example
set /TRACE=5/
RUNMODE - the runmode. For example
set /RUNMODE=maintenance/
MVP CIP
The command name is entered in lower case and is the first entry in the
command string. Keyword values are entered with a leading slash (/), the
keyword name in UPPER case, "=", and the value. The last keyword is followed
by a slash and a carriage return. Keywords must be entered with enough letters
to be unambiguous - e.g., "PASSWORD" can be entered as "PASS", but not "P".
To create the computer interface message packet, follow the order below:
1. Command in lower-case letters.
2. One space.
3. Forward slash (/).
4. Keyword name in capital letters.
5. Equal sign (=).
6. Keyword value.
7. Forward slash (/).
8. As many keyword names, then "/", then values, then "/" as needed for the
command operation.
9. Terminating Carriage Return.
After a command has been entered into the MVP Server, it will respond with
information and attach the system message EOT/ to the end of the response. If
the system message "EOT/" is proceeded by "STAT=XXXXX/" (where XXXXX is
a 5-hex digit error code), then the command was NOT executed successfully.
Error messages originated from MVP are divided into two types: internal and
execution. Internal errors are prepended with 1 and execution errors are
prepended with 2. A complete list of the "error message numbers" generated
from MVP is described in Section 11.6 on page 143.
PN 9110.01068 87
MVP SERVER PROCESS
0x3FFFB No database.
By default, trace is set to level 3. The trace level can be modified through the
MVP Server computers set command (see Table 8-1 on page 86), or via the trace
utility.
The trace feature can also be disabled entirely by using the trace utility
program (located in /opt/omcrel/v1.0.1/server/directory). The trace
program syntax is as follows:
trace[-t 0|1] -s :serverName -u userName -p password -h
hostname [-d level]
The MVP Server process also logs alarm messages to the snmpalarmd process
via UDP messages. See Section 10. on page 97 for more information about the
snmpalarmd process.
To set the MVP Server in maintenance mode, use the command as follows.
set /RUNMODE=maintenance/
To set the MVP Server in production mode, use the command as follows.
set /RUNMODE=production/
The omcsrv.log in the logs subdirectory contains trace log. This file can get
very big over time. A routine clean-up is required.
PN 9110.01068 89
MVP SERVER PROCESS
The following table lists and describes files contained in the config subdirectory.
File Description
omc.conf General configuration file for the MVP Server software. Every line in this file is
commented out since the defaults are appropriate.
omcuser.tbl The data in this file is not used but the file is required to exist.
pu.tbl This file contains the MVP name that the MVP Server software will connect with.
Each field in each line is separated by a colon (:). The meaning of each field is
described below:
1. host name of a MVP
2. MVP computer interface port
3. attendant
4. password
5. CI_INTERM as defined in autoexec.b
6. machine type-> always MVP_CI
7. attach-> default is 1
8. number of computer interface sessions - default is 4.
9. comments
Example:
mvp1:1234:service:personnel:EOF:MVP_CI:1:4:Atlanta2
range.tbl For the MVP described in the pu.tbl define a range of user IDs that map to that
MVP. The MVP range will be [0-9999999999999999].
Example 1: One MVP system
# Host Type Start End Description
mvp1 MVP_CI 0 9999999999999999 Text description
CGI PROGRAM
PN 9110.01068 91
CGI PROGRAM
In the case of an upload request, the MVP informs CGI of the IP address of the
Fax Server to use to hold the data and the name of the file to place on the Fax
Server. Once this information is available, the file is placed on the Fax Server
with the rcp command. The Fax Server must then be told that it has a new file
so that it can recalculate its storage capacity. This is done using a rsh command
to the Fax Server telling it to execute the /usr/fax/bin/mod_usage
command. This updates the capacity variables held by the Fax Server and is
reflected to the MVP. To confirm the change run view_cap from the MVP
console.
In the case of a download request, the opposite occurs. Given a message ID that
exists on the MVP, ask the MVP for the IP address of the Fax Server that holds
the data, and the name of the file on that computer. Once this data is returned,
the file is transferred with the rcp command from the Fax Server to a temporary
location on the WWW Server.
The HTML and/or Java Clients send the data for a single command code and
wait for the reply. Presently CGI is stateless, so each individual command
represents the life-span of a single CGI task. After the command is completed,
the CGI program exits.
Among the parameters given is the number of previous failed attempts. If the
number of failed attempts surpasses a user definable threshold, then the CGI
begins to delay its reply to the client. This delay is also user definable, but is
cumulative with the number of failed attempts beyond the threshold.
For example, if the attempt threshold is set to 10, and if the delay is set to 5, then
each attempt up to 10 will experience a 5 second delay. On the eleventh failed
attempt, the CGI waits 10 seconds before sending the failure response. On the
twelfth failed attempt, the CGI waits 15 seconds, 20 seconds on the thirteenth,
and so on.
Once the user is validated, the user profile information is retrieved by calling the
usrprofile function on the MVP.
Once the Guest user is validated, the user profile information is retrieved by
calling the usrprofile function on the MVP.
PN 9110.01068 93
CGI PROGRAM
9.2.3 Update
The update request is used to return the listing of messages in the subscribers
mailbox. The Remote Client specifies the time stamp of the last successful update
that it performed. The MVP returns the time stamp of the last time a message
changed in the account. If these two time stamps differ, the message directory is
retrieved.
The time stamp information from the MVP is returned by the usrprofile
command. If the time stamps do not match, or if the client specifies that the CGI
should force the update, the directory is retrieved with the msgdir function on
the MVP.
Note The client may also specify that only a specific number of messages
are returned. The messages returned by the MVP are not sorted in any way.
9.2.4 Delete
The delete request removes a specific message from the MVP, and if necessary
from the Fax Server as well. Messages are specified by the message ID and
dictated time of the message. If the message ID exists, but has a different dictated
time, the MVP assumes that the message was previously deleted and that the
message ID has been recycled, causing an error code to be returned. The
msgdelete command on the MVP is used to perform the delete function.
Note The delete function is performed through future actions on the MVP,
and on a busy system some slight delays may be observed.
9.2.5 Forward
Voice and fax messages may be forwarded from the MVP. The request from the
Remote Client includes a list of user IDs and external phone numbers to send the
message to. For each entry in the list, the msgforward function on the MVP is
called. Any forwarding requests that fail, are noted by storing the actual error
code from the MVP and the user ID or external phone number. When completed,
a list of all error codes generated, if any, is returned to the client.
9.2.6 Modify
The modify command is used to change the state of an existing message. The
only state change allowed is from new to saved. The MVP function msgmodify
is used to make this change.
9.2.7 Download
The CGI allows the retrieval of a fax message by the client. The data for the fax
message resides on the Fax Server. The first step in the download process is to
determine the IP address of the Fax Server holding the data, and the location of
the file on the server. The msgget function on the MVP returns this information.
Once that data is available, the file is transferred off of the Fax Server using rcp
and placed into a temporary location on the WWW Server. This file is in
BrookTrout G3 format and must first be converted into a single G3 file for each
page in the message. The utility program bttog3 is used to accomplish this.
Once the G3 file exists for each page, the requested must be converted to GIF
format. The utility program g3togif is used for this. The GIF file is validated
for integrity, and is then transmitted back to the Remote Client. When completed
all of the temporary files are removed from the WWW Server.
9.2.8 Upload
The upload command is used to handle the creation of fax and DMS messages
on the MVP. Common to all types of upload requests is the list of user IDs and
external numbers to receive the new message. Beyond that, the functionality is
different based on the type of message being created.
DMS messages require that all of the recipients have user IDs. For each user ID
given, the CGI uses msgdep to deposit a message into the account(s) specified.
Like the forward command, if any error is encountered while processing the
list of user IDs, the errors and IDs are noted.
PN 9110.01068 95
CGI PROGRAM
A fax message is sent from the Remote Client as a PostScript file. This file may
or may not be accompanied by information to fill out a cover sheet template. The
first operation in the uploading of a fax message is to convert the PostScript file
into a set of G3 files, one for each page. Also, if the cover sheet information is
specified, an additional G3 file is created with the cover sheet image. The
GhostScript program is used for the PostScript-to-G3 conversions.
Next, all of the G3 files must be packed into a single BrookTrout G3 file. This is
done with the g3tobt utility. At this point, we have the file in the exact format
that the Fax Server is expecting.
Now, the msgdep function on the MVP is used to create a new message in the
users account, and to return the IP address of the Fax Server to hold the
message, and the file name to be created on the Fax Server. This message is
deposited into the users account and is stored in a special in prep state. In this
state the message does not count against usage statistics and does not show up
in any directory. The file is now transferred to the Fax Server with the rcp
command. Upon a successful transfer has been completed, the rsh command is
used to execute the mod_usage program. This program instructs the Fax Server
to evaluate the new file and update its capacity numbers.
The CGI then reads the list of recipients and executes a forward command
using msgforward. The error list processing for the forward command is used
for error handling in this part of the upload.
Finally, when all recipients have been forwarded the fax message, the original
in prep message is deleted using msgdelete.
SNMP AGENT
READ
&
WRITE CGI WRITE
Stats
SNMP
Manager MVP
Alarm
& Server
Table
Trap daemon Process
READ CGI
&
WRITE D
UP
PN 9110.01068 97
SNMP AGENT
PN 9110.01068 99
SNMP AGENT
PN 9110.01068 101
SNMP AGENT
Field Description
ID The alarm Message ID which will be passed to the alarm task through the alrm_msg function call.
This will be used to reference the alarm call to the entry in the table.
This field will use incrementing ID numbers with the first being 1.
ACTID The Activation ID of the alarm message. This field will be assigned in the table, and may or may not
be unique to a given ID. The Activation ID is used to link a set of alarms. Example: Three different
alarms may have the same Activation ID, One may set the alarm with a minor level, another with a
major level, and a third would clear the alarm. This ID is used to link a set of alarms together as a
group.
The activation ID is used to group together multiple entries in the alarm table so that alarms that are
functionally closely coupled can be cleared as a group.
Field Description
Status The Status of a given alarm. This will be a bit defined variable with the following meaning.
Level The alarm level or change state assigned to this alarm. The valid levels are:
6 - no_severity (informational only; Activation ID is always 0)
5 - cleared
4 - warning
3 - minor
2 - major
1 - critical
If Subcat field is status change type then this field means.
0 - Not Ready
1 - In-Service
2 - Out-of-Service
If Subcat field is configuration change type then this field means.
0 - Enabled
1 - Disabled
2 - Initializing
PN 9110.01068 103
SNMP AGENT
Field Description
Subcat The sub-category of the alarm message. This will define which SNMP trap type to use when send-
ing this to the MVP Server. See Section 10.2 on page 128 for further information on trap types.
1 - Security Violation Trap.
2 - PM Threshold Trap.
3 - Fault Management Alarm Trap.
4 - Status Change Event Trap.
5 - Configuration Change Event Trap.
6 - Resync Start Type.
7 - Resync Complete Type.
250 - Cold Start Type (Generic 0).
251 - Warm Start Type (Generic 1).
254 - Authentication Failure Type (Generic 4).
Desc A description of the alarm message. This is an ASCII field which is used to identify the alarm in the
alarm table file. This is not the exact text of the alarm message.
ID A S L C S Description
C t e a u
T t v t b
I u e c
D s l a
t
ID A S L C S Description
C t e a u
T t v t b
I u e c
D s l a
t
PN 9110.01068 105
SNMP AGENT
ID A S L C S Description
C t e a u
T t v t b
I u e c
D s l a
t
PN 9110.01068 107
SNMP AGENT
The snmpd Daemon process reads specific variables from three blocks of shared
memory. These three blocks of shared memory are used for the alarms, statistics,
and status functions.
The SNMP agent listens on UDP port number 161 (default standard) for packets
containing an SNMP operation code, a community string, and a protocol data
unit containing a list of MIB variable bindings. The agent performs the requested
operation on the MIB variables and composes a reply packet containing the
variable binding lists which include the current values of the variables and sends
it back to the manager.
As the MVP Web Server reboots, the snmpd is automatically loaded and it
generates a Cold Start trap.
10.1.4.1 Configuration
The SNMP agent is to be installed in the /opt/snmp directory. The man pages
for the snmpd process and snmpd.conf are located in the /opt/snmp/man
directory.
The subcat field in the alarm file will determine the type of SNMP trap which
will be sent for that event. See Section B on page 157 for additional information on
trap types.
The snmpalarmd process is loaded at boot time. The program may take the
following arguments:
-c <string> trap community string, default value is
public.
-t <host> trap destination host, default value is
localhost.
-p <port> trap destination port, default value is 162.
-f <alarmtab> alarm table, default value is
/opt/snmp/lib/snmp/alarmtab.conf.
-h <hist> history file name, default value is
/var/log/alarmhist.
PN 9110.01068 109
SNMP AGENT
Files/Programs Involved
/opt/snmp/bin/showtab - a simple maintenance program for the
shared memory alarm table
/opt/snmp/etc/snmpalarmd - the alarm server; normally runs as root:
snmpalarmd -t trapsink_host -c community_string
/var/adm/messages - syslogd log file for server's error and status change
messages
/var/log/alarm.hist - alarm history log file: the first character on each
line is a subcategory (for ease of filtering)
/opt/snmp/lib/snmp/alarmtab.conf - the configuration file for the
initial settings of the shared memory alarm table.
/etc/services - should have an entry snmpalarm 7777/UDP for the
server's service port.
/etc/rc2.d/S997snmp - rc file start script
ipcs -m command - should display a shared memory segment with IPC
key 0x00007777 after snmpalarmd starts
The "snmpalarmd" server uses the syslog mechanism to log its error and status
change messages.
The normal configuration of the alarm server will contain a line that resembles
this one:
Perform a kill -1 on the server's process ID. Note that if the shared memory
alarm table contains active alarms, the server will not overwrite the shared
memory table with entries from the configuration file:
/opt/snmp/lib/snmp/alarmtab.conf
10.1.6 MIB
The MVP MIB supports full MIB-II group. In addition to the MIB-II group it has
the following additional entries:
runStatus
cmdStats
cgiStats
wwwAlarms
resources
The details of runStatus, cmdStats, cgiStats and wwwAlarms are given in Table
10-3, Table 10-4, Table 10-2, and Table 10-8, respectively. The details of resources
is given below.
PN 9110.01068 111
SNMP AGENT
PN 9110.01068 113
SNMP AGENT
PN 9110.01068 115
SNMP AGENT
ifSpecific Object Identifier read-only The identifier for a MIB that contains
additional definitions that relate to
1.3.6.1.2.1.2.2.1.22
this interface type.
PN 9110.01068 117
SNMP AGENT
1.3.6.1.2.1.4.20.1.3
PN 9110.01068 119
SNMP AGENT
ipNetToMediaType INTEGER read-write How the entry was learned. Also, use
invalid to delete the entry.
1`.3.6.1.2.14.22.1.4 other(1),
invalid(2),
dynamic(3),
static(4)
PN 9110.01068 121
SNMP AGENT
PN 9110.01068 123
SNMP AGENT
tcpConnLocalAddress IpAddress read-only The local port number for this TCP
1.3.6.1.2.1.613.1.3 connection.
-Index
tcpConnRemPort INTEGER read-only The remote port number for this TCP
1.3.6.1.2.1.6.13.1.5 connection.
(0.65535)
-Index
PN 9110.01068 125
SNMP AGENT
udpLocalPort INTEGER read-only The local port number for this UDP
1.3.6.1.2.1.7.5.1.2 listener.
(0.65535)
-Index
PN 9110.01068 127
SNMP AGENT
10.2 Traps
Currently, the following traps are MVP specific traps which can be generated by
the SNMP agent.
10.2.1 wwwSecurityEvent
VARIABLES
wAlarmId
wAlarmActId
wAlarmCat
wAlarmSeverity
wAlarmIndex
wAlarmTime
wAlarmDescription
wAlarmText
This trap indicates that a security violation has been detected by the WWW. The
value of wAlarmSeverity will always be set to 6 (informational) and the value of
wAlarmActId will always be set to 0.
10.2.2 wwwPMThreshEvent
VARIABLES
wAlarmId
wAlarmActId
wAlarmCat
wAlarmSeverity
wAlarmIndex
wAlarmTime
wAlarmDescription
wAlarmText
This trap indicates that the WWW has transitioned through a resource threshold,
which potentially could result in a degradation of service or the loss of data.
10.2.3 wwwFaultEvent
VARIABLES
wAlarmId
wAlarmActId
wAlarmCat
wAlarmSeverity
wAlarmIndex
wAlarmTime
wAlarmDescription
wAlarmText
This trap indicates that the WWW has encountered a fault in either hardware or
software operation. The category field should be examined for the subsystem
affected.
10.2.4 wwwStatusChangeEvent
VARIABLES
wAlarmId
wAlarmActId
wAlarmCat
wAlarmSeverity
wAlarmIndex
wAlarmTime
wAlarmDescription
wAlarmText
wAlarmRunStatus
This trap indicates a change in the operational state of the WWW Server. The
value of wAlarmSeverity will always be set to 6 (informational) and the value of
wAlarmActId will always be 0.
PN 9110.01068 129
SNMP AGENT
10.2.5 wwwConfigChangeEvent
VARIABLES
wAlarmId
wAlarmActId
wAlarmCat
wAlarmSeverity
wAlarmIndex
wAlarmTime
wAlarmDescription
wAlarmText
wAlarmCfgStatus
This trap indicates that the WWW Server has had its configuration changed or
reloaded. The value of wAlarmSeverity will always be set to 6 (informational)
and the value of wAlarmActId will always be set to 0.
10.2.6 wwwResyncStartEvent
VARIABLES
wAlarmId
wAlarmActId
wAlarmCat
wAlarmSeverity
wAlarmIndex
wAlarmTime
wAlarmDescription
wAlarmText
This trap indicates that a WWW Server has begun resending outstanding trap
alarms. The value of wAlarmSeverity will always be set to 6 (informational) and
the value of wAlarmActId will always be 0.
10.2.7 wwwResyncCompleteEvent
VARIABLES
wAlarmId
wAlarmActId
wAlarmCat
wAlarmSeverity
wAlarmIndex
wAlarmTime
wAlarmDescription
wAlarmText
This trap indicates that a WWW Server has finished resending outstanding trap
alarms. The value of wAlarmSeverity will always be set to 6 (informational) and
the value of wAlarmActId will always be 0.
PN 9110.01068 131
WWW Server Reference Manual
11.1 Processes
The Glenayre WWW Server consists of several programs operating together in a
conduit of information starting from the MVP and ending with the Remote
Client. The major components of this conduit are as follows:
PN 9110.01068 133
TROUBLESHOOTING THE WWW SERVER
11.2 Packages
The WWW Server does not exist by itself. It relies on several supporting
packages to be in place. Here is a detail of those packages.
omcuser.tbl The data in this file is not used but the file is
required to exist.
pu.tbl This file contains the MVP that the MVP Server
process will connect with.
PN 9110.01068 135
TROUBLESHOOTING THE WWW SERVER
The flow of information between the MVP server and the Remote Client starts
on the MVPs computer interface port (1234). From there it goes to the MvpSrv
running on the WWW Server. It outputs the information to the CGI task that will
writes it back to the Remote Client.
All of these characters run together; the only space is between the usrprofile
and the first slash.
PN 9110.01068 137
TROUBLESHOOTING THE WWW SERVER
This test will confirm that there is reachability from the WWW Server to the MVP
and to the Fax server.
1. Issue this command from the WWW Server shell:
/usr/sbin/ping host name of MVP
2. Issue this command from the WWW Server shell:
/usr/sbin/ping host name of Fax server
This will connect with the port that the MvpSrv is listening to. You should see
the following message:
Trying 157.230.162.231...
Connected to zodiac.glenatl.glenayre.com.
Escape character is '^]'.
MVP Server Computer Interface V1.00
followed by a + prompt just like on the MVP. If you do not, then the MvpSrv is
not running properly.
2. Issue this command from the shell:
ps ef | grep MvpSrv
If you do not see a listing for the server then it is not running. If you do see an
entry, then perhaps it is not listening properly.
If it is not defined, then add the following entry to the end of /etc/services:
omc_ci 6020/tcp
4. Try the telnet again. If it is still not working, then try resetting the MvpSrv. The
easiest way to do this is to reboot the computer.
5. Note that the MvpSrv has two modes of running, production and maintenance.
To set the production mode, issue the telnet command as described above and
type:
set /RUNMODE=maintenance/
6. To set the maintenance mode, issue the telnet command as described above and
type:
set /RUNMODE=production/
7. To view the current state, type:
get /RUNMODE/
This test will check whether the CGI program has been installed properly and set
up with the desired configuration parameter.
1. Issue this command from the WWW Server shell:
cd /opt/webserv/cgi-bin/glenayre
CGI x
CGI_SMK = 51509
STATS_SMK = 41510
MAXPAGERLEN = 200
MAXTSILEN = 22
* DEBUG_FLAG = 80
SECURITY_SLEEP_TIME = 5
SECURITY_FAIL_COUNT = 3
MVP_EOF = "+ EOF"
LOCALHOST = "127.0.0.1"
MVP_FS = "/"
DOC_DIRECTORY = "/opt/webserv/htdocs"
BASE_FAX_DIR = "/usr2/fax"
COVER_SHEET_TEMPLATES = "/opt/webserv/cs_templates"
* FAXUSER = "nobody"
BINDIR = "/opt/webserv/bin"
env LD_LIBRARY_PATH = "/usr/openwin/lib"
PN 9110.01068 139
TROUBLESHOOTING THE WWW SERVER
FAXUSER=nobody
DEBUG_FLAG=0x80
This test will check whether the fax server is functioning properly.
1. Test whether the CGI program can gain access to the fax server. On the WWW
Server, switch user to root:
su -
Password:
Sun Microsystems Inc. SunOS 5.6 Generic August 1997
2. As root, switch user to nobody:
su - nobody
3. Change to the CGI program's directory:
cd /opt/webserv/cgi-bin/glenayre
4. From there, make sure that you can connect to the fax server without being
challenged for a password. You can find the account the that is used on the fax
server by executing CGI with the -x option:
CGI -x
CGI_SMK = 51509
STATS_SMK = 41510
MAXPAGERLEN = 200
MAXTSILEN = 22
DEBUG_FLAG = 0
SECURITY_SLEEP_TIME = 5
SECURITY_FAIL_COUNT = 3
MVP_EOF = "+ EOF"
LOCALHOST = "127.0.0.1"
MVP_FS = "/"
* DOC_DIRECTORY = "/usr/local/etc/apache/htdocs"
BASE_FAX_DIR = "/usr2/fax"
* COVER_SHEET_TEMPLATES = "/export/home/mike/cs_templates"
* FAXUSER = "faxdemo"
BINDIR = "/opt/webserv/bin"
* env LD_LIBRARY_PATH = "/usr/openwin/bin"
5. The parameter FAXUSER is the user name that is used on the fax server. Issue
the following command for this faxuser:
rlogin faxserver_ip -l faxuser
If you are asked for a password then the faxuser account is not properly
configured.
6. If the faxuser account is not properly configured, login to the fax server and
look at the .rhosts file in faxuser's home directory:
ls -al .rhosts
-rw-r--r-- 1 root sys 86 Mar 26 17:35 .rhosts
Make sure there is a line in the file containing the name of the WWW Server
(webserv in the example) followed by nobody or whomever the CGI program
is running as.
PN 9110.01068 141
TROUBLESHOOTING THE WWW SERVER
8. Make sure the /etc/hosts file on the fax server contains an entry for the
WWW Server:
cat /etc/hosts
127.0.0.1 localhost
101.102.13.104 webserv webserv.mysite.mycompany.com
If not, edit the /etc/hosts file to add an entry for the WWW Server. Then try
to rlogin from the WWW Server (see step 5) again.
9. If the CGI is not gaining access to the fax server, perhaps the disk is full. The
/var/tmp directory is used for transient files and the /usr2/fax directory is
used for the actual fax files. To check the space run:
df -kB /var/tmp /usr2/fax
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/root 4190889378641 381224810% /var/tmp
/dev/root 4190889378641 381224810% /usr2/fax
10. Examine the output. If the file systems are out of space then see if you can clear
any files. You can probably only clear files in /var/tmp.
If everything is running fine with the fax server but you still cannot transfer files,
make sure that the permissions on the /opt/webserv/htdocs directory is
world writable:
11. On the WWW Server list the /opt/webserv directory with the -l option and
note the htdocs permissions:
ls -l /opt/webserv
...
drwxrwxrwx 6 ftan staff 512 Apr 27 14:22 htdocs
...
These are output parameters generated for each CIP used by the WWW Server.
The parameters listed in order of output.
PN 9110.01068 143
TROUBLESHOOTING THE WWW SERVER
tstpasswd USERID
Several of the parameters are fields of bit flags. What follows is a definition of
what the bit flags represent for each such field.
Flag Value
1 DMS Alpha
2 DMS Numeric
4 Voice
8 Fax
Flag Value
1 New, Heard
2 New, Unheard
4 Saved
8 In Preparation
Flag Value
0 Normal
1 Confidential
8 Non-delivery Notification
16 Urgent
Item Description
0x0400 unused
0x0800 unused
0x1000 unused
0x2000 unused
0x4000 unused
Item Description
0x02 Tutorial
PN 9110.01068 145
TROUBLESHOOTING THE WWW SERVER
Item Description
Item Description
0x01 MWI on
Code Description
00 General Failure
01 Bad ID or Password
07 Update failed
15 Conversion failed
16 Timeout
There are three types of errors that can be returned to the client, MVP Computer
Interface Internal errors, MVP Computer Interface External errors, and WWW
Server Errors. These types are represented by the letters I, E and W
respectively.
The error code field is a four digit hexadecimal number. The number in this field
will mean different things depending on the error type.
PN 9110.01068 147
TROUBLESHOOTING THE WWW SERVER
Error types of Internal indicate that something is incorrect with the MVP or
WWW Server at a low level. Users should not be able to cause internal errors. If
you get one of these, call for support.
462c msgget The dictated time does not match the message, or
an internal sanity check failure has occurred.
4641 msgget Cannot get fax message because the fax server is
down.
472c msgdelete The dictated time given does not match the
message.
4741 msgdelete Cannot delete fax message because the fax server
is down.
482c msgforward The dictated time given does not match the
message.
4a2c msgmodify The dictated time given does not match the
message.
PN 9110.01068 149
TROUBLESHOOTING THE WWW SERVER
Value Description
0001 Catch all error code for an unspecified error during file
conversions, ether upload or download.
0002 Too much time has elapsed while waiting for a reply from the
MVP.
0004 An error has occurred while creating a cover sheet for this
upload.
0006 An error has occurred while parsing data from either the MVP
or the mailroom client.
000a We were unable to remove the portable bitmap files after they
were converted to G3.
000b A remote copy (RCP) command to or from the fax server has
failed.
000d We were unable to create the final directory on the fax server for
the BrookTrout file.
0011 The faxid field returned by the MVP is invalid (less than 6
characters).
Value Description
0016 Unable to open the GIF image for verification of GIF format or
for transmission to the mailroom client.
001b The page count was determined to be less than 1 or more than
300.
001c The cover sheet name given does not have a .conf file in the
templates directory.
001d Unable to create a sed file. This is used to replace the strings in
the template with the actual strings specified by the user.
001e An invalid number of string parameters has been sent from the
client for the cover sheet.
PN 9110.01068 151
WWW Server Reference Manual
A.1 Prerequisites
A.2 Procedure
1. Power up the WWW Server and press the abort button. After the powerup self
test completes, the WWW Server will display an "ok" prompt.
2. Put the Solaris media disk in the CD-ROM and type:
boot cdrom
3. Answer the following questions when prompted.
What type of terminal are you using?
Enter yes.
IP Address:xxx.xxx.xxx.xxx
PN 9110.01068 153
SOLARIS 2.6 INSTALL
Name Service:
Select other
System part of a Subnet:
Enter yes.
Netmask:
Select standalone
Software:
Select overwrite
Auto Layout File System:
Select yes
Select which directories get their own slices:
/ (root)
swap
opt
4. Next you need to customize the layout. Reduce the size of the /export/home
directory so that you can increase the size of the /opt directory to 500 MB.
Note If the layout is not customized Orbix will not fit in the /opt directory.
Select no
Reboot:
Enter the root password here. By default root (lower case) unless the
customer has requested something different.
Do you wish to use the autopower down feature?
Select no
Do you wish to be asked again about the autopower down
feature?
Select no
5. At this point the Solaris 2.6 load is complete and the system will reboot. After
the reboot is complete, create a user and modify several network related files as
described below.
6. Login as root with a password of root
7. Create a new user:
adduser service
passwd service
8. You will be asked to enter a password for the user service.
Enter personnel
Enter personnel
9. Set your terminal type and modify Networking files:
TERM vt100;export TERM
cd /etc
vi defaultrouter
10. Enter the IP of the gateway:
vi netmasks
PN 9110.01068 155
SOLARIS 2.6 INSTALL
11. Find the line that contains the Network # and the mask. Change the Network #
so the the first 2 octets equal the gateways #'s and the last 2 octets are 0's.
XXX.XXX.0.0 XXX.XXX.XXX.XXX
network # subnet mask
IMPORTS
enterprises, Counter
FROM RFC1155-SMI
OBJECT-TYPE
FROM RFC-1212
TRAP-TYPE
FROM RFC-1215;
PN 9110.01068 157
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
wwwDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..80))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"MVP server description & version number."
::= {runStatus 1}
wwwUpTime OBJECT-TYPE
SYNTAX TimeTicks
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The time (in hundredths of a second) since the
the MVP server of the system was last
re-initialized."
::= {runStatus 2}
wwwClients OBJECT-TYPE
SYNTAX Gauge
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Number of concurrent clients MVP server is serving."
::={runStatus 3}
wwwClientsPeak OBJECT-TYPE
SYNTAX Gauge
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Number of maxmum concurrent clients MVP server served."
::={runStatus 4}
wwwTraceLevel OBJECT-TYPE
SYNTAX Gauge (3..7)
ACCESS read-write
STATUS mandatory
DESCRIPTION
"MVP server trace level 3 .. 7"
::= {runStatus 5}
wwwRunMode OBJECT-TYPE
SYNTAXDisplayString (SIZE (8..11))
ACCESS read-write
STATUS mandatory
DESCRIPTION
" MVP server run mode which can be production, maintenance"
::= {runStatus 6}
wwwCommandNumber OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Number of MVP server commands."
::= { cmdStats 1 }
wwwCommandTable OBJECT-TYPE
SYNTAX SEQUENCE OF OmcCommandEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table consisting of all MVP server commands, their names,
access and error counts."
::= {cmdStats 2}
wwwCommandEntry OBJECT-TYPE
SYNTAX OmcCommandEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The command information corresponding to one MVP command"
INDEX{wwwCommandIndex}
::= {wwwCommandTable 1}
wwwCommandIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique number which identifies a command to the MVP server"
::= {wwwCommandEntry 1}
wwwCommandName OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique name which identifies a command to the MVP server"
::= {wwwCommandEntry 2}
wwwCommandAccess OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Number of a given command accepted by MVP server"
::= {wwwCommandEntry 3}
PN 9110.01068 159
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
wwwCommandError OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Number of a given command accepted by MVP server
and resulted in error."
::= {wwwCommandEntry 4}
cgiStatsNumber OBJECT-TYPE
SYNTAX INTEGER
STATUS mandatory
DESCRIPTION
"Number of cgi stats variables."
::= { cgiStats 1 }
cgiStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF cgiStatsEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table consisting of all cgi stats variables, their names,
values."
::= {cgiStats 2}
cgiStatsEntry OBJECT-TYPE
SYNTAX CgiStatsEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The information corresponding to each cgi stats variable."
INDEX{cgiStatsIndex}
::= {cgiStatsTable 1}
cgiStatsIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique number which identifies a cgi stats variable."
::= {cgiStatsEntry 1}
cgiStatsName OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique name which identifies a cgi stats variable."
::= {cgiStatsEntry 2}
cgiStatsValue OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Value of a cgi stats variable."
::= {cgiStatsEntry 3}
wwwSendActiveAlarms OBJECT-TYPE
SYNTAX INTEGER (0..1)
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A Value of 1 results in the WWW re-sending alarm
traps for all Active Alarms whose severity is any
value other than 5 (Cleared) or 6 (Informational types).
When the WWW is finished sending these traps it will
reset this value to 0"
::= { wwwAlarms 1 }
wwwAlarmNumber OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"WWW alarm table size (number of entries)."
::= {wwwAlarms 2}
wwwAlarmTable OBJECT-TYPE
SYNTAX SEQUENCE OF WwwAlarmEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A Table consisting of all WWW alarmIds, their
definitions and current status"
::= {wwwAlarms 3}
wwwAlarmEntry OBJECT-TYPE
SYNTAX WwwAlarmEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The alarm information corresponding to one WWW alarmId"
INDEX {wAlarmId}
::= {wwwAlarmTable 1}
PN 9110.01068 161
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
wAlarmId OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique number which identifies which point in the
software at which this alarm trap was generated.
All numbers which are the same will have been generated
at the same point in the software and will designate
the same error condition although the object of
that error condition may vary. While the error
condition is the same the parameters of this
condition may not be, for example a write error
condition to drive 1 will have the same alarmId
as a write error to drive 2."
::= { wwwAlarmEntry 1 }
wAlarmActId OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The activationID serves to associate alarmIds.
For example a threshold high alarm may have a alarmId
of 100. The same condition may have a threshold normal
event with an alarmId of 101. Since the threshold
normal event is intended to clear the threshold high
event both events will be associated by having the
same activationID. The activationID ties these
two events together. The alarmSeverity associated
with the most recent event overrides any alarmSeverity
previously reported with this activationID."
::= { wwwAlarmEntry 2 }
wAlarmStatus OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The current status of the alarmId. This will be
used within the WWW to determine if a given alarm has
been set for the wwwSendActiveAlarms command. If
this value is 1 then the alarm is still active and
should be resent provided its wAlarmSeverity value
does not equal 6"
::= { wwwAlarmEntry 3 }
wAlarmSeverity OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"
warning (4)
minor (3)
major (2)
critical (1)
cleared (5)
informational (6)
Alarms of level 6 will always have an activationId
of 0, and hence do not need to be cleared nor resent
for the wwwSendActiveAlarms command."
::= { wwwAlarmEntry 4 }
wAlarmCat OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"An indication of the category of the wAlarmId
type defined as
MVP Server (1)
CGI (2)
HTTP Server (3)
SNMP Agent (4)
Memory (5)
Disk Space (6)
File System (7)
External Interfaces (8)
Cache Server (9)"
::= { wwwAlarmEntry 5 }
wAlarmSubCat OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"An indication of the type of enterpriseSpecific trap
generated for this alarm
Security Violation(1)
PM Threshold Trap(2)
Fault Management Alarm Trap(3)
Status Change Event Trap(4)
Configuration Change Event Trap(5)
Resync Start Trap(6)
Resync Complete Trap(7)"
::= { wwwAlarmEntry 6 }
wAlarmDescription OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A generic description of the alarm type (generic
for wAlarmId)"
::= { wwwAlarmEntry 7 }
wAlarmText OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The exact alarm message, complete with parameters,
as it appears in the WWW history file."
::= { wwwAlarmEntry 8 }
wAlarmCfgStatus OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"
Enabled(0)
Disabled(1)
Initializing(2)
"
::= { wwwAlarmEntry 9 }
PN 9110.01068 163
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
wAlarmIndex OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
" This field is reserved, an string constant=n/a."
::= { wwwAlarmEntry 10 }
wAlarmTime OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The time of the alarm expressed as YYYYMMDDHHMMSS"
::= { wwwAlarmEntry 11 }
wAlarmRunStatus OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"
Not Ready(0)
In Service(1)
Out of Service(2)
"
::= { wwwAlarmEntry 12 }
processes OBJECT-TYPE
SYNTAX Processes
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A set of information on running programs/daemons."
INDEX { processIndex }
::= { resources 1 }
processIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Reference Index for each observed process."
::= { processes 1 }
processNames OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The table of process names were Counting."
::= { processes 2 }
processMin OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The minimum number of processes that should be
running. An error flag is generated if the number of
running processes is < the minimum."
::= { processes 3 }
processMax OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The maximum number of processes that should be
running. An error flag is generated if the number of
running processes is > the maximum."
::= { processes 4 }
processCount OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of current processes running with the name
in question."
::= { processes 5 }
processErrorFlag OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A Error flag to indicate trouble with a process. It
goes to 1 if there is an error, 0 if no error."
::= { processes 100 }
processErrMessage OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"An error message describing the problem (if one exists)."
::= { processes 101 }
processErrFix OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Setting this to one will try to fix the problem if possible."
::= { processes 102 }
memTotalSwap OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Total Swap Size."
::= { memory 1 }
memAvailSwap OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Available Swap Space."
::= { memory 2 }
PN 9110.01068 165
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
memTotalReal OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Total Real/Physical Memory Size."
::= { memory 3 }
memAvailReal OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Available Real/Physical Memory Space."
::= { memory 4 }
diskIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Reference number for the Disk Mib."
::= { disk 1 }
diskPath OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Path where disk is mounted."
::= { disk 2 }
diskDevice OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Device path"
::= { disk 3 }
diskMinimum OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Minimum space required for the disk."
::= { disk 4 }
diskTotal OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Total Disk Size (kbytes)"
::= { disk 5 }
diskAvail OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Available disk Space"
::= { disk 6 }
diskUsed OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Used Space on Disk"
::= { disk 7 }
diskPercent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Percentage of space used on disk"
::= { disk 8 }
diskErrorFlag OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Error flag signaling disk is over minimum required space"
::= { disk 100 }
diskErrorMsg OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A text description of what caused the error flag to be set."
::= { disk 101 }
loadaves OBJECT-TYPE
SYNTAX Loadaves
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Load average information."
INDEX { loadaveIndex }
::= { resources 7 }
loadaveIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Reference Index for each observed loadave."
::= { loadaves 1 }
loadaveNames OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The list of loadave names were Counting."
::= { loadaves 2 }
PN 9110.01068 167
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
loadaveLoad OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The 1,5 and 10 minute load averages."
::= { loadaves 3 }
loadaveConfig OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The watch point for loadaverages to signal an error."
::= { loadaves 4 }
loadaveErrorFlag OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A Error flag to indicate trouble with a loadave. It
goes to 1 if there is an error, 0 if no error."
::= { loadaves 100 }
loadaveErrMessage OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"An error message describing the problem (if one exists)."
::= { loadaves 101 }
version OBJECT-TYPE
SYNTAX Version
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"ece-snmpd version info."
INDEX { versionIndex }
::= { resources 100 }
versionIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Index to mib (always 1)"
::= { version 1 }
versionTag OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"CVS tag keyword"
::= { version 2 }
versionDate OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Date string from RCS keyword"
::= { version 3 }
versionCDate OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Date string from ctime() "
::= { version 4 }
versionIdent OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Id string from RCS keyword"
::= { version 5 }
versionClearCache OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Set to 1 to clear the exec cache, if enabled"
::= { version 10 }
versionUpdateConfig OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Set to 1 to read-read the config file(s)."
::= { version 11 }
versionRestartAgent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Set to 1 to restart the agent."
::= { version 12 }
snmperrs OBJECT-TYPE
SYNTAX Snmperrs
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A place for the agent to report problems."
INDEX { snmperrIndex }
::= { resources 101 }
snmperrIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Reference Index for each observed snmperr."
::= { snmperrs 1 }
PN 9110.01068 169
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
snmperrNames OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"snmp"
::= { snmperrs 2 }
snmperrErrorFlag OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A Error flag to indicate trouble with the agent. It
goes to 1 if there is an error, 0 if no error."
::= { snmperrs 100 }
snmperrErrMessage OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"An error message describing the problem (if one exists)."
::= { snmperrs 101 }
-- Trap Definitions
wwwSecurityEvent TRAP-TYPE
ENTERPRISE www
VARIABLES {
wAlarmId,
wAlarmActId,
wAlarmCat,
wAlarmSeverity,
wAlarmIndex,
wAlarmTime,
wAlarmDescription,
wAlarmText
}
DESCRIPTION
"This trap indicates that a security violation has been
detected by the WWW. The value of wAlarmSeverity will
always be set to 6, (informational) and the value of
wAlarmAct ID will always be 0"
::= 1
wwwPMThreshEvent TRAP-TYPE
ENTERPRISE www
VARIABLES {
wAlarmId,
wAlarmActId,
wAlarmCat,
wAlarmSeverity,
wAlarmIndex,
wAlarmTime,
wAlarmDescription,
wAlarmText
}
DESCRIPTION
"This trap indicates that the WWW has transitioned through
a resource threshold, which potentially could result in a
degredation of service or the loss of data."
::= 2
wwwFaultEvent TRAP-TYPE
ENTERPRISE www
VARIABLES {
wAlarmId,
wAlarmActId,
wAlarmCat,
wAlarmSeverity,
wAlarmIndex,
wAlarmTime,
wAlarmDescription,
wAlarmText
}
DESCRIPTION
"This trap indicates that the WWW has encountered a fault in
either hardware or software operation. The category field
should be examined for the subsystem affected. "
::= 3
wwwStatusChangeEvent TRAP-TYPE
ENTERPRISE www
VARIABLES {
wAlarmId,
wAlarmActId,
wAlarmCat,
wAlarmSeverity,
wAlarmIndex,
wAlarmTime,
wAlarmDescription,
wAlarmText,
wAlarmRunStatus
}
DESCRIPTION
"This trap indicates a change in the operational state of the
WWW. The value of wAlarmSeverity will always be set to 6,
(informational) and the value of wAlarmAct ID will
always be 0"
::= 4
wwwConfigChangeEvent TRAP-TYPE
ENTERPRISE www
VARIABLES {
wAlarmId,
wAlarmActId,
wAlarmCat,
wAlarmSeverity,
wAlarmIndex,
wAlarmTime,
wAlarmDescription,
wAlarmText,
wAlarmCfgStatus
}
DESCRIPTION
"This trap indicates that the WWW has had its configuration
changed or reloaded. The value of wAlarmSeverity will
always be set to 6, (informational) and the value of
wAlarmAct ID will always be 0"
::= 5
wwwResyncStartEvent TRAP-TYPE
ENTERPRISE www
VARIABLES {
wAlarmTime,
wAlarmDescription,
wAlarmText
}
DESCRIPTION
"This trap indicates that a WWW has begun resending outstanding
trap alarms. The value of ventEntSeverity will always be set
to 6, (informational) and the value of wAlarmActId
will always be 0"
::= 6
PN 9110.01068 171
GLENAYRE INTEGRATED NETWORK GROUP WEB MIB
wwwResyncCompleteEvent TRAP-TYPE
ENTERPRISE www
VARIABLES {
wAlarmId,
wAlarmActId,
wAlarmCat,
wAlarmSeverity,
wAlarmIndex,
wAlarmTime,
wAlarmDescription,
wAlarmText
}
DESCRIPTION
"This trap indicates that a WWW has finished resending outstanding
trap alarms. The value of wAlarmSeverity will always be set
to 6, (informational) and the value of wAlarmActId
will always be 0"
::= 7
END
JAVA CUSTOMIZATION
Customizing the Java Client consists of changing properties files or images.
These changes are typically made on a per Glenayre customer basis, not on a per
subscriber basis.
C.1.1 Messages.properties
This file resides at the application base directory. It consists of two text
properties for the Logon screen:
Logon.windowTitle -- Property sets the text for the title bar of the Logon
window.
Logon.largeCenteredText -- Property sets the large centered text of
the Logon window.
C.2 Images
The supported image format is GIF. Default images reside in the images
directory under the application base directory. Custom images reside in the
custom directory under the images directory. All images that are part of the
Java client reside in these directories.
PN 9110.01068 173
JAVA CUSTOMIZATION
All required images have an entry in the images directory. Most application
images are required images. Placing an alternative image of the same name in
the custom directory customizes that image.
Certain images are not supplied in the images directory although these optional
images are search for by image determination. If they are present at all, these
optional images reside only in the custom directory. Currently, the optional
images in the Java client are all part of Logon and are the following:
leftBottomLogon.gif, middleLogon.gif, and
rightBottomLogon.gif.
Term Definition
G3 Group 3 Fax
GE Geo-political Entity
PN 9110.01068 175
ACRONYMS AND ABBREVIATONS
MS Mobile Station
PN 9110.01068 177
WWW Server Reference Manual
INDEX
A Forward 94
Account validation 93 Forward Message 11
Address Pool 51
Alarm Table Index 102 G
Alarm Table MIB 107 Generic Traps 131
Alarm Table Shared Memory 101 get 86
Alarm Table Utility 106 Guest Features 11
ASTATUS 146
At Group 117 H
Authentication Trap 131 Hardware platform 7
HTML Client 61
C HTML Interface 6
cgiStats 100 HTTP configuration 27
CIP Input Parameters 143
CIP Output Parameters 143 I
Client 92 ICMP Group 122
Client Directory Structure 81 ifconfig 55
Cold Start Trap 131 Incoming and Outgoing UDP Traffic 126
Command Table 101 Incoming ICMP Messages 122
Common External Errors 148 Incoming SNMP Traffic Counts 126
Config Subdirectory Files 90 input filter 50
Config.ser 80 Inside Addresses 42
Current UDP Listeners 126 install
firewall 42
D HTML client 62
debug 55 Java client 71
Default Alarms 104 remote client server 30
delete request 94 web server 16
Directory Structure 81 Interfaces Group 115
Disk MIB 112 IP Address Table 118
DMS 95 IP Address Translation 120
download process 95 IP Configuration Parameters 118
IP Group 118
E IP Routing Discards 120
error codes 147 IP Routing Table 119
Error Codes for "W" 150 IP Statistics 120
External Errors 148
J
F Java Client 69
Failure Opcodes 147 Java client processes 69
FAX Server and CGI 92 JavaScript 63
fax server description 8
Firewall 8, 41 L
Folders.ser 80 listmvp 86
PN 9110.01068 179
WWW Server Reference Manual
N U
Netscape Navigator 63 UDP Group 126
NETServer configuration 50 UDP Listeners 126
No Response 84 UDP Traffic 126
uninstall 39
O update request 94
omcsrv.log 89 upload command 95
Orbix 17 Upload FAX 96
Outgoing ICMP Messages 123 User Account 52
Users.ser 80
P usrprofile 137
Password validation 93
ping 56, 138 V
PIX 45 Version MIB 114
Port Address 79 Version.ser 80
Processes MIB 111
Profile.ser 80 W
PSTN access 9 Warm Start Trap 131
ptrace 56 WEB MIB 157
wwwConfigChangeEvent 130
R wwwFaultEvent 129
Resource Group 111 wwwPMThreshEvent 128
PN 9110.01068 180
WWW Server Reference Manual
wwwResyncCompleteEvent 131
wwwResyncStartEvent 130
wwwSecurityEvent 128
wwwStatusChangeEvent 129
PN 9110.01068 181
Quality Statement