Beruflich Dokumente
Kultur Dokumente
V200R009
Issue
01
Date
2009-07-30
Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any
assistance, please contact our local office or company headquarters.
Website:
http://www.huawei.com
Email:
support@huawei.com
Notice
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but the statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Contents
Contents
About This Document.....................................................................................................................1
1 Introduction to Northbound Performance File Interface (Measurement Unit-Based)
...........................................................................................................................................................1-1
1.1 Definition of Northbound Interface.................................................................................................................1-2
1.2 Definition of Northbound Performance File Interface (Measurement Unit-Based).......................................1-2
Contents
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Index.................................................................................................................................................i-1
ii
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Figures
Figures
Figure 1-1 Location of the northbound interface.................................................................................................1-2
Figure 3-1 Exported performance file..................................................................................................................3-7
Issue 01 (2009-07-30)
iii
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Tables
Tables
Table 2-1 Parameters of performance data export tasks.....................................................................................2-14
Table 3-1 Example of interconnection parameters...............................................................................................3-2
Table 3-2 Parameter setting..................................................................................................................................3-5
Table 3-3 Usage of the performance file interface...............................................................................................3-8
Table 4-1 Common troubleshooting.....................................................................................................................4-2
Table 4-2 Description of information collection..................................................................................................4-2
Table 4-3 Identifying the NE time zone...............................................................................................................4-5
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Purpose
This document provides the information about M2000 Northbound performance file interface
(Measurement Unit-Based). The document also provides the operation guide for connecting the
NMS.
Related Versions
The following table lists the product versions related to this document.
Product Name
Version
M2000
V200R009
Intended Audience
The intended audiences of this document are:
l
Network administrator
Update History
01 (2009-06-30)
Initial release. Also, the first formal release.
Organization
1 Introduction to Northbound Performance File Interface (Measurement Unit-Based)
This provides the definition of the northbound interface and the definition of the northbound
performance file interface provided by the M2000.
2 Introduction to Performance Data Export Tool and File (Measurement Unit-Based)
This describes the performance data export tool and file.
3 Interconnection Commissioning of the Northbound Performance File Interface
(Measurement Unit-Based)
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Before interconnecting the NMS with the M2000, you must conduct an interconnection
commissioning. Based on the commissioning result, determine whether the northbound
performance file interface meets the conditions for interconnecting with the NMS.
4 Troubleshooting for the Northbound Performance File Interface (Measurement UnitBased)
The NMS interconnects with the M2000 through the northbound performance file interface. If
a fault occurs when the NMS is obtaining performance data, refer to relevant troubleshooting
methods in this chapter.
Conventions
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol
Description
Indicates a hazard with a high level of risk, which if not
avoided, will result in death or serious injury.
Indicates a hazard with a medium or low level of risk, which
if not avoided, could result in minor or moderate injury.
Indicates a potentially hazardous situation, which if not
avoided, could result in equipment damage, data loss,
performance degradation, or unexpected results.
Indicates a tip that may help you solve a problem or save
time.
Provides additional information to emphasize or supplement
important points of the main text.
General Conventions
The general conventions that may be found in this document are defined as follows.
Convention
Description
Boldface
Italic
Courier New
Command Conventions
2
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
The command conventions that may be found in this document are defined as follows.
Convention
Description
Boldface
Italic
[]
{ x | y | ... }
[ x | y | ... ]
{ x | y | ... }*
[ x | y | ... ]*
GUI Conventions
The GUI conventions that may be found in this document are defined as follows.
Convention
Description
Boldface
>
Keyboard Operations
The keyboard operations that may be found in this document are defined as follows.
Format
Description
Key
Press the key. For example, press Enter and press Tab.
Key 1+Key 2
Key 1, Key 2
Mouse Operations
The mouse operations that may be found in this document are defined as follows.
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Action
Description
Click
Double-click
Drag
Press and hold the primary mouse button and move the
pointer to a certain position.
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Issue 01 (2009-07-30)
1-1
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
In the mobile communication network, the M2000 is an EMS. The M2000 reports the alarm,
configuration, performance and inventory data to the NMS through the northbound interface.
To use the northbound performance file interface, you must run the performance data export tool on the
M2000 server.
1-2
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Issue 01 (2009-07-30)
2-1
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
You are not required to restart the export tool after modifying BeginTime and EndTime of
<TimeSegmentSet>. For the modification of other parameters, you must restart the export tool.
<TimeSegmentSet>
<BeginTime Name="Begin time." Value="2006-10-29 00:00"/>
<EndTime Name="End Time." Value="2006-10-29 23:59"/>
</TimeSegmentSet>
<GeneralSet>
<CounterSortMode Name="Counter display and sort mode." Value="0"/>
<CounterValueFormat Name="Counter value fromat." Value="0"/>
<QueryTimeMode Name="Query result time mode." Value="0"/>
<DisplayTimeZone Name="Display time zone information." Value="0"/>
<DisplayDstOffSet Name="Display timezone offset information." Value="0"/>
<DeleteFileTime Name="Delete file time." Value="1:30"/>
<QueryHours Name="Query result hours." Value="5"/>
<QueryExportFormat Name="Query result export format." Value="0"/>
<FileExportMode Name="File export format." Value="1"/>
<OMCServerName Name="OMC server name." Value=""/>
<RANShared Name="RAN shared and result transmit mode" IsShared="0"
TransmitMode="2"/>
<GZip Name="Compress file or not." Value="0"/>
<TemplateMode Name="Template File Name Format" Value="0"/>
</GeneralSet>
<EffectiveSet>
<PMDBConnNum Name="PMDB database connection number." Value="10"/>
<MethodThreadNum Name="Active method's thread number." Value="2"/>
<TableThreadNum Name="Process table's thread number." Value="3"/>
<BulkReaderNum Name="Bulk read record number." Value="5000"/>
</EffectiveSet>
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
TimeSegmentSet
<TimeSegmentSet> configures a time segment for exporting results to a file.
l
BeginTime
This item sets the start time for exporting results.
EndTime
This item sets the end time for exporting results.
NOTE
The set end time must be later than the start time, If the span between the start time and the end time
is too long, the export function is affected. Therefore, you are advised to set the span to not more
than five days.If you plan to collect the data of a long period, you can configure the start time and
the end time for several times. For example, if you plan to collect the performance data from
2006-01-01 to 2006-01-10, you can collect the performance data from 2006-01-01 to 2006-01-05
first by setting BeginTime=2006-01-01 00:00, EndTime=2006-01-05 00:00 in the configuration file.
After the performance data within the period is exported, you can collect the perform data from
2006-01-05 to 2006-01-10 by setting the BeginTime=2006-01-05 00:05, EndTime=2006-01-10
00:00 in the configuration file.
Set the BeginTime to be the sum of the begin time of the first period in the missing file, the export
period, and the delay time. Set the EndTime to be the sum of the begin time of the last period in the
missing file, the export period, and the delay time. For instance, if the export period is 30 minutes,
the delay time is 30 minutes, and the first period of the missing file is from 00:00 of 31st, March,
2008 to 00: 30 of 31st, March, 2008, the BeginTime is 01: 00 of 31st, March, 2008. Based on the
previous assumptions, if the last period of the missing file is from 00:00 of 1st, April, 2008 to 00: 30
of 2nd, April, 2008, the EndTime is 01:00 of 1st, April, 2008.
After you set the BeginTime and the EndTime, the export tool collects the data of the set period
within five minutes. The period collection is mainly used for manual supplementary collection. Not
affecting the normal collection, the supplementary collection based on period can be performed at
the same time with the normal collection. After the period collection, you can set the same value for
the BeginTime and the EndTime for prevention purposes. In addition, the manual supplementary
collection differs from the automatic collection of the collection tool. The export tool performs the
automatic collection at the round clock. In this way, any data that is delayed for accessing the database
is collected. The time for automatic supplementary collection is based on QueryHours.
GeneralSet
GeneralSet contains common configuration items, which can be modified as required.
l
CounterSortMode
This item sets the sequence of counters in the result file.
If the value of CounterSortMode is set to 0, the counters in the exported file are
arranged in ascending order based on the character string sizes of counter names.
If the value of CounterSortMode is set to 1, the counters in the exported file are
arranged in ascending order based on counter IDs.
If the value of CounterSortMode is set to 2, the counters in the exported file are
arranged in ascending order based on the character string ASCII codes of counter names.
CounterValueFormat
This item sets a display mode for counter values in the result file.
Issue 01 (2009-07-30)
2-3
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
marks in the exported result file. The counter values of the measurement unit that
contains character-string counters, however, are marked with quotation marks.
If the value of CounterValueFormat is set to 1, all the counter values in the exported
result file are marked with quotation marks.
QueryTimeMode
This item sets a time mode for querying results.
DisplayTimeZone
This item sets whether to display the time zone information.
If the value of DisplayTimeZone is set to 0, the system does not display the time zone
information.
If the value of DisplayTimeZone is set to 1, the system displays the time zone
information.
DisplayDstOffSet
This item sets whether to display the DST offset information.
If the value of DisplayDstOffSet is set to 0, the system does not display the DST offset
information.
If the value of DisplayDstOffSet is set to 1, the system displays the DST offset
information.
DeleteFileTime
This item sets the execution time for deleting the overdue exported files.
By default, the system deletes the overdue exported files at 01:30 in the morning every day.
QueryHours
This item sets the number of periods for querying the recollected results.
After this item is set, the system checks whether there is recollected data available within
the set time range once the timer is triggered.
For example, if the value of QueryHours is set to 5, the system checks whether there is
the recollected data available within the time range 10:00 to 15:00 when the timer is
triggered at 15:00. If the recollected data is available, the data is exported to the
corresponding file.
QueryExportFormat
This item sets the implementation mode for exporting the recollected results.
2-4
If the value of QueryExportFormat is set to 0, export all the results and re-write the
existing exported files if the recollected data is available.
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
time_recover_current system time.xml. The existing exported files do not have any
change.
l
FileExportMode
This item sets the format of file names.
If the value of FileExportMode is set to 0, a file name does not include the name of
the host or the name of the NE type.
If the value of FileExportMode is set to 1, a file name includes the name of the host
and the name of the NE type. The format of a file name is pmresult_Name of a
host_Name of the NE Type_measurement unit_measurement period_start time_end
time.xml, such as pmresult_M2000svrCDMA_HLR_150999067_5_200710121535_200710121540.xml.
OMCServerName
This item sets the name of the server. The value is null by default.
If the value of OMCServerName is not null, the name of the exported file is server
name_pmresult_measurement unit_measurement period_start time_end time.csv.
For example, if the value of OMCServerName is set to MyServer, the name of an
exported file is MyServer_pmresult_function subset_measurement period_start
time_end time.csv.
RANShared
This item sets whether the RAN sharing mode is used. The value is common mode by
default.
If IsShared is set to 1, you can infer that RANShared is RAN sharing mode.
For the RAN sharing mode, you can set the TransmitMode parameter to determine the
mode to forward non-cell data. TransmitMode = 0 indicates that the data is forwarded
to all operators. TransmitMode = 1 indicates that the data is forwarded to none of the
operators. TransmitMode = 2 indicates that the data is forwarded to only primary
operators.
GZip
This item sets whether to compress the result files.
If the value of GZip is set to 0, the result files are not compressed.
If the value of GZip is set to 1, the result files are compressed according to the UNIX
standard. The extension of the compressed file is gz.
TemplateMode
This item sets the format of the template name.
If the value of TemplateMode is set to 0, the template name is contained in the name
of the result file.
EffectiveSet
The <EffectiveSet> portion is a parameter for setting the export efficiency. You are not allowed
to modify the parameter because each configuration item is closely related to other configuration
items.
Issue 01 (2009-07-30)
2-5
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
PMDBConnNum
This item sets the number of connections allowable for the database.
MethodThreadNum
This item sets the number of threads for initializing the active thread mode.
TableThreadNum
This item sets the number of threads used by the timer for triggering the result processing
table.
BulkReaderNum
This item sets the number of results read in batches at a time when the system queries results
in the database result table.
If function subsets are configured in performance files, save the result of each function
subset to a file.
If templates are configured in performance files, save the result of each template to a file.
2-6
.csv
Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd.
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
.xml
.txt
If a template contains only one function subset and a template name is configured
The name of the file for saving performance results can be pmresult_Function subset
ID_Measurement period_Start time_End time_Template Name.csv or
pmresult_Function subset ID_Measurement period_Start time_End time_Template
Name.xml.
For example, the name of the performance export file
pmresult_67109445_30_200507041030_200507041100_TCPState.csv indicates:
Issue 01 (2009-07-30)
2-7
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
The name of the file for saving performance results can be pmresult_Measurement
period_Start time_End time_Template Name.csv or pmresult_Measurement
period_Start time_End time_Template Name.xml.
For example, the name of the performance export file
pmresult_30_200507041030_200507041100_ TCPState.csv indicates:
Result Time | Granularity Period | Object Name | Reliability | Name of Counter 1 | Name of
From the third row, the information about the performance results is displayed according
to the field name in the first row. Each result record occupies one row.
For example:
Result Time,Granularity Period
","CIR
The second row lists the units. The unit is displayed if the unit exists; otherwise, Null is
displayed. The second row is shown as follows:
Null | Minutes | Null | Null | Unit of Counter 1 | Unit of Counter 2 | ......
From the third row, the information about the performance results is displayed according
to the field name in the first row.
For example:
Result Time,Granularity Period,Object Name,Reliability,"84149755","84149756",
"84149757","84149758","84149759","84149760","84149761","84149762",Minutes,,,ti
mes,times,
times,times,times,times,times,times
2006-05-23 15:00,30,"msc_b035/MSCServer:msc_b035",Reliable,
9460,2824,31106,25564,
5173,19433,16631,20223
l
2-8
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
<sf></sf> indicates the reliability of the value for a object. sf is the abbreviation of
suspect flag.
For example:
The name of an object with two levels can be RNC4/Cell:22081.
The name of an object with three levels can be RNC4/MTP3BLinkSet:0/MTP3BLinkt:0.
When you export the performance data according to measurement units, the exported
measurement counters are the counters set for measuring on the M2000 client.
The counters in the exported file are sorted according to the rules for setting the
CounterSortMode parameter in the PMExpParam.xml file. Therefore, when you add or
cancel a measurement counter, the absolute location of the counter changes. When the NMS
parses the files, do not assume that a counter is in a fixed place. If you assume that the
counter is in a fixed place, the expected counter may be inconsistent with the actual counter.
The result of a counter may be null. If the value is null, it indicates that the corresponding
counter has no result or the result conveys no meaning. The possible causes of a null value
are as follows: The NE does not report the result of the corresponding counter or the counter
is a calculation counter. The divisor in the corresponding formula is zero.
Issue 01 (2009-07-30)
2-9
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
2.4.1 Modifying the Configuration File of the Performance Data Export Tool (Measurement
Unit-Based)
Modifying parameters of the configuration file of the performance data export tool, such as
BeginTime, EndTime, CounterSortMode, CounterValueFormat, QueryTimeMode,
DisplayTimeZone, and so on.
2.4.2 Setting Export Tasks on the M2000 Client (Measurement Unit-Based)
You can set performance export tasks on the M2000 client.
2.4.3 Starting the Performance Data Export Tool (Measurement Unit-Based)
This describes the procedure for starting the performance data export tool.
2.4.4 Stopping the Performance Data Export Tool (Measurement Unit-Based)
This describes the procedure for stopping the performance data export tool.
Context
NOTE
You are not required to restart the export tool after modifying BeginTime and EndTime of
<TimeSegmentSet>. For the modification of other parameters, you must restart the export tool.
Procedure
Step 1 Modify BeginTime.
This item sets the start time for exporting results.
Step 2 Modify EndTime.
This item sets the end time for exporting results.
NOTE
The set end time must be later than the start time, If the span between the start time and the end time is too
long, the export function is affected. Therefore, you are advised to set the span to not more than five hours.
If you plan to collect the data of a long period, you can configure the start time and the end time for several
times. For example, if you plan to collect the performance data from 2006-01-01 00:00 to 2006-01-01
10:00, you can collect the performance data from 2006-01-01 00:00 to 2006-01-01 05:00 first by setting
BeginTime=2006-01-01 00:00, EndTime=2006-01-01 05:00 in the configuration file. After the
performance data within the period is exported, you can collect the perform data from 2006-01-01 05:05
to 2006-01-01 10:00 by setting the BeginTime=2006-01-01 05:05, EndTime=2006-01-01 10:00 in the
configuration file.
After you set the BeginTime and the EndTime, the export tool collects the data of the set period within
five minutes. The period collection is mainly used for manual supplementary collection. Not affecting the
normal collection, the supplementary collection based on period can be performed at the same time with
the normal collection. After the period collection, you can set the same value for the BeginTime and the
EndTime for prevention purposes. In addition, the manual supplementary collection differs from the
automatic collection of the collection tool. The export tool performs the automatic collection at the round
clock. In this way, any data that is delayed for accessing the database is collected. The time for automatic
supplementary collection is based on QueryHours.
2-10
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
If the value of CounterSortMode is set to 0, the counters in the exported file are arranged
in ascending order based on the character string sizes of counter names.
If the value of CounterSortMode is set to 1, the counters in the exported file are arranged
in ascending order based on counter IDs.
If the value of CounterSortMode is set to 2, the counters in the exported file are arranged
in ascending order based on the character string ASCII codes of counter names.
If the value of CounterValueFormat is set to 0, the counter values of the measurement unit
that contains only non-character-string counters are not marked with quotation marks in the
exported result file. The counter values of the measurement unit that contains character-string
counters, however, are marked with quotation marks.
If the value of CounterValueFormat is set to 1, all the counter values in the exported result
file are marked with quotation marks.
If the value of CounterValueFormat is set to 2, none of the counter values in the exported
result file are marked with quotation marks.
If the value of QueryTimeMode is set to 0, the query results are displayed in mode of NE
time.
If the value of QueryTimeMode is set to 1, the query results are displayed in mode of server
time.
If the value of DisplayTimeZone is set to 1, the system displays the time zone information.
If the value of DisplayTimeZone is set to 0, the system does not display the time zone
information.
If the value of DisplayDstOffSet is set to 1, the system displays the DST offset information.
If the value of DisplayDstOffSet is set to 0, the system does not display the DST offset
information.
2-11
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
If the value of QueryExportFormat is set to 0, export all the results and re-write the existing
exported files if the recollected data is available.
If the value of QueryExportFormat is set to 1, export the recollected data to another file.
The file name is different, which is pmresult_measurement unit ID_measurement
period_start time_end time_recover_current system time.csv or pmresult_measurement
unit ID_measurement period_start time_end time_recover_current system time.xml. The
existing exported files do not have any change.
If the value of FileExportMode is set to 0, a file name does not include the name of the host
or the name of the NE type.
If the value of FileExportMode is set to 1, a file name includes the name of the host and the
name of the NE type. The format of a file name is pmresult_Name of a host_Name of the
NE Type_measurement unit ID_measurement period_start time_end time.xml, such as
pmresult_M2000svr-CDMA_HLR_150999067_5_200710121535_200710121540.xml.
If the value of OMCServerName is not null, the name of the exported file is server
name_pmresult_function subset_measurement period_start time_end time.csv. For
example, if the value of OMCServerName is set to MyServer, the name of an exported file
is MyServer_pmresult_function subset_measurement period_start time_end time.csv.
If the value of OMCServerName is null, the name of the exported file is pmresult_function
subset_measurement period_start time_end time.csv.
If IsShared is set to 1, you can infer that RANShared is RAN sharing mode.
For the RAN sharing mode, you can set the TransmitMode parameter to determine the mode
to forward non-cell data. TransmitMode = 0 indicates that the data is forwarded to all
operators. TransmitMode = 1 indicates that the data is forwarded to none of the operators.
TransmitMode = 2 indicates that the data is forwarded to only primary operators.
2-12
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
If the value of GZip is set to 0, the result files are not compressed.
If the value of GZip is set to 1, the result files are compressed according to the UNIX standard.
The extension of the compressed file is gz.
If the value of TemplateMode is set to 0, the template name is contained in the name of the
result file.
If the value of TemplateMode is set to 1, the template ID is contained in the name of the
result file.
Prerequisite
You have logged in to the M2000 client.
Procedure
Step 1 Choose Maintenance > Task Management. The Task Management window is displayed.
Step 2 Choose File Interface > Performance Data Export in the navigation tree to view a
performance data export task.
Step 3 Use either of the following methods to view the Attribute dialog box:
l
Select a performance data export task in the task list. Then click Attribute.
2-13
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Description
File Format
.csv
.xml
.txt
Hold Days
Sets the hold days of an exported file. For example, if this parameter
is valued 7, you can infer that the file can be saved for 7 days after
the day it is exported and that it is deleted after 7 days.
File Path
Path for saving the exported file, which is set by the system.
This parameter cannot be modified.
Measure Period
Function Subsets
5 minutes
15 minutes
30 minutes
60 minutes
24 hours
Template
NOTE
For measurement subsets with the same measurement period, you can configure only one export period.
2-14
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Prerequisite
Log in to the M2000 server as root.
Context
The performance export tool is a service, PMExport, provided by the M2000. It starts and stops
after the M2000 starts and stops. You can start the performance export tool manually during the
operation of the M2000.
Procedure
Step 1 Go to the M2000 installation folder.
The default M2000 installation path is /opt/OMC.
# cd /opt/OMC
Step 2 Start the performance export tool.
# . ./svc_profile.sh
# svc_adm -cmd startsvc PMExport
The performance export tool starts successfully if the following prompt is displayed:
PMExport
[running
----End
Prerequisite
Log in to the M2000 server as root.
Context
The performance export tool is a service, PMExport, provided by the M2000. It starts and stops
after the M2000 starts and stops. You can stop the performance export tool manually during the
operation of the M2000.
Procedure
Step 1 Go to the M2000 installation folder.
The default M2000 installation path is /opt/OMC.
Issue 01 (2009-07-30)
2-15
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
# cd /opt/OMC
Step 2 Stop the performance export tool.
# . ./svc_profile.sh
# svc_adm -cmd stopsvc PMExport
The performance export tool stops if the following prompt is displayed:
PMExport............................stopped
------------cost: 3*1500(msec)-----------svc_adm : info : INDIE_STOP finished
If the following message is displayed, you can infer that the performance export tool is not
running:
svc_adm:error:service is not running
----End
2-16
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Issue 01 (2009-07-30)
3-1
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Checking License
Before connecting the M2000 to the NMS, check whether the NMS is licensed to use the
performance file interface.
1.
2.
Choose Help > License Information. The License Information window is displayed.
3.
Click the Function control item tab. If License name contains Performance File
Interface, you can infer that the NMS is authorized to use the performance file interface.
3-2
Parameter Type
Parameter
Parameter Value
Description
User parameters
User Name
ftpuser
Password
ftpuser
This parameter is
modifiable.
Export Path
/export/home/omc/
var/fileint/pm
Content parameter
Selected Function
Subsets
This parameter is
modifiable on the
GUI of the M2000
client.
Format parameters
Start Time
10/11/2008 17:00:00
This parameter is
modifiable on the
GUI of the M2000
client.
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Parameter Type
Parameter
Parameter Value
Description
File Format
CSV
This parameter is
modifiable on the
GUI of the M2000
client.
This parameter is
modifiable in the
configuration file
of the export tool.
This parameter is
modifiable in the
configuration file
of the export tool.
Display timezone
offset
information.
This parameter is
modifiable in the
configuration file
of the export tool.
Display timezone
offset information
3-3
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
This describes how to obtain and check the exported performance file in the export path. You
can obtain the exported performance file from the export path. Compare parameters in the
exported file and the negotiated parameters. If the parameters in the exported file are consistent
with the negotiated parameters,you can infer that the generated performance export file is correct.
3.2.4 Commissioning the Interconnection of the Performance File Interface (Measurement UnitBased)
This describes how to simulate the NMS to obtain the performance file generated by the
M2000 through the FTP. According to the obtained performance file, you can determine whether
the northbound performance file interface meets the conditions for interconnecting with the
NMS.
3.2.5 Usage of the Performance File Interface (Measurement Unit-Based)
This describes how to use the performance file interface when the M2000 system adopts different
networking modes.
Prerequisite
You have logged in to the M2000 server as user root.
Procedure
Step 1 Run the following commands to open the configuration file:
# cd /export/home/omc/var/etc/PMExport
# vi PMExpParam.xml
The contents of the opened configuration file are as follows:
<TimeSegmentSet>
<BeginTime Name="Begin time." Value="2006-10-29 00:00"/>
<EndTime Name="End Time." Value="2006-10-29 23:59"/>
</TimeSegmentSet>
<GeneralSet>
<CounterSortMode Name="Counter display and sort mode." Value="0"/>
<CounterValueFormat Name="Counter value fromat." Value="0"/>
<QueryTimeMode Name="Query result time mode." Value="0"/>
<DisplayTimeZone Name="Display time zone information." Value="0"/>
<DisplayDstOffSet Name="Display timezone offset information." Value="0"/>
<DeleteFileTime Name="Delete file time." Value="1:30"/>
<QueryHours Name="Query result hours." Value="5"/>
<QueryExportFormat Name="Query result export format." Value="0"/>
<FileExportMode Name="File export format." Value="1"/>
<OMCServerName Name="OMC server name." Value=""/>
<RANShared Name="RAN shared and result transmit mode" IsShared="0"
TransmitMode="2"/>
<GZip Name="Compress file or not." Value="0"/>
<TemplateMode Name="Template File Name Format" Value="0"/>
</GeneralSet>
<EffectiveSet>
<PMDBConnNum Name="PMDB database connection number." Value="10"/>
<MethodThreadNum Name="Active method's thread number." Value="2"/>
<TableThreadNum Name="Process table's thread number." Value="3"/>
3-4
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
For meanings of the configuration items, see 2.4.1 Modifying the Configuration File of the Performance
Data Export Tool (Measurement Unit-Based).
Step 3 Press Esc and run the :wq! command. Save the file and exit the vi editor.
Step 4 Restart the performance data export tool for the modifications to take effect.
# svc_adm -cmd restartsvc PMExport
After restarting the tool, execute the following command to check whether the tool is running
properly:
# svc_adm -cmd status | grep PMExport
If the system returns the following message, you can infer that the performance data export tool
runs properly.
PMExport
[running
----End
Prerequisite
You have logged in to the M2000 client.
Procedure
Step 1 Choose Maintenance > Task Management. The Task Management window is displayed.
Step 2 From the navigation tree on the left, choose File Interface > Performance Data Export to
view a task record.
Step 3 Double-click the task record to view the Attribute dialog box. Set relevant parameters by
referring to Table 3-2.
Table 3-2 Parameter setting
Issue 01 (2009-07-30)
Tab
Parameter
Parameter Value
Common Parameters
Task Name
3-5
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Tab
Extended Parameters
Parameter
Parameter Value
Start Time
10/11/2008 17:00:00
File Format
CSV
Hold Days
Export Period
15 minutes
Delay Time(Minute)
Function Subsets
Root
node>RNC>Measurements
related to
Algorithm>Measurement of
Compressed Mode per cell
NOTE
The start time must be later than the current time of the server.
The delay time indicates the duration from the end time of a measurement period to the start time on
exporting the performance result of this measurement period.
The style of files exported by Function Subsets is different from the style of files exported by
Template. Templates are created when you query the performance result.
Context
The northbound file interface allows you to obtain files through the SFTP or FTP. This section
takes the FTP as an example.
Procedure
Step 1 Check whether any performance export file is generated.
3-6
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
----End
Prerequisite
The communication between the NMS and the M2000 is normal.
Context
The NMS can use either of the following methods to obtain performance file:
l
The NMS uses the FTP to obtain the file from the specified path of the M2000 server.
Procedure
Step 1 Under the Microsoft Windows operating system, choose Start > Run. In the dialog box, enter
ftp IP address of the M2000 server to enable the FTP login.
Issue 01 (2009-07-30)
3-7
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
cd /export/home/omc/var/fileint/pm/pmexport_20081110
lcd d:\
asc
get pmresult_1275072017_15_200811101500_200811101515_recover_200811101700.csv
quit
3-8
Use Reference
Single-server system
HA system
Remote HA system
SLS system
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Issue 01 (2009-07-30)
4-1
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Common Troubleshooting
For the methods of handling common faults that may occur during the process of obtaining
performance data for the NMS, see Table 4-1.
Table 4-1 Common troubleshooting
Common Fault
Troubleshooting Method
Information Collection
If an unusual fault occurs when the NMS is obtaining performance data, you need to collect the
information about the fault to locate the fault. For details about how to collect fault information,
see Table 4-2.
Table 4-2 Description of information collection
4-2
Related Information
Description
Operation information
Version information
IP information
Log information
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Symptom
No performance files exist in the export path. The NMS cannot obtain the performance data of
the NE.
Troubleshooting
Generally, the export of performance files fails due to the following causes:
l
Data of certain NEs fails to be saved to the database within the specified period.
2.
3.
If the service is not started, run the following command to start it:
# svc_adm -cmd startsvc PMExport
4-3
1.
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
On the M2000 client, choose Maintenance > Task Management. The Task
Management window is displayed.
NOTE
The M2000 displays the information about the export result in Result Info only when it is exporting
a file.
2.
In the navigation tree on the left, choose File Interface > Performance Data Export to
view the information in the Result Info area. If The result is empty, need not
write file. is displayed in Result Info, it indicates that the performance result report
does not contain any data.
If the northbound interface delays exporting the export file, check whether the export file
is generated at a full hour. If the generation time is a little later than the full hour, you can
infer that the file is generated because of supplementary collection. In this case, data of
certain NEs fails to be saved to the database within the specified period.
2.
Query the performance result report and check whether any data fails to be saved to the
database within the specified period.
(1) Query the performance result report.
Determine the name of the result report according to the number of the function subset
and the measurement period. The result report is named in the following format:
tbl_Result_subset number_measurement period. The measurement period can be 0,
1, 2, 3, and 4, which indicates 5, 15, 30, 60, and 1440 minutes, respectively.
(2) Query the result report by using the SQL sentence. You can execute the SQL sentence
on the M2000 server to obtain all the results of the subset.
For example, the export period, measurement period, and delay time of the northbound
interface are 60 minutes respectively, and the function subset is 123456. The
northbound interface fails to export the data from 10:00 a.m. to 11:00 a.m. on August
16, 2008 to a file, the northbound interface delays exporting the data to a file, or the
northbound interface exports the data to a file on schedule but the file is incomplete,
while you can query the results of all the measurement objects of that period (from
10:00 a.m. to 11:00 a.m. on August 16, 2008) on the client.
If the Sybase, execute the following SQL sentence: select * from
tbl_Result_123456_3 where SvrStartTime >= '2008-08-16 10:00:00' and
SvrStartTime < '2008-08-16 11:00:00'
If the Oracle, execute the following SQL sentence: select * from
tbl_Result_123456_3 where SvrStartTime >= to_date('2008-08-16
10:00:00','yyyy-MM-dd HH24:MI:SS') and SvrStartTime < to_date('2008-08-16
11:00:00','yyyy-MM-dd HH24:MI:SS')
3.
4-4
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
If the difference between InsertTime and SvrEndTime of all the measurement objects is
greater than the specified time for supplementary collection, no export file is generated.
Identification Method
Conclusion
No
Yes
If StartTime and
SvrStartTime are
consistent, it indicates that
the NE and the server
share the same time zone.
If StartTime and
SvrStartTime are
inconsistent, it indicates
that the NE and the server
have different time zones.
On the M2000 client, choose Topology > Main Topology. In the Main Topology window,
right-click the disconnected NE and then choose Reconnect NE.
2.
3.
Rectify the fault on the NE mediation. If you have to reinstall the NE mediation, see the
Commissioning Guide of the corresponding M2000 networking mode.
4-5
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
CAUTION
You must check whether the files can be deleted when clearing the disk space. If you delete a
file by mistake, the system may fail to run properly. You are advised to clear the disk space by
referring to the Administrator Guide of the corresponding M2000 networking mode.
Solution
Contact Huawei engineers for assistance.
Symptom
The DST offset displayed in the name of an exported file does not refer to the DST.
Troubleshooting
1.
When QueryExportFormat and QueryTimeMode is both set to 0, if NEs and the M2000
server are in different time zones, for example, NE1 and NE2 are respectively located in
the time zones GMT+4:00 and GMT+10:00 and the M2000 server is in GMT+8:00, the
result file is exported according to the GMT+8:00 of the server and the contents of the result
file are displayed according to NE time.
In this case, set QueryTimeMode to 1. Then, the results are exported according the time of
the M2000 server.
2.
Suppose the M2000 is in the time zone GMT-5. The DST rule of 2006 specifies that you
should set the time one hour earlier from 02:00 on April 2nd to 02:00 on October 29th.
That is, set the time 02:00 to 03:00 on April 2nd, and then set the time 02:00 to 01:00 on
October 29th. For the period from 01:00 DST to 02:00 on October 29th, the rule for
exporting results of this repeated period is as follows:
l
In this case, set QueryExportFormat and QueryTimeMode both to 1. Then, the results are
exported according the time of the M2000 server.
4-6
Issue 01 (2009-07-30)
M2000
M2000 Northbound Performance File Interface Developer
Guide (Measurement Unit-Based)
Index
Index
D
DST, 2-10
E
EMS, 1-2
I
interface
Northbound interface, 1-2
M
M2000, 1-2
modifying
configuration file of the performance data export
tool, 2-10
N
NMS, 1-2
P
performance export
file
category and quantity, 2-6
naming rule, 2-6
path, 2-6
operation
start, 2-15
stop, 2-15
tool, 2-2
configuration file, 2-2
Issue 01 (2009-07-30)
i-1