Escolar Documentos
Profissional Documentos
Cultura Documentos
NMS5UX-B
release 6.4
Network Management System 5 UNIX
Administrator manual
Volume 1/1
MN.00145.E - 003
The information contained in this handbook is subject to change without notice.
Property of Siae Microelettronica S.p.A. All rights reserved according to the law and according to the
international regulations. No part of this document may be reproduced or transmitted in any form or
by any means, electronic or mechanical, without written permission from Siae Microelettronica S.p.A.
Unless otherwise specified, reference to a Company, name, data and address produced on the screen
displayed is purely indicative aiming at illustrating the use of the product.
Hewlett Packard, HP, HP OpenView Windows, Vectra and HP-UX are Hewlett Packard Company
registered trademarks.
UNIX is a Unix Systems Laboratories registered trademark.
Oracle is a Oracle Corporation registered trademark.
OSF Motif is a Open Software Foundation registered trademark.
Other products cited here in are constructor registered trademarks.
NMS5UX, NMS5UX-B 6.4
ADMINISTRATOR MANUAL
CONTENTS
PREFACE.......................................................................................................................3
1. NMS5UX ADMINISTRATOR RESPONSABILITIES...........................................................4
1.1 Provide suitable hardware for running NMS5UX.........................................................4
1.2 Provide software components for running NMS5UX....................................................4
1.3 Dimensioning file systems ......................................................................................5
1.4 Modify kernel parameters .......................................................................................6
1.4.1 HP-UX 11.0 ..............................................................................................6
1.4.2 HP-UX 11.i ...............................................................................................7
1.5 Enable correct network services ..............................................................................8
1.6 Provide correct codewords and licenses ...................................................................8
1.7 Install and configure sw components .......................................................................8
1.8 Create NMS5UX environment and users ...................................................................9
1.9 Start and stop NMS5UX base processes ...................................................................9
1.10 Backup and restore information ..............................................................................9
1.11 Maintaining NMS5UX..............................................................................................9
1.12 Troubleshooting ....................................................................................................9
1.13 Shutdown/Restart HP Server ..................................................................................9
1.14 Data Backup Tools and Policy................................................................................ 10
2. INSTALLING NMS5UX.................................................................................................11
2.1 Unloading NMS5UX directories .............................................................................. 11
2.2 Setting the environment....................................................................................... 11
3. CONFIGURING A CLIENT-SERVER ARCHITECTURE .....................................................19
4. CONTROLLING ACCESS TO NMS5UX ...........................................................................21
5. USING nmsWinMenu TO START AND STOP NMS5UX ..................................................22
6. LOCALIZATION...........................................................................................................24
7. UPDATING NMS5UX RELEASE.....................................................................................25
8. CUSTOMIZING NMS5UX..............................................................................................26
9. MODIFYING WORKSTATION IP-ADDRESS ..................................................................29
10. MODIFYING WORKSTATION NAME.............................................................................30
11. BACKING UP AND RESTORING NMS5UX DATABASE ...................................................31
The purpose of this manual is to give the administrator of the NMS5UX system the necessary
information to put the application into service, perform maintenance during NMS5UX use and
achieving good performance for the operators.
This manual covers the following topics:
1. Hardware characteristics
2. Software characteristics
3. Resource dimensioning
4. System tuning
5. NMS5UX installation
6. Maintenance
7. Troubleshooting
This manual covers both NMS5UX and NMS5UX-B applications. Main difference is the use of HP
OpenView NNM in NMS5UX respect to NMS5UX-B which uses a SIAE proprietary graphical interface.
A note will be reported in each section that is specific for one of the two applications whilst
remaining sections are intented to be valid for both applications.
The Network Management System 6 has been developed by SIAE Microelettronica over the power of
the Unix operating system in order to increase performance and capabilities of network monitoring
and management.
The large amount of information involved during NMS5UX activity is managed using the Oracle
DBMS. The NMS5UX administrator should be aware of these three components (HPUX, Oracle and
NMS5UX) and their properties and relationships in order to ensure the maximum throughput in
managing his telecommunication network.
The main administrator tasks, with a detailed description of each activity, follows.
Before installing the application, you must take care that your workstation is suited for the task it is
proposed for.
Running NMS5UX in fact involves a high demand of machine resources, for graphics, database
operations, speedy event handling and general performances.
So, in order to get the best results in managing your network with NMS5UX, the following is the
minimum configuration.
Hard disk: 34 GB
Oracle 8.1.7.0.0
Oracle 10.g
OpenView NNM rel 7.5 for HP-UX 11.11 (PA-RISC) or for HP-UX 11.23 (Itanium) (*) only for
NMS5UX
On the rest of this document two different sections are reported for each configuration that is
differend for the two operating systems. To install correctly NMS5UX on your server please follow
the instructions reported on the section that fits your configuration.
The installation and utilization of NMS5UX and its components requires following constraints as
regards file system dimensioning:
/tmp 512 MB
/home 512 MB
/var 1,5 GB
/etc 1,5 GB
We recommend to place Oracle and OpenView (* only for NMS5UX ) Data on a separate file system
respect to /opt. In this case you should configure following file systems
/opt 8 GB
/nmsData 8 GB
Otherwise you need /opt dimension to be at least 16 GB.
NMS5UX utilisation requires the administrator to modify kernel parameters; following, the SAM
output of the parameters and requested values depending on the operating system.
- bufpages 0
- dbc_max_pct 5
- dbc_min_pct 1
- ksi_alloc_max 8352
- max_thread_proc 260
- maxdsiz 256M=0x10000000
- maxdsiz_64 256M=0x10000000
- maxfiles 2048
- maxfiles_lim 2048
- maxswapchunks 4096
- maxuprc 1000
- maxusers 200
- msgmap 6642
- msgmax 32768
- msgmnb 32768
- msgmni 1044
- msgseg 7168
- msgssz 8
- msgtql 6640
- nbuf 0
- ncallout 2064
- nclist 3300
- ncsize 8384
- nfile 8000
- nflocks 664
- ninode 7360
- nkthread 6000
- npty 128
- semmap 3322
- semmni 3320
- semmns 6640
- semmnu 660
- semume 64
bufpages 0
dbc_max_pct 3-10% system memory (<= 128MB)
dbc_min_pct 2-5% system memory
ksi_alloc_max (nproc*8)
maxusers 300
max_thread_proc 1024
maxdsiz 1GB
maxdsiz_64 2GB
max_files 2048
max_files_lim 2048
maxssiz 128MB
maxssiz_64 1GB
maxtsize 128MB
maxswapchunk 16384 (PA-RISC only)
maxuprc ((nproc*9)/10)
msgmap (2+msgtql)
msgmni nproc
msgseg 32767
msgtql nproc
msgssz 8
msgmnb 32768
msgmax 32768
nclist 3300
nbuff 0
ncsize (ninode+vx_ncsize) (PA-RISC)
ncsize (ninode+1024) (Itanium)
nfile (15*nproc+2048)
nflocks nproc
ninode (8*nproc+2048)
nkthread (((nproc*7)/4)+16)
nproc 4096
npty 128
In order to allow new releases of firmware for SNMP Equipment enable Anonymous FTP services
using SAM Networking and Communications Network services.
OpenView NNM ( 6.2 or 7.5) - for HP on the specific forms (*) only for NMS5UX
To ensure the conditions demanded for the correct operation of NMS5UX do not loose their validity
along with system utilisation, the System Administrator must take care of Alarm History dimension,
file system occupation, log files dimension or looping processes.
1.12 Troubleshooting
WARNING
Before going further with the installation of NMS5UX please verify you have the software activation
codewords from SIAE.
Set the default values for some NMS5UX system parameters executing the command:
cd /opt/nms5ux/install
./nms5ux_createlink.sh
Codewords
Activate the NMS5UX codewords provided by SIAE by creating and editing the file
/opt/tmn5ux/.tmn5ux.cw
/opt/tmn5ux/.ems6d.cw
The machine name must be the same as referenced to in the /etc/hosts file.
The "port_tab" file contains as many lines as the number of workstation RS232 asynchronous
serial lines to be used for the management of the network elements ; each line contains the
port identification number and the relevant Unix device file
Rename port_tabHOSTNAME file present in dir /opt/tmn5ux/agent to file port_tab<machine
name> and then edit it to correctly map each serial port with its correspondent device file:
Use the command
-ioscan -f -n -Ctty
to get the correct device file to insert in the previous file
Edit the new file substituting each entry with the relevant device file name.
The "rapi.cfg" file allows the NMS5UX software to identify the computer referenced to as
machine name; it contains two lines defining the computer name and IP address that can be
normally left set to 0.0.0.0.
Edit the new file and enter the current machine name (IP address only if SIAE support
suggest to insert it).
Open the file /etc/services and append the following lines, required by the software that
manages communication with ComServers and by Remote Graphical Application:
r_hdlc 4210/tcp
s_hdlc 4211/tcp
Z_MM 22377/tcp
Z_BMF 22378/tcp
Z_EB 22379/tcp
Z_RMSG 22380/tcp
Z_SPMD 22381/tcp
Z_DB 22382/tcp
Z_EMS6D 22385/tcp
Z_EXTMA 22386/tcp
RemPortSNMP 22400/tcp
RemPort 22300/tcp
RemPortLegacySwdl 22600/tcp
RemPortRm 22700/tcp
SmitPort 22500/tcp
OvTrapd 22800/tcp
RemManager 22900/tcp
RemPortDataStore 22950/tcp
Siaew 24000/tcp
SiaewEvn 24100/tcp
If you find any port ( in particular the values "4210" and "4211" ) already used in the file,
please contact SIAE Microelettronica.
Edit /opt/nms5ux/conf/app-defaults/Nms5ux and properly modify the line which sets the
*ipHost variable and enter the IP ADDRESS of your workstation. In same file look for variable
clientList and set it to result of uname a unix command followed by ;.
Add environment variables necessary for running NMS5UX to the root user .profile file; edit
file /.profile and enter new line:
. /opt/nms5ux/local_env/Nms5uxProfileSuperuser
Log out and then login again as root in order to set the current environment variables.
Open the file /.dtprofile and activate the DTSOURCEPROFILE=TRUE line by uncommenting the
correspondent line. This tells the CDE graphical environment to read the environmental
settings contained in each user's .profile file.
Installing OpenView
Use appropriate OpenView NNM Installation CD to install application following standard procedure.
Require and activate a correct codeword from HP.
Create the new oracle Unix user via SAM (new user must belong to Unix group dba). Home
directory for this user should be /opt/oracle/product/8.1.7
Oracle databases locations: in preconfigured files for NMS5UX oracle environment variables
are supposed to be :
ORACLE_HOME: /opt/oracle/product/8.1.7
ORACLE_BASE: /opt/oracle
ORACLE_SID: NSM5UX
NLS_LANG: AMERICAN_AMERICA.WE8ISO8859P1
N.B. Any differences with respect to those values must be reported in files:
/opt/nms5ux/local_env/Nms5uxProfileSuperuser and
/opt/nms5ux/local_env/Nms5uxProfileUser.
Check that the file $ORACLE_HOME/.profile exists and then edit it adding after the line:
. /opt/nms5ux/local_env/Nms5uxProfileUser
the new line
unset TWO_TASK
Login as Unix user oracle and install Oracle to run as a DBMS Server.
In Annex A you find a brief explanation on how to install Oracle 8.i from CD
N.B.: Oracle patch that upgrades release up to 8.1.7.4 must be also installed on server.
Create the new oracle Unix user via SAM (new user must belong to Unix group dba). Home
directory for this user should be /opt/oracle/product/10.1.0
Oracle databases locations: in preconfigured files for NMS5UX oracle environment variables
are supposed to be :
ORACLE_HOME: /opt/oracle/product/10.1.0
N.B. Any differences with respect to those values must be reported in files:
/opt/nms5ux/local_env/Nms5uxProfileSuperuser and
/opt/nms5ux/local_env/Nms5uxProfileUser.
Check that the file $ORACLE_HOME/.profile exists and then edit it adding after the line:
. /opt/nms5ux/local_env/Nms5uxProfileUser
the new line
unset TWO_TASK
Login as Unix user oracle and install Oracle to run as a DBMS Server.
In Annex B you find a brief explanation on how to install Oracle 10.g from CD.
N.B.: Oracle patch that upgrades release up to 10.1.0.3.0 is also recommended on server.
Execute command
gunzip hpux-rs-405.tar.gz
tar xvf hpux-rs-405.tar
cd HPUXRS.install
./INSTALL
type accept to accept the terms and conditions license agreement
press >enter< to confirm directory installation
Enter installation directory for Acrobat 4.0 [/opt/Acrobat4]
press >enter< to create directory:
Directory "/opt/Acrobat4" does not exist.
Do you want to create it now? [y]
cd /opt/nms5ux/help
rm -r HPUXRS.install
gzip hpux-rs-405.tar
Execute command
gunzip libnetsnmp.tar.gz
tar xvf libnetsnmp.tar ./libs
gzip libnetsnmp.tar
cd libs
mv libnetsnmp* /usr/local/lib/.
Configuring NMS5UX
Create the new nms5ux Unix user via SAM (new user must belong to Unix group
nms5ux).
stop/restart Oracle and then stop/restart NMS5UX Platform (see chapter 5 for details in using
nmsWinMenu application)
for NMS5UX
q select Map->Properties Menu Item setting Propagate most critical as Compound Status
q enter Siae World (call SIAE to get the first login and password) and create a new
Nms5ux User (Menu Option->System Users) related to Unix user nms5ux with privileged
Superuser creating new map nms5ux.
for NMS5UX-B
q (call SIAE to get the first login and password) Enter main map and create a new
Nms5ux User (Menu Option->System Users) related to Unix user nms5ux with privileged
Superuser creating new map nms5ux.
Log out; from now on, you can log into your Unix system as the nms5ux user and run
NMS5UX by entering the following command:
cd /opt/nms5ux/start
./nmsWinMenu
As NMS5UX Superuser create a new user from NMS5UX System User application, associated
to new Unix user (peter) with desired privileges and map.
Log out from workstation and log in as the new user peter.
N.B.: YOU HAVE TO PERFORM THESE STEPS ONLY IF YOU HAVE A CLIENT_SERVER
ARCHITECTURE, OTHERWISE SKIP THIS SECTION
NMS5UX can be configured to run in a client-server architecture. To do this you need a workstation
configured to run as a server and at least another workstation to run as a client. This architecture
saves CPU demand on Server machine and X-protocol messages on your LAN; only a few messages
will be exchanged between client and server to get DB Data.
On Server workstation there will be all OpenView, Oracle Server and NMS5UX base platform
processes. Graphical and Oracle data will be kept only on this server.
On Client workstation there will be all OpenView base processes, an Oracle DBMS client platform and
a NMS5UX client platform.
You will need to perform a complete OpenView and NMS5UX installation on both server and client
workstation.
On server workstation you will have to perform a DBMS Server installation while on client youll have
to install a DBMS client.
Server workstation must be configured following the standard procedures to install NMS5UX and
Oracle.
Register new process rmsg to be started by ovstart using command (as root Unix user):
ovaddobj /opt/nms5ux/conf/lrf/rmsg.lrf
On server machine, export via NFS these two directories:
/etc/opt/OV/share
/var/opt/OV/share
/opt/nms5ux
adding client workstation name in Access List for User Root.
On client workstation you have to execute following commands:
- mount server_name:/etc/opt/OV/share /mnt/server_name/etc/opt/OV/share
To configure Oracle to share data between server and client, use netasst ( Oracle 8.i) or netmgr
(Oracle 10g) utility to configure a new Service in Service Naming section characterized by following
parameters:
Address Configuration:
Protocol TCP/IP:
Hostname: <server hostname>
Port Number: 1521:
Do it both on client and server machine.
Using the same application on server machine you also have to configure a new listener location
address and new database services having the following parameters (if they dont already exist):
Listener Location:
AddressX
Network Address:
Protocol: TCP/IP
Host: <server_hostname>
Port: 1521
Database Services:
DatabaseX
Global Database Name: NMS5UX
Oracle Home Directory: /opt/oracle/product/10.1.0
SID: NMS5UX
N.B.
Unix group nms5ux and Unix user nms5ux must have the same ID on both server and
client machine.
The NMS5UX system can be started at various operating levels; each level (in a bottom-up
sequence) gives the operator a growing visibility over NMS5UX functionality, enabling the use of
options, procedures etc.
Superuser Is the administrator of the system. Only this user can create, delete or modify
users, passwords and their operating level.
Privileged
Advanced
Normal
Entry These four levels are assigned with the visibility of only some of the NMS5UX
system functions
Review the Appendix section of the NMS5UX users manual for complete listing of all functions
available for each level.
NMS5UX activity takes place by mean of a pool of daemons that, interacting with each other perform
all the communications, data management and event handling tasks.
This pool of processes needs to be active to run NMS5UX
/* *************************************** */
/* HOW TO USE nmsWinMenu */
/* *************************************** */
NMS5UX from rel 6.1 has a new graphical application to start and stop all the processes needed to
run the system.
If you want to use this script to start Oracle you must know password for unix user "oracle".
If you want to use this script to start NMS5UX you must know password for unix user "root".
Otherwise if you just want to start NMS5UX graphical interface you can be the Unix user you have
configured (see the last part of this document).
If you select Startup Functions a new interface is displayed with following icons
Oracle Platform Stop (to stop Oracle daemons)
ALL OpenView&NMS5UX platform Stop (to stop OpenView and NMS5UX daemons). (*)
only in NMS5UX use this function to perform a normal application shutdown.
ALL NMS5UX platform Stop (to stop all NMS5UX daemons). (*) in NMS5UX-B use this
function to perform a normal application shutdown.
Legacy NMS5UX platform Stop (to stop only legacy part of NMS5UX daemons)
If you select Check Functions a new interface is displayed with following icons
Oracle Check Platform (to check Oracle daemons)
NMS5UX Check platform (to check NMS5UX daemons)
If you select Proxy Functions a new interface is displayed with following icons (Significant only if you
have NMS5UX proxy application installed)
Proxy Startup (to startup all NMS5UX proxy daemons)
Proxy Shutdown (to stop all NMS5UX proxy daemons)
Proxy Check (to check all NMS5UX proxy daemons)
If you select OSI Functions a new interface is displayed with following icons (Significant only if you
use an SIAE OSI interface installed)
OSI Stack Check (to check OSI daemons)
OSI Stack Routing Table Reload (to reload from NMS5UX DB IP-OSI mapping information)
If you select System Utility a new interface is displayed with following icons.
N.B. All these functions must be used with SIAE Support to investigate on possible
NMS5UX application fault.
Before the NMS5UX graphical session startup, if the user have been configure to be at least
priviledge, it will be ask which map he want to open. Press >enter< to start on default map,
otherwise enter desired map name.
In a client-server architecture, the functions of this MENU change from client to server and perform
different operations to start and stop the Oracle and NMS5UX Platforms . This will be hidden to user
and will depend on a configuration parameter.
If you want to change the localization of your workstation you have to modify the default fonts used
by NMS5UX application:
1. Remove file /etc/kbdlang (if you need to modify you keyboard type)
2. copy ksh in /sbin directory
3. Using SAM modify Start-up program for root and all NMS5UX Unix user, setting /sbin/ksh
4. Shutdown your workstation
5. Change your keyboard (if you need to modify your keyboard type)
6. Select the right keyboard type when you are asked for (only if you removed /etc/kbdlang
file)
7. From CDE login window, select button Option->Language and choose the correct language
(i.e.: es_ES.iso88591)
8. change directory to /usr/lib/X11/fonts and choose the character set you need. Change
directory to character set/75dpi (i.e.: cd iso8859.1/75dpi)
9. copy /usr/dt/config/Xconfig file in /etc/dt/config
10. edit /etc/dt/config/Xconfig file and uncomment line
Dtlogin*language: selected language (i.e.: es_ES.iso88591)
Each release of NMS5UX is related also to specific versions of HP-UX, and Oracle. So, when updating
NMS5UX it could be necessary to upgrade the other software components as specified also.
The upgrading process of NMS5UX takes place in different ways dependant on the amount of new
features found in the new release
The simplest form of upgrade will require just an update of the applications and/or base platform
processes so that a simple file substitution will suffice
A more complex procedure has to take place in the case where a new NMS5UX release requires a
modification to the database structure; in this case it advisable to backup the information previously
stored.
SIAE will prepare script files to upgrade the structure of the tables of your db from
your old version to the new one.
Run these script files on your target machine in order to obtain the new structure
with the old content
SIAE will supply a tape containing the new executable files and a complete set of instructions to
follow to upgrade your system and your data.
The customization of the NMS5UX system consists in the re-definition of some of the parameters
used by SIAE applications.
The following tables lists some of the system parameters that might be of any interest for the
system administrator; all of them are contained in the 2 files:
/opt/tmn5ux/manager/app-defaults/Tmn5ux (*) only for NMS5UX
/opt/nms5ux/conf/app-defaults/Nms5ux
/opt/nms5ux/conf/app-defaults/Nms5lx (*) only for NMS5UX-B
In any case we suggest that modification of parameters present in these files should be done with
support of SIAE personnel.
In file /opt/nms5ux/conf/app-defaults/Nms5ux you will find following parameters
*warningEvents:
It represents the max 1000 >0
number of records loaded
by alarm history browser
without any warning
message
*maxEvents:
It represents the max 5000 >0
number of records loaded
by alarm history browser
*MaxSmnpSameTime:
It represents the max 10 >0
numbers of SNMP
operation managed
simultaneously by
basement process: (e.g..
polling operation, Alarm
Realignment )
*NumEqReadTable:
It represents the number 10 >0
of equipments managed
each TimeReadTable
seconds to execute SNMP
operations. If this number
is higher then
MaxSnmpSameTable
operation on NEs are
queued.
*TimeReadTable:
It represents the numbers 5 >0
of seconds when basement
reloads NumEqReadTable
equipment to be managed
for polling or other SNMP
operations (e.g. Software
Download). For example if
you want to set:
MaxSmnpSameTime: 7
NumEqReadTable: 7
TimeReadTable: 5
N.B. In case of NMS5UX application you have to migrate you HP OpenView NNM license to
the new IP Address.
If you need to modify your workstation IpAddress please follow this procedure:
modified all Oracle network parameters using application netasst for Oracle 8.i or netmgr
for Oracle 10g.
If you need to modify your workstation name please follow this procedure:
edit file /opt/nms5ux/cmip_world/agent/rapi.cfg and enter new hostname value for variables
LOCAL_NAME
EMS6D
TMN5DR
SNMP_EXECUTOR
NMS5UX gives the operator the possibility to save his data for security; the system stores all
information regarding network topology and equipment configuration (Oracle NMS5UX database). In
addition, it is also possible to backup and restore the Alarm History or Performance Monitoring tables
only. It is recommended to perform a weekly backup, but take care of situations where a large
amount of changes occur in the network.
The "Database Backup" (and similarly the Alarm History backup) feature behave as described
below:
In order to backup the system database tables contents onto the hard disk, the user has to select
the 'Backup to disk' toggle button and press the OK button which initiates the backup procedure. The
backed up files are created in the directory shown in the window.
In order to backup the system database tables contents onto the tape, the user has to select the
'Backup to tape' toggle button and press the OK button which initiates the backup procedure.
Select both the 'Backup to disk' and 'Backup to tape' toggle buttons and press the OK button which
initiates the backup procedure. The backed up files are created in the directory shown in the window
and then copied onto the tape.
In order to restore the Alarm History select the relevant menu item and enter a the filename as
requested; for the NMS5UX database files (tmn5ux database and OV files) you should follow these
steps:
login as root
stop NMS5UX platform processes
change directory /usr/tmn5ux/manager/tools
execute ./TmnDbRestore (*) only for NMS5UX
or
execute TmnDbRestoreUxB.sh (*) only for NMS5UX-B
restart NMS5UX platform processes
you don't need to be "root" any more
restart the graphical application
The Database backup procedure copies database files onto a specific directory and possibly onto a
tape.
The Restore database procedure restores database files for the directory only: it is not
possible to directly restore files from the tape: an explicit "tar xv" Unix command is
needed from root directory in order to restore files from tape to the specified directory.
(/opt/nms5ux/cmip_wolrd/manager/db/DbBackup)
The following procedure gives the NMS5UX administrator the ability to recover an abnormal situation
when a complete reset of the whole network is necessary.
N.B.: Following commands completely delete all NEs present in network.
Use /opt/nms5ux/start/nmsWinMenu
for NMS5UX
q select Map->Properties Menu Item setting Propagate most critical as Compound Status
q enter Siae World (call SIAE to get the first login and password) and create a new
Nms5ux User (Menu Option->System Users) related to Unix user nms5ux with privileged
Superuser creating new map nms5ux.
for NMS5UX-B
Log out; from now on, you can log into your Unix system as the nms5ux user and run
NMS5UX by entering the following command:
cd /opt/nms5ux/start
./nmsWinMenu
If you have planned to communicate with your network elements through an RS 232 connection you
need to know the names of the device files that manage the physical ports.
As previously shown in Chapter 2 these file names must be specified in the port_tab<WSNAME> file.
You must be careful in determining the exact device file names because of the great variety of cards
and multiplex boards associated to different HP workstation or server models.
If you need to use the RS232 ports of a machine different from the one NMS5UX is installed on you
are requested to:
Login as root
Ensure that your environment is similar to the one in the host server
During NMS5UX system use each operator should pay close attention to the tasks he is performing
so in the case of a problem, it is possible to recover the system as soon as possible.
In any case it is absolutely necessary to clearly identify the particular application that is currently
causing the problem: Oracle database, NMS5UX managers or base platform processes.
This kind of skill cannot be automatically achieved; a lot of experience needs to be gathered to
understand NMS5UX architecture, interpreting log files and contacting SIAE technicians at the
following telephone number:
The next sections and descriptions can be the starting point in NMS5UX architecture comprehension.
Please pay close attention to them.
In case of a problem, you are kindly requested to give SIAE precise and clear information in order to
minimize response time.
First of all, try to discriminate between the nature of the problem; if you suspect the trouble is a
bug,
The clearer the problem description, the quicker SIAE will be able to provide a patch to resolve the
problem.
If you find problems regarding base processes or communication with network elements
Identify the specific process that is faulty using nmsWinMenu NMS5UX check
processes function
/*--------------------------------------------------------------------------------------*/
* PREPARING FOR ORACLE INSTALLATION *
/*--------------------------------------------------------------------------------------*/
Execute following commands to install Oracle rel 8.1.7.0.0 on your server.
Execute commands:
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount o xlat=unix /dev/rdsk/cxtxdx /cdrom
/*------------------------------------------------*/
N.B. Please check that in all following steps all references to /.../oradata directory are
correctly linked to desidered path ( /nmsData/oradata or /opt/oradata). In particoular
check the path for all following files:
Control Files
All Tablespaces Files
o System
o Tools
o Users
o Rollback
o Idex
o Temporary
Redo Log Files
Use netasst utility to modify ( or create if not already present) Service nms5ux in Service Naming
section characterized by following parameters:
Service Identification
Address Configuration:
Protocol TCP/IP:
Hostname: <machine ip address> (in dot notation)
Port Number: 1521:
Usually service is already created after installation but parameter hostname in Address Configuration
must be modified from value of hostname to value of ip address
In the same application if they dont already exist configure a new listener location address and a
new database services having following parameters:
Listener Location:
AddressX
Network Address:
Protocol: TCP/IP
Host: <machine_hostname>
Port: 1521
Database Services:
DatabaseX
Global Database Name: NMS5UX
Oracle Home Directory: /opt/oracle/product/8.1.7
SID: NMS5UX
/*--------------------------------------------------------------------------------------*/
* PREPARING FOR ORACLE INSTALLATION *
/*--------------------------------------------------------------------------------------*/
Execute following commands to install Oracle rel 8.1.7.0.0 on your server.
Execute commands:
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount o xlat=unix /dev/rdsk/cxtxdx /cdrom
/*------------------------------------------------*/
Before executing ./runInstaller program verify Oracle databases locations: in preconfigured files for
NMS5-LX oracle environment variables are supposed to be :
ORACLE_HOME: /opt/oracle/product/10.1.0
ORACLE_BASE: /opt/oracle
ORACLE_SID: NSM5UX
NLS_LANG: AMERICAN_AMERICA.WE8ISO8859P1
ORA_NLS33 $ORACLE_HOME/ocommon/nls/admin/data ( Itanium only )
Edit files /etc/profile.d/oracle.* and configure the environment variables as reported above.
N.B. Any differences with respect to those values must be reported in file:
/opt/nms5ux/local_env/Nms5uxProfileUser.
At the end of the ./runInstaller execution create a new databases related to SID NMS5UX
placing files in directory /nmsData and using following settings:
-> custom
-> create new database file
-> multipurpose
-> concurrently connected user = 50
-> Dedicated Server Mode
-> choose to enable sqlplus help only
-> Global database name = NMS5UX
-> SID = NMS5UX
-> Compatible par = 8.1.0
-> Change Char Set = WE8ISO8859P1(both)
-> Cntrl Files ok
-> TABLESPACES
-> SYSTEM ok
-> TOOLS ok
-> USERS
change tablespace name into DATA and set size=1000MB;
set extents AUTOEXT=on and NEXT=100000KB;
Use netmgr utility to modify ( or create if not already present) Service nms5ux in Service Naming
section characterized by following parameters:
Service Identification
Service Name: NMS5UX
Connection Type: Database Default
Address Configuration:
Protocol TCP/IP:
Hostname: <machine ip address> (in dot notation)
Port Number: 1521:
Database Services:
DatabaseX
Global Database Name: NMS5UX
Oracle Home Directory: /opt/oracle/product/10.1.0
SID: NMS5UX
In this annex it is described the procedure to startup/shutdown HP server, Oracle and NMSUX
platform.
To manage all NMS5UX applications startup/shutdown procedures you have to use the nmsWinMenu
graphical application described in chapter 5.
In order to run nmsWinMenu execute following commands from a Unix shell:
cd /opt/nms5ux/start
./nmsWinMenu
In order to correctly startup HP Server and NMS5UX application execute following steps:
Switch the power on for the server and wait for the startup procedure to finish.
From NMSWINMENU select (with double click) STARTUP Functions: a new window appear;
From the STARTUP Functions window select (with double click) ORACLE Platform Restart
(if you are not logged as oracle user the system will ask you the oracle user password).
NOTE: If Oracle is configured to automatically start-up after a server reboot you get following
warning message:
Oracle processes are already running
From NMSWINMENU select (with double click) STARTUP Functions: a new window appear;
From NMSWINMENU select (with double click) PROXY Functions: a new window appear;
From the PROXY Functions window select (with double click) PROXY COLD Startup (if you
are not logged as root user the system will ask you the root user password).
In order to correctly shutdown NMS5UX application and HP Server execute following steps:
From NMSWINMENU select (with double click) PROXY Functions: a new window appear;
From the PROXY Functions window select (with double click) PROXY Stop (if you are not
logged as root user the system will ask you the root user password).
From NMSWINMENU select (with double click) SHUTDOWN Functions: a new window
appear;
From NMSWINMENU select (with double click) SHUTDOWN Functions: a new window
appear;
From the SHUTDOWN Functions window select (with double click) ORACLE Platform Stop
(if you are not logged as oracle user the system will ask you the oracle user password).
SERVER SHUTDOWN
From a UNIX shell enter the following command as Unix user root:
shutdown yh 0
This annex describes the procedures for periodical NMS5UX Data backup and all the provided Data
restore policies.
A reduced backup of a minimun set of data for Oracle database and a full backup for
OpenView (* only for NMS5UX) data base.
The differences between the two policies mainly regard the backup of alarm history and Performance
Monitoring data that are saved only with the first set of procedures.
On the other hand the second type of backup policy allows a minimum disk space occupation in front
of an almost complete data saving.
All files generated on disk with the previously described backup procedures can be saved on external
tape using a single or an incremental tar on tape backup. Both these procedures are described
below.
All the script files implementing this backup policy are installed under directory:
/opt/nms5ux/cmip_world/manager/tools/FullBackupRestore
The backup files generated by this procedures are generated under a specific directory depending on
procedure used (see description below).
The structure of all these directories is always the same:
In case of NMS5UX it provides two subdirectories:
The first type is a backup that generates disk files always on same directory where data are
overwritten each time the operation is invoked:
/opt/nms5ux/cmip_world/manager/db/DbBackup.0
The script file to be used to implement this kind of backup is
TmnSingleFullDbBackup.sh
while the script file to recover data from this backup is:
TmnSingleFullDbRestore.sh
The results of these operation are written in a log file
TmnSingleFullDb.log
that is switched to an old log file
TmnSingleFullDb.log.old
when its dimensions reaches 100kB
Warning:
This procedure requires that the generated files must be saved every time on
the tape and the tape must be periodically replaced (refer to the following
paragraph).
Otherwise any problem on the backup procedure could cause the data lost.
The second type is a backup that generates disk files in two different directories that are
cyclically used overwriting only older files. The two used directories are:
/opt/nms5ux/cmip_world/manager/db/DbBackup.1
/opt/nms5ux/cmip_world/manager/db/DbBackup.2
The script file to be used to implement this kind of backup is:
TmnAlternatedFullDbBackup.sh
The directory number used by last alternated backup operation is written in file
TmnAlternatedFullDirectoryNumber.txt
while the script file to recover data from this backup is:
TmnAlternatedFullDbRestore.sh #directory_number
where #directory_number is a parameter representing the number (1,2) related to directory
from which data must be recovered. In order to get right parameter to be used see file
TmnAlternatedFullDirectoryNumber.txt to see the directory number used by last backup and
information reported in log file to see the result of last backup operation.
The results of all previously described operation are written in a log file
TmnAlternatedFullDb.log
that is switched to an old log file
TmnAlternatedFullDb.log.old
when its dimensions reaches 100kB
Warning:
These second procedure set doesn't avoid to save the files on the tape, the only
advantage is that more time is available to identify backup problem.
Under directory FullBackupRestore there is subdirectory tools containing script files used by
previously described procedures.
All the script files implementing this backup policy are installed under directory:
/opt/nms5ux/cmip_world/manager/tools/ReducedBackupRestore
The backup files generated by this procedures are generated under a specific directory depending on
procedure used (see description below).
The structure of all these directories is always the same:
In case of NSM5UX-A it provides two subdirectories:
The set of procedures provides by reduced Data backup and restore policy includes two kinds of
backup operations:
The first type is a backup that generates disk files always on same directory where data are
overwritten each time the operation is invoked:
/opt/nms5ux/cmip_world/manager/db/ReducedDbBackup.0
The script file to be used to implement this kind of backup is
TmnSingleReducedDbBackup.sh
While the script file to recover data from this backup is:
TmnSingleReducedDbRestore.sh
The results of these operation are written in a log file
TmnSingleReducedDb.log
that is switched to an old log file
TmnSingleReducedDb.log.old
when its dimensions reaches 100kB
Warning:
This procedure requires that the generated files must be saved every time on the
tape and the tape must be periodically replaced (refer to the following paragraph).
Otherwise any problem on the backup procedure could cause the data lost.
The second type is a backup that generates disk files in two different directories that are
cyclically used overwriting only older files. The two used directories are:
/opt/nms5ux/cmip_world/manager/db/ReducedDbBackup.1
/opt/nms5ux/cmip_world/manager/db/ReducedDbBackup.2
The script file to be used to implement this kind of backup is
TmnAlternatedReducedDbBackup.sh
The directory number used by last alternated backup operation is written in file
TmnAlternatedReducedDirectoryNumber.txt
While the script file to recover data from this backup is:
The procedures described in this sections just implement functionality to save/recover from tape the
information generated by Backup operations described in previous sections of this document. This
means they must be used in addiction to the desired backup procedure and they do not substitute
them at all.
All the script files implementing the functionalities to save and recover data from tape are installed
under directory:
/opt/nms5ux/cmip_world/manager/tools/BackupRestoreOnTape
In order to save backup information on tape you have to use one of the following
procedures depending of which kind of data backup you have implemented:
TmnSaveDbOnTape.log
that is switched to an old log file
TmnSaveDbOnTape.log.old
when its dimensions reaches 100kB.
In order to recover backup from tape you have to insert correct tape on device and then select
which kind of recover you desire depending on the how you saved information on tape
TmnRestoreDbFromTape.log
that is switched to an old log file
TmnRestoreDbFromTape.log.old
when its dimensions reaches 100kB
The data restore policy to be used in case of data corruption depends on the kind of
detected fault and on the kind of implemented backup policy.
The various scenarios that can lead to the need of a data restore can be summarized in two main
categories:
Necessity to reload data from an old backup for some reason ( lost of useful data, data
corruption detected inside NMS5UX application, etc)
Necessity to completely recreate Openview (* onlyd for NMS5UX) and Oracle NMS5UX due to
unrecoverable error on DB consistency ( caused for example by an unintentional file deletion
etc. ).
The first type of fault can be recovered following these steps:
Stop NMS5UX processes using appropriate command form NMS5UX Men under directory
/opt/nms5ux/start
Restart NMS5UX processes using appropriate command form NMS5UX Men under directory
/opt/nms5ux/start
The second kind of fault can be recovered following these steps:
Stop NMS5UX processes using appropriate command form NMS5UX Men under directory
/opt/nms5ux/start
Stop Oracle processes using appropriate command form NMS5UX Men under directory
/opt/nms5ux/start
Login as Oracle unix user and delete NMS5UX database using application dbassist. From
graphical interface perform the following steps::
1. Select "Delete a database" option
2. Press button Continue
3. Select database instance NMS5UX
4. Press button Finish
Launch again application dbassist as unix user oracle to recreate NMS5UX database. Please
follow instructions described starting from the section create a database of the Annex A of
NMS5UX System Administrator Manual.
See previous paragraphs to see when to use each procedure depending on implemented
backup and to eventually recover data from tape in advance.
Restart Oracle processes using appropriate command form NMS5UX Men under directory
/opt/nms5ux/start
Restart NMS5UX processes using appropriate command form NMS5UX Men under directory
/opt/nms5ux/start
The right periodical backup policy must be obviously decided according to the customer
requirements (i.e.: minimum time for data lost considering network data, alarms, performance
monitoring) and constraints (i.e.:disk space or possibility to manually change external tape).
As a minimum recommended policy SIAE suggests to:
Scheduled two Alternate Full Backup operations each week (i.e. one Wednesday night the
other Sunday night)