Professional Documents
Culture Documents
1-1
1-1
1-1
1-2
1-2
1-2
1-2
1-3
2-1
2-1
2-1
2-1
2-1
2-2
2-2
2-2
2-3
2-3
2-3
2-4
2-4
2-5
3-1
3-1
3-1
3-1
3-1
3-3
3-3
3-3
3-3
3-3
3-4
3-4
3-4
3-4
3-4
3-4
3-5
3-5
3-5
3-6
3-6
3-6
3-6
3-6
3-6
3-6
3-6
3-7
4-1
4-1
4-1
4-1
4-1
4-1
4-2
4-2
4-3
4-3
4-3
4-3
4-3
4-3
4-3
4-3
4-3
5-1
5-1
5-1
5-1
5-1
5-2
5-2
5-2
5-2
5-2
5-3
5-3
5-3
5-4
6-1
6-1
6-1
6-1
6-1
6-1
6-2
6-2
6-3
6-3
6-3
6-4
6-4
6-4
6-4
6-4
6-5
6-5
6-5
6-5
6-6
6-6
6-6
6-6
6-6
6-6
6-6
6-6
6-8
6-8
6-8
6-9
6-9
6-9
7-1
7-1
7-1
7-1
7-1
7-2
7-2
7-3
7-4
7-4
7-4
7-5
7-5
7-5
7-5
7-5
7-6
7-6
7-6
7-6
7-7
7-7
7-7
7-7
7-7
7-7
7-8
7-8
7-8
8-1
8-1
8-1
8-1
8-1
8-2
8-2
8-2
8-3
8-3
8-3
8-3
9-1
9-1
9-1
9-2
9-2
9-2
9-2
9-2
9-3
9-3
9-3
9-4
9-4
9-4
9-4
10-1
10-1
10-1
10-2
10-2
10-2
10-2
10-3
10-3
11-1
11-1
11-1
11-1
11-1
11-2
11-2
11-2
11-3
11-3
11-3
11-3
11-4
11-4
11-5
11-5
11-5
11-5
11-6
11-6
11-6
11-6
11-7
11-7
11-7
11-9
11-9
11-9
11-9
11-10
11-11
11-12
11-12
12-1
12-1
12-1
12-1
12-1
12-2
12-2
12-2
12-2
12-2
12-2
12-3
12-3
12-3
12-3
12-3
12-4
12-4
12-4
12-4
12-4
12-4
12-4
13-1
13-1
13-1
13-1
13-1
13-1
13-2
13-2
13-2
13-2
13-3
13-3
13-3
13-3
13-3
13-4
13-4
13-4
13-4
13-5
13-5
13-5
13-5
14-1
14-1
14-1
14-1
14-1
14-1
14-1
14-2
15-1
15-1
15-1
15-1
15-1
15-1
15-1
15-1
15-1
15-2
15-2
15-2
15-3
15-3
15-3
15-3
15-3
15-3
15-3
15-3
15-3
15-4
15-4
15-4
15-4
15-4
15-4
15-5
15-5
15-5
15-5
15-5
15-5
15-6
15-6
15-6
16-1
16-1
16-1
16-1
16-1
16-2
16-2
16-2
16-3
16-5
16-5
17-1
17-1
17-1
17-1
17-1
17-1
17-1
17-1
17-2
17-2
17-2
17-3
17-3
17-3
17-3
17-3
17-3
17-4
17-4
17-4
17-4
17-4
17-4
17-5
17.9.1 Question.......................................................................................
17.9.2 Answer .........................................................................................
17.10 Starting Sybase ..................................................................................
17.10.1 Question .....................................................................................
17.10.2 Answer .......................................................................................
17.11 Stopping Sybase ................................................................................
17.11.1 Question .....................................................................................
17.11.2 Answer .......................................................................................
17-5
17-5
17-5
17-5
17-5
17-6
17-6
17-6
Index .................................................................................................................
HUAWEI
T2-030159-20041010-C-2.20
Product Version
V200R002
BOM
31014659
Huawei Technologies Co., Ltd. provides customers with comprehensive technical support
and service. Please feel free to contact our local office or company headquarters.
Trademarks
Notice
The information in this manual is subject to change without notice. Every effort has
been made in the preparation of this manual to ensure accuracy of the contents, but
all statements, information, and recommendations in this manual do not constitute
the warranty of any kind, express or implied.
Summary of Updates
This section provides the update history of this manual and introduces the contents of
subsequent updates.
Update History
This manual is updated for a major product version to maintain consistency with system
hardware or software versions and to incorporate customer suggestions.
Manual Version
T2-030159-20041010-C-2.20
Updates of Contents
None.
Notes
Initial field trial release
Organization
This manual provides the system administration tasks, the related concepts and
detailed operation procedures of the system administration tasks, as well as the routine
maintenance, troubleshooting and emergency maintenance. This manual consists of
17 chapters and one appendix:
Chapter 1 Overview of Administrator Guide introduces the objective, contents and
the requirement of an administrator.
Chapter 2 Server Parameter Settings introduces the setting and modification of
server parameters.
Chapter 3 User Management introduces the concepts related to user management
and provides the details of the major user management tasks.
Chapter 4 Log Management introduces the concepts related to log management and
provides the details of the major log management tasks.
Chapter 5 Server Performance Monitor introduces the concepts related to server
performance monitor and provides the details of the major server performance monitor
tasks.
Chapter 6 M2000 Process and Service Management introduces the concepts
related to M2000 process and service management and provides the details of the
major M2000 process and service management tasks.
Chapter 7 Database Management introduces the concepts related to database
management and provides the details of the major database management tasks.
Chapter 8 Disk Space Management introduces the concepts related to disk space
management and provides the details of the major disk space management tasks.
Chapter 9 Maintenance Dual-Plane Configuration introduces the concepts related
to maintenance dual-plane configuration and provides the details of the major
maintenance dual-plane configuration tasks.
Intended Audience
The manual is intended for the following readers:
z
M2000 administrator
Network administrator
Conventions
The manual uses the following conventions:
I. General conventions
Convention
Description
Arial
Arial Narrow
Boldface
Courier New
Description
Boldface
italic
[]
{ x | y | ... }
[ x | y | ... ]
{ x | y | ... } *
[ x | y | ... ] *
Description
<>
Button names are inside angle brackets. For example, click the <OK>
button.
[]
Window names, menu items, data table and field names are inside square
brackets. For example, pop up the [New User] window.
Description
<Key>
Press the key with the key name inside angle brackets. For example,
<Enter>, <Tab>, <Backspace>, or <A>.
<Key1+Key2>
Press the keys concurrently. For example, <Ctrl+Alt+A> means the three
keys should be pressed concurrently.
<Key1, Key2>
Press the keys in turn. For example, <Alt, A> means the two keys should
be pressed in turn.
V. Mouse operation
Action
Click
Description
Press the left button or right button quickly (left button by default).
Double Click
Drag
Press and hold the left button and drag it to a certain position.
VI. Symbols
Eye-catching symbols are also used in the manual to highlight the points worthy of
special attention during the operation. They are defined as follows:
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
Table of Contents
Table of Contents .............................................................................................................................. i
Chapter 1 Overview of Administrator Guide .............................................................................. 1-1
1.1 Objective ............................................................................................................................ 1-1
1.2 Requirements for Administrator ......................................................................................... 1-1
1.3 Organization of This Guide ................................................................................................ 1-2
1.3.1 Administrative Tasks ............................................................................................... 1-2
1.3.2 Maintenance Items.................................................................................................. 1-2
1.3.3 Commands and Tools ............................................................................................. 1-2
1.3.4 FAQ ......................................................................................................................... 1-3
Chapter 2 Server Parameter Settings.......................................................................................... 2-1
2.1 Overview of Server Parameter Settings ............................................................................ 2-1
2.2 Modifying Server Time....................................................................................................... 2-1
2.2.1 Operation Effect ...................................................................................................... 2-1
2.2.2 Operation Procedure............................................................................................... 2-1
2.3 Modifying Host name of Server ......................................................................................... 2-2
2.3.1 Operation Effect ...................................................................................................... 2-2
2.3.2 Operation Procedure............................................................................................... 2-2
2.4 Modifying Server IP Address ............................................................................................. 2-3
2.4.1 Operation Effect ...................................................................................................... 2-3
2.4.2 Operation Procedure............................................................................................... 2-3
2.5 Setting Parameters of Server with Multiple IPs ................................................................. 2-4
2.5.1 Operation Effect ...................................................................................................... 2-4
2.5.2 Operation Procedure............................................................................................... 2-5
Chapter 3 User Management........................................................................................................ 3-1
3.1 Overview of User Management ......................................................................................... 3-1
3.2 Introduction to User Account ............................................................................................. 3-1
3.2.1 Types of User Account............................................................................................ 3-1
3.2.2 Operating System User Accounts and the Authority............................................... 3-1
3.2.3 Database User Account and the Authority.............................................................. 3-3
3.2.4 M2000 User Accounts and the Authority ................................................................ 3-3
3.3 Creating Operating System User....................................................................................... 3-3
3.3.1 Operation Effect ...................................................................................................... 3-3
3.3.2 Operation Procedure............................................................................................... 3-3
3.4 Modifying Password of Operating System User ................................................................ 3-4
3.4.1 Operation Effect ...................................................................................................... 3-4
3.4.2 Modifying Password of root..................................................................................... 3-4
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
viii
Administrator Guide
iManager M2000 Mobile Element Management System
Table of Contents
ix
Administrator Guide
iManager M2000 Mobile Element Management System
The intended reader of this guide is system administrator. This guide provides the
related concepts and detailed operation procedures of the system administration tasks.
This guide focuses on M2000 single-server system administration, including Server
status monitoring, database management, disk space management, user management,
system backup and restoration, and general fault handling.
z
The intended reader of this manual is M2000 operator. This manual provides the
related concepts and detailed operation procedures of the operation tasks. This manual
focuses on operations and maintenance of the mobile networks through M2000,
including network performance monitoring, alarm query, NE configuration, NE software
upgrade and entire network data backup and restoring.
Sybase database
Refer to iManager M2000 Mobile Element Management System Description and this
guide.
z
Refer to iManager M2000 Mobile Element Management System Online Help and
iManager M2000 Mobile Element Management System operation Manual.
z
1-1
Administrator Guide
iManager M2000 Mobile Element Management System
Refer to "Chapter 12
Troubleshooting" and
User management
Log management
Database management
Dual-plane configuration
Each of the above tasks is explained in an individual chapter. The first section of each
chapter describes the structure of the chapter, the second section introduces the task
concepts and the third section explains the task details. The second section may not be
applicable for a few chapters, and so, may not be present.
Routine maintenance
Troubleshooting
Emergency maintenance
Command guide
Tool guide
1-2
Administrator Guide
iManager M2000 Mobile Element Management System
1.3.4 FAQ
This guide also introduces the frequently asked question and the solutions concerning
Solaris operating system and Sybase database.
1-3
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as root.
2)
# stop_svc
3)
Execute the following command to check the time zone of the operating system.
# echo $TZ
2-1
Administrator Guide
iManager M2000 Mobile Element Management System
If the current time zone is incorrect, modify the file "/etc/TIMEZONE" to change the
value of "TZ" to the local time zone. For example, "TZ=PRC".
Note:
You can query the time zone information through "/usr/share/lib/zoneinfo".
5)
For example, to set the system date and time to 2003-11-17 16:30:43, execute the
command:
# date 111716302003.43
Mon Nov 17 17:53:29 CST 2003
6)
# init 6
When the operating system starts up, Sybase services and M2000 services will start
automatically if M2000 Server software application has been installed.
Log in as root.
2)
# stop_svc
3)
2-2
Administrator Guide
iManager M2000 Mobile Element Management System
# iptools -H host-name
For example, to set the host name to "omc":
# iptools -H omc
Note:
For the functions and usage of IP modification tool iptools, refer to "16.5 IP Modification Tool".
5)
6)
# init 6
When the operating system starts up, Sybase services and M2000 services will start
automatically if M2000 Server software application has been installed.
Log in as root.
2)
# stop_svc
3)
Administrator Guide
iManager M2000 Mobile Element Management System
2> go
1> shutdown SYB
2> go
4)
# ifconfig a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.161.45.241 netmask fffffe00 broadcast 10.161.45.255
ether 0:3:ba:12:f9:12
5)
Use the IP modification tool to modify the IP settings in Solaris and Sybase.
Note:
For the functions and usage of IP modification tool, refer to "16.5 IP Modification Tool".
# init 6
When the operating system starts up, Sybase services and M2000 services will start
automatically if M2000 Server software application has been installed.
2-4
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as root.
2)
# stop_svc
3)
Edit the file "/etc/hosts", to make the host name correspond to an IP, which is used
to connect the Client and managed NEs.
For example, among the two IP of the Server "10.161.70.200" and "10.121.5.208",
"10.121.5.208"
is
used
to
connect
the
Client.
"<M2000
installation
directory>/etc/conf/tao.cfg" shows that the host name is "aries", then in the file
"/etc/hosts", add a note "#" before "10.161.70.200".
#
# Internet host table
#
127.0.0.1
localhost
aries loghost
# init 6
When the operating system starts up, Sybase services and M2000 services will start
automatically if M2000 Server software application has been installed.
2-5
Administrator Guide
iManager M2000 Mobile Element Management System
I. root
The user root is with the highest authority to the system. This user can control all
resources, create other users, grant authorities to other users, and perform all the
operation functions provided by the operating system.
Only the user root can install and uninstall the M2000 Server application software, and
start and stop M2000 services.
3-1
Administrator Guide
iManager M2000 Mobile Element Management System
II. dbuser
The user dbuser handles routine operation and maintenance of Sybase database. The
user can perform any operation such as interaction with the database through isql on
the database.
You should create dbuser before installing Sybase. The related attributes are as
follows:
z
III. omcuser
The user omcuser has the authority to perform routine operation and maintenance on
the M2000 system, including querying system status, backing up and restoring system
data. The user omcuser also has the authority to access databases. The user can
neither install/uninstall M2000 Server application software, nor start/stop M2000
services.
You should create omcuser before installing the M2000 Server application software.
The attributes of the user are as follows:
z
IV. ftpuser
The user ftpuser manages software of NEs and transfers software information to NEs.
You should create ftpuser before installing M2000 Server application software. The
attributes of the user are as follows:
z
V. inrpt
The user inrpt manages the Intelligent Report System. You do not need to create inrpt
manually. When the Intelligent Report System is installed, the user inrpt will be created
automatically. The attributes of the user are as follows:
z
3-2
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as root.
2)
# admintool
3)
4)
In the dialog box [Admintool: Add User], set the new user properties, and then click
<OK> to close the dialog box.
3-3
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as root.
2)
# passwd root
New password:
Re-enter new password:
passwd (SYSTEM): passwd successfully changed for root
Log in as root.
2)
# passwd dbuser
New password:
Re-enter new password:
passwd (SYSTEM): passwd successfully changed for dbuser
Log in as root.
2)
# passwd omcuser
New password:
Re-enter new password:
passwd (SYSTEM): passwd successfully changed for omcuser
Log in as root.
2)
# passwd ftpuser
New password:
Re-enter new password:
passwd (SYSTEM): passwd successfully changed for ftpuser
3-4
Administrator Guide
iManager M2000 Mobile Element Management System
3)
# stop_svc
4)
# /opt/OMC/imap_setup.sh
5)
In the dialog box shown in Figure 3-1, select "Remote control parameters" to
modify the password of ftpuser.
# start_svc
Log in as root.
3-5
Administrator Guide
iManager M2000 Mobile Element Management System
2)
# stop_svc
3)
Execute the following command to modify the password of Sybase user "sa":
# /opt/OMC/imap_setup.sh
5)
In the dialog box shown in Figure 3-1, select "Database parameters" to modify the
password of "sa".
6)
# start_svc
Administrator Guide
iManager M2000 Mobile Element Management System
3-7
Administrator Guide
iManager M2000 Mobile Element Management System
User log
NE log
System log
trace log
II. Path
The user log is stored in the database in M2000 Server. Its information can be queried
and dumped through Client.
III. Contents
The information in user log includes operation contents, user name, operation start/end
time, user type, terminal, operation objective and result.
4.2.3 NE Log
I. Function
The NE log records the operations on managed NEs. M2000 system administrator and
operators can query the NE log.
4-1
Administrator Guide
iManager M2000 Mobile Element Management System
II. Path
The NE log is generated on NEs, and then sent to M2000 Server and stored in the
database in M2000 Server. Its information can be queried through Client.
III. Contents
The information in NE log includes user name, terminal, operation start/end time,
operation contents and operation result, NE type and name.
II. Path
The system log is stored in "/export/home/omc/var/logs" in M2000 Server. The file
names are iMAP.root.log, iMAP.root.log.1 and iMAP.root.log.2.
The system log information is written into iMAP.root.log.1 and iMAP.root.log.2 in cycle
and normally not into iMAP.root.log.
The system log information can be queried through Client.
III. Contents
The contents of the system log include information header and information. The
information header includes level, module identification and record time.
II. Path
The trace log is stored in "/export/home/omc/var/logs" in M2000 Server. The file names
are iMAP.root.trace, iMAP.root.trace.1 and iMAP.root.trace.xxx.tar.gz.
iMAP.root.trace and iMAP.root.trace.1 are used to save the current trace information.
When
one
trace
file
is
full,
it
will
be
converted
to
4-2
Administrator Guide
iManager M2000 Mobile Element Management System
III. Contents
The contents of trace log consist of information header and information. The
information header includes level, module identification, service proxy identification
(process name), record time and process thread ID.
2)
3)
In the dialog box [Log Manager], select "System Log" in the navigation tree, and
the click <Query> in the right window.
4)
Log in as omcuser.
2)
Administrator Guide
iManager M2000 Mobile Element Management System
3)
Check whether this file contains any error information. Normally, there is no error
information.
4)
5)
Check whether this file contains any error information. Normally, there is no error
information.
4-4
Administrator Guide
iManager M2000 Mobile Element Management System
System performance
Hard Disk
Database
Service
2)
3)
In the dialog box [System Monitor Browser], select the item to be queried, as
shown in Figure 5-1.
5-1
Administrator Guide
iManager M2000 Mobile Element Management System
CPU occupancy
Memory occupancy
When an item reaches its threshold, the system will generate the corresponding alarm.
2)
3)
In the dialog box [System Monitor Configurations], select the item to be set, as
shown in Figure 5-2.
5-2
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as omcuser.
2)
bash-2.03$ vmstat 1 10
procs
r b w
memory
swap
free
page
re
disk
faults
mf pi po fr de sr s0 s6 -- --
in
sy
543
87
cpu
cs us sy
id
0 0 0 5114824 1032584 24 95 8
692 17
76
0 0 0 4884768 891800 43 264 0
31
0 0 0 4885104 892136 0
0 25
31
0 0 0 4885104 892136 0
32
26
0 0 0 4883888 891272 0
33
0 0 0 4883888 891272 0
33
29
0 0 0 4883888 891272 0
31
22
In the output, us is the percentage usage of CPU time of user process, sy is the
percentage usage of CPU time of system process and id is the percentage idle of
CPU time.
3)
Check the system performance. Normally the CPU occupancy must be lower than
80%. That is, the value of id must be higher than 20.
5-3
Administrator Guide
iManager M2000 Mobile Element Management System
Check whether the high CPU occupancy is caused by number of reported alarms
exceeding the threshold.
2)
Execute the following command to check the CPU occupancy of each process.
bash-2.03$ top
load averages:
95 processes:
0.07,
0.09,
0.10
11:30:4
94 sleeping, 1 on cpu
1.5% user,
1.1% kernel,
0.0% iowait,
0.0% swap
Memory: 2048M real, 211M free, 2743M swap in use, 2821M swap free
SIZE
RES STATE
TIME
CPU COMMAND
13529 root
60
58
75M
56M sleep
160:11
0.91% imapsvcd
357 root
180
58
75M
66M sleep
916:19
0.72% dataserver
345 root
72
58
73M
65M sleep
639:50
0.49% dataserver
13524 root
27
48
60M
32M sleep
112:23
0.42% imapsysd
13761 root
37
58
155M
115M sleep
60:03
0.24% imapsvcd
13531 root
25
58
96M
69M sleep
69:42
0.16% imapsvcd
10904 root
128
58
321M
223M sleep
9:19
0.16% imapsvcd
13871 root
14
58
285M
188M sleep
10:10
0.14% imapsvcd
45 root
58
0:00
0.12% top
13527 root
14
58
96M
66M sleep
5:24
0.07% imapsvcd
13540 root
11
58
99M
66M sleep
6:34
0.05% imapsvcd
13591 root
30
58
322M
236M sleep
32:56
0.05% imapsvcd
13520 root
27
6 root
13511 root
56
3)
58
0
58
58M
0
27M sleep
352K
248K sleep
25M
22M sleep
8:22
0.02% Monitor_Service
0:00
0:29
0.02% sh
0.01% Naming_Service
5-4
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
6.2.2 SystemConfigurator
SystemConfigurator manages all other local processes. In a distributed environment, it
communicates and interacts with imapsysd processe on other machines, so as to avoid
the impact on application processes caused by the distributed system.
When M2000 services are running, this process cannot be stopped.
Dependent service: None.
6.2.3 sac_agent
The process sac_agent provides the following services:
z
ScheduleService
BackupService
6-1
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
LicenseService
LicenseService provides a service interface for checking the validity of license file of
the current version.
When M2000 services are running, this service cannot be stopped.
Dependent service: None.
z
LogService
LogService records system log. It receives the system logs from other processes
through a socket, and then manages and stores the system logs.
When M2000 services are running, this service cannot be stopped.
Dependent service: None.
6.2.4 em_agent
The process em_agent provides the service EventService.
EventService provides a message transmission mechanism between imap services
and between imap and iview. It also provides the function of message broadcast and
filter.
When M2000 services are running, this service cannot be stopped.
Dependent service: None.
6.2.5 monitor_agent
The process monitor _agent provides the following services:
z
MonitorService
MonitorService monitors the system running status, including CPU and memory
occupancy, free disk space and database system running status.
When M2000 services are running, this service cannot be stopped.
Dependent service: EventService.
z
FlowController
FlowController accepts the operation requests from other modules. These requests are
mainly those requiring large amount of resources. It decides whether to block a request
according to the current CPU and memory utilization.
When M2000 services are running, this service cannot be stopped.
Dependent service: EventService and MonitorService.
6-2
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
6.2.6 partition_agent
The process partition_agent provides the service PartitionService.
PartitionService divides the management objects into partitions. Different partitions are
managed by different processes. These processes can be deployed in different servers.
In this way, even when the number of management objects is large, the load can be
balanced.
When M2000 services are running, this service cannot be stopped.
Dependent service: None.
6.2.7 audit_agent
The process audit-agent provides the service AuditService.
AuditService records the operation information in database, supports operation
information query and log statistics information query on the Client, and provides
periodic or manual displacing.
When M2000 services are running, this service cannot be stopped.
Dependent service: ScheduleService.
6.2.8 mo_agent
The process mo_agent provides the following services:
z
LockService
LockService provides lock management when other services are creating, deleting,
querying and modifying management objects to ensure the consistency and
completeness of the operations from multiple services to the same management
objects.
When M2000 services are running, this service cannot be stopped.
Dependent service: None.
z
RelationService
MOService
MOService loads and verifies the types of all managed objects in M2000 system, loads
managed object dynamic base, creates managed object cases and solidifies the
managed object.
When M2000 services are running, this service cannot be stopped.
6-3
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
6.2.9 sm_agent
The process sm_agent provides the service SecurityService.
SecurityService controls the access to the sensitive resources in the Element
Management System (EMS), so that only those authorized users can access to these
resources. It realizes the access control by restricting the users' authority to use various
interfaces.
When M2000 services are running, this service cannot be stopped.
Dependent service: EventService, MonitorService, AuditService and MOService.
6.2.10 med_agent
The process med_agent provides the service MediationService.
MediationService creates, deletes and retrieves various NE engines mapped to
network equipment in M2000 system and manages the relevant event intercepter. The
NE engines realize the communication between M2000 system and various network
equipments.
When M2000 services are running, this service cannot be stopped.
Dependent service: MOService.
6.2.11 ts_agent
The process ts_agent provides the service TopoService.
TopoService maintains the relations between the objects in the subnet, creates and
deletes the subnet, node, sub-node and link.
When M2000 services are running, this service cannot be stopped.
Dependent service: SecurityService.
6.2.12 ifms_agent
The process ifms_agent provides the service FaultService.
FaultService collects, analyzes, handles, stores and displays the faults reported by
equipment.
This service can be stopped when the fault management function is not in use.
Dependent service: EventService, MOService, SecurityService and TopoService.
6.2.13 manager_agent
The process manager_agent provides the service SystemService.
6-4
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
6.2.14 pm_agent
The process pm_agent provides the service PMService.
PMService realizes the performance services of all NEs. It is entirely independent of
individual NE, MO and the interaction with Hosts.
When M2000 services are running, this service cannot be stopped.
Dependent service: EventService, MOService, SecurityService and AuditService.
6.2.15 cmserver_agent
The process cmserver_agent provides the service CMServer.
CMServer realizes the configuration service of all NEs, and is entirely independent of
individual NE, MO and the interaction with Hosts.
When M2000 services are running, this service cannot be stopped.
Dependent service: ventService, MOService, SecurityService, TopoService and
AuditService.
6.2.16 swm_agent
The process swm_agent provides the service SWMService.
SWMService manages the versions, configuration data and other files of all NEs. It
provides download, upload, activation and rollback functions.
When M2000 services are running, this service cannot be stopped. Dependent service:
EventService, MOService, SecurityService and AuditService.
This service can be stopped when the software management function is not needed.
Dependent service: EventService, MOService, SecurityService and AuditService.
6.2.17 fmnotify_agent
The process fmnotify_agent provides the service FMNotify.
FMNotify forwards the fault information from FaultManager to Network Management
System (NMS).
This service can be stopped when realtime alarm forwarding is not needed.
Dependent service: EventService and FaultService.
6-5
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
6.2.18 proxy_agent
The process proxy_agent provides the service ProxyServer.
ProxyServer enables M2000 Client to access NEs through a proxy server to run the
LMT programs of these NEs.
This service can be stopped when proxy of BTS maintenance is not needed.
Dependent service: EventService.
6.2.19 notify_agent
The process notify_agent provides the service RemoteNotifyService.
RemoteNotifyService realizes the remote notification of alarms.
This service can be stopped when remote alarm notification is not needed.
Dependent service: EventService, MOService, SecurityService, TopoService and
FaultService.
Log in as omcuser.
2)
bash-2.03$ svc_ps | wc l
18
6-6
Administrator Guide
iManager M2000 Mobile Element Management System
1)
Log in as omcuser.
2)
Chapter 6
M2000 Process and Service Management
[running
SysBackupMgr
[running
LicenseMgr
[running
LogServer
[running
[running
[running
[running
[running
[running
RelationManager
[running
MOManager
[running
[running
[running
[running
[running
6-7
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
[running
[running
[running
[running
[running
[running
[running
Log in as root.
2)
# start_svc
Note:
Before starting M2000 Server, make sure that Sybase service has been started normally. For information
about starting Sybase service, refer to "17.10 Starting Sybase".
6-8
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 6
M2000 Process and Service Management
Log in as root.
2)
# stop_svc
If there is any service still running, execute the following command to stop it:
# kill_svc
6-9
Administrator Guide
iManager M2000 Mobile Element Management System
Clearing database
omcdb
fmdb
pmdb
sysmdb
After the installation of M2000 Server applications, the sizes of the databases are
decided, and do not need manual modification.
You can use Sybase commands to manage the databases.
7.2.2 omcdb
The database omcdb is used to store the M2000 configuration data, security data and
the data related to internal realization. It needs at least 1000MB of free space.
The tables in omcdb and their contents are shown in Table 7-1.
Table 7-1 Database table name and contents of omcdb
Name
Content
SMLoginRec
SMNEUser
NE user information.
SMSecurityPolic
Security strategy.
7-1
Administrator Guide
iManager M2000 Mobile Element Management System
Name
Content
SMTerminal
Terminal information.
SMUser
User information.
SMUserGroup
tbl_AccessTable
tbl_AuditTable
Other tables
7.2.3 fmdb
The database fmdb is used to store the alarm data of the NEs and M2000. It needs at
least 3700MB of free space.
The tables in fmdb and their contents are as are shown in Table 7-2.
Table 7-2 Database table name and contents of fmdb
Name
Content
tbl_cur_alm
Current alarms.
tbl_event
Event alarms.
tbl_his_alm
History alarms.
tbl_mask_alm
Screened alarms.
Other tables
7.2.4 pmdb
I. Overview of pmdb
The database pmdb is used to store the performance measurement data of NEs. It
needs at least 13000MB of free space.
The table types in pmdb are as follows:
z
7-2
Administrator Guide
iManager M2000 Mobile Element Management System
Table 7-3 Database table name and contents of pmdb (counter information tables)
Name
Content
systbl_NeType
systbl_FuncSet
systbl_FuncSubSet
systbl_Counters
systbl_Counter_Unit
Content
tbl_JobGeneralInfo
tbl_JobObject
tbl_JobCounter
Content
tbl_jobrst_*
tbl_LostResultInfo
tbl_JobSuspendInfo
7.2.5 sysmdb
The database sysmdb is used to store the file information and NE version configuration
data managed by the software management module. It needs at least 3000MB of free
space.
The tables in sysmdb and their contents are shown in Table 7-6.
7-3
Administrator Guide
iManager M2000 Mobile Element Management System
Content
tbl_FTPFileSet
tbl_VersionRelation
log
sys_log_del
tbl_UnsendMMLCmd
tbl_NELogTable
NE operation logs
Log in as omcuser.
2)
Execute the following command to view the data space and transaction log space
in each database:
Administrator Guide
iManager M2000 Mobile Element Management System
2)
In the main interface M2000 Client, select the menu [Fault/Alarm Displace] to open
the window [Alarm Displace], as shown in Figure 7-1.
4)
Specify the parameters such as the alarm types to be dumped, and then click
<Start>.
7-5
Administrator Guide
iManager M2000 Mobile Element Management System
2)
In the main interface of M2000 Client, select the menu [System/Log/User Log
Settings] to open the window [User Log Set], as shown in Figure 7-2.
4)
Specify whether to dump by time or by quantity of log information, and then click
<Displace>.
2)
In the main interface of M2000 Client, select the menu [Fault/Alarm Displace] to
open the window [Alarm Displace], as shown in Figure 7-1.
3)
Administrator Guide
iManager M2000 Mobile Element Management System
4)
Specify the parameters such as the type of alarm to be dumped, and then click
<Set>.
2)
3)
Select the tab "Overflow Displace". Specify the displacing condition, and then click
<Set> to realize auto displacing on overflow.
4)
Select the tab "Periodic Displace". Specify the displacing condition, and then click
<Set> to realize periodic auto displacing.
2)
In the main interface of M2000 Client, select the menu [Performance/Show Job
List] to open the window [Performance Job List].
3)
Right-click the task to be deleted, and then select the menu [Job/Delete] in the
shortcut menu.
4)
7-7
Administrator Guide
iManager M2000 Mobile Element Management System
Dump the alarm data, and clear data space in fmdb. Refer to "7.4 Manually
Displacing Alarm Data" and "7.6 Setting Auto Displacing for Alarm Data".
2)
Dump the user log data, and clear data space in omcdb. Refer to "7.5 Manually
Displacing User Log" and "7.7 Setting Auto Displacing for User Log"
3)
Delete the performance task to clear data space in pmdb. Refer to "7.8 Deleting
Performance".
4)
Execute the following commands to clear the transaction data log space:
Caution:
Clearing transaction log will affect the backup function of the system.
7-8
Administrator Guide
iManager M2000 Mobile Element Management System
The Server realizes the communication with the NEs, stores the operation and
maintenance data of NEs and provides NMS-oriented interface.
The Client provides graphic user interface to realize the operation and
maintenance to NEs and the status monitor to M2000.
Sybase database
The installation package of M2000 Server software includes the software provides the
FTP function and CORBA (Common Object Request Broker Architecture) function.
Table 8-1 lists the directory structure of M2000 Server software.
Table 8-1 Directory structure of M2000 Server software
Directory
Description
$M2K_ROOT
$M2K_ROOT/bin
$M2K_ROOT/etc
$M2K_ROOT/idl_northbound
$M2K_ROOT/lib
8-1
Administrator Guide
iManager M2000 Mobile Element Management System
Directory
Description
$M2K_ROOT/lbin
$M2K_ROOT/model
$M2K_ROOT/3rdTools
/export/home/omc/var
/export/home/omc/var/logs
/export/home/backup
Description
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as omcuser.
2)
bash-2.03$ df k
3)
Check the usage of disk space. Normally the usage of disk space must be lower
than 80%. That is, the output value of capacity must be lower than 80.
Log in as root.
2)
4)
5)
8-3
Administrator Guide
iManager M2000 Mobile Element Management System
Planning IP data
Client
hme0
hme1
Management
Network
Caution
The names of the Ethernet adapters are not necessarily hme0 and hme1.
9-1
Administrator Guide
iManager M2000 Mobile Element Management System
Planning IP data
2)
3)
IP group name
hme0: IP: 10.10.105.22, subnet mask: 255.255.255.0. The test IP of this adapter:
10.10.105.66, subnet mask: 255.255.255.0
hme1: IP: 10.10.105.23, subnet mask: 255.255.255.0. The test IP of this adapter:
10.10.105.68, subnet mask: 255.255.255.0
Administrator Guide
iManager M2000 Mobile Element Management System
Execute the following commands to set the IP of the adapters, disable their
failover and add deprecated flag.
10.10.105.22 imap-e4500
Note:
imap-e4500 is the host name.
2)
Open the configuration file of the first Ethernet adapter "/etc/hostname.hme0", and
add the following contents:
Caution:
In the files "/etc/hostname.hme0" and "/etc/hostname.hme1", there must be no space before each line.
3)
9-3
Administrator Guide
iManager M2000 Mobile Element Management System
# init 6
After restarting the system, the dual-plane settings take effect.
hme0:1:flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAIL
OVER> mtu 1500 index 4
inet 10.10.105.66 netmask ffffff00 broadcast 10.255.255.255
ether 8:0:20:8b:0:8d
hme1:flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 10.10.105.23 netmask ffffff00 broadcast 10.255.255.255
groupname imap
ether 8:0:20:8b:0:8d
hme1:1:flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAIL
OVER> mtu 1500 index 5
inet 10.10.105.68 netmask ffffff00 broadcast 10.255.255.255
ether 8:0:20:8b:0:8d
The above information shows that the IPs of the two adapters are set as 10.10.105.22
and 10.10.105.23 respectively, and have been added to the group imap, and their test
IPs are also correct.
9-4
Administrator Guide
iManager M2000 Mobile Element Management System
1)
Check the file "/etc/hostname.hme*". There must be no space before the script in
this file.
2)
3)
9-5
Administrator Guide
iManager M2000 Mobile Element Management System
Level 1
Level 1
Level 1
NTP server
NTP server
NTP server
Level 2
Level 2
NTP server
NTP server
NTP client
NTP client
Top NTP Server: Refer to level 0 NTP Server. It provides time synchronization
service for next level.
10-1
Administrator Guide
iManager M2000 Mobile Element Management System
z
Middle NTP Server: Refer to level 1 Server and Level 2 Server. It retrieves time
from higher level and provides time service for lower level.
NTP Client: It only retrieves time, and does not provide time service.
2)
# cp /etc/inet/ntp.server /etc/inet/ntp.conf
# vi /etc/inet/ntp.conf
3)
4)
2)
# cp /etc/inet/ntp.server /etc/inet/ntp.conf
# vi /etc/inet/ntp.conf
3)
4)
5)
6)
2)
# cp /etc/inet/ntp.client /etc/inet/ntp.conf
# vi /etc/inet/ntp.conf
3)
Add a line "server XXX.XXX.XXX.XXX" to the file to specify the IP of the higher
level NTP Server.
4)
Administrator Guide
iManager M2000 Mobile Element Management System
1)
2)
Check whether the time zone, data and time of the Server are correct. If they are
incorrect, it is necessary to modify them manually. Refer to "2.2 Modifying Server
Time".
3)
# /etc/init.d/xntpd stop
Note:
The startup script of NTP is in "/etc/rc2.d/". The NTP service will be automatically started after Solaris is
started. Therefore, there is no need to add the auto startup script manually.
4)
Start NTP service in the NTP Server. If M2000 is set as top or middle NTP Server,
execute the following command:
# /etc/init.d/xntpd start
5)
Start NTP service in the NTP Client. If M2000 is set as NTP Client, execute the
following command:
refid
delay
offset
jitter
==========================================================================
====
*LOCAL(0)
224.0.1.1
.LCL.
0.0.0.0
0 l
10
64
377
0.000
0.000
0.000
16 -
64
0.000
0.000 4000.00
In the returned information, if there is as "*" before "LOCAL(0)", it means that the status
of this clock reference source is normal. "LOCAL(0)" means that the local clock is used
as the reference clock source.
2)
# /etc/init.d/xntpd stop
10-3
Administrator Guide
iManager M2000 Mobile Element Management System
The
system
file
of
M2000:
the
files
in
"/export/home/omc/var"
and
"/export/home/sysm"
After the execution of backup, the above files are packed into a file package.
After the execution of restoration, all the content in the file package will be restored. As
for the data that hasnt been packed in the file package because of being processed
after backup is executed, M2000 can get it from NE by using auto synchronization
function, and process it over again.
NE data backup: With NE data backup function, the data on NEs, including NE
configuration data and LICENSE, can be backed up to M2000 Server hard disks.
For detailed information of NE data backup, refer to iManager M2000 Mobile
Element Management System Operation Manual.
M2000 System Backup: With M2000 system backup function, the information on
M2000 Server hard disks can be backed up to types.
11-1
Administrator Guide
iManager M2000 Mobile Element Management System
M2000 system backup mode can be classified as auto backup and manual backup.
Auto backup is also referred as periodic backup.
M2000 system backup mode can also be classified as incremental backup and full
backup.
In the above information, the first line indicates that the full backup file was generated
on 2004-6-1 04:20:02. The second line means that the incremental backup file was
generated on 2004-6-2 04:20:02. The third line indicates that the incremental backup
file was generated on 2004-6-3 04:20:02.
The system sets the path and name of backup files automatically, and user can not set
them manually.
When the storage media is disk, system will save the backup files to
"/export/home/backup/omc".
During the backup of the second week, the backup of the first week will be deleted
automatically.
z
When the storage media is magnetic tape, system will wind the tape to the
beginning, and then back up the files together with the path to the magnetic tape.
It is recommended to use a tape for each day. Prepare a tape before backup, and never
replace the tape when the backup is underway.
11-2
Administrator Guide
iManager M2000 Mobile Element Management System
1)
If the above settings do not meet the requirement, refer to "11.3.2 Setting Tape
Drive Path" and "11.3.2 6)Switch to root
bash-2.03$ su root
2)
# stop_svc
# start_svc
Setting Backup MediaSetting Backup Media " to modify the file "omcsvc.xml".
Log in as omcuser.
2)
3)
<path name="backuppath">
<param name="tapePath">/dev/rmt/0</param>
</path>
4)
5)
6)
Switch to root
bash-2.03$ su root
7)
# stop_svc
# start_svc
Log in as omcuser.
2)
3)
Administrator Guide
iManager M2000 Mobile Element Management System
<module name="all">
..
<param name="backupMedia">all</param>
....
</module>
...
<module name="inc">
<param name="backupMedia">all</param>
</module>
Note:
"<module name="all">" and "<module name="inc">" respectively stands full backup and incremental
backup.
"<param name="backupMedia">all</param>" means that the backup is stored in both disk and magnetic
tape. If the "all" in "<param name="backupMedia">all</param>" is "tape" or "disk", then it means that the
backup will be saved in disk or tape only.
4)
5)
6)
Switch to root
bash-2.03$ su root
7)
# stop_svc
# start_svc
11-4
Administrator Guide
iManager M2000 Mobile Element Management System
2)
3)
In the dialog box [Periodic Backup], select the tab "Server", and then select
"Enable Server Periodic Backup" and set the execution time and full backup day,
as shown in Figure 11-1.
4)
Click <OK> to save the settings. From then on, the system will carry out auto
backup.
2)
3)
In the dialog box [Manual Backup], select the tab "Server", and then select the
backup type, as shown in Figure 11-2.
11-5
Administrator Guide
iManager M2000 Mobile Element Management System
4)
Log in as root.
2)
Log in as root.
2)
If the M2000 services are running, execute the following command to stop the
M2000 services:
# stop_svc
11-6
Administrator Guide
iManager M2000 Mobile Element Management System
3)
# cd /export/home/backup/omc
# more backup.log
20040601042002 /export/home/backup/omc/all-20040601042002.tar.gz 0
20040602042001 /export/home/backup/omc/inc-20040602042001.tar.gz 1
20040603042002 /export/home/backup/omc/inc-20040603042002.tar.gz 1
4)
Make sure that the file recorded in backup.log is saved in the disk. If it is saved in
the tape, it is necessary to copy the file from the tape to the disk in this way: Enter
the root directory, insert the tapes from the first day to the last day one by one, and
execute tar command to copy the file from the tape to the disk.
# cd /
# tar xf /dev/rmt/0
5)
******************************************************
Continue ?[n/y]
6)
7)
# start_svc
Log in as root.
2)
# mkdir /data/backuprestore
# cd /data/backuprestore
3)
Back up VTOC:
11-7
Administrator Guide
iManager M2000 Mobile Element Management System
STATE
ID
rootdg
enabled
1074053501.1025.f4800
m2000dg
enabled
1074054023.1091.f4800
Back up vfstab:
# cp /etc/vfstab ./
5)
# mt rewind
6)
# cd /data
# ufsdump 0ucf /dev/rmt/0n backuprestore
7)
# df k
Filesystem
/dev/vx/dsk/rootvol
kbytes
used
avail capacity
56%
Mounted on
/
/proc
0%
/proc
fd
0%
/dev/fd
mnttab
0%
/etc/mnttab
swap
7367984
16 7367968
1%
/var/run
swap
7368296
328 7367968
1%
/tmp
/dev/vx/dsk/m2000dg/data
24772232 19746352 4778158
/dev/vx/dsk/opt
81%
55%
/data
/opt
/dev/vx/dsk/m2000dg/exporthome
467699068 20191726 442830352
8)
5%
/export/home
11-8
Administrator Guide
iManager M2000 Mobile Element Management System
2)
3)
4)
5)
Start up the system using CD-ROM and enter the single user mode:
# mt rewind
3)
# cd /tmp
# ufsrestore rf /dev/rmt/0n
4)
Implement hard disk partition according to the hard disk vtoc backed up in the
tape:
# newfs /dev/rdsk/c0t0d0s0
# newfs /dev/rdsk/c0t0d0s5
6)
# mkdir /tmp/root2
# mount /dev/dsk/c0t0d0s0 /tmp/root2
# cd /tmp/root2
11-9
Administrator Guide
iManager M2000 Mobile Element Management System
# ufsrestore rf /dev/rmt/0n
Note:
Because the root partition is backed up first, it is restored first.
# rm restoresymtable
# cd /
# umount /tmp/root2
# fsck /dev/dsk/c0t0d0s0
7)
# mkdir /tmp/root3
# ufsrestore rf /dev/rmt/0n
Note:
The restored one is the "/opt" backed up after the root partition.
# rm restoresymtable
# cd /
# umount /tmp/root3
# fsck /dev/dsk/c0t0d0s5
11-10
Administrator Guide
iManager M2000 Mobile Element Management System
# vi /tmp/root2/etc/system
3)
Disable the two lines in the file (add "#" before each line)
* rootdev:/pseudo/vxio@0:0
* set vxio:vol_rootdev_is_volume=1
4)
5)
# vi /tmp/root/etc/vfstab
#device
device
mount
FS
fsck mount
mount
# to mount
to fsck
point
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr
fd
/proc -
/dev/fd fd
/proc
no
proc -
no
swap -
ufs 1
/dev/vx/dsk/swapvol
/dev/vx/dsk/rootvol
/dev/vx/rdsk/rootvol /
ufs 1
yes -
/dev/vx/dsk/opt
swap -
/tmp tmpfs
no
yes -
no
yes -
/dev/vx/rdsk/m2000dg/data
/data
yes logging
/dev/vx/dsk/m2000dg/exporthome /dev/vx/rdsk/m2000dg/exporthome
/export/home ufs 2
6)
11-11
ufs 2
Administrator Guide
iManager M2000 Mobile Element Management System
/dev/vx/dsk/m2000dg/data
/dev/vx/rdsk/m2000dg/data
/data
ufs 2
yes logging
/dev/vx/dsk/m2000dg/exporthome /dev/vx/rdsk/m2000dg/exporthome
/export/home ufs 2
7)
/dev/vx/dsk/swapvol
/dev/vx/dsk/rootvol
/dev/vx/rdsk/rootvol /
ufs 1
yes -
/dev/vx/dsk/opt
swap -
no
no
As:
/dev/dsk/c0t0d0s1 -
swap -
no
Note:
The original "vfstab" is managed by "volume manager". The restored hard disk has no "volum manager",
so the partitions managed by "volume manager" needs to be renamed using the standard partition name.
# vxinstall
According to the system prompts, enter the following information.
2)
[y,n,q,?] (default: y) y
3)
[y,n,q,?] (default: n) n
4)
Menu: VolumeManager/Install
Quick Installation
Custom Installation
11-12
Administrator Guide
iManager M2000 Mobile Element Management System
??
Menu: VolumeManager/Install/Custom/OTHER_DISKS
??
8)
9)
# reboot - - -x
11-13
Administrator Guide
iManager M2000 Mobile Element Management System
Daily maintenance
Weekly maintenance
Monthly maintenance
These items are recommendation. You can customize them according to actual needs.
For operation and maintenance of NE, refer to iManager M2000 Mobile Element
Management System Operation Manual.
Checking Alarm
Information and the later section for operation guide of each maintenance item.
Table 12-1 Daily maintenance checklist
SN
Item
Reference
2)
Administrator Guide
iManager M2000 Mobile Element Management System
3)
4)
5)
If any alarm exists, select the menu [Fault/Query/Current Alarm] to view its
detailed information.
processes. If the number is not enough, refer to "6.4 Querying Service Status" to check
the processes which need to be started, and then refer to "6.5
Services" to start them.
12-2
Starting M2000
Administrator Guide
iManager M2000 Mobile Element Management System
Item
Reference
bash-2.03$ su root
2)
# stop_svc
# start_svc
Automatically Backing Up M2000" or "11.5 Manually Backing Up M2000 System" to
back up M2000 system.
Log in as omcuser.
2)
bash-2.03$ date
3)
12-3
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as omcuser.
2)
Item
Reference
12-4
Administrator Guide
iManager M2000 Mobile Element Management System
For details of check CD-ROM and tape drive, refer to Solaris system administrator
manual.
12-5
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 13 Troubleshooting
Chapter 13 Troubleshooting
13.1 Overview of Troubleshooting
This chapter introduces the following contents:
z
Troubleshooting cases, detailing the analysis and handling of faults. Each section
describes a fault.
For the maintenance and fault handling of Solaris, refer to Solaris system administrator
manual.
For the maintenance and fault handling of Sybase database, refer to Sybase system
administrator manual.
Symptom
Version information
IP information
Alarm information
Log information
The logs include user log, system log and trace log.
z
Use the M2000 diagnostic tool to collect the internal problem location information. For
details of the M2000 diagnostic tool, refer to "16.3 M2000 Diagnostic Tool".
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 13 Troubleshooting
Hardware faults
The hardware faults include the ones occurring to M2000 Server, Client and networking
equipment. The appearance and status indicators of hardware help locate hardware
faults easily.
z
Software faults
The software faults include the ones occurring to M2000 system, the operating system
and the database that M2000 is based on.
Hardware faults
Solaris faults
Collect all the information about an irremovable fault (refer to "13.2.2 Information
Collection")and contact Huawei for handling immediately.
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 13 Troubleshooting
Reconnect the serial port cable between M2000 Server and the terminal.
2)
3)
4)
5)
6)
# /usr/sbin/shutdown i6 g0 y
7)
Remove the serial port cable between M2000 Server and the terminal, and the
operating system will not shut down automatically.
Sybase is abnormal.
2)
# stop_svc
This command fails, execute the following command to stop the service:
# kill_svc
3)
13-3
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 13 Troubleshooting
# cd /opt/sybase/ASE-12_0/install
# ./startserver f ./RUN_SYB
# ./startserver f ./RUN_SYB_back
6)
# start_svc
7)
View the system log file in "/export/home/omc/var/logs" to find the cause of abnormal
service.
2)
# start_svc
Do not manually terminate the startup procedure.
3)
If there is any service not started yet, contact Huawei for solution.
13-4
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 13 Troubleshooting
start_svc
stop_svc
kill_svc
More that one user is executing the above commands at the same time.
Execute the runtime script. For the execution of runtime script, refer to "15.3
svc_profile.sh".
2)
Make sure that only one user executes the above commands at the same time.
13-5
Administrator Guide
iManager M2000 Mobile Element Management System
If the operating system backup is not available, refer to iManager M2000 Mobile
Element Management System Installation Manual to reinstall the operating
system.
2)
Refer to "11.6 Restoring M2000" to recover the M2000 database data and M2000
system files.
14-1
Administrator Guide
iManager M2000 Mobile Element Management System
14-2
Administrator Guide
iManager M2000 Mobile Element Management System
15.3 svc_profile.sh
15.3.1 Function of svc_profile.sh
It is necessary to execute the script, svc_profile.sh, before using the M2000 commands.
This script is used to set the users working environment, such as command search
path and dynamic library search path.
Manual running
15-1
Administrator Guide
iManager M2000 Mobile Element Management System
Caution:
There must be a . at the beginning of a command, and a space between . and /.
Auto running
After the installation of the system according to iManager M2000 Mobile Element
Management System Installation Manual, the script is added to the file ".profile" of
"omcuser" and "root". If you log in as omcuser or root, the system will automatically run
this script.
Note:
iManager M2000 Mobile Element Management System Installation manual introduces the settings of the
file ".profile" of "omcuser" and "root".
15.4 start_svc
15.4.1 Command Function
This command is used to start all the M2000 services. If the services have been already
started, this command will try to start each service, and prompts that each service is
already running.
15.4.2 Example
# start_svc
============================ Starting Services ...
TAO Naming Service is running
TAO Notification Service is running
Monitor_Service already running.
imapsysd already running.
LogServer
[starting... ]
...
============================ Finished Starting Services.
15-2
Administrator Guide
iManager M2000 Mobile Element Management System
15.5 stop_svc
15.5.1 Command Function
This command is used to stop all the M2000 services If the services are not started yet,
this command will try to stop each service and prompts error.
15.5.2 Example
# stop_svc
============================ Stopping System ...
SystemMonitor
[stopped
EventManager
[stopped
LogServer
[stopped
...
============================ Finished Stopping System.
15.6 kill_svc
15.6.1 Command Function
This command stops all the M2000 processes and services using the kill process
mechanism of the operating system. It is an extreme measure to use this command. It
may cause data loss and service abnormal.
In normal cases, use stop_svc to stop all the M2000 services. Do not use kill_svc to kill
the processes unless in special cases such as when the process is abnormal.
15.6.2 Example
# kill_svc
15.7.2 Example
bash-2.03$ svc_adm cmd status
The current status ("running" or "not running") of all services will be displayed.
15-3
Administrator Guide
iManager M2000 Mobile Element Management System
15.8 svc_ps
15.8.1 Command Function
This command is used to query the running status of all M2000 processes.
15.8.2 Example
bash-2.03$ svc_ps
This command returns the running M2000 processes in the system.
15.9 top
15.9.1 Command Function
This command is used to display the total CPU and memory utilization in the system
and the CPU and memory utilization of each process.
15.9.2 Example
bash-2.03$ top
load averages: 0.03, 0.11, 0.30
10:37:25
0.0% user,
0.6% kernel,
0.0% iowait,
0.0% swap
SIZE
RES STATE
TIME
346 root
52
59
109M
5378 root
22
58
95M
67M sleep
0:08
0.09% imapsvcd
5371 root
21
58
61M
30M sleep
0:07
0.07% imapsysd
6726 root
58
0:00
0.07% top
CPU COMMAND
0.32% dataserver
...
Table 15-1 lists the meanings of the columns in the returned message of the command
"top".
Table 15-1 Meanings of columns in returned message of command "top"
Column
Meaning
PID
Process number
USERNAME
THR
Thread number
PRI
Priority
NICE
15-4
Administrator Guide
iManager M2000 Mobile Element Management System
Column
Meaning
SIZE
RES
STATE
Current status of this process. If the process is running, then the CPU it uses is
displayed.
TIME
CPU
COMMAND
15.10.2 Example
bash-2.03$ svc_adm cmd reload
After executing this command, the configuration data in the configuration module is the
same as the data in the file imap.xml.
15.11 svc_stacks
15.11.1 Command Function
This command is used to collect the stack information of the M2000 services. It is used
in internal problem location and commissioning.
15.11.2 Example
bash-2.03$ svc_stacks
After executing this command, the query results will be saved in "/<M2000 installation
directory>/var/logs/imap_stacks.YY_MM_DD__HH:MM:SS".
In the above description, "YY" is the last two digits of the year, "MM" is the month, "DD"
is the date, "HH" is the hour, "MM" is the minute and "SS" is the second.
15-5
Administrator Guide
iManager M2000 Mobile Element Management System
15.12 svc_lockdump
15.12.1 Command Function
This command is used to collect the lock status of the current management objects. It is
used in internal problem location and commissioning.
15.12.2 Example
bash-2.03$ svc_lockdump
Dump MO Locks information successfully.
After executing this command, the query results will be saved in "/<M2000 installation
directory>/var/logs/iMAP.lock.dump".
15-6
Administrator Guide
iManager M2000 Mobile Element Management System
Log in as omcuser.
2)
Execute the following command to check whether the status of the tape drive is
normal:
tape drive:
residual= 0
retries= 0
block no= 0
If the status information of the tape drive can be displayed, it means that the tape drive
is running normally.
3)
16-1
Administrator Guide
iManager M2000 Mobile Element Management System
Tape drive
directory tree
Local disk
directory tree
Disk file
information
output area
Caution:
It is necessary to load the tape before any operation. The possible causes of tape loading failure are tape
drive not connected correctly, tape damaged, no tape in the tape drive and tape drive busy.
Load and eject: Load the tape into the tape drive, eject the tape from the tape drive
Backup and restoration files: back up the files in the disk to the tape drive, restore
the files in the disk
Refresh
Delete
16-2
Administrator Guide
iManager M2000 Mobile Element Management System
Number and status of background threads, that is, the result of pstack
Lock status of MO
2)
In the window [M2000 Diagnostic Tool], click <Setting> to open the window [FTP
Server Setting], as shown in Figure 16-3.
16-3
Administrator Guide
iManager M2000 Mobile Element Management System
Note:
If the tool parameters have been set, step 2) and 3) can be skipped.
In the dialog box [FTP Server Setting], enter the parameter information, and then
click <OK>.
IP Address: Server IP
Port: FTP service port number. Normally the default value 10119 is adopted. If it
needs to be modified, then the setting on the Server also needs to be modified. To
modify the service parameter setting, log in to the Server as ftpuser and execute
the command "start_collector port <port number>".
Delete the collected files in Server after collecting: if select it, the collected
information will be deleted from the Server, and only stored in the Client; if do not
select it, the collected information will be saved to both the Client and
"/export/home/omc/var/DebugInfo" in the Server.
5)
In the window [M2000 Diagnostic Tool], enter the time and file path. If you want to
collect some NEs alarm diagnostic data, select Collect Alarm Diagnostic Data,
and input the NE name. Then click <Collect> to start collecting Diagnostic
information.
16-4
Administrator Guide
iManager M2000 Mobile Element Management System
2)
Note:
Normally, the diagnostic service start to run automatically after M2000 Server application software is
installed successfully.
3)
# start_collector
4)
Restart diagnostic tool on the Client. Refer to 16.3.2 Running Diagnostic Tool.
2)
# stop_collector
Administrator Guide
iManager M2000 Mobile Element Management System
PATH=/export/home/omc/var/backup/pm/
The storage directory of the exported file. In this example, the directory is
/export/home/omc/var/backup/pm/. When this tool is running, it creates a sub-directory
under this directory every day. The name of a sub-directory is "PMExporst_<the current
date>". All files generated that day are saved in this sub-directory. The name of an
exported file is "PMResult_<task number>_<start time>_<end time>.csv".
z
SAVEDAYS=3
The storage days of the exported file. In this example, the file will be kept for three days.
After the storage days, it will be deleted from the disk.
z
DELAY=30
Because some NEs may report performance job results with delay, M2000 can export
the results of the previous measurement period only after a delay of several minutes.
The setting here indicates that the delay is set to 30 minutes. The delay ranges from 30
to the integer multiple of 30.
z
101:30
The job number and the jobs export period. The export period (unit: minute) can be set
as 30, 60 or 1440. In this example, 101 is the task number, and the export period is 30
minutes.
To export multiple jobs result, it is necessary to add multiple entries of such information
to the configuration file. For example:
102:60
103:1440
The parameter PATH, SAVEDAYS and DELAY is the same for each task, and only the
export period is different for each task.
Because the processing of performance task results takes some time, the task of a
period is exported 30 minutes later. For example, if the export period is 60 minutes,
then the data within 1:002:00 will be exported at 2:30, and the data within 2:003:00
will be exported at 3:30.
Caution:
When this tool is running, you cannot start this tool again.
Perform the following operations on the Server to run the auto export tool:
16-6
Administrator Guide
iManager M2000 Mobile Element Management System
1)
Log in as omcuser.
2)
Time segment
30
60
1440
For example, to export the results with the export period of 60 minutes and the delay of
30 minutes, the result of 0:001:00 will be exported at 1:30, and the result of 1:002:00
will be exported at 2:30.
Log in as omcuser.
2)
If the service is not running, check whether any error prompt exists in the file
"/opt/OMC/bin/nohup.out". The possible cause is that wrong parameter was
entered when starting the tool.
3)
Check
whether
any
error
information
exists
in
the
log
file
"
/opt/OMC/bin/PMExporest.log".
4)
If the service is running, the possible cause is that the task does not exist or it has
not report result yet. The related information can be viewed in the log file
16-7
Administrator Guide
iManager M2000 Mobile Element Management System
16.5.2 Prerequisites
The prerequisites of running the IP modification tool are as follows:
z
Log in as root.
II. Example
# iptools l
InterfaceName
IPAddress
MACAddress
Port
-----------------------------------------------10.161.45.241
4100
IP address: Titan. "Titan" is the host name. Its corresponding IP address can be
queried in the file "\etc\hosts".
16-8
Administrator Guide
iManager M2000 Mobile Element Management System
-d: Switch, which means that the IPs of all database services of Sybase are set as
the new IPs
II. Example
z
Set all interfaces. The Solaris IP is 10.70.141.54, host name is "host", default
gateway is 10.70.141.1, and the IPs of all servers of Sybase are 10.70.141.54.
Set the Ethernet adapter interface. The interface name is "hme0", the IP is
10.70.141.54, and the subnet mask is 255.255.255.0.
II. Example
Set IP interface descriptions of all Sybase database services.
# iptools D 10.70.141.54
set all services of sybase ip 10.70.141.54 succeed !
16-9
Administrator Guide
iManager M2000 Mobile Element Management System
II. Example
Set the IP of the SYB service of Sybase database as 10.70.141.54 and the port number
as 4000.
# iptools S SYB D 10.70.141.54 P 4000
set service SYB with ip 10.70.141.54 succeed !
II. Example
Modify the Solaris host name as "omc".
# iptools H omc
set old hostname : host ---> new hostname : omc succeed !
If the new name is the same as the original name, the system will prompt:
omc is same with the current host name !
II. Example
Set the Solaris gateway as 10.70.141.1.
# iptools G 10.70.141.1
change net default: gateway 10.70.141.1
16-10
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 17 FAQ
Chapter 17 FAQ
17.1 Overview of FAQ
This chapter introduces the frequently asked questions and the solutions concerning
Solaris operating system and Sybase database.
17.2.2 Answer
For the sake of security, the user root can log in to the system only through the console
after Solaris8 is installed. If it is necessary to log in to the system through telnet as root,
follow the procedure below. It is recommended restoring the original setting after that.
1)
Log in as root.
2)
3)
Find the line of CONSOLE=/dev/console. Add "#" in the front of the line to turn it to
a comment line.
4)
17.3.2 Answer
For the sake of security, the user root does not have the authority to use FTP by default.
If it is necessary to log in to the system as root through ftp, follow the procedure below.
It is recommended restoring the original setting after that.
1)
Log in as root.
2)
3)
4)
17-1
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 17 FAQ
17.4.2 Answer
The built-in tape drive does not require the installation of driver. When the Server is
started up, it will be identified automatically. The external tape drive requires the
installation of driver. In the case of Sun Ultra 60, the installation is as follows:
1)
2)
3)
To use the SCSI interface, connect the SCSI cable to the IN interface of the tape
drive.
4)
Power on all peripherals and the host, and boot the system.
5)
Log in as root.
6)
# mt f /dev/rmt/0mn status
The above command can be abbreviated as mt status.
The following prompts may appear:
HP DDS-3 4MM DAT tape drive:
sense key(0x6)= Unit Attention
file no= 0
residual= 0
retries= 0
block no= 0
This means that the tape drive is normal. There is a tape in the tape drive, and the tape
has been rewound to the beginning.
No such device or address
This means that the tape drive is not connected with the work station or the connection
is incorrect.
/dev/rmt/0n: no tape loaded or drive offline
If the tape drive is not attached, execute the following command to attach the tape
drive:
# drvconfig
# tapes
8)
When the tape drive is attached, insert a tape, and then execute the following
command to view the tape drive status:
17-2
Administrator Guide
iManager M2000 Mobile Element Management System
Chapter 17 FAQ
# mt status
17.5.2 Answer
Perform the following operations on the Server:
1)
Log in as root.
2)
# vi /etc/defaultrouter
3)
10.161.44.1
4)
5)
# init 6
17.6.2 Answer
Perform the following operations on the Server:
1)
Log in as root.
2)
17-3
Administrator Guide
iManager M2000 Mobile Element Management System
z
Chapter 17 FAQ
# netstat rv
z
# vi /etc/rc2.d/S97route
Write one or more entries of router add <destination address>/<subnet mask>
<gateway> commands in this file. For example:
route add 129.9.0.1/32 10.12.8.1
route add 129.8.0.0/16 10.12.8.1
17.7.2 Answer
There are two types of files in "/etc/rc2.d": those with the initial letter of capitalized "S"
and those with the initial letter of capitalized "K".
z
During the startup of Solaris, the system executes all script files with the initial
letter of "S" in "/etc/rc2.d" in alphabetical order.
During the shutdown of Solaris, the system executes all script files with the initial
letter of "K" in "/etc/rc2.d" in alphabetical order.
The installation software of M2000 Server will generate three startup files in
"/etc/rc2.d/": S98sybase (for starting Sybase), S98TAO (for starting TAO service) and
S99IMAP (for starting M2000 services).
17.8.2 Answer
Perform the following configurations on the Server:
17-4
Administrator Guide
iManager M2000 Mobile Element Management System
1)
Log in as root.
2)
Chapter 17 FAQ
# prtconf
System Configuration:
Sun Microsystems
sun4u
In the message above, "Memory size: 512 Megabytes" indicates the size of memory,
and "SUNW, Ultra-60" is the type of the Server.
17.9.2 Answer
Perform the following operations on the Server to check the status of Sybase:
1)
Log in as dbuser.
2)
bash-2.03$ cd /opt/sybase/ASE-12_0/install
bash-2.03$ ./showserver
root 21684 21683 0 October 29 ?
0:00 /opt/sybase/ASE-12_0/bin/backupserver
-SSYB_back -e/opt/sybase/ASE-12_0/install
root 23718 23716 7 November 01 ?
678:28 /opt/sybase/ASE-12_0/bin/dataserver
If the returned message contains "dataserver" and "backupserver", it means that the
active and standby databases are both started.
17.10.2 Answer
Perform the following operations on the Server to start Sybase service:
17-5
Administrator Guide
iManager M2000 Mobile Element Management System
1)
Log in as dbuser.
2)
Chapter 17 FAQ
bash-2.03$ cd /opt/sybase/ASE-12_0/install/
bash-2.03$ ./startserver -f ./RUN_SYB
bash-2.03$ ./startserver -f ./RUN_SYB_back
17.11.2 Answer
Perform the following operations on the Server to stop Sybase service:
1)
Log in as dbuser.
2)
Note:
If the M2000 Server software has been installed, Sybase will be started automatically after the startup of
the operating system.
17-6
Administrator Guide
iManager M2000 Mobile Element Management System
CPU
E
EMS
F
FAQ
FTP
I
ID
Identity
IDL
IP
Internet Protocol
L
LMT
M
MB
Mega Byte
N
NMS
NTP
O
OMC
P
PID
Process Identification
R
RNC
S
SCSI
SQL
Administrator Guide
iManager M2000 Mobile Element Management System
TCP
Administrator Guide
iManager M2000 Mobile Element Management System
Index
Index
fault information, 16-2
command
adding
kill_svc, 15-3
start_svc, 15-2
stop_svc, 15-3
route, 17-3
adjusting
svc_lockdump, 15-6
svc_profile.sh, 15-1
alarm data
svc_ps, 15-4
svc_stacks, 15-5
top, 15-4
creating
backing up
daily maintenance
introduction, 11-1
setting, 11-3
browsing
database
clearing, 7-8
fmdb, 7-2
introduction, 7-1
checking
NTP service, 10-3
pmdb, 7-2
querying, 7-4
Sybase, 17-5
sysmdb, 7-3
user account, 3-3
clearing
dbuser
database, 7-8
disk space, 8-3
introduction, 3-2
pmdb, 7-7
client
setting, 17-3
deleting
route, 17-3
collecting
i-1
Administrator Guide
iManager M2000 Mobile Element Management System
Index
modifying, 16-8
diagnosis
tool, 16-2
disk space
clearing, 8-3
host name
querying, 8-2
displacing
inrpt
dual-plane
introduction, 3-2
installing
introduction, 9-1
introduction
verifying, 9-4
command, 15-1
database, 7-1
dual-plane, 9-1
emergency maintenance
fmdb, 7-2
client, 14-1
log, 4-1
server, 14-1
NE log, 4-1
exporting
NTP, 10-1
omcdb, 7-1
pmdb, 7-2
process, 6-1
service, 6-1
file system
client, 8-2
sysmdb, 7-3
introduction, 8-1
server, 8-1
fmdb
introduction, 7-2
querying, 16-8
FTP
logging, 17-1
ftpuser
log
introduction, 3-2
introduction, 4-1
ftpusr
NE log, 4-1
type, 4-1
user log, 4-1
gateway
i-2
Administrator Guide
iManager M2000 Mobile Element Management System
Index
logging
through FTP, 17-1
omcdb
M2000
introduction, 7-1
omcuser
introduction, 3-2
operating system
restoring, 11-6
restoring, 11-9
modifying
gateway, 16-8
pmdb
time, 2-1
clearing, 7-7
monitoring
introduction, 7-2
procedure
monthly maintenance
troubleshooting, 13-1
process
multiple IPs
introduction, 6-1
setting, 2-4
NE log
querying
introduction, 4-1
database, 7-4
NTP
checking, 10-3
introduction, 10-1
IP, 16-8
starting, 10-2
stopping, 10-3
i-3
Administrator Guide
iManager M2000 Mobile Element Management System
Index
restoring
checking, 4-3
starting
root
introduction, 3-1
Sybase, 17-5
startup file
route
adding, 17-3
deleting, 17-3
stopping
setting, 17-3
routine maintenance
Sybase, 17-6
stting
time, 2-1
Sybase
sa
checking, 17-5
introduction, 3-3
starting, 17-5
stopping, 17-6
server
sysmdb
introduction, 7-3
system log
browsing, 4-3
introduction, 4-2
system performance
service
adjusting, 5-3
introduction, 6-1
querying, 5-2
stopping, 6-9
tape drive
setting
installing, 17-2
management, 16-1
Telnet
gateway, 16-8
logging, 17-1
time
modifying, 2-1
trace log
introduction, 4-2
i-4
Administrator Guide
iManager M2000 Mobile Element Management System
Index
operating system, 3-1
troubleshooting
case, 13-2
root, 3-1
type, 3-1
user authority
database, 3-3
procedure, 13-1
M2000, 3-3
tool, 16-2
browsing, 4-3
displacing automatically, 7-7
user account
database, 3-3
dbuser, 3-2
introduction, 4-1
ftpuser, 3-2
inrpt, 3-2
introduction, 3-1
weekly maintenance
M2000, 3-3
omcuser, 3-2
i.
i-5