N2000 Troubleshooting Manual
N2000 Troubleshooting Manual
N2000 Troubleshooting Manual
1-1
1-1
1-1
1-2
1-3
1-10
1-12
1-13
1-14
1-15
1-16
1-17
1-22
1-23
1-24
1-25
1-25
1-26
1-27
2-1
2-1
2-1
2-2
2-3
2-4
2-4
2-4
2-4
2-5
2-5
2-5
2-5
2-6
2-6
2-6
2-6
2-7
2-7
2-7
2-7
2-8
2-8
2-9
2-10
2-11
2-11
2-12
2-12
2-13
3-1
3-1
3-1
3-1
3-2
3-3
3-10
3-11
4-1
4-1
4-1
4-2
4-2
4-6
4-9
4-15
4-16
5-1
5-1
5-1
5-1
5-1
5-9
5-9
5-10
A-1
A-1
A-1
A-2
A-3
A-3
A-4
5-1
5-2
5-2
5-2
5-2
5-3
5-3
5-3
5-3
5-4
5-4
5-4
5-4
5-5
5-6
5-7
5-7
5-7
5-8
5-8
5-8
5-8
5-8
5-9
B-1
B-1
B-1
B-2
B-3
B-4
B-7
B-8
B-10
B-15
B-16
B-18
B-18
B-18
B-20
B-20
B-22
B-22
B-23
B-23
B-24
B-24
B-25
C-1
C-1
C-1
C-2
C-3
C-3
C-4
C-4
C-5
C-5
C-6
C-7
C-7
C-9
C-9
D-1
D-1
D-2
D-3
D-3
D-4
D-5
D-6
E-1
E-1
E-2
HUAWEI
Management System
Troubleshooting Manual
V200
T2-100333-20040830-C-2.00
Product Version
V200
BOM
31033533
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.
Related Manuals
The related manuals are listed in the following table.
Manual
Content
Organization
This manual offers suggestions on the routine maintenance of the iManager N2000. It
also introduces the troubleshooting and remote maintenance of the iManager N2000.
Besides, it explains how to use the maintenance tools.
There are six chapters in this manual.
Chapter 1 Routine Maintenance focuses on the routine maintenance items of the
iManager N2000. It also provides detailed operation guidance and troubleshooting
suggestions.
Intended Audience
The manual is intended for the following readers:
z
Conventions
This manual uses the following conventions:
I. General conventions
Convention
Description
Arial
Arial Narrow
Boldface
Courier New
Description
Boldface
italic
[]
Convention
Description
{ 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
Description
Click
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:
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Table of Contents
Table of Contents
Chapter 1 Routine Maintenance................................................................................................... 1-1
1.1 Maintenance Categories.................................................................................................... 1-1
1.2 Maintenance Suggestions ................................................................................................. 1-1
1.3 Routine Maintenance Items ............................................................................................... 1-2
1.3.1 Viewing Server Performance .................................................................................. 1-3
1.3.2 Checking Connectivity of NMS Server, NMS Client, and Managed Devices ....... 1-10
1.3.3 Viewing Topology and Alarm Information ............................................................. 1-12
1.3.4 Backing Up NMS Database .................................................................................. 1-13
1.3.5 Backing Up Device Configuration ......................................................................... 1-14
1.3.6 Viewing Operation Log.......................................................................................... 1-15
1.3.7 Managing User Authority....................................................................................... 1-16
1.3.8 Viewing Used NMS Database Space ................................................................... 1-17
1.3.9 Viewing Used Hard Disk Space of NMS Server ................................................... 1-22
1.3.10 Checking Hardware, Power Supply, and Equipment Room Environment of NMS
Workstation .................................................................................................................... 1-23
1.3.11 Installing Windows Patches and Killing Viruses in Time..................................... 1-24
1.4 Maintenance Reports....................................................................................................... 1-25
1.4.1 Duty Report ........................................................................................................... 1-25
1.4.2 Weekly Maintenance Report ................................................................................. 1-26
1.5 Starting and Shutting Down an NMS Workstation........................................................... 1-27
Chapter 2 Troubleshooting .......................................................................................................... 2-1
2.1 Basic Concepts .................................................................................................................. 2-1
2.1.1 Alarm Definition and Category ................................................................................ 2-1
2.1.2 Terms ...................................................................................................................... 2-2
2.2 General Troubleshooting Procedure.................................................................................. 2-3
2.2.1 Collecting Information ............................................................................................. 2-4
2.2.2 Judging the Fault..................................................................................................... 2-4
2.2.3 Locating the Fault.................................................................................................... 2-4
2.2.4 Eliminating the Fault................................................................................................ 2-4
2.3 General Fault Locating Methods........................................................................................ 2-5
2.3.1 Analyzing Raw Information ..................................................................................... 2-5
2.3.2 Analyzing Alarm Information ................................................................................... 2-5
2.3.3 Analyzing Indicator Status....................................................................................... 2-5
2.3.4 Tracing Connection and Signaling .......................................................................... 2-6
2.3.5 Test and Loopback.................................................................................................. 2-6
2.3.6 Comparison and Replacement................................................................................ 2-6
2.3.7 Switchover and Reset ............................................................................................. 2-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Table of Contents
ii
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Table of Contents
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Table of Contents
iv
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
I. Routine maintenance
Routine maintenance means that preventive maintenance operations are regularly
performed on normal devices to detect and eliminate their defaults or hidden troubles. It
aims to ensure the long-term secure, stable, and reliable running of the devices.
Based on the maintenance period, routine maintenance falls in daily maintenance and
regular maintenance.
z
Daily maintenance
Daily maintenance means that maintenance operations are performed every day, such
as viewing alarm information and viewing server performance.
Daily maintenance aims to detect device alarms or faults and take proper measures to
reduce the fault rate of the devices. With daily maintenance, you can keep track of the
running status and trend of the devices or network to enhance your efficiency in
handling emergencies.
z
Regular maintenance
II. Troubleshooting
Troubleshooting means that remedial maintenance operations are performed on a
faulty system or devices. It aims to locate and eliminate faults quickly.
1-1
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
down ..." needs to be pasted on the NMS workstation and the power connector.
If you do not have a UPS for the NMS workstation, after being notified that the
power supply will be cut, you must shut down the NMS and NMS workstation
correctly before the power cut.
Always follow these steps to shut down the NMS workstation: shut down
NMS->shut down NMS database->run init5 (for Solaris). Never shut down the
NMS workstation by running halt (for Solaris) or switching off the power supply;
otherwise the system may be corrupted.
After the NMS starts, three application systems usually need to be started:
SysMonitor, NMS client, and real-time alarm browser to monitor the system status.
z
Check the daily maintenance items every day, and take down the results. Paste
the telephone number and fax number of Huawei Customer Service Center in the
equipment room and be familiar with them.
Handle any fault immediately after it is detected. For the problems you cannot
solve, you may contact the Huawei Customer Service Center according to the
warranty of the equipment.
The passwords for logging into the NMS workstation must be provided in different
Caution:
To ensure normal and stable running of the iManager N2000, we recommend that you perform routine
maintenance in strict accordance with Table 11.
Table 11 Routine maintenance items and period for the iManager N2000
No.
Maintenance item
Period
Daily
Daily
Daily
Weekly
1-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
No.
Maintenance item
Period
Weekly
Weekly
Monthly
Monthly
Monthly
10
Monthly
11
II. Reference
The CPU occupancy of the server must be lower than 80%.
Start the SysMonitor, and then click the System Resource tab, as shown in
Figure 1-1.
The resource information of the system is displayed, including server name, CPU
occupancy, physical memory, used memory, and available memory.
1-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
3)
This tab displays the processes running in the NMS, their CPU occupancy, and their
memory occupancy.
Stop the unnecessary NMS processes by referring to Table 12: Set the start
mode to manual start, and then stop the process.
5)
1-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
To improve the performance of the NMS server, we recommend that you stop the unnecessary NMS
processes even when the NMS is normal.
6)
7)
In the security management window that appears, right click Users under
Security Object, and then select [Login User Information] to view information
about the login users.
8)
Observe the CPU occupancy and memory occupancy of the NMS server for a
while. If the CPU occupancy is higher than 80% for a long time, restart the NMS
server.
9)
Continue observing the CPU occupancy and memory occupancy of the NMS
server. If the CPU occupancy is still higher than 80% for a long time, contact
Huawei Customer Service Center.
Note:
If the NMS server does not meet the performance requirement after the network to be managed is
expanded, the configuration of the NMS server must be updated, or the NMS server must be replaced with
a new one; otherwise the stable running of the NMS will be affected.
Function
Description
iMAP
EmfTopoDm
It must be started.
EmfSecuDm
It must be started.
EmfFaultDm
It must be started.
EmfPerfDm
EmfResourceDm
It must be started.
1-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Process
Function
Description
Scheduled
ProjDocd
EmfExamDm
EmfProxyServer
It must be started.
EmfGnlDevDm
It must be started.
SNMPAgent
CORBAAgent
Northbound
interface
(COBRA).
It
implements the agent function of CORBA. It
provides an interface for other NMSs to get
topology information, alarm information, and
so on.
EmfDBBackup
UmsAmg5000Dm
UmsIadmsDm
IADMS process
UmsIgwbDm
UmsMRSDm
1-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Process
Function
Description
It can be stopped if no service
or resource needs to be
operated.
Note: After this process is
stopped, the resource client
and service client will prompt
that the communication with
the daemon fails when loading
data.
UmsServDm
UmsSgDm
UmsSoftXV3Dm
UmsSyncDm
It must be started.
UmsTmg8010Dm
It can be stopped if no
TMG8010 needs to be
managed.
UmsUMG8900Dm
It can be stopped if no
UMG8900 needs to be
managed.
UmsXmlDM
UmsXmlAgent
IADMS northbound
interface
UmsNISmDm
UmsNI112Dm
IPMSDm
It can be stopped if
performance measurement is
not needed.
DC process
DCServer
1-7
interface
module
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Process
Function
Description
CFMSiDm
CLTSiDm
StdCltsiDm
TestDm
DSLMgrDM
EnpowerDm
Esrv5r3
It can be stopped if no
ESRV5R3 needs to be
managed.
HonetDm
ISN8850V5R2Dm
It can be stopped if no
ISN8850V5R2 needs to be
managed.
Ma5100V1Dm
It can be stopped if no
MA5100V1 needs to be
managed.
Ma5100V2R1Dm
It can be stopped if no
MA5100V2R1 needs to be
managed.
Ma5105Dm
Ma5200V1R6Dm
It can be stopped if no
MA5100V1R6 needs to be
managed.
Ma5200V1R7Dm
It can be stopped if no
MA5100V1R7 needs to be
managed.
1-8
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Process
Function
Description
Ma5200V1R9Dm
It can be stopped if no
MA5100V1R9 needs to be
managed.
Ma5300Dm
Md5500V1Dm
It can be stopped if no
MD5500V needs to be
managed.
Radium8750Dm
It can be stopped if no
Radium8750 needs to be
managed.
Ua5000Dm
IPMSDm
DC process
DCServer
iManager N2100
SwitchDm
It must be started.
HonetDm
It must be started.
IPMSDm
It must be started.
EnpowerDm
It must be started.
1-9
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Process
Function
Description
N2100MCsvr
It must be started.
Java
Report management.
To ensure the network connectivity between NMS workstation and the managed
NEs.
To ensure the network connectivity between lower NMS and upper NMS.
II. Reference
If a device node or board is not gray, it indicates that its communication is normal. If the
system prompts that the refreshing of device nodes or a device panel succeeds, it also
indicates that the communication of the device nodes is normal.
At the NMS client, select [Edit/Refresh Status] to view the colors of the device
nodes.
1-10
Color
Polling status
Green
Normal
Gray
Offline
Cyan
Slight fault
Yellow
Minor fault
Orange
Major fault
Red
Critical fault
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
SNMP devices have only three statuses: normal (green), offline (gray), and fault (red).
If a device icon shows the offline status, it may be caused by disconnection from
the network. In this case, select the icon, and then select [Edit/Device Access
Protocol]. In the dialog box as shown in Figure 1-3, click <Test> to check whether
the device connects well with the network. Then handle the problem accordingly.
If a device icon shows the fault status, select the icon, right click, and then select
[Browse Alarm] to view the alarm information. Then handle the problem
accordingly.
2)
For route switching device, clients, and upper or lower NMS device related to the
NMS workstation
Start a terminal under Solaris, ping other devices to check the connectivity. The
following takes ping 10.71.47.43 as an example.
# ping 10.71.47.43
10.71.47.43 is alive
If the above information is displayed, it means that the device connects well with the
network.
z
Open the DOS window from the Windows, ping other devices to check the
connectivity. The following takes ping 10.71.47.43 as an example.
C:\>ping 10.71.47.43
Pinging 10.71.47.43 with 32 bytes of data:
1-11
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
0ms, Average =
0ms
If the above information is displayed, it means that the device connects well with the
network.
II. Reference
Based on severity, device alarms fall in four levels: critical, major, minor, and warning.
For the meaning of alarm icons of the four levels, see Table 14, Table 15, and Table
16.
Table 14 Icons of unrecovered alarms and their meaning
Legend
Color
Alarm level
Cyan
Warning
Yellow
Minor
Orange
Major
Red
Critical
1-12
Color
Alarm level
Cyan
Warning
Yellow
Minor
Orange
Major
Red
Critical
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Color
Alarm level
Cyan
Warning
Yellow
Minor
Orange
Major
Red
Critical
If a device alarm status icon is displayed in the topological view, it indicates that
the device has reported an alarm. In this case, select the icon, right click, and then
select [Browse Alarm] to view the alarm information of the device.
After querying the current alarm, focus on the critical and major alarms. Locate the fault
based on the alarm details and the possible fault cause given by the system, and then
handle the problem accordingly.
II. Reference
The NMS database needs to be automatically or manually backed up to the specified
directory or medium. By default, the NMS database is backed up to the backup
directory under the installation directory of the iManager N2000.
1-13
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
If the automatic backup function is enabled, view the database backup files in the
specified directory or medium to check whether the automatic backup is normal. If
necessary, back up the database manually and keep the latest backup files, so as to
minimize data loss and recover the NMS quickly in case of faults.
During daily maintenance, two backup modes are available: manual backup and
automatic backup. The automatic backup is preferred over manual backup to ease
daily maintenance.
z
1)
Double click
2)
Select [System/Add Database Server] to configure the database server, and then
log in.
3)
4)
5)
6)
1)
Start the database backup tool, and then log in to the server node to be backed up.
2)
3)
In the Select database set to backup area, select the database set to be backed
up, and then click <Next>.
4)
In the Selection backup device, select the target device, and then click <Finish>.
5)
It is recommended that the automatic backup be done between 00:00 and 06:00 so that
the normal maintenance operations will not be affected. The manual backup is
recommended to be done when the load of the NMS server is not heavy.
Note:
For details on the automatic backup and manual backup, see 3.2 Database Backup Tool".
1-14
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
II. Reference
The configuration data of NEs should be automatically or manually backed up to the
specified directory of the TFTP/FTP server. The default directory is ./TFTP/backup.
1)
2)
Double click
3)
4)
Select [Options/Config Default Save Policy] to configure the default backup policy.
5)
Select a device type node, right click, and then select [Configure Backup Policy] to
Select a device type node, right click, and then select [Run Backup Policy] to run
1)
In the device navigation tree, select a device, right click, and then select [Backup].
2)
3)
After the configuration data of all the selected devices are backed up, click
<Close> to end the backup operation, or click <Restart> to back up the NE data
again.
Note:
For details on the automatic backup and manual backup, see HUAWEI iManager N2000 Fixed Network
Integrated Management System Data Center User Manual.
1-15
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
II. Reference
Check whether any malicious or unauthorized operations are performed.
2)
3)
In the Log Browse dialog box that appears, view the operation logs of the NMS
users.
II. Reference
View the users of the NMS and NMS workstation, clear illegal users, and adjust the
authority of common users reasonably.
2)
To manage the users of the NMS workstation, at the Solaris maintenance terminal,
switch to a superuser by entering #admintool. In the window that appears, do as
follows:
3)
1-16
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
The user authority must be allocated based on user group and operation set. The users with the same
authority should be added to the same group. The authority must not be allocated based on a single user,
otherwise the performance of the NMS will be affected.
To view the automatic dumping status and automatic backup status of the system
and ensure that enough free space is available in the database system for storing
data and logs.
To monitor the usage of the database space and expand the database space (if
necessary), so as to prevent error and data loss due to insufficient space.
II. Reference
The free database space must be determined according to the system requirement. We
recommend that the used database space be less than 80%.
1-17
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
z
For FaultDB, the system supports automatic dumping, manual dumping, and
dumping when the database is full.
1)
2)
In the "Dump Alarm dialog box as shown in Figure 1-5, set the dumping
conditions, and then click <OK> to manually dump the alarm data and event data.
4)
In the Dump&Sync&Ack dialog box that appears, click the Others tab, as
shown in Figure 1-6.
Set Auto Ack after Alarm Clear, Enable Alarm Auto Dumping, Enable Event
Auto Dumping, Dump Alarms When Overflow, and Dump Events When
Overflow, and then click <OK>.
1-18
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
z
The automatic alarm dumping period be 7 days and the alarms to be dumped be those generated 7 days
ago.
The automatic event dumping period be 2 days and the alarms to be dumped are those generated 2 days
ago;
20% of the alarm/event data be dumped when the alarm/event database is full.
These values can be changed based on the network size.
z
Historical alarms can be dumped automatically but current alarms cannot. By default, the automatic
dumping operation is performed at 1:00 A.M.
The current alarm table can store up to 50,000 alarm records. The history alarm table store can store
up to 1,000,000 history alarm records. The event alarm can store up to 100,000 event records.
6)
If the automatic alarm dumping and automatic event dumping functions are
enabled, view alarm dumping files and event dumping files in the directory for
automatic dumping (../serve/dump/ by default) to check whether the dumping
functions are normal.
For LogDB, the system supports automatic dumping, manual dumping, and
dumping when the database is full.
1)
2)
In the Dump Log dialog box as shown in Figure 1-7, set the dumping condition,
and then click <OK> to manually dump the user logs.
4)
In the System Setting dialog box that appears, click the Log Dumping tab, as
shown in Figure 1-8.
1-19
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
z
Automatic log dumping period be 90 days and the logs to be dumped are those generated 2 days ago.
300,000 log entries be dumped when the log database is full.
These values can be changed based on the network size.
z
6)
If the automatic alarm dumping and automatic event dumping functions are
enabled, view alarm dumping files and event dumping files in the directory for
automatic dumping (../serve/dump/ by default) to check whether the dumping
functions are normal.
1)
2)
3)
1-20
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
4)
At the SysMonitor, select [System/Stop All Processes] to stop all the NMS
processes to disconnect the database to be expanded from the NMS.
5)
root@umstest44 # . /n2kuser/.profile
root@umstest44 # isql -Usa -Psa_password -SN2000DBServer
6)
1>
disk
init
name=myextenddevicename,
Note:
name=device name
physname=name of physical device
vedev=virtual device number
//Path and name of the file where the device data is saved.
numbers.
size=device capacity
7)
//Measured in 2k.
Note:
dbname
//Name of the database to be expanded; for example, IPMS, LogDB, and FaultDB.
myextenddevicename
myextenddevicename=available capacity
//Measured in 1M.
To store both log entries and data in the database device, run these commands:
1>
alter
database
dbname
myextenddevicename2=50
2> go
1-21
on
myextenddevicename1=100
log
on
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
If you want to expand the database to a bare partition, set the name of the physical device to that of the
bare partition when creating the database device.
8)
9)
At the SysMonitor, select [System/Start All Processes] to start all the NMS
processes.
Note:
z
The database expansion is applicable to Sybase. The SQL Server supports automatic expansion, so it
is not necessary to expand it manually.
After the database is expanded, the initial configuration cannot be restored. The database space
cannot be expanded without limit. Therefore exercise caution when expanding the data section and
log section.
II. Reference
The used space of each partition should be less than 80%.
1-22
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Copy the automatically dumped alarm files from the directory for automatic alarm
dumping to a tape drive or another storage medium, and then clear the alarm files
from the directory for automatic alarm dumping.
2)
Copy the automatically dumped log files from the directory for automatic log
dumping to a tape drive or another storage medium, and then clear the log files
from the directory for automatic log dumping.
3)
II. Reference
z
1-23
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Check the temperature, humidity, and cleanness inside the equipment room.
2)
3)
Check the keyboard, mouse, display, network adapter, serial port, power cable,
network cable, and CD-ROM of the workstation.
4)
Check whether the NMS server is equipped with UPS and whether the NMS is
provided with reserved power supply.
5)
6)
Check whether the reserved power supply of the NMS is connected well and
whether any contact point is eroded.
7)
Check whether the power socket is connected well and whether the switch is
normal.
8)
II. Reference
None.
1-24
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
NMS IP address:
Duty time
(Hour)
Date: (Month)
Shifted
from
(Hour)
Maintenance items
Result
Normal
Abnormal
Normal
Abnormal
Viewing
information
Normal
Abnormal
topology/alarm
Normal
Abnormal
Contents
Normal
Abnormal
Summary:
Duty
contents
Outstanding problems:
Supervisors feedback:
1-25
(Day)
(Year)
Shifted
to
Remark
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
NMS IP address:
Maintenance period:
From (Month)
(Day)
(Year) to (Month)
(Day)
(Year)
Maintenance items
Backing up
database
NMS
Backing up
configuration
device
Maintenance contents
Remarks:
1-26
Maintenance
person
Maintenance time
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
2)
ksh
. /n2kuser/.profile
3)
cd /opt/sybase/ASE-12_0/install
./startserver -f ./RUN_N2000DBServer
4)
cd /opt/n2000/server/bin
sh ./startn2000.sh
Caution:
Do not shut down the NMS workstation by using halt (for Solaris) or by cutting the power supply, otherwise
the system may fail to recover.
Run the SysMonitor, and then stop all the NMS processes.
2)
ksh
. /n2kuser/.profile
isql -Usa -Psa_password -SN2000DBServer
1>shutdown
2>go
3)
#sync
#init 5
1-27
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
Chapter 2 Troubleshooting
This chapter introduces alarm definition and categories. It presents general procedure
and methods for troubleshooting. It also provides some typical troubleshooting cases
for reference.
II. Alarm ID
An alarm ID identifies an alarm uniquely. It consists of four bytes. Each alarm ID
corresponds to one alarm. Alarm IDs are usually allocated according to alarm type and
alarm module type.
A critical alarm refers to a global alarm that endangers the normal running of
devices and needs to be handled immediately. For example, power failure and
clock output fault are critical alarms.
A major alarm refers to a board alarm or line alarm occurred within a specified
range. It needs to be handled immediately, otherwise the normal running of the
user services will be affected. For example, fiber cut and physical line fault are
major alarms.
A minor alarm refers to an ordinary fault alarm or event alarm that indicates
whether a board or line is normal. For example, bit error on a physical line is a
minor alarm.
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
z
Environment alarm
Trunk alarm
Hardware alarm
Software alarm
Running alarm
Communication alarm
QoS alarm
Process alarm
Chapter 2 Troubleshooting
2.1.2 Terms
I. Real-time alarm display
Real-time alarm display means that the newly reported alarms are displayed in real
time. In this way, you can keep track of the operation status of devices.
The real-time alarm browser displays the recently generated alarms matching the filter.
It automatically scrolls up to display the latest alarms.
V. Alarm acknowledgement
Alarm acknowledgement means confirming an alarm. The alarm acknowledgement
status (acknowledged or unacknowledged) indicates whether an alarm is handled by
the user.
Manual acknowledgment and automatic acknowledgement are supported.
2-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
After the NMS receives the corresponding recovery alarm, the alarm becomes
recovered .
After the fault is eliminated and the alarm is recovered, the alarm needs to be
acknowledged manually or automatically. After that, the alarm becomes
acknowledged.
Acknowledged &
unrecovered alarm
Recovery
Acknowledgement
Unacknowledged &
recovered alarm
Historical alarm
Note:
An alarm usually reflects a fault. When a device is faulty, it sends an alarm to the NMS. The NMS receives
the alarm in real time. Therefore, after you analyze and locate the alarm cause and take corresponding
measures to eliminate the fault, the alarm will recover.
Collecting information.
2)
3)
4)
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
Judging fault
Locating fault
Collecting info.
Eliminating fault
Fault eliminated?
Y
Acknowledge alarm
2-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
The engineers from Huawei may guide you through some operations to collect more
information about the fault or to eliminate the fault. Therefore, you need to make
necessary preparations.
2-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
2-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
III. Solution
Follow this procedure to change the Windows login password of the SQL Server:
1)
2)
3)
4)
5)
From the database server list on the left, right click the desired server, and then
select [Properties].
6)
In the SQL Server Properties dialog box that appears, click the Security tab.
7)
In the Startup service account area, select This account, and then change the
password of administrator to the new one, and then click <OK>.
8)
In the dialog box that appears, click <Yes> to restart the database server.
2-7
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
III. Solution
1)
Set the shared memory: Add this line to the end of the /etc/system file, and the
save the change.
set shmsys: shminfo_shmmax = actual size of the physical memory of the
workstation (M) *1024*1000
2)
3)
2.4.3 The NMS Cannot Be Installed After the SQL Server Is Reinstalled.
I. Symptom
After uninstalling the SQL Server and NMS from the computer, I try to reinstall them to
the original installation directory. During the installation, the SQL Server already runs
and all the parameters are set correctly, but the system prompts that the reinstallation
of the NMS fails.
III. Solution
1)
2)
In the SQL Server Enterprise Manager window that appears, select Databases
under SQL Server Group, as shown in Figure 2-3.
2-8
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
Delete all databases except master, model, msdb, pubs, and tempdb.
4)
Note:
Before uninstalling the SQL Server, back up the important databases and delete the data files from the
NMS databases. After that, uninstall the SQL Server and then reinstall it.
2.4.4 The NMS Client and SysMonitor Cannot Be Used Due to Unsuccessful
Start of the NMS Daemon.
I. Symptom
After I install the NMS and restart the NMS server, the NMS client cannot be used, and
the system prompts that the communication connection cannot be established. When I
try to use the SysMonitor, the system also prompts that the communication connection
cannot be established.
I check the NMS database and find that it fails to start. I check and set the environment
variables and start the NMS database manually. Then I try to use SysMonitor, but the
system still prompts that the communication connection cannot be established.
2-9
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
III. Solution
1)
2)
3)
4)
If the system still prompts that the communication connection cannot to be established,
it is possible that the related NMS processes do not start automatically after the NMS
database starts.
5)
Check whether the NMS start script is available under the NMS installation
directory.
6)
7)
8)
2.4.5 The Security Daemon Fails to Start After the License Is Updated.
I. Symptom
The Solaris, Sybase, and NMS server run well, but the security NMS daemon fails to
start after the license is updated.
2)
The format of the license file is not the text format of the Solaris.
III. Solution
1)
Check
whether
valid
license
file
is
available
in
the
$N2000ROOT/server/license directory.
2)
If a valid license file is available, transfer it to the NMS server in ASCII format
through FTP, and then update the license file.
3)
2-10
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
Note:
The license generator runs under Windows, so the format of the generated license file is different from the
text format of UNIX. After the license file is transferred to the Solaris server in ASCII format (asc mode)
through FTP, its format can be converted automatically.
III. Solution
1)
Use netstat a to check whether any other process is using the port.
2)
If a process is using the port, stop the process, and then start the fault daemon.
2.4.7 The iManager N2000 UMS Fails to Add an AMG Due to Incorrect snmp
port.
I. Symptom
An AMG5000 cannot be added to the iManager N2000, and the system prompts that
the SNMP device cannot be created due to insufficient authority.
III. Solution
1)
2)
3)
4)
If no record of the local NMS workstation is available, use nms add to add it.
5)
If the local NMS workstation is added to the AMG5000, check whether the
community names and IP address set on the AMG500 are consistent with those
set in the NMS.
6)
2-11
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
7)
Chapter 2 Troubleshooting
If the snmp port of the AMG5000 is not 0, activate the local NMS workstation
using no nms active, change snmp port to 0 using nms modify, and then
activate the local workstation using nms active.
8)
2.4.8 The iManager N2000 UMS Cannot Receive Alarms from a TMG Due to
an Incorrect Alarm Language.
I. Symptom
A TMG is already added to the NMS. When I reset the TMG, no alarm information of the
TMG is displayed in the fault browser of the NMS. I use Sniffer to capture packets and
find that some alarm information is reported by the TMG to the iManager N2000 UMS.
Because the TMG is successfully added to the NMS, it indicates that SNMP
parameters such as snmp-server acl, snmp-server community ro, and
snmp-server community rw are set correctly on the TMG.
2)
I use Sniffer to capture packets and detect some alarm information is reported by
the TMG to the iManager N2000 UMS. It indicates "traphost" is set correctly.
3)
I use Sniffer to capture packets and detect various alarm levels. It indicates that
traphost level is set correctly.
4)
I use Sniffer to capture packets and detects that some alarm information appears
in Chinese, indicating that traphost language is set to Chinese. I also detect
some illegal characters, indicating that the alarm language is set improperly.
III. Solution
1)
2)
3)
4)
View the fault browser to check whether TMG alarms are generated.
2.4.9 The iManager N2000 UMS Fails in Circuit Test and Loop Line Test
Because No Test Group Is Created on the AMG.
I. Symptom
An AMG is added to the NMS, and operations such as board addition and query can be
performed on the AMG. However, an error message is displayed during the test of the
circuit/loop line of the ASL board.
2)
2-12
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 2 Troubleshooting
III. Solution
1)
2)
If the self-test succeeds, view the test group configuration of the AMG to check
whether a TSS board is specified for the ASL board.
3)
4)
Test the circuit and loop line of the ASL board through the NMS.
2.4.10 The Line Test Fails Because an Incorrect NMS IP Address Is Set on the
MD5500.
I. Symptom
A UA5000 is attached to the MD5500. The NMS server is connected to an external
network port on the ASX board of the MD5500 to manage the MD5500 and
UA5000.However; the NMS always fail to test the line of the UA5000 due to time-out.
2)
3)
III. Solution
1)
2)
3)
If the test result is normal, it indicates that the MD5500 is configured correctly and
the TSS board is normal.
4)
Send a line test command from the NMS server, and check whether the network
card sends any traffic.
5)
If the network card sends traffic, it indicates that the command is sent.
2-13
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
6)
Chapter 2 Troubleshooting
Check whether the TSS board generates sound to indicate the on/off status of the
relay.
7)
If the TSS board generates such sound, it means that the line test is underway,
and that the test command is sent and is executed by the TSS board successfully.
In this case, it is possible that the MD5500 have not reported the test result.
8)
View the data configuration on the NMS server to check whether the NMS IP
address configured for the MD5500 is the IP address of the IPoA gateway.
9)
If the NMS IP address is the IP address of the IPoA gateway, change it to the IP
address of the external network port on the ASX board.
Note:
z
The MD5500 sends data, (for example, fault data) to the NMS server through the external network port
on the ASX board.
If the NMS manages the MD5500 through the IPoA gateway, the MD5500 and the panels of the slave
frames can be viewed, and some simple maintenance operations can be performed. But in this case,
the NMS server cannot receive line test data and fault data, which requires the use of an external
network port.
2-14
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
2)
Please input the new password of the iManager N2000 system database user:
Press ESC then Enter to exit without doing anything:
3)
4)
Done. Please check the above information. Be sure there is no any error before
restarting your NMS.
# cd /opt/n2000/server/bin
# ksh
# . /n2kuser/.profile
# ./DbPwdTool
iManager N2000 Database Password Tool
Please input the password of super user "sa" of the database server.
Press ESC then Enter to exit without doing anything:
3-1
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
2)
Please input the new password of the iManager N2000 system database user:
Press ESC then Enter to exit without doing anything:
3)
4)
Done. Please check the above information. Be sure there is no any error before
restarting your NMS
Note:
z
If you change the password of N2000user in the database but does not change the encrypted
password of N2000user stored in the configuration file the same time, the NMS daemon will fail to
start.
Using the database password tool, you can change the password of "N2000user" in both the database
and the configuration file of the NMS daemon at the same time.
I. Preparations
Configure the NMS database to be backed up or recovered and the related database
set, backup policy, and backup device.
3-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Caution:
The database backup tool is an independent component. To use this tool, select and install it when you
install the NMS.
3.2.1 Preparations
Before backing up or recovering the NMS database, make the following preparations:
In Solaris, right click on the CDE desktop, and then select [iManager N2000/
N2000 Database Backup Tool].
To start the tool from the command line, do one of the following:
z
Assuming
that
the
iManager
N2000
is
installed
in
$n2000,
run
In Solaris, start the database backup manually. We recommend that you start it
from the background by appending &" to the command. If so, the related output
information is not displayed on the interface.
2)
3)
Click <Add>.
4)
The server node appears in the navigation tree on the left, as shown in Figure 3-1.
3-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
In the navigation tree on the left, select the server node to be deleted.
2)
3)
Caution:
z
If the added NMS database server does not exist, you cannot log in from the database backup tool.
3-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
1)
2)
Click <Add>.
3)
In the dialog box that appears, set the name of the database set; for example,
DB.
4)
Use
and
Click <Finish>.
6)
The added database set appears in the All Database Sets area.
z
1)
In the All Database Sets area, select the database set to be deleted.
2)
Click <Delete>.
A dialog box shows details about the database set, including name of the set and the
included databases.
3)
Click <Finish>.
3-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
The selected database set disappears from the All Database Sets area.
Note:
The name of a database set must be unique. It must not begin with the underscore _.
In the navigation tree, select the Auto Backup Policy node under a database.
2)
Click <Add>.
3)
In the Add Time Policy area, as shown in Figure 3-3, set the following
parameters:
If you select Weekly, specify the day of each week for starting the backup task,
ranging from Monday to Sunday. If you select Monthly, specify the day of each month
for starting the backup task, ranging from 1 to 31.
z
Start Time: Time for starting the backup task. The range is 023 hours.
3-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Click <Finish>.
5)
The automatic backup policy appears in the Add Time Policy area.
Caution:
If Day 31 is specified, the backup task shall not start in a month that has only 30 days.
In the Add Time Policy area, select an automatic backup policy, and then click
<Modify>.
2)
In the Modify Time Policy area, set the backup frequency (daily, weekly, or
monthly) and the backup time.
3)
Click <Finish>.
A dialog box prompts the success, and the system updates information about the
automatic backup policy.
To delete an automatic backup policy, do as follows:
1)
2)
Click <Delete>.
3-7
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Click <Finish>.
A dialog box prompts the success, and the selected automatic backup policy
disappears from the Add Time Policy area.
Caution:
The name of an automatic backup policy is unique and case sensitive. It must not begin with the
underscore _.
In the navigation tree on the left, select Backup Device node under a database.
2)
To change the backup device, select the desired device type: disk or tape.
3)
If you select disk, the system displays these parameters: Backup Device Name,
Backup device type, User Backup to, and Current Backup to. Click <Modify>
to change User Backup to.
If you select tape, the system displays these parameters: Backup Device Name,
Backup device type, and Backup to. Click <Modify> to change Backup to.
4)
5)
Note:
z
In general, User Backup to" and Current Backup to are set to the same directory.
When the directory of User Backup to is not available, the system switches to current directory of
Current Backup to, for example, the backup subdirectory under the installation directory of the
iManager N2000.
If the directory of User Backup to becomes available when the system backs up data to the directory
of Current Backup to, the system switches to the directory of User Backup to.
3-8
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
If you select a tape for database backup, before backing up the Sybase or SQL Server
database, initialize the tape in this way:
1)
2)
Select [View/Log].
In the navigation tree on the left, select the Log node under an NMS database.
2)
Log Type: Type of the records to be displayed. The options include All, Backup,
and Restore.
Time: Period of the records to be displayed. The options include Latest Month,
Latest Three Months, Latest Half Year, and Latest One Year.
3)
Click <Next>.
All the matching logs appear in the Operation Log area, as shown in Figure 3-4.
3-9
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Select [View/Database].
2)
Details about the database appears in the Description area, including database name,
space, occupied space, and creation date
In the navigation tree on the left, select the Manual Backup node under a
database.
2)
In the Select database set to backup area, select a database set, and then click
<Next>.
3)
In the Selection backup device area, select the target device, and then click
<Finish>.
4)
2)
3)
In the navigation tree on the left, select Auto Backup Task under a database.
4)
5)
In the Select database set area, select a database set, and then click <Next>.
6)
In the Select time policy area, select a backup policy, and then click <Next>.
7)
8)
Click <Finish>.
9)
3-10
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
The added backup task appears in the All Time Policies area.
To delete an automatic backup task, do as follows:
1)
2)
3)
Click <Delete>.
Click <Finish>.
5)
The selected task disappears from the All Time Policies area.
Note:
z
You can configure an automatic backup task only after configuring a database set, an automatic
backup policy, and a backup device.
Before backing up a Sybase database, you need to start the backup database
N2000DBServer_back; otherwise, you cannot backup the database using the backup tool.
2)
In the Select backup device area, select a device, and then click <Next>.
3)
In the Select database set to restore area, select a database set, and then click
<Next>.
4)
In the Select one backup area, select the desired backup record.
5)
6)
After a database is backed up, the system generates a backup folder named after the
backup time in the backup directory. For example, if the backup time is 2004-4-9
12:06:08, the backup folder is named 20040409120608. Therefore, you can locate
the directory of the database to be recovered based on the backup time.
3-11
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Caution:
z
The name of a server, database set, and automatic backup policy must not contain any character in
this set: `~!@#$%^&*()\":;?/\\,.|{}[]<> '+=-.
Before recovering a database, make sure that neither NMS user nor other user connects with the
database; otherwise, the recovery fails.
Before recovering a database, stop all the processes through the SysMonitor except the Database
Backup Process.
3-12
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
I. PC/PC workstation
For a PC or PC workstation, connect the serial cable attached to the modem to the
serial port of the PC or PC workstation, connect the phone line to the Line port on the
modem.
4-1
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
Because the serial cable attached to the modem is usually Female--------Male, do not use it to connect
the modem to the SUN workstation.
Figure 4-1 shows the connection. Connect the phone line to the Line port on the
modem.
Ground (GND)
20
20
Note:
Connect the modem and install its driver before you set the network connection parameters.
2)
In the Network Connection Wizard dialog box that appears, click <Next>.
4-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
The Network Connection Type dialog box appears, as shown in Figure 4-2.
The Devices for Incoming Connections dialog box appears, as shown in Figure 4-3.
4-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
The Incoming virtual private connection dialog box appears, as shown in Figure 4-4.
Click Not Allowed Virtual Private Connection, and then click <Next>.
Click <Add>.
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Click <Next>.
Select all the listed network components, and then click <Next>.
The Completing the Network Connection Wizard dialog box appears, as shown in
Figure 4-8.
4-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Enter a name for the network connection, and then click <Finish>.
2)
In the Network Connection Wizard dialog box that appears, click <Next>.
The Network Connection Type dialog box appears, as shown in Figure 4-9.
4-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
The Phone Number to Dial dialog box appears, as shown in Figure 4-10.
5)
4-7
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
6)
7)
8)
Click <Next>.
Note:
If you want to configure a local call, it is not necessary to select Use dialing rules. Only the Phone
number is needed.
Click For all users or Only for myself (recommended), and then click <Next>.
2)
In the dialog box as shown in Figure 4-12, enter the user name and password of a
valid user of the dial-up server and the phone number of the dial-up server (NMS
server.
3)
Click <Dial>.
4-8
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
When a SUN workstation serves as the PPP server, there are two kinds of virtual
network interfaces: ipdptpn and ipdn (where n indicates the device number. Serial
port A corresponds to 0 and serial port B to 1). For ipdptpn interface, one modem
can only connect to one PPP client. For ipdn interface, one modem can connect to
multiple PPP clients.
Currently, the iManager N2000 supports PPP client that is based on static IP
address. If a PC serves as the PPP client, set "PPP" as the server type when
setting the connection attributes, and select the specified IP address when setting
TCP/IP attributes. Do not change other settings.
The dial-up script must be compiled according to the type of modem. It is hard to
do so when you configure dial-up service on the workstation. Three types of
modems are recommended: Robotics, Hayes, and Etek. The configuration of
Hayes modem is introduced here.
Unix to Unix Copy Protocol (UUCP) software and PPP software need to be
preinstalled on the workstation (they are already installed on the current
workstations). If necessary, use this command to install the PPP software:
4-9
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Connect the modem to the serial port, and then use this command to check whether the
modem is properly connected (assume that the modem is connected to serial port A):
# tip /dev/cua/a
connected
The IP addresses of the PPP server and PPP client are set to 192.168.55.1 and
192.168.55.2 respectively.
On the PC, load the file ppp.tar to the directory /usr/local/rms/ as the user root.
Note that this file is transmitted in binary system.
Log in to the workstation as a superuser, and then decompress the file ppp.tar.
# cd /usr/local/rms
# tar xvf ppp.tar
z
Connect the modem to the workstation and phone line, and then power on the
modem. On the workstation, enter the PPP directory, and then configure the PPP
server as below:
# cd PPP
# sh setup_ppp.sh (or use ./setup_ppp.sh).
z
Specify the computer as the remote monitor server (options are client and server.
By default it serves as the client): server
Input the type of the used modem: Hayes, Robotics, or Etek. It is case-sensitive. It
is Hayes by default.
Re-enter new password: (Input the password of the PPP user again)
4-10
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Caution:
If you have forgotten the password of "ppp_user", log in as a superuser and then change the password
using the command passwd ppp_user.
Input these two commands to control the Hayes modem (we recommend that you copy
and paste them).
AT&FN0Q2X0&C1&D2S0=1&W&y<CR>: Set parameters of modem
~.<CR>: End the session with modem
Caution:
Input the above two commands at the beginning of the line. <CR> stands for Carriage Return.
If an Etek modem is used, change the AT commands used to communicate with the
modem to:
ATX0&C1&D2S0=1&W
connected
AT&FN0Q2X0&C1&D2S0=1&W&y
OK
~.
[EOT]
#
Note:
z
Both serial ports a and b are ok. You are recommended to select 19200bps as the serial port baudrate.
You are recommended to input the AT commands for communicating modem with Copy and Paste.
To end the session with the modem, type ~ at the beginning of the line.
3)
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
# /etc/init.d/asppp start
Stop asppp
# /etc/init.d/asppp stop
After "asppp is started on both the server and the client, ping the server to
Note:
z
The dial-up may take some time. If you ping the server for the first time, a time-out might occur. "N" is
used to set the time-out period of the command ping.
You can check the connection state by viewing the log files (see "4.5 Troubleshooting" or the LEDs on
the modem.
Where 0,163 indicates the phone number of the PPP server. Modify it directly.
2)
Log in to the server a superuser, and then edit the file /etc/hosts:
...
192.168.55.1
ppp_server
192.168.55.2
ppp_client
...
If the client is a workstation, change the IP address in the above way. If the client is
a PC, enter the IP address of the ppp.chient in the file /etc/hosts at the server.
The IP addresses of the PPP server and all PPP clients must be within the same
subnet.
3)
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
z
ppp_server
192.168.55.2
ppp_client
...
Note:
If the virtual network interface is ipdn, the format of the file asppp.c is different from the one listed above.
Simply modify ppp_server and ppp_client.
Change the type of the virtual network interface of the server to ipdn
ppp_client
...
5)
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
z
Log in as a superuser, and then add the IP addresses of the clients to the file
/etc/hosts.
...
192.168.55.1
ppp_server
192.168.55.2
ppp_client
192.168.55.3
ppp_client2
192.168.55.4
ppp_client3
...
z
Log in as a superuser, and then add the description of the paths to the file
/etc/asppp.cf,
ppp_client
...
#Connection parameter setting of ppp_client1(192.168.55.3)
path
...
peer_ip_address
ppp_client1
...
For all the paths, the peer_ip_address is different but other parameters are identical.
Log in as a superuser, and then add the ppp network number to the file /etc/networks ,
...
pppnet
2)
192.168.55
ppp
#ppp network
3)
255.255.255.0
If the virtual network interface is ipdn, create the file /etc/hostname.ipdn. If it is ipdptpn,
create the file /etc/hostname.ipdptpn .
Enter the PPP host name, and then log in as a superuser.
# vi /etc/hostname.ipdn
ppp_server
Save the file, and then restart the workstation.
4)
4-14
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Check whether the routing process (in.routed, in.rdisc) of the access server has been
started.
# ps -ef | grep in.routed
# ps -ef | grep in.rdisc
If not, run these commands:
# /usr/sbin/ndd -set /dev/ip ip_forwarding 1
# /usr/sbin/in.routed -s
# /usr/sbin/in.rdisc -r
5)
Set a default route at the PPP client, with the gateway being ppp_server.
# route add default ppp_server
6)
At the LAN host side, set a route to the PPP network, with the gateway being the
Ethernet IP address of the PPP server.
# route add 192.168.55.0 xxx.xxx.xxx.xxx
2)
The remote end runs the iManager N2000 Client, inputs 192.168.55.1: 9801 in
the server input box, and then the user name and password provided by the
operator, and clicks <Login>.
4-15
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Caution:
z
Both parties establish communication connections in between. The remote maintenance client must
get information such as the phone number of the opposite end, dial-up user name and password. Then
dial in iManager N2000 NMS Workstation of the operator.
For the sake of security, set one TELNET connection for the SUN workstation and disable the FTP
function.
2)
The remote end runs the iManager N2000 Client, inputs 192.168.55.1: 9801 in
the server input box, and then the user name and password provided by the
operator, and clicks <Login>.
Note:
z
If the dial-up connection at the server side is disconnected, restart the SS module of the NMS Server.
For the sake of security, the number of the login users is limited.
4.5 Troubleshooting
I. Failed to connect to SUN workstation
1)
Check whether the connections are correct, especially the connection of the SUN
workstation. Check whether the modem is connected properly. The phone line
must be connected to the jacket marked line.
2)
Make sure that connection of the modem is normal. If a message similar to the
following appears during the setup, it means that the modem is improperly
connected:
4-16
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
In this case, check the condition of the lines and make sure that the modem is switched
on. Use tip termb (or terma, respectively indicates that the modem is connected to
serial port b or a) or tip -19200 /dev/cua/b (a) to connect the modem.
z
If "OK is returned, it indicates that the modem is normal. Input ~ to exit, and then
set setup_ppp.sh again.
For more information about debugging modem, see the document Modem_conf.pl.
You can open this file with an HTML browser.
Caution:
To use terma or termb, the setup_ppp.sh must be set correspondingly. terma or termb is an entry to file
/etc/remote.
3)
Make sure that the password of ppp_user input at the client side is identical to the
one set at the server side. Run vi to view the file /etc/uucp/Systems. The
password of ppp_user is located at the last row (login: ppp_user word:) of the file.
It must be identical to the one set at the server side. To change the password of
ppp_user without setting PPP again, log in as a superuser, and use
/usr/bin/passwd ppp_user to change the password of ppp_user.
4)
5)
6)
It means that the PPP user name set at the client side might be inconsistent with the
one set in peer_system_name in /etc/asppp.cf at the server side. If so, make them
consistent.
4-17
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
III. Frequent problems with the PC workstation serving as the dial-up client
1)
Illegible characters appear in the PC client login window. The likely reason is that
the baudrate of the PC client is not set to 19200.
2)
Make sure that the dial-up server is correctly installed and is bound with TCP/IP.
Problems may occur if multiple dial-up servers are installed.
4-18
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
Chapter 5 FAQ
This chapter presents answers to the frequently asked questions about the
maintenance of the iManager N2000.
2)
Put the Solaris installation CD-ROM into the CD-ROM drive, and then run boot
cdrom.
Method 1: Enter the IP address of the Sun workstation correctly in the "Configure
Network" option while installing the operating system.
1)
2)
Open the "/etc/netmasks" file and change the network mask. If the corresponding
item is unavailable, add "host IP network mask", for example, "10.110.1.1
255.255.0.0".
3)
/etc/hostname.hme0
/etc/hosts
/etc/nodename
1)
Change the host name of the three files to the desired one.
2)
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
set npty=100
set pt_
cnt=100
2)
This example adds a route to the network segment 192.168.0.0, with the gateway IP
address being 10.11.201.254.
#route add 192.168.0.0 -netmask 255.255.255.0 10.11.201.254
After you restart the operating system, the route added in this way does not exist.
Therefore, add the corresponding route configuration command to the start script; for
example, add it to the end of the /etc/rc3 file.
z
For example:
#route delete 192.168.0.0 -netmask 255.255.255.0 gateway
5-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
To avoid loss of the route, add the route configuration command to the end of the
/etc/rc3 file. After that, the default route takes effect after you restart the workstation.
z
Enter the password of the superuser, and then run this command:
#fsck -y
Note that fsck can only be used to correct ordinary errors. It cannot recover the errored
start parameters or damaged kernel of the operating system caused by power failure.
5.1.12 Execution Authority of Files Is Lost When FTP Is Used to Send Files
If the execution authority of Setup is lost when the Setup is copied to a hard disk
through FTP program, change the authority of the file. Taking the installation script of
the NMS as an example, run this command:
# chmod +x setup.sh
To add the execution authority of all the files in the subdirectory, run this command:
chmod -R +x subdirectory name
5-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
5.2 Database
5.2.1 How to Change the Password of "sa" (Sun/Solaris/Sybase)?
"sa" is the user name of the Sybase system administrator. After the Sybase database is
installed, the password of "sa" is null by default.
The following example shows how to set the password to "abc123".
$ isql -Usa P
1> sp_password null, abc123
2> go
The password is set correctly.
(return status=0)
1> quit
The password of "sa" cannot be changed back to null after setting, so remember the
new password.
Method 1:
1)
Unfold the directory tree on the left and locate the security node.
3)
4)
In the "SQL Server Login Properties" dialog box that appears, set the password.
Method 2:
Modify the password through "isql". It is the same as the operations for Sybase. See
5.2.1 How to Change the Password of "sa" (Sun/Solaris/Sybase)?.
Log in to the database through isql, run shutdown SYB_BACKUP to shut down
the backup server, and run shutdown to shut down the master server.
2)
#cd /opt/sybase
#. ./SYBASE.sh
#cd /opt/sybase/OCS-12_0
#. ./OCS-12_0.sh
#cd /opt/sybase/ASE-12_0
#. ./ASE-12_0.sh
5-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
When you restart the NMS workstation, the database server usually starts
automatically.
Run this command:
#ps -ef|grep dataserver
directory are usually displayed. Locate the two files beginning with RUN_,
and enter the one without the suffix back.)
3)
If the database server has started, view the database server name.log file to check
whether the database file is faulty:
#cd $SYBASE/install
#tail -100 database server name.log (This command displays the last 100 start
records. You can change the number of the records to be displayed.)
Check whether the word error and error number are displayed.
For example, if the frequent Error 926 occurs, the following information is displayed:
Error: 926, Severity: 14, State: 1
00:00000:00001:2002/05/31 09:26:26.65 server Database 'FaultDB' cannot be
opened.
If the above error does not occur, check whether the NMS database is normal:
#cd $SYBASE/bin
#./isql -Usa P(password of sa)
5-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
Usually, the 1> prompt is displayed. If it is not displayed, check whether the database
server has started (see Step 1) and whether the password of sa is correct.
Then run these commands:
1>sp_helpdb
2>go
Eliminate fault
If an error message is displayed, recover the database according to the error number.
This example shows how to recover the FaultDB in case of Error 926:
Log in as sa using isql:
1>sp_configure "allow updates", 1
2>go
1>update sysdatabases set status =-32768, where name="FaultDB"
2>go
1>shutdown with nowait
2>go
Restart the SQL Server, and then register with it again as sa.
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
$cd /opt/sybase/bin
$./isql -Usa -Psa_password
1>sp_helpdb
2>go
Information about all the Sybase databases is displayed, including name, size, owner,
status, and so on.
2)
1>sp_helpdb dcnmdb
2>go
The basic information and space occupancy of the database are displayed.
$cd /opt/sybase/bin
$./isql -Usa -Psa_password
1>use db_name
2>go
1>sp_help
2>go
Information about all the data tables in the db_name database is displayed, including
name, owner, and type.
2)
1>sp_help table_name
2>go
1>dbcc checkdb(dcnmconsdb)
2>go
All data table information and error information of the database are displayed.
2)
1>dbcc checktable(tbl_Event)
2>go
5-7
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
1>dbcc reindex(tbl_Event)
2>go
5.3 NMS
5.3.1 A Device Can Be Pinged but the NMS Prompts That the Communication
of the Device Is Interrupted.
The device is configured with no or incorrect NMS parameters.
Configure the device with correct NMS parameters such as IP address of the NMS
server, and then activate them.
5.3.2 No Traffic Measurement Data Is Received After the Task Created on the
BAM Is Synchronized to the NMS.
No output port is specified when the task is created on the BAM.
When you create a task on the BAM using MML command line, an output port is not
mandatory. However, in order for the NMS to receive the traffic measurement packets,
an output port must be specified.
This problem does not occur when a task is created on the NMS, because the NMS port
is selected by default.
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Chapter 5 FAQ
installation directory, the operation will fail because NMS database files to be created
are already there.
Therefore, before uninstalling the SQL Server, back up the important database files,
and then delete all database files.
5.3.5 How to Prohibit the iManager N2000 from Running When Your
Computer Starts?
z
In Unix:
In Windows, do as follows:
1)
2)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
3)
Delete N2000SysMonitor.
5.3.6 How to Set CPU and Memory Alarm Thresholds for the iManager N2000
Workstation?
Set the emfmoni.cfg file under the \server\conf" in the installation directory of the
NMS server:
CpuThreshold=80 cpu: It is 80% by default.
DiskThreshold=90: It is 90% by default.
I. Operating system
z
If only the IP address is changed, open the /etc/hosts file, replace the old IP
address with the new one, and then restart the NMS workstation.
If the network mask is also changed, in addition to the above change, you also
need to change the mask in the etc/netmasks file.
If the gateway is changed, you also need to change the routing information in
the /etc/defaultrouter or /etc/rc3 file.
II. Sybase
If Sybase is installed (assume that the name is SUNR6), you need to change the
interfaces file of the database:
1)
2)
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
3)
Chapter 5 FAQ
In the Select a directory Server dialog box that appears, select Sybase
interfaces file, and then click <OK>.
4)
In the Directory Server Session dialog box that appears, select SUNR6 (the
master database), and then click <Modify Server entry>.
5)
In the Server Entry Editor dialog box, select li tcp :SUNR6 4100 from the
Available network transport list, and then click <Modify Network Transport>.
6)
In the Network Transport Editor dialog box that appears, enter the new IP
address of the workstation in the Host name box, and then click <OK>.
7)
Follow the above steps to change the IP address of SUNR6_BACK (the backup
server).
III. NMS
In the /n2kuser/.profile file, change
QNMSERV = original IP address of the server
To: QNMSERV = new IP address of the server.
If the formula aims to get a SUM, for each entity: result = SUM (all the
records)*(end timestart time)/SUM (period of all the records).
If the formula aims to get an AVG, for each entity, result = SUM (each record
value*period of the record) /SUM (period of all the records).
If the formula aims to get a MAX, for each entity: result = MAX (all the records).
If the formula aims to get a MIN, for each entity: result = MIN (all the records).
5-10
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix A SNMP
Appendix A SNMP
A.1 Introduction
I. Concept
Simple network management protocol (SNMP) is widely used to ensure transmission of
management information between any two points. It runs over user datagram protocol
(UDP).
II. Features
SNMP includes SNMP V1, V2, and V3. They are based on the UDP/TCP/IP.
The SNMP features the following:
z
It replaces complex command set with GET-SET mode. You can adopt the
standard management information base (MIB) or define your MIB.
III. Model
The SNMP resides at the application layer and runs over the UDP.
Figure A-1 shows the model of the SNMP.
SNMP
UDP
IP
Data link layer
Physical layer
A.2 Architecture
The SNMP consists of NMS and agent, as shown in Figure A-2.
A-1
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix A SNMP
NMS
UDP Port 162
Request
Response
Trap
Agent
Managed device
A managed device is also known as a network element (NE). The SNMP agent runs on
an NE to collect and store management information. The NE can be a router, a switch,
a Hub, a printer, and so on.
z
Agent
NMS
The NMS sends query packets to the network devices. It also receives and displays the
responses and traps from the managed devices.
A-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
1)
Appendix A SNMP
Decodes the packet based on ASN.1 to get an internal packet. If the decoding fails,
it discards the packet.
2)
Extracts the SNMP version from the packet. If it does not support the version, it
discards the packet.
3)
Extracts the community names from the packet. If the community names are not
identical to those set at the device, it discards the packet and generates a trap.
4)
Tries to extract a packet data unit (PDU) from the packet. If the operation fails, it
discards the packet. If the operation succeeds, it processes the PDU, generates a
packet, and sends the packet to the source address of the received packet.
I. SNMP community
An SNMP community contains one SNMP agent and one group of SNMP managers.
The SNMP agent and SNMP managers are provided with authentication and access
control. One SNMP agent can be combined with multiple groups of SNMP managers to
form multiple SNMP communities.
Each SNMP community is identified by an octet, known as community name. The
community name is like a password. If an SNMP manager provides correct community
names, it has the access authority corresponding to the community. The process of
checking community names is known as authentication.
One SNMP agent has two communities: read community and write community . The
NMS identifies an SNMP agent through trap community. When sending a trap to the
NMS, the SNMP agent must provide a correct trap community; otherwise the NMS
rejects the trap.
MIB view
MIB view is a subset of all the managed objects in the MIB. An SNMP community has a
MIB view. The SNMP managers within an SNMP community can only access the MIB
objects in the MIB view of the SNMP community. The node in the MIB view must not
belong to a subtree in the MIB tree.
z
Access mode
A-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix A SNMP
There are two access modes: read-only and read-write. An access mode is available to
each managed object in the MIB view of an SNMP community. In general, the access
mode available to the managed objects in a read community is read-only, and the one
available to the managed objects in a write community is read-write.
Function features
SNMP V1
SNMP V2
SNMP V3
In addition to the basic functions of SNMP V1 and V2, SNMP V3 defines the
management functions related to network security and access control.
A-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
Appendix B Solaris
Note:
z
For details on Solaris, see the related technical materials from SUN Microsystems Computer
Corporation.
The company name, trademarks, and manual names involved in this chapter belong to SUN
Microsystems Computer Corporation.
B.1 Introduction
B.1.1 Basic Concepts
I. Operating system
Independent of applications, the operating system manages resources and
applications.
Figure B-1 shows the position of the operating system.
Application
Operating system
Computer hardware
II. Solaris
As a major branch of UNIX, Solaris usually runs on a SUN workstation or a
minicomputer.
B-1
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
The models of SUN workstations include SPARC5, Ultra1, Ultra5, and Ultra10.
The hardware interfaces of the SUN workstation include SCSI, Ethernet, Serial
BUS, and MultiMedia.
The system software installed in the SUN workstation includes Solaris 2.X, CDE,
and OSF/Motif.
B.1.2 Architecture
The UNIX operating system consists of three parts: kernel, shell, and application, as
shown in Figure B-2.
Application
Shell
System invoke
Kernel
Hardware
II. Kernel
As the core of the UNIX, the kernel directs and schedules the running of the UNIX. It
also controls the resources of the computer and protects the applications from being
affected by the complex and detailed hardware events.
The core functions of the kernel include:
z
B-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
III. Shell
Shell is a special program of the UNIX. It is the interface between the kernel and user. It
is also the command descriptor of the UNIX. Three kinds of shells are commonly used,
as shown in Table B-1.
Table B-1 Classification of shells
Shell type
Shortened
form
Command
Major features
Bourne Shell
B Shell
sh
Korn Shell
K Shell
ksh
csh
C Shell
By default, the current shell is Bourne Shell. To switch to another shell, enter the
desired shell command at the command prompt. For example, to switch from B Shell to
K Shell, run $ ksh.
IV. Application
The UNIX provides many software tools and applications, such as vi text editor and file
search and backup tools.
Common user: A common user is set by the account manager. A common user
can only change his login password and the properties and operation authority of
the files created by him. The command prompt for a common user is usually $.
Superuser: "root". The name cannot be changed. A superuser can create and
delete users. A superuser can also change the login passwords, file properties,
and operation authority of all other users. The command prompt for a superuser is
usually "#.
B-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
Note:
The difference between su and root:
su is used to switch from a common user to a superuser. That is to say, when a common user runs su at
the maintenance terminal, the system displays the password of root. In this way, the common user gets
the authority of root and can perform some operations the superuser is authorized to perform. However,
the environment variables "su" and root are different.
I. File name
A file name usually consists of directory name and basic name. For example, The file
name /user/fred/report1, consists of directory name /user/fred/ and basic name
report1.
The maximum length of a UNIX file name is 255 bytes, and the file name is case
sensitive.
The UNIX file system also contains some special file names, as shown in Table B-2.
Table B-2 Special file names
File name
Description
..
. character string
For example, abc? represents all the file names that begin with abc and end with
one character.
z
For example, ab*10 represents all the file names that begin with ab and end with
10.
B-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
Access authority of a
common file
Read
Write
Execution
Uses the files (for example, "cd command) to search for files.
/
Absolute path
bin
lib
usr
dev
etc
Relative path
stu1
program
sybase
data
install
Run
/user/Sybase/install
cd n2000
/user/Sybase
cd install/n2000
/user
cd Sybase/install/n2000
cd /user/Sybase/install/n2000
B-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
bin
lib
usr
stu1
program
dev
etc
sybase
install
data
/: root directory. It is the basis of the directory structure of the file system. All the
files and commands are logically connected to the root directory, regardless of
their location in the disk.
/bin: It usually saves the commands and programs to be used by the users. In
many operating systems, it is the link symbol of the files in /usr/bin.
/dev: It saves the special device files. In most operating systems, many
subdirectories are available in the /dev for saving different types of special files.
The names of these subdirectories are usually associated with the device name.
For example, "dsk and rdsk are for a disk, and pts and ptc are for a virtual
terminal. In Solaris, the /device directory is newly added. The files in /dev are
linked to /device based on file type so that they are saved in different directories
in /device.
/etc and /sbin: The two directories save usually save important files such as
configuration files, setting tools, and management programs. The /default
subdirectory is usually available in "/etc" for saving default command parameters.
For example, if you enter only one parameter when running su, the system will
get other needed parameters from /etc/default so as to run the command
correctly.
lost+found: It saves the lost files. If a file is lost, it means that the file exists but
cannot be found in any directory. A disk error and abnormal shutdown of a
computer may result in loss of files. In this case, during the system boot-strap, the
B-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
"fsck" program can detect the lost file and put it in the lost+found directory. Each
disk partition contains one lost+found directory.
z
/mnt: For temporary use during the installation of the file system.
/proc: The files in this directory correspond to the processes in use. The files
execute the invocations involved in the access to the UNIX file system.
/tmp: It stores temporary files, which are cleared when the system starts.
/user: Many subdirectories are available in this directory for saving the
commands to be used by the users, shard libraries, and other programs of the
UNIX.
/var: It saves the data that frequently changes. For example, the /var/spoo
files of the UNIX users. In a relatively new system, this directory is linked to
/var/adm.
user/bin: It saves binary command files, shell scripts, and some common
programs.
I. Login
There are two login modes. Normally, the system displays the login interface.
Command
Function
Login
CDE login
II. Logout
There are three logout modes.
Command
Function
Logout
Exit
Quits a shell.
^C
Interrupts a CDE.
B-7
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
Function
Single-user status: Other users cannot register with some file systems.
Not used.
Ss
Single-user status: Other users cannot register with some file systems.
In the single-user status, the virtual console terminal becomes the system console, and
only the superuser can use the system console. To enter the single-user status, you
must know the password of root. In the multi-user status, all the defined terminals and
daemons run.
Description
File type
rwxr-xr-x
rms
sbsrms
12738
B-8
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Parameter
Appendix B Solaris
Description
May 24 12: 13
disp
File name
I. useradd
Format
useradd [-u uid] [-g group] [-G group [,group]] [-d dir] [-s shell] [-m] [-e
expire] [-f inactive] username
Parameter
-m: Generates a home directory and copies the boot files to it. The user
information is saved in /etc/passwd.
Function
Adds a user.
Example
II. userdel
Format
userdel -r <username>
Parameter
Function
Deletes a user.
Example
III. usermod
Format
usermod [-u uid] [-g group] [G group [,group]] [-d dir [-m] ] [-s shell] [-e
expire] [-f inactive] <username>
Parameter
Function
Example
Modifies a user.
To change the shell type of the user gama, run:
/usr/bin/csh: usermod -s /usr/bin/csh gama.
B-9
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
ls [-l][-t][-a][-s][-d][-r][-i][-ul] [name]
-l: Generates a long list.
-t: Sorts files by change time.
-a: Lists all the files in the command directory, including those
beginning with a period.
Parameter
Function
Example
II. cd
Format
cd [dirname]
Parameter
Function
Example
/user/fred/docs/97sales
cd ../2000sales or cd /user/fred/docs/2000sales
B-10
to
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
III. pwd
Format
pwd
Parameter
None.
Function
Example
IV. mkdir
Format
Parameter
Function
Example
V. rmdir
Format
Parameter
rmdir dirname1
dirname1: Directory name
Deletes an empty directory.
Function
Example
VI. cp
Format
cp [-i][-p][-r][filenames] target
-i: Prompts whether to overwrite the files with the identical names.
Parameter
-p : Keeps the last change time and authority of the original files for
the new files.
-r: Copies a directory and all its subdirectories.
Function
Copies files.
B-11
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
cd /user/fred/reports
cp acme/f1 98Jan/f2
VII. mv
Format
Parameter
Function
Example
mv i f1 user/fred/reports/
To move f1 to user/fred and name it f2run:
mv f1 user/fred/reports/f2
VIII. chmod
Format
Parameter
B-12
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
Function
Example
IX. chown
Format
Parameter
-h: Changes the owner of the linked files but not that of the original file.
-R: The operation is also performed on the subdirectories.
Function
Example
Changes the owner of a file for which the user has write authority.
To change the owner of file1 to user1, run:
chown user1 file1
X. chgrp
Format
Parameter
Function
Example
XI. cat
Format
Parameter
cat filename
filename: Name of the file.
Displays the contents of the file.
Function
Outputs multiple files as one file. Note that the name of the output file must
be unique.
Creates a file.
Example
B-13
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
XII. more
Format
Parameter
Function
Example
Displays a file.
To display 10 rows of the file1.c at one time, run:
more 10 file1
XIII. less
Format
Parameter
Function
Example
With this command, you can press <y> to scroll up to display the next
row. You can also use ? to search for a single word.
To display the contents of file.c, run:
less file1.c
XIV. pg
Format
Parameter
Function
Example
pg [-number] [filename]
number: Specifies the number of rows to be displayed.
filename: Specifies the name of the file to be displayed.
Displays a file.
To display 10 rows of the file1.c at one time, run:
pg 10 file1
B-14
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
XV. head
Format
Parameter
Function
Example
XVI. tail
Format
Parameter
Function
Example
I. ps
Format
ps
Parameter
ps [-acdefjl][-g][-p][-s][-t][-u]
Function
Example
B-15
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
II. kill
Format
kill pid
kill -9 pid (kills a process forcedly)
pid: Specifies the process ID
Parameter
Function
Example
I. ipconfig
Format
ipconfig
Parameter
None.
Function
Example
II. telnet
Format
Parameter
Function
Logs in to a remote UNIX host from the local computer, and treats the
local computer as an emulation terminal of the remote computer.
Example
B-16
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
III. ftp
Format
Parameter
Function
Transfers files between the local host and the remote host.
To copy "file1.zip from "C:\TEMP in the local computer to /usr/abc in
the remote host 129.6.114.201, do as follows:
C:
cd \ftp
C:\FTP>ftp 129.6.114.201
Enter user name and password
Example
ftp>binary
ftp>lcd c:\temp
ftp>cd /user/abc
ftp>fupt file1.zip
ftp>close
ftp>quit
C:\FTP>
B-17
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
B.7 vi
vi is a text editor. It can be used to insert and delete text and edit commands.
It has two modes:
z
To switch from the insertion mode to the command mode, press <Esc>.
B.7.1 Starting/Exiting vi
z
1)
At the shell prompt, enter vi. Before being prompted, do not press <Enter>.
2)
Enter a space and then the name of the file to be edited. If the file name does not
exist, vi will create it. If the file name exists in another directory, enter the path.
3)
4)
5)
Enter :wq to save the file and exit vi or enter :q! to exit vi without saving the file.
B.7.2 vi Commands
I. Text insertion commands
vi
Description
Opens a new line above the current line, and inserts text until <Esc> is
pressed.
Opens a new line below the current line, and inserts text until <Esc> is
created.
Description
h/j/k/I
Moves left/down/up/right
B-18
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
vi
Appendix B Solaris
Description
w,b
WB
eE
LMH
{}
Ctrl+F Ctrl+B
Ctrl+D Ctrl+U
nG
Moves to line n.
1G G
Description
xdd
dwDW
dbDB
deDE
d0d$
dhdl
d{d}
Da
Da
Description
cc
cwcW
cbcB
B-19
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
vi
Appendix B Solaris
Description
cecE
c0c$
chcl
c{c}
ca
ca
III. Undo
To undo insertion, deletion, or change, do as follows:
1)
2)
B.8 find
Use find to search the specified directory and its subdirectories for a file meeting the
set conditions.
I. Format
find directory name conditions
Directory name: The directory to be searched. The directory and its subdirectories will
be searched. Multiple directory names can be specified here, with spaces between
them.
B-20
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
Conditions: The conditions for searching for a file, such as file name, owner, and last
change time.
II. Conditions
Condition
Description
-name name
-size n
-type x
b: block
c: character
p: pipe
-user user
Specifies the user of the file to be searched for. user can be a user
name or a uid.
-group group
-links n
-atim n
-mtime n
Meaning
Example
Description
NOT
!-name "*.c"
-o
OR
AND
B-21
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
IV. Example
Example
Description
B.9 grep
Use grep to search for the specified character string and print all the lines that contain
the character string.
I. Format
grep character string filename
II. Example
Example
Description
B.10 cmp
Use cmp to compare two text files or non-text files. The location of the first difference
between the two files is displayed. If the two files are identical, no information is
displayed.
I. Format
cmp [-Is] filename 1 filename 2
II. Parameter
Parameter
Description
-I
-s
Displays the value returned for cmp: 0 or 1. 0 indicates that two files are
identical; 1 indicates that they are different.
B-22
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
III. Example
Example
Description
I. Format
$ tar [function -option [modifier]] [files]
tar consists of two parts: function option and modifier. The function option specifies the
actions of tar, such as read and write. The modifier is used to modify the actions of tar.
No - is needed in front of an option of tar.
II. Parameter
Category
function-option
modifier
Parameter
Description
Accesses the files in the file library. If the file name is a directory,
the subdirectories are also accessed.
Activates the display mode to display the name of the file being
processed.
Indicates that the file library is a file. If this option is omitted, the
file is saved in the preset tape or disk.
III. Example
z
$ tar cv work
B-23
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix B Solaris
All files and subdirectories in the work directory in the current directory are backed up
to the default device, and the file information is displayed.
z
I. Format
compress
compress filename
uncompress
uncompress compressed-filename
II. Example
Example
Description
compress abc
uncompress abc.z
I. Format
pkzip
pkzip filename
pkunzip
pkunzip filename
II. Example
Example
pkzip abc
Description
Compresses the abc file.
B-24
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Example
unpikzip abc.zip
Appendix B Solaris
Description
Uncompresses the abc.zip file.
I. Format
gzip
filename
zip
zip -d filename
II. Example
Example
Description
gzip abc
zip abc.gz
B-25
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix C Sybase
Appendix C Sybase
Note:
z
For details on Solaris, see the related technical materials from Sybase Corporation.
The company name, trademarks, and manual names involved in this chapter belong to Sybase
Corporation.
C.1 Introduction
There are three Sybase versions:
z
I. master
The master database contains system tables and processes. It controls the users
operations on the user database and SQL Server. It constitutes the data dictionary of
Sybase.
The master database stores the following information:
z
Login accounts (user name of the SQL Server): syslogins, and sysremolelogins
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
z
Appendix C Sybase
II. model
The model database provides a model for new user databases. When you run create
database, the SQL Server generates a copy of the model and expands it as required. If
you modify the model database, all the newly created databases also change
accordingly.
III. sybsystemprocs
The sybsystemprocs database stores the system processes. When you execute a
storage process, which begins with sp_, the SQL Server searches the current
database for the process. If the process is not available in the current database, the
SQL Server searches the sybsystemprocs database. If the process is still not
available, the SQL Server searches the master database.
IV. tempdb
The tempdb database stores the temporary data tables. It is shared by all the
databases in the SQL Server. After you log out of the database or the system fails, all
the temporary data tables disappear.
I. Tables
In a relational database, tables are the most important objects. All the data are stored in
tables. A table has two dimensions. A column is a field, and a row is an entry.
A table beginning with sys is a system table. A system table stores information about
the SQL Server. In the master databases, most tables are system tables. These
tables are generated when the "master database is created. Besides, when a user
database is created, a subset of the system tables is generated.
These system tables exist in only the master database:
z
sysconfigures
sysdatabases
sysdevices
syslogins
C-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix C Sybase
These system tables exist in both a user database and the system database:
z
sysalternates
syscolumns
sysindexs
syslogs
sysobjects,
sysusers.
II. Views
A view is a combination of the data in one or more tables . It looks like a table. However,
it is different from a table. The data you get through the view actually exists in the table
or tables. The database only defines the view.
III. Indexes
An index is based on a field. In Sybase, index is managed by the system. After the
index of a table is created, the system updates and maintains it automatically to keep
consistency with the corresponding table. It is not necessary for you to specify index,
because the system automatically confirms whether index is needed.
The Sybase supports three index types:
z
Combined index
Single index
Clustered index enables the SQL Server to rearrange the table rows until the physical
order of the rows is identical to their logical order.
Nonclustered index does not require the physical order of the table rows to be identical
to their logical order.
One clustered index and multiple nonclustered indexes can be created.
Compared with nonclustered index, the clustered index enables faster information
retrieval. A clustered index must be created before any nonclustered index is created.
C-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix C Sybase
#SYBASE=/opt/sybase
#export SYBASE
#DSQUERY=sun2 (name of the Sybase server)
#export DSQUERY
2)
#cd $SYBASE/install
#./startserver -f ./RUN_sun2 (starts the master server: sun2)
3)
#cd $SYBASE/install
#./showserver
#/opt/sybase/bin/isql -Usa -P
1>shutdown SYB_BACKUP
2>go (shuts down the backup Sybase server)
1>shutdown
2>go (shuts down the master Sybase server)
2)
#cd $SYBASE/install
#./showserver
C-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix C Sybase
Note:
The transaction log is a system table: syslogs. This table records database update requests such as
insertion, modification, and deletion. It does not record query operations.
C-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix C Sybase
1)
Run dump with the option no_truncate to dump the transaction log of the user
database.
2)
3)
from file_name
I. Recovering master
1)
2)
3)
4)
If the master database is expanded using alter database, rebuild its distribution
sysusages strictly.
7)
If the network name of the backup server is not SYB_BACKUP in the interface file,
change the network name in sysservers:
update
sysservers
set
srvnetname="PRODUCTION_BSRV"
where
srvname="SYB_BACKUP"
8)
Run showserver to check whether the backup server is running. If necessary, restart
the backup server.
9)
Load database master from master.bak". After the database is loaded, the SQL
Server is automatically shut down.
10) If a database device is added since the master database is last dumped, run
disk reinit to rebuild sysdevices.
C-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix C Sybase
If the physical disk is damaged, delete the device, and then run disk init to rebuild the
device.
2)
I. Format
isql [switches]
Description
Allows you to specify a registration name.
C-7
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Parameter
Appendix C Sybase
Description
-P password
-S serve
-i
-o
Function
go
Terminates a command.
reset
quit or exit
Quits isql.
Description
select
insert
update
update table_name
conditions
delete
truncate
drop
sp_dropdevice
sp_dropdevice device_name
set
C-8
column_1=value_1,column_n=value_n
where
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Appendix C Sybase
C.3.2 showserver
Use showserver to view information about the Sybase server running on the local
computer.
#cd /opt/sybase/install
#./showserver
C.3.3 startserver
Use startserver to start the Sybase server.
I. Format
startserver [switches]
Description
-f runserverfile
Specifies the name of the server running file. This file is taken as a reference
when the Sybase server is restarted.
-m
Starts the Sybase server in single-user mode. This mode is used to recover the
master database.
C-9
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
Note:
z
For details on Microsoft SQL Server 2000, see the related technical materials from Microsoft
Corporation
The company name, trademarks, and manual names involved in this chapter belong to Microsoft
Corporation.
D.1 Introduction
Microsoft SQL Server is a large-capacity database management system (DBMS). It is a
relational database system based on the client/server architecture.
The Microsoft SQL Server features the following:
z
The SQL Server has these objects: table, view, role, index, data type, and default value.
z
Table
The most important object in the database. All the user data is stored in tables. A
database may contain multiple tables for storing different data. A table consists of rows
and columns.
z
View
It is used to display a subset of the data stored in the tables. Two or more tables can be
linked to form a view. A view does not contain data. Only the linked data can be
displayed.
z
Role
A role can be defined and granted authority. Any user of this role has the authority
granted to the role. More than one role can be defined for a database. Each MS Server
has default roles.
z
Data type
D-1
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
A data type defines or describes the type of the data that can be input in a column, such
as number, character, time, and date. It also describes how the SQL server stores the
data. When a table is created, one data type is specified for a column. The SQL server
provides built-in data types. You can also define data types in the SQL server.
z
Default value
If you do not enter data in a column, the SQL server assigns a default value. For
example, if all the users are in Shanghai, you can set the default location of the users to
Shanghai. After that, this value will be input in each new row. You can input a value to
overwrite the default value.
Database backup
Database backup means that all the data and objects in the database are backed up. In
this mode, the transaction logs are usually saved in a disk, the same database and
objects are created based on the transaction, and then the data is copied. This backup
mode costs much time and disk space, so it is usually used at night.
When a database is backed up, all the ongoing transactions will not be backed up. If
this mode is used, all the database modifications made between the backup and the
recovery cannot be recovered.
z
Transaction log backup means that all the transactions implemented on the database
are backed up, including those implemented since the last transaction log backup,
differential backup, and database backup.
In the transaction log backup, no data in the database is backed up. But if the database
is faulty, it can be recovered based on the backup transaction logs.
z
Differential backup
Differential backup means that the data changes made since the last database backup
is backed up, so it is incremental backup. The data loss can be minimized through
frequent differential backup.
The database backup, transaction log backup, and differential backup can be used
together to reduce the database backup time and reduce data loss.
The scheme is as follows:
1)
2)
Make a differential backup at short intervals, for example, every three or four
hours.
D-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
3)
Make a transaction log backup between differential backup; for example, every 20
or 30 minutes.
File or file group backup means that the database files or database folders are backed
up. The database consists of many files. If it is hard to back up the entire database at
one night, you can back up a portion of it every night.
Start the SQL Server Enterprise Manager, and then log in to the desired server.
2)
3)
Right click the Backup, and then select [New Backup Device].
4)
In the Backup Device Properties-New Device dialog box that appears, enter the
logical name of the backup device.
5)
If you click File Name, it means that a hard disk is used. This option is available when
disk files are created.
If you click Tape drive name, it means that a tape drive is used. This option is available
when a tape drive is connected with the local server.
6)
Click <OK>.
Start the SQL Server Enterprise Manager, and then log in to the desired database
server.
2)
3)
Right click the desired database icon, and then select [All Tasks/Backup
Database].
4)
In the SQL Server Backup dialog box that appears, click the General tab.
5)
D-3
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
6)
7)
In the Select Backup Destination dialog box that appears, select a backup device,
and then click <OK>.
If you select Append to media, the current contents are appended to the current
backup. If you select Overwrite Existing Media, the existing backup is overwritten.
9)
10) In the Edit Schedule dialog box that appears, enter the name of the backup task
in the Name box.
11) To change the default backup time, click Recurring, and then click <Change>. In
the Edit Recurring Job Schedule dialog box that appears, set the backup time,
and then click <OK>.
12) In the SQL Server dialog box, click the Option tab, and then set the additional
options.
If you select Verify backup upon completion, the SQL Server will read all the backup
data, check whether the backup medium is accessible, and ensure the integrity of the
backup medium.
If you select Eject tape after backup, the tape will be ejected when the backup is
completed.
If you select Check media set name and backup set expiration, the SQL Server will
check whether the selected medium and backup device are valid.
If you select Backup set will expire, click On and then select a date.
13) Click <OK>.
Start the SQL Server Enterprise Manager, and then click the desired.
2)
3)
In the Select Wizard dialog box that appears, click + beside Management.
4)
From the expanded list, select Backup Wizard, and then click <OK>.
5)
6)
In the Select Database to Backup dialog box that appears, select the database to
be backed up, and then click <Next>.
7)
In the Type Name and Description for Backup dialog box that appears, enter the
backup name and description, and then click <Next>.
D-4
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
8)
In the Select Type of Backup dialog box that appears, select a backup type, and
then click <Next>.
9)
In the Select Backup Destination and Action dialog box that appears, select a
backup device and the desired properties, and then click <Next>.
10) In the Backup Verification and Scheduling dialog box that appears, select
Checking media set name and backup set expiration date, and then click
<Next>.
11) In the Completing the Create Database Backup wizard dialog box that appears,
click <Finish>.
Start the SQL Server Enterprise Manager, and then click the database server to
be recovered.
2)
3)
In the Restore database dialog box that appears, select the database to be
recovered from the Restore as database drop-down list.
4)
5)
In the Parameters area, select the desired database from the Show backups of
database drop-down list.
If the database has been backed up, the backup history is displayed.
6)
From the First backup to restore drop-down list, select the desired backup
record.
Click the Option tab, and then set other parameters, as shown in Table D-1.
Description
Ejects the tape from the tape drive after the database
recovery.
8)
Click <OK>.
D-5
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System
If the master database is damaged but the SQL Server can still start, recover the
database using the current backup.
If the master database is damaged and the SQL server cannot start or the
current backup cannot be used, rebuild the database using Rebuild Master Utility,
and then recover it using the backup.
2)
3)
In the Rebuild Master dialog box that appears, click <Browse> to view the source
directory containing the data files.
4)
Click <Setting>.
5)
In the Collation Settings dialog box that appears, set the desired parameters,
and then click <OK>.
6)
Click <Rebuild>.
7)
8)
If the backup cannot be used, re-create the backup device, and then recover
msdb, model, distribution, and user databases.
D-6
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System Appendix E Terms and Acronyms
II. Multi-tasking
The ability that allows a user to execute multiple tasks at one time.
III. Terminal
A terminal is the interface unit between the user and the computer. They are two types
of terminals: character terminal and graphic terminal. A terminal usually consists of
monitor, keyboard, and terminal console. Sometimes, a mouse is also included. The
monitor connects with the keyboard through the terminal console. The terminal console
connects with the host of the computer through a common port, for example, a serial
port. The user communicates with the computer through the terminal. One UNIX host
can be connected with multiple terminals.
V. Console
A console is a special terminal. It consists of monitor, keyboard, and mouse. They are
respectively connected to the monitor interface, keyboard interface, and mouse
interface of the host.
Usually, one host can connect with only one console. In addition to the functions of an
ordinary terminal, the console provides special functions. Important information such
as information about severe errors can be displayed only at the console. Some special
tasks such as recovery can be done only at the console.
E-1
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System Appendix E Terms and Acronyms
VII. Workgroup
Multiple users can be grouped to share information.
VIII. Process
A process is a program that is running. The UNIX supports multiple processes. Each
process has a unique process ID.
X. Background process
A background process does not interact with the user directly. Many UNIX processes
run at the background.
XI. Device
Also known as device file. It can be a hard disk, a floppy disk, and a serial port. In the
UNIX, all the hardware access operations are performed through the device files. The
device files are stored in the /dev directory. For example, /dev/hd0 indicates the first
floppy disk drive.
E.2 Acronyms
I
IP
Internet Protocol
E-2
Troubleshooting Manual
HUAWEI iManager N2000 Fixed Network Integrated Management System Appendix E Terms and Acronyms
MIB
N
NMS
P
PDU
S
SNMP
T
TCP
U
UDP
E-3