• No results found

Appendix E File Description of M2000 System The appendix describes the files of M2000 system according to its directory structure.

E.1 Directory structure

Table E-1 describes the specific directory structure and files.

Table E-1 Directory structure and file description of M2000 system

Path and file name User/group descriptionAuthority Description

${HOME}=/export/home/m2000 m2000/staff drwxr-xr-x The root directory of M2000 system. ${HOME}/bin m2000/staff drwxr-xr-x The directory under which executable files and common tools

of program are stored.

${HOME/data m2000/staff drwxr-xr-x

The directory under which data files and configuration files that change regularly are stored.

${HOME}/lib m2000/staff drwxr-xr-x

The directory under which database files required for system running are stored. You are prohibited from modifying files in this directory.

${HOME}/etc m2000/staff drwxr-xr-x

The directory under which configuration files of M2000 system are stored. The contents of files under this directory are generally invariable.

${HOME}/log m2000/staff drwxr-xr-x

The directory under which log files of system running are stored. Each service process has its own log file named in the format of *.log.

${HOME}/script m2000/staff drwxr-xr-x

The system script directory including scripts for establishing service database tables and importing service data.

${HOME}/script/common m2000/staff drwxr-xr-x

The directory under which scripts for establishing common service database tables are stored.

${HOME}/script/configsvr m2000/staff drwxr-xr-x The directory under which scripts for establishing configuration server database tables are stored.

Path and file name User/group descriptionAuthority Description

${HOME}/script/pmsvr m2000/staff drwxr-xr-x The directory under which scripts for establishing performance server database tables are stored.

${HOME}/script/timersvr m2000/staff drwxr-xr-x The directory under which scripts for establishing timer server database tables are stored.

${HOME}/script/commonsvr m2000/staff drwxr-xr-x The directory under which scripts for establishing common server database tables are stored. ${HOME}/script/alarmsvr m2000/staff drwxr-xr-x The directory under which scripts for establishing alarm server

database tables are stored. ${HOME}/backup sybase/dba drwxr-xr-x The directory under which all data backed up regularly are stored.

${HOME}/send m2000/staff drwxrwxrwx

The buffer directory of the alarm report interface used for the interface of the third-party network management system.

E.2 File Description

The following describes the files and scripts under each directory in detail.

E.2.1 ${HOME}/bin

The files under this directory include:

z monsvrd: Executable file of monitor process server z alarmsvrd: Executable file of alarm server

z alarmsend: Executable file of alarm report server z configsvr: Executable file of configuration server z commonsvrd: Executable file of common server z pmsvrd: Executable file of performance server z switch: Executable file of software bus module z timesvrd: Executable file of timer

z timersvrd: Executable file of timer server

The running of all above executable files forms the service process environment of the M2000 system.

There are some tools for each service under this directory except the above files:

z Crypt z cleartable

Used to clear the history data of the pmdb database (performance database) regularly by the crontab (system scheduled task) of the performance server. It must be invoked under the instruction of R&D.

z initmaxobjid

Used to create network element (NE) ID upon the initial installation of the configuration server. It is invoked by the installation script. You are prohibited from using it separately.

z pm_table

Used by the performance server to invoke the sql script to perform operations on the pmdb or batch copy (BCP) table data to the pmdb as the user m2000. The sql script is invoked in the format of pm_table *.sql, and table data is batch copied in the format of pm_table *.txt. It must be used under the instruction of R&D.

z Sqlgen

Used to create the database table upon the installation of configuration server. It is invoked by installation script. You are prohibited from using it separately.

z addlogin

Used to create login sybase of the user m2000. It can be created automatically during installation or created manually after installation.

z bcpout z combcp

Used to import the static authority script into the common server. It must be used under the instruction of R&D.

z execsql

Used to execute the sql script as the user m2000. The parameter is the name of the sql script. It can be used separately.

z inputpasswd

Used by the alarm server to upgrade the alarm database. This command gives operation prompt if no parameter is used.

z pminfoupdate

Used to update “data/pmmarker.dat” upon the upgrade of the performance server. It can be used directly without parameters. You must use it in compliance with the operation guide during upgrade. Generally You are prohibited from using this tool separately.

z build

Used to encapsulate the database table by the configuration server as the user m2000. It is used for table establishment or data import/export. You are prohibited from using this tool separately.

Used to view the initialization connection information of the common server and update the $HOME/data/connectinfo.dat. It is not allowed to execute it without special requirement.

z switchcon

Used to view current network flow. It can be used directly without parameters.

z viewconninfo

Used by the common server to check information of history routing tables. It is used directly without parameters.

z version

Used to obtain the complete information of the current version.

E.2.2 ${HOME}/data

Note:

All the files and scripts under the directory are not allowed to modify manually.

The files under this directory include:

z alarmexception.ini

This file, in the binary format, is used to record the information of exceptional exit of the alarm server.

z alarmomccsn.dat

This file, in the binary format, is used to record serial numbers of current internal alarms.

z alarmnetcsn.dat

This file, in the binary format, is used to record serial numbers of current network alarms.

z alarmsave.ini

This editable text file is used to record conditions for saving current history alarms.

z alarmrelative.ini

This editable text file is used to record conditions related to current alarms.

z send.ini

This text file is used to record conditions for alarm report at the third-party interface. The conditions for controlling alarm report are modified manually. The contents of the file are as follows:

support=1 //The control function is active. 1: alarm is reported; 0: alarm is not reported.

savedays=2 //Days of alarm buffer.

listenport=5200 //Port No. for system monitoring. It can be changed to other idle ports.

It is not allowed to modify this file without special requirements.

z alarmshield.ini

This file is used to save conditions for alarm prompts, that is, to record alarm filtering conditions for sending indicator information to the client. This file only exists after the conditions are set. It is not generated during initial installation.

z alarmconfirm.ini

This file is used to save conditions for automatic alarm acknowledgement, that is, to record the alarms that currently can be acknowledged automatically. This file only exists after the conditions are set. It is not generated during initial installation.

z netalarmshield.ini

This file is used to save conditions for alarm shielding in the whole network. It only exists after the conditions are set. This file is not generated during initial installation.

z connectinfo.dat

This file is used to save the information of history routing tables. When allocating object IDs, the switch queries whether the client has registered in the history routing tables. If yes, it allocates the original object ID to the client. Otherwise, it allocates a new object ID.

z dbinfo.dat

This file is used to save the information of the current database.

z maxobjid.dat

The file is used to save the current maximum ObjectID. It must be reserved during upgrade.

z pmalarmbuff.dat

It is the buffer queue file of performance alarm, which is used to save performance alarms to be sent. This file is in the binary format.

z pmmarker.dat

It is the marker file of performance index list, which is used to save the incremental marks for the update of the performance index list.

z pminside.dat

It is the internal performance parameter file, which is currently used to save incremental numbers of performance tasks.