Professional Documents
Culture Documents
Maintenance Guide
5 Troubleshooting .............................................................................................. 37
Getting File Fails during NE Upgrading ...........................................................................37
NE Lost connection with NMS .........................................................................................37
Unable to Logging in MN9200 .........................................................................................38
PW is Unsynchronized.....................................................................................................40
LSP is Unsynchronized....................................................................................................41
Can’t find Path while creating Multiple segment PW.......................................................41
CE Service is Unsynchronized ........................................................................................42
The MN9200 can’t Restart after changing the IP ............................................................42
Can’t Activate a LSP........................................................................................................45
Illegible Characters in Report when Opening with Excel.................................................46
Unable to Extend Oracle Table .......................................................................................47
Possible Scenario ........................................................................................................47
Possible Cause............................................................................................................47
Solution........................................................................................................................47
New Redo Log cannot be added .....................................................................................50
Possible Scenario ........................................................................................................50
Possible Cause............................................................................................................50
Impaction on System ...................................................................................................50
Solution........................................................................................................................50
MN9200 Response Unacceptable slow...........................................................................52
Possible Scenario ........................................................................................................52
Probable Cause ...........................................................................................................52
Solution........................................................................................................................53
MN9200 Server Crashes .................................................................................................56
List of Figures
Figure 1 View System Performance............................................................................................7
Figure 2 Configure Sybase Servers ..........................................................................................20
Figure 3 Backup Server Name..................................................................................................20
Figure 4 Backup Server Options ...............................................................................................20
Figure 6 Enter Connection ........................................................................................................21
Figure 7 Network Connections..................................................................................................21
Figure 8 New Backup Server Complete....................................................................................22
Figure 9 Configure Sybase Servers ..........................................................................................22
Figure 10 Reinstalling Database Method..................................................................................31
Figure 11 Upgrading Database Method....................................................................................32
Figure 12 Java Temporary Files Setting ...................................................................................39
Figure 13 Java Runtime Environments Settings.......................................................................40
Introduction
The manual describes SpectralWave MN9200 NMS server maintenance.
Conventions
This guide contains notices, figures, screen captures, and certain text conventions.
Notices
The following table lists notice icons used in this guide.
Text
The following table lists text conventions in this guide.
Convention Description
This typeface represents text that appears on a terminal
screen, including, configuration file names (only for system
Text represented by output file names), and command names, for example login.
Courier New Font
Commands entered by users are represented by bold, for
example, cd $HOME.
This typeface represents window names, dialog box names,
Text represented by bold tabs, field names, function names, directory, file names, process
names, and commands in text, for example, set the Time field.
Text represented by [Menu] This square brackets represents menus such as [File], and
and [Menu/Sub-menu] [File/New]
Text represented by This angle bracket represents button on screen, function key on
<Button> the keyboard and icon names for example, click <OK>.
Text represented by This typeface represents documents for reference, for example,
Document Name SpectralWave MN9200 Installation Guide
Convention Description
Text represented by
This typeface represents files in Unix/Linux system files.
# File format:
Hardware Requirements
The hardware required for MN9200 includes host machines for MN9200 servers,
databases and clients. All hardware used in MN9200 system must meet the
requirements specified in the Bill of Materials (BOM).
Software Requirements
The software required for SpectralWave MN9200 includes application software,
database software, client software, LCT software and the third-party database
(Sybase or RDMBS) software.
If third party redundancy solution is provided, for example, by Veritas, the necessary
third party (Veritas) software is required. All software used in MN9200 must meet the
requirements specified in the BOM.
Network Requirements
The MN9200 functions in an IP based Ethernet network environment. A Local Area
Network (LAN) is preferred for better system response time.
An MN9200 network includes networking of servers, databases, printers and
Gateway Network Elements (GNE).
The MN9200 server and database can be installed on one computer. If the MN9200
server and database are installed on separate hosts, a LAN is preferred for the
communication between the server and database. If a Wide Area Network (WAN) is
used for the communication between server and database, the available bandwidth
for the connection between the MN9200 server and the database must be at least
2Mbit/s.
The connections between MN9200 servers and GNEs can be over LAN or WAN. The
bandwidth for each of these connections must be at least 192 kbit/s.
The connection bandwidth between any MN9200 server and client must be at least 2
Mbit/s. Printers and all other hardware used by the MN9200 must be in the same LAN.
If primary and secondary MN9200 servers are deployed, link redundancy must be
provided with bandwidth no less than 2 Mbit/s.
UPS protection: The UPS must be able to provide power for at least 15 minutes
after a power failure
Voltage: AC 110V±10V 60Hz or AC 220V±10V 60Hz
Temperature: 10°C - 30°C
Humidity: 20% - 80%
Introduction
Well-planned, effective and reliable maintenance routines significantly reduce
equipment failure rates. It also ensures stable operation and optimum performance of
the equipment.
In addition to minimizing sudden system failures, routine maintenance facilitates the
detection of problem-triggering factors and therefore eliminates potential problems
before they occur. Performing these tasks on regular basis will increase the life span
of equipment and components as well reduce the system-down time.
This chapter focuses on MN9200 routine maintenance procedures.
This command prints the allocation in KB. Capacity, the percentage of normally
available space that is currently allocated to all files on the file system should be
lower than 75%.
5 Double-click System Overview in the right pane to see the properties of System
Overview.
Note: If user wants to customize the other monitor objects which are not included in
the default System Overview, refer to Microsoft Windows related manual for more
information.
If the disk %b (% time the disk is busy) is always higher than 60%, it means that the
disk IO has problem.
Note: The CPU, memory and disk information can be monitored in GUI through
MN9200 in later version.
TCA will be triggered, and if the number exceeds the maximum value, old data will be
removed or archived automatically.
The monitoring parameters are listed in the below.
Max Value:
- For EML performance table, when the number of records exceeds this value,
the older data will be removed or archive according to the archive policy.
- For other table, when the number of alarms or logs exceeds the Max Value,
the older alarms, logs or events will be deleted automatically, and the
amount of reserved new alarms and logs is the product of Max Value and
Archive Ratio.
Rising Threshold (%) When the amount of alarms, logs or events exceeds the
product of Rising Threshold and Max Value, the TCA will be triggered.
Clear Threshold (%) When the amount of alarms, logs or events is fewer than
the product of Clear Threshold and Max Value, the TCA will be cleaned.
Reserved Data Ratio The ratio of reserved alarms and logs.
Archive Directory: The directory where the data is archived. It is the subdirectory
/archive/monitor under the MN9200 application installation directory
Check the configuration and the status of these system monitor tasks
Check whether the archived files meet with the archived condition generated in the
archive directory and check the growing rate of the archived files.
The number of Collisions (Collis) and Input errors (Ierrs) should be 0. If not, check the
network status.
Check the status of each redo log group. Only one of the redo log status can be
CURRENT, the other redo log status should be INACTIVE.
If all the redo log status is ACTIVE or CURRENT, it means the switch between redo
log is too frequent, the user should add more redo log groups or resize the redo log.
For more detailed operation, refer to Adding More Redo Log Groups on page 51 .
Check the value of BYTES/ MAXBYTES of each data file, it should be less than 75%.
if any of the value is higher than 75%, you may need to add extend tablespace, refer
to Adding New Data Files to Extend Table Space Size on page 49 for more detailed
operation.
Record all the value of each SQL sentence, the sum of these values should be lower
than 75% of the tablespace. If it is higher than 75%, refer to Checking Table Space
Usage Ratio on page 9 to check the tablespace used space.
Record all the value of each SQL sentence, the sum of these values should be lower
than 75% of the tablespace. If it is higher than 575%, refer to Checking Table Space
Usage Ratio on page 9 to check the tablespace used space.
Maintaining Client
MN9200 client software is a JAVA program running on Windows XP Professional
operating system. Since the response time of a JAVA program degrades after
running for a long period of time, the MN9200 client software must be restarted at
least once every month.
Maintenance Guide SpectralWave MN9200
Chapter 2 Routine Maintenance 13
Note: All data related to alarms and configuration is stored in the database. Therefore
shutdown and restart of the WS does not result in any data loss.
2 Drop the tables whose name is like ‘1970xxxx’, ‘2035xxxx’ etc and whose date is
not current data.
3 Query all tables belong to tablespace MN9200 performance database again
SQL> select table_name from dba_tables where owner='NMS_PER';
5 Execute the two set of SQLs orderly, firstly alter table table_name enable row
movement; then alter table table_name shrink space cascade;
Because the table size is big, it will need long time to execute the SQLs, please wait
patiently.
Caution: Do not use the NMS server for any other purpose. It is best to isolate the
NMS computer from external networks, especially the Internet.
The average (Idl) of each processor should be higher than 40% always. If not, contact
the field engineer to check out this problem.
The main java process's SIZE should be lower than 60% of the physical memory, and
the value of RSS should be lower than that of Size. The main java process's CPU
usage on application server should be lower than 60%. If not, contact the field
engineer to check out this problem.
Expected Result
Any of the following background processes of Oracle: dbw0, lgwr, pmon, smon,
ckpt should be listed. The name behind the process name is the instance name of
the Oracle database which created during Oracle installation.
Example Output
Service Summary lists the database instance the Oracle listener is listening .The
instance name nms in Services Summary should be listed.
Example Output
Recyclebin purged.
SQL> select * from recyclebin;
no rows selected
8 In the Connection Info text box, type the backup server’s hostname (or IP
address) and port number (4200) separated by a comma, for example:
172.21.65.49,4200.
Click <OK>.
Figure 6 Enter Connection
4 If the srvnetname is null, you need to execute the following commands to update
it to nms_BS:
sp_configure "allow update", 1
go
use master
go
update sysservers set srvnetname="nms_BS" where
srvname="SYB_BACKUP"
go
select srvname, srvnetname from master..sysservers where
srvname='SYB_BACKUP'
go
4 Create a data cache for dbccdb to improve the checking performance. The
cache size must be larger than the result scanned by sp_plan_dbccdb.
For example, to create a 12M cache, execute the following commands:
sp_cacheconfig nms_alm_cache, '12M'
go
5 If dbccdb already exists, drop it and all associated devices before creating a new
dbccdb database:
use master
go
if exists (select * from master.dbo.sysdatabases
where name = "dbccdb")
begin
print "+++ Dropping the dbccdb database"
drop database dbccdb
end
go
6 Use disk init to initialize disk devices for the dbccdb data and the log. The
device size must be no less than the value scanned by sp_plan_dbccdb.
use master
go
disk init
name ='dbccdb_dat',
physname = 'd:\sybase15\data\dbccdb.dat',
size ='21M'
go
disk init
name = 'dbccdb_log',
physname = 'd:\sybase15\data\dbcclog.dat',
size = '2M'
go
7 Use create database to create dbccdb on the data disk device created in the
previous step. The database size must be no less than the value scanned by
sp_plan_dbccdb.
use master
go
create database dbccdb
on dbccdb_dat = 21
log on dbccdb_log = 2
go
8 Add segments for the scan and text workspaces to the dbccdb data device.
use dbccdb
go
sp_addsegment scanseg,dbccdb,dbccdb_dat
go
sp_addsegment textseg,dbccdb,dbccdb_dat
go
The installdbccdb script checks for the existence of the database before it
attempts to create the tables. It only creates the tables that do not exist in
dbccdb. If any of the dbccdb tables is corrupted, drop it and then use
installdbccdb to re-create it.
10 Create and initialize the scan and text workspaces. The workspace size must be
no less than the value scanned by sp_plan_dbccdb.
use dbccdb
go
sp_dbcc_createws dbccdb, scanseg, scan_aca,scan,"35008K"
go
sp_dbcc_createws dbccdb, textseg,text_aca,text,"8768K"
go
go
sp_dbcc_updateconfig nms_alm,"OAM count threshold","5"
go
sp_dbcc_updateconfig nms_alm,"IO error abort","3"
go
sp_dbcc_updateconfig nms_alm,"linkage error abort","8"
go
16 Check the page linkage and data pointers at both the page level and the row
level using checkdb.
use dbccdb
go
dbcc checkdb(nms_alm)
go
18 Use checkcatalog to check for consistency within and between the system
tables in a database.
use dbccdb
go
dbcc checkcatalog(nms_alm)
go
3 Make the database run in single user mode with the admin user sa.
Maintenance Guide SpectralWave MN9200
Chapter 3 Database Backup and Restoration 27
When dumping a database, you can use the compress option to compress files:
dump database nms_alm to "compress:: d:\sybase15\backup.dmp.1"
stripe on "compress:: d:\sybase15\backup.dmp.2"
stripe on "compress:: d:\sybase15\backup.dmp.3"
go
5 Finally, do not run the database in single user mode with the admin user sa.
sp_dboption nms_alm,"single user", false
go
3 For example, to restore the history alarm database nms_alm using the backup
file, execute the following commands:
load database nms_alm from " d:\sybase15\backup\nmsalm_backup.dmp"
go
online database nms_alm
go
To load the database from several files, execute the following commands:
load database nms_alm f from "d:\sybase15\backup.dmp.1"
stripe on "d:\sybase15\backup.dmp.2"
stripe on "d:\sybase15\backup.dmp.3"
go
online database nms_alm
go
To load the database from the compressed files, execute the following
commands:
load database nms_alm from "compress::d:\sybase15\backup.dmp.1"
stripe on "compress:: d:\sybase15\backup.dmp.2"
stripe on "compress:: d:\sybase15\backup.dmp.3"
go
online database nms_alm
go
Introduction
The administrator can upgrade the MN9200 in either of the following methods:
Reinstalling Database Method
In this method, the user backs up the old database and then restores the old
database in the new MN9200 database.
Figure 10 Reinstalling Database Method
2 Enter the subdirectory /bin under the MN9200 application installation directory
3 Execute the following command
#./stop_all.sh
This chapter describes the process and methods of troubleshooting MN9200 faults.
Probable Cause
1 The FTP setting is wrong
2 The NE upgrade files are not correct
3 The flash of the NE is wrong.
Solution
The FTP setting is wrong
1 Ensure that upgrade files are copied to the specified directory of FTP server.
2 Check the FTP setting: Host is the FTP server’s IP address and Path is the
directory where the upgrade files locates.
3 Ensure that the FTP user which username is weihu and password is cjhyy300
exists in the FTP server
The NE upgrade files are not correct
1 Check the NE upgrade files, and ensure the upgrade files are transferred to FTP
server in Bin Mode.
The flash of the NE is wrong
1 Check whether the flash of the NE is full. If it is full, remove some old files or
format the flash.
2 If the flash doesn’t exist on NE, format the NE
Probable Cause
1 Network connection fails
2 The proxy server fails to work
3 The NE is out of power
4 The NE version and the MN9200 version doesn’t match
SpectralWave MN9200 Maintenance Guide
38 Chapter 5 Troubleshooting
Solution
Network connection fails
Check the Ethernet network connection between the NE and MN9200.
The configuration of proxy is not correct.
Check the proxy configuration
- If the master proxy is not the default proxy, check the status of the proxy.
And check the alarm with Alarm_ID Proxy_Connection_Lost in Current
EML Alarm window
- If the master proxy is the default proxy, ping the NE’s IP address on MN9200
server. If the ping operation is successful, connect with NE directly to check
the configuration of NE
- Check the NE status
The NE is out of power
Check the power of the NE and start the NE.
The NE version and the MN9200 version doesn’t match
Check the MN9200 version and the NE version.
The configuration of NE is not correct
Check the interface status, OSPF configuration and other NE configuration.
Probable Cause
1 The version of the client and server mismatches.
2 The MN9200 server disk or Database server disk is full.
3 Java configuration is incorrect.
4 JRE version is not correct
5 The client Internet Explorer configuration is incorrect.
Solution
The version of the client and server mismatches.
Reinstall the version of the client and ensure the version of the client and server
is the same.
The MN9200 server disk or Database server disk is full.
1 Log on to the MN9200 server or database server.
Maintenance Guide SpectralWave MN9200
Chapter 5 Troubleshooting 39
If the allocated space is more than 75%, please clear the unused files and free more
space
JRE Configuration is not correct
1 Determine if JRE has been installed correctly in the client. Ensure the Java Web
Start configuration is correct.
a Click start, and click Control Panel
b Double-click Java.
c Click General tab.
d Click <Settings…> in Temporary Internet Files frame.
e Click <Delete Files…>.
f Click <OK>.
Figure 12 Java Temporary Files Setting
2 If the user still can’t log in MN9200, then reinstall the JRE.
JRE version is not correct
Check the JRE version, if it is not higher than 1.6, reinstall the JRE.
Follow the steps below the check the version of JRE:
a Click start, and click Control Panel
b Double-click Java.
c Click Java tab, and click <View…>
PW is Unsynchronized
Possible Scenario
The Sync Status of a PW is Unsync.
Probable Cause
The PW configuration on NE and MN9200 are inconsistence.
Solution
The PW configuration on NE and MN9200 are inconsistence.
1 Click the sync check icon to check the PW label and Qos configuration on
NE and the MN9200
2 Update the data on MN9200 according to the result of step 1.
LSP is Unsynchronized
Possible Scenario
The Sync Status of a LSP is Unsync.
Probable Cause
The LSP configuration on NE and MN9200 are inconsistence.
Solution
The LSP configuration on NE and MN9200 are inconsistence.
1 Click the sync check icon to check the configuration on NE and the MN9200
2 Update the data on MN9200 according to the result of step 1.
4 Click the compare icon to compare LSP ID, Reversed LSP ID, Tunnel ID,
APS ID or Reversed APS ID on NE and MN9200.
5 To synchronize the data on MN9200 to that of NE, select the NE in the list, and
click <OK>.
6 Deactivate the LSP and reactivate it.
Probable Cause
The path is too long and the hops are more than the value of Allowed Maximum Hops.
Solution
Set the value of parameter Allowed Maximum Hops higher than the hops that the
path crosses
CE Service is Unsynchronized
Possible Scenario
The Sync Status of CE is Unsync..
Probable Cause
1 The CE configuration on NE and MN9200 are inconsistence.
Solution
The configuration on NE and MN9200 are inconsistence.
1 Click the icon to check the data such as AC numbers, properties of AC and
Qos configuration on NE and the MN9200
2 Update the data on MN9200 according to the result of step 1.
Probable Cause
1 The database server is shutdown
2 The MN9200 application can not connect to database
Solution
The database server is shutdown
Restart the database server
The MN9200 application can not connect to database
After IP change, it is not necessary to reinstall server, the following three
configuration files should be modified:
1 Check the file $ORACLE_HOME/network/admin/tnsnames.ora, and modify the
value of the HOST to the actual IP address. If the value of the HOST is
server_hostname, do not to change it.
NMS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.4.120.120)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = nms)
)
)
databaseport=1521,
SpectralWave MN9200 Maintenance Guide
44 Chapter 5 Troubleshooting
databasename="nms";
type="oracle"
}
local perdb = {
username="nms_per255",
password="nms_per255",
hostname="10.4.120.120",
databaseport=1521,
databasename="nms";
type="oracle"
}
-- storage history alarm data
local almdb = {
username="nms_alm255",
password="nms_alm255",
hostname="10.4.120.120",
databaseport=1521,
databasename="nms";
type="oracle"
}
-- storage event and operation data
local evtdb = {
username="nms_evt255",
password="nms_evt255",
hostname="10.4.120.120",
databaseport=1521,
databasename="nms";
type="oracle"
}
local _dbcfg={
nmlcfg = nmldb,
emlcfg = emldb,
secu = emldb,
inv = emldb,
nelcfg = neldb,
per = perdb,
emlalm = almdb,
nmlalm = almdb,
evtdb = evtdb
The first two files maybe need not to be changed, but if changed, please restart
Oracle instance.
The last file must be changed, restart the MN9200 application after changing.
Probable Cause
Dummy data was found on MPLS Protection and General MPLS of the related NE.
Solution
Dummy data was found on MPLS Protection and General MPLS of the related
NE
Delete the dummy data in the following order
- In the related DVM management, delete corresponding APS ID in MPLS
Protection
- In the related DVM management, delete the corresponding LspID in MPLS
OAM tab of General MPLS
- In the related DVM management ,delete the corresponding Tunnel Name of
Tunnel Config tab of General MPLS
- In the related DVM management , delete the corresponding Mplsid in MPLS
Policy Map tab of QoS Management -
- In the related DVM management , delete corresponding Lsp Id in Mpls XC
Config tab of General MPLS
Probable Cause
The encoding of the CSV file is not correct. When the user opens a CSV file use
Excel, the Excel take granted that the encoding of the file is ANSI. If the encoding of
the CSV file is not ANSI, illegible characters are displayed.
Solution
Modify the encoding type of the CSV file to ANSI.
1 Open the CSV file with Notepad
2 Select [File>Save As]. In the Save As dialog box, ensue the .csv is the suffix of
the file. The ANSI should be selected in Encoding dropdown list.
3 Open the new CSV file using Excel. No illegible characters displayed.
Possible Cause
The table space has many fragments, which lead to Oracle fails to allocate an extent
of the required number of blocks for a table segment in the table space indicated.
This error does not necessarily indicate whether or not you have enough space, it
merely indicates that Oracle could not find a large enough area of free contiguous
space in which to fit the next extent.
Solution
Querying Tablespace Used Ratio
1 Connect SQLPLUS
# su - nmsdb
$sqlplus “/ as sysdba”
GROUP BY TABLESPACE_NAME) F
WHERE D.TABLESPACE_NAME = F.TABLESPACE_NAME(+)
UNION ALL --if have tempfile
SELECT D.TABLESPACE_NAME,SPACE "SUM_SPACE(M)",BLOCKS SUM_BLOCKS,
USED_SPACE "USED_SPACE(M)",ROUND(NVL(USED_SPACE,0)/SPACE*100,2)
"USED_RATE(%)",
NVL(FREE_SPACE,0) "FREE_SPACE(M)"
FROM
(SELECT TABLESPACE_NAME,ROUND(SUM(BYTES)/(1024*1024),2)
SPACE,SUM(BLOCKS) BLOCKS
FROM DBA_TEMP_FILES
GROUP BY TABLESPACE_NAME) D,
(SELECT TABLESPACE_NAME,ROUND(SUM(BYTES_USED)/(1024*1024),2)
USED_SPACE,
ROUND(SUM(BYTES_FREE)/(1024*1024),2) FREE_SPACE
FROM V$TEMP_SPACE_HEADER
GROUP BY TABLESPACE_NAME) F
WHERE D.TABLESPACE_NAME = F.TABLESPACE_NAME(+);
Check the used ratio of data and index for each database , especially
NMS_PER_TBLS_DATA and NMS_PER_TBLS_IDX. If the used ratio of the table
space is higher than 75%, de-fragment Oracle Tablespace.
De-fragmenting Oracle Table Space
De-fragment table space by executing command shrink table to degrade table’s HWM
(high water mark) every two weeks.
1 Query all tables belong to tablespace NMS_PER_TBLS_DATA
SQL> select table_name from dba_tables where owner='NMS_PER';
2 Drop the tables whose name is like ‘1970xxxx’, ‘2035xxxx’, the date is not the
current data.
3 Edit the SQL sentence shrink.sql in another window
$vi shrink.sql
SELECT
'ALTER TABLE ' || '&username' || '.' || table_name || ' enable row
movement;'
FROM dba_tables where owner='&username';
SELECT
'ALTER TABLE ' || '&username' || '.' || table_name || ' shrink
space cascade;'
FROM dba_tables where owner='&username';
exit
5 Enter the username of the database. For example, if the user name of
performance database is nms_per. Enter the nms_per
Enter the username:nms_per
Possible Cause
The size of Redo log is not big enough; the switch between redo logs is too frequent.
Impaction on System
Once this error happens, all the DML/DDL operations to database may hang
temporarily.
Solution
Checking db_writer_processes Value
Maintenance Guide SpectralWave MN9200
Chapter 5 Troubleshooting 51
1 Check db_writer_processes
$sqlplus sys as sysdba
SQL>show parameter;
2 Check the value of db_writer_processes, this value should be smaller than the
number of CPU. For example, if there are four CPUs of this server, set the value
to three.
SQL>alter system set db_writer_processes = 3 scope=spfile;
SQL>create pfile from spfile;
The result indicates that there are three redo log groups, each group has one
member, and member size is 200M. We need to add two more members and
change the three old member’s size to 500M.
There should be only one redo group in CURRENT status and at least one group
in ACTIVE status.
3 Add more redo log groups and resize old redo log size.
Adding More Redo Log Groups
Uses the following command to adding more redo log groups, and resize the size of
old redo logs.
4 Create two new redo log group
SQL> alter database add logfile group 4
('/opt/nmsdb/oraESL/oradata/nms/redo04.log ') size 500M;
6 Wait until the status of group 4 changes into CURRENT, and then switch redo
log to the new redo log group 5.
SQL>alter system switch logfile;
SQL>select group#,members,bytes/1024/1024,status from v$log;
7 Wait until the STATUS of the redo log group1, group 2, group 3 is changed into
INACTIVE, then delete the old three redo log group
SQL>alter database drop logfile group 1;
SQL>alter database drop logfile group 2;
SQL>alter database drop logfile group 3;
Probable Cause
The performance of the MN9200 is not good.
Solution
Perform the following operation to collect the performance related logs, and send the
logs to the field support engineer of NEC for further analyze.
Querying Server’s Performance
The following information should be collected:
Collect the IO information 100 reports at five seconds interval, and output the
result to the specified log
iostat -xcn 5 100 >>/opt/netmantools/log/iostatfile &
Collect the virtual memory information every five seconds, and output the result
to the specified log
vmstat 5 100 >>/opt/netmantools/log/vmstafile &
Collect the global average activities for each available processor 100 reports at
five seconds interval, and output the result to the specified log
mpstat 5 100 >>/opt/netmantools/log/mpstatfile &
Collect the system activity information 100 reports at five seconds interval, and
output the result to the specified log.
sar 5 100 >>/opt/netmantools/log/sarfile &
Collect active processes on the system and reports statistics based on the
selected output mode and sort order 100 reports at five seconds interval, and
output the result to the specified log.
prstat –a 5 100 >>/opt/netmantools/log/prstatfile &
For example,
#pfiles 2902|grep -i "port: 2008"
c Collect the data every 5000 ms (that is five seconds), and execute the
command 1000 times
Replace the Procees_ID with the process which uses 2008 port.
Collect the current executing SQLat the interval of 10 seconds, and execute six
times
SQL>SELECT osuser, username, sql_text from v$session a, v$sqltext
b where a.sql_address =b.address order by address, piece;
SQL>select s.USERNAME, sq.SQL_TEXT, s.LAST_CALL_ET
from v$open_cursor oc, v$sql sq, v$session s
where oc.HASH_VALUE = sq.HASH_VALUE
and s.SID = oc.SID and s.STATUS = 'ACTIVE';
Solution
Collect the following files and send the logs to the field support engineer of
1(C for further analyze.
The file core in the MN9200 application software installation directory
The file hs_err_pid*.log in the MN9200 application software installation directory
All the files under the subdirectory /logs the MN9200 application software
installation directory
This chapter describes how to use backup tool to back up and restore MN9200
database provided by NEC.
This tool is applicable to RDMBS database.
Preparations
1 MN9200 server has already installed.
2 Copy the latest version of the Backup tool software to the MN9200 server.
Backing up Database
Set environment parameters before backing up database.
#!/bin/sh
echo off
#XXX_USER is user account of the XXX database, which is created
during MN900 database installation;
#XXX_PASS is the password of XXX_USER,
#XXX_OUT_FOLDER is the directory where stores the backed up XXX
database files.
NML_USER=nms_nml; export NML_USER;
NML_PASS= nms_nml; export NML_PASS;
NML_OUT_FOLDER=nml255; export NML_OUT_FOLDER;
Restoring Database
Stop the MN9200 server before restoring Database.
$./restore_nel.sh