DOC

ECP Maintenance

By Kenneth Spencer,2014-10-18 21:50
10 views 0
ECP Maintenance

朗讯 ECP 日常维护手册

ECP 日常维护手册 1 9

    目录

1. 日常维护命令

2. 系统备份

3. 计费带备份

ECP 日常维护手册 2 9

    . 日常维护命令

     IN CRAFT SHELL

    1. 检查退出服务的单元 OP:OOS

    2. 检查CDN状态

    OP:CDN

     OP:CDN X,CP (X=1,2,3)

    3. 检查所有告警

    OP:ALARM,ALL

     4. 检察备用侧状态

    OP:STBY

     5. 检查过载

     OP:ECP,OVLD

     OP:CDN,OVLD

     OP:CELL,OVLD

     6. 检查ECPDCS LINK

     OP:SLK,ALL

    7. 检查AMA FILE 传送状态

    OP:AMA;CONTROLFILE;ST1

    M 38 REPT:AMA MONITOR FOR STREAM ST1, CONTROL FILE OFFICE ID: 413840 OUTPUT OPTION: DCI TELEPROCESSING AMA SESSIONS: ALLOWED AUTOSTART SESSIONS INHIBITED: SUN MON TUE WED THU FRI SAT AUTOSTART SESSIONS ALLOWED: NONE AUTOSTART TIME: 0:00 AUTOSTOP TIME: 0:00 TELEPROCESSING SESSION: IN PROGRESS AMAT PASSWORD: 0460413840 HOC PASSWORD: 0320413840 BACKUP PASSWORD: 0320413840 PASSWORD FROM LAST SESSION: 0320413840 DEFAULT TAPE DRIVE NUMBER: 0 TAPE DENSITY: MEDIUM NUMBER OF DAYS UNTIL TAPE EXPIRATION: 5 TAPE SEQUENCE NUMBER: 2 CURRENT DISK OCCUPANCY: 0% TAPE DATA SET ID: AMA.TAPE DEVICE - tty!

     IN CONTROL&DISPLAY PAGE

     1, 102 显示ECP 处理器状态

     2, 121 显示硬盘,磁带机,总线状态

     3, 2160 显示CDN状态

     4, 1106 显示RING 状态

     5, 2121 显示系统概况

     6, 2140 显示DCS概况

     7, 2141 显示DCS详细状况

     8, 2182 显示LINK状态

    ECP 日常维护手册 3 9

    . 系统备份

    完整的系统备份包括

    TOP(1TAPE),DATABASE(1TAPE),RT0(2TAPE),RT1(1TAPE).

    通常只需定期或在修改局数据后做DATABASE即可.

    再系统软件升级前后或有大的改动时RTO,RT1也须备份.

    条件: 系统工作正常且操作者为ROOT

    步骤:

     1.

     ECP RTR Shell

     输入用户名及密码

     Enter: mount

显示应为:

/on /dev/root read/write

    /etc on /dev/etc read/write

    /database on /dev/db read/write

    /1apx10 on /dev/1apx10 read/write

    /1apx10/celgens on /dev/celgens read/write /1apx10/dbdata on /dev/dbdata read/write /1apx10/dbbackup on /dev/bdbdata read/write /etc/log on /dev/log read/write

    /1apx10/smdata on /dev/smdata

    /tmp on /dev/tmp read/write

    /cdmp on /dev/cdmp read/write

    /user on /dev/user read/write

    /etc/bwm on /dev/bwm read/write

    CAUTION:

    备份DATABASE

     ECP CRAFT Shell

2. 更新硬盘上的局数据; enter:

     BKUP:DATABASE;DB ALL

    REPT:DATABASE backup, NAME ALL, COMPLETED

     BKUP:DATABASE;DB CNIDB

    REPT:DATABASE backup, CNIDB, COMPLETED

3.备份INCORE ECD 到硬盘

    ON RTR SHELL,ENTER:

     rcvecd -db incore nreview {CR}

    屏幕显示:Enter Form Name:__

     enter: activate {CR}

     Enter : RETURN {CR}

    enter: e {CR}

    屏幕显示: "FORM EXECUTED"

    enter: <{CR}

    3. 备份局数据到磁带

    ECP 日常维护手册 4 9

     ECP RTR Shell

     输入:DISKTOTAPE

     4.备份RT0&RT1到硬盘

     ECP CRAFT Shell

     输入:COPY:PTN:ALL,SRC " user/BKUP/primary",DEST "user/BKUP/backup "

     输入: COPY:PTN:ALL,SRC user/BKUP/primary2”,DEST user/BKUP/backup2

    5:备份到磁带

     RT0的第一盘磁带

     输入:COPY:BKDISK;START:SRC “/dev/vtoc”,TD “/dev/mtXX”,TPSIZE 90,FN “/etc/pdtspec0”,EXT

where

    XX 00磁带机 0

     10磁带机 1

大约45分钟后屏幕显示:

COPY BKDISK DISMOUNT GENERIC TAPE, LABEL, AND MOUNT NEXT TAPE

     RT0的第二盘磁带

    :

     6.COPY:BKDISK;ACK:TPSIZE 90

    RT1磁带

     7.COPY:BKDISK;START:SRC "/dev/vtoc1",TD "/dev/mtXX",TPSIZE 90,FN "/etc/pdtspec1",EXT

:

    . 计费带备份

    步骤;

    1.OMP SHELL

    输入:./opt/aft/amaControl stop

    2.CRAFT SHELL

    输入: set:ama;control:option tape;st1

     屏幕显示:

    M 02 REPT:AMA MONITOR FOR STREAM ST1, CONTROL FILE

     OFFICE ID: 413840

     OUTPUT OPTION: TAPE

     AMA SESSIONS: ALLOWED

     AUTOSTART SESSIONS INHIBITED: SUN MON TUE WED THU FRI

    SAT

    ECP 日常维护手册 5 9

     AUTOSTART SESSIONS ALLOWED: NONE

     AUTOSTART TIME: 0:00

     AUTOSTOP TIME: 0:00

     TAPE SESSION: NOT IN PROGRESS

     AMAT PASSWORD: 0460413840

     HOC PASSWORD: 0320413840

     BACKUP PASSWORD: 0320413840

     PASSWORD FROM LAST SESSION: 0320413840

     DEFAULT TAPE DRIVE NUMBER: 0

     TAPE DENSITY: MEDIUM

     NUMBER OF DAYS UNTIL TAPE EXPIRATION: 1

     TAPE SEQUENCE NUMBER: 4

     CURRENT DISK OCCUPANCY: 0%

     TAPE DATA SET ID: AMA.TAPE

     DEVICE - tty#

3.输入

    op:ama;teleprocessing;st1

    屏幕显示:

     PF

    M 03 REPT:, SUMMARY FOR STREAM ST1

     SESSION 6

     NORMAL TERMINATIONS 7

     ABNORMAL TERMINATIONS 0

     SESSIONS REJECTED 0

     PRIMARY BLOCKS TRANSMITTED 4127

     SECONDARY BLOCKS TRANSMITTED 0

     PRIMARY POLLS REJECTED 1716

     SECONDARY POLLS REJECTED 0

     RECORDS WRITTEN TO DISK 33051

     RECORDS SENT TO LINK 32940

     RECORDS LOST 0

     MINOR DISK ALARMS 0

     MAJOR DISK ALARMS 0

     CRITICAL DISK ALARMS 0

     FIRST BLOCK TRANSMITTED 138749

     LAST BLOCK TRANSMITTED 142896

     DEVICE - tty#

4.输入:label:amatape,mt 0;st1

    屏幕显示:

     PF

M 04 REPT:AMATAPE LABELING FOR STREAM ST1, SESSION

    STARTED

     DEVICE - tty#

01/06/02 04 #283325

    ECP 日常维护手册 6 9

     04 REPT:AMATAPE LABELING FOR STREAM ST1, SESSION

    COMPLETED

     DEVICE - tty#

5.输入ver:amatape;mt 0;st1

    屏幕显示:

     PF

M 05 VER:AMA MONITOR FOR STREAM ST1, TAPE SESSION

    STARTED

     DEVICE - tty#

01/06/02 05 #283386

     05 REPT:AMATAPE VERIFY FOR STREAM ST1

     VOL SERIAL NUMBER 123456

     DATA SET ID AMA.TAPE

     EXPIRATION DATE 02-004

     TAPE DRIVE NUMBER 0

     AMA TAPE CAN BE WRITTEN

     DEVICE - tty#

01/06/02 05 #283389

    6.输入

     copy:amatape;sec,mt 0,sblk 181782,eblk 189480;st1

    屏幕显示:

     PF

M 06 COPY:AMA MONITOR FOR STREAM ST1, TAPE SESSION

    STARTED

     DEVICE - tty#

01/06/02 06 #283405

     06 REPT:AMATAPE WRITING HAS BEGUN FOR STREAM ST1

     DEVICE - tty#

01/06/02 06 #283408

     10 REPT:AMATAPE SESSION COMPLETE FOR STREAM ST1

     VOL SERIAL NUMBER 123456

     TAPE DRIVE NUMBER 0

     START TIME JANUARY 6 15:06:29

     SECONDARY DATA

     START BLOCK 138749 JANUARY 5 23:59

     END BLOCK 142896 JANUARY 6 15:01

     RECORDS WRITTEN 33153

     TAPE SEQUENCE NUMBER 0

     NORMAL TERMINATION - NO MORE DATA

     DEVICE - tty#

    ECP 日常维护手册 7 9

01/06/02 10 #283447

    7.OMP SHELL

    输入: ./opt/aft/amaControl start

    8:CRAFT SHELL

    输入:set:ama;control:option tpdci;st1 屏幕显示:

     PF

    M 12 REPT:AMA MONITOR FOR STREAM ST1, CONTROL FILE

     OFFICE ID: 413840

     OUTPUT OPTION: DCI TELEPROCESSING

     AMA SESSIONS: ALLOWED

     AUTOSTART SESSIONS INHIBITED: SUN MON TUE WED THU FRI

    SAT

     AUTOSTART SESSIONS ALLOWED: NONE

     AUTOSTART TIME: 0:00

     AUTOSTOP TIME: 0:00

     TELEPROCESSING SESSION: NOT IN PROGRESS

     AMAT PASSWORD: 0460413840

     HOC PASSWORD: 0320413840

     BACKUP PASSWORD: 0320413840

     PASSWORD FROM LAST SESSION: 0320413840

     DEFAULT TAPE DRIVE NUMBER: 0

     TAPE DENSITY: MEDIUM

     NUMBER OF DAYS UNTIL TAPE EXPIRATION: 1

     TAPE SEQUENCE NUMBER: 4

     CURRENT DISK OCCUPANCY: 0%

     TAPE DATA SET ID: AMA.TAPE

     DEVICE - tty#

    01/06/02 12 #283485

    9.输入:op:ama;controlfile;st1

    屏幕显示:

     PF

M 13 REPT:AMA MONITOR FOR STREAM ST1, CONTROL FILE

     OFFICE ID: 413840

     OUTPUT OPTION: DCI TELEPROCESSING

     AMA SESSIONS: ALLOWED

     AUTOSTART SESSIONS INHIBITED: SUN MON TUE WED THU FRI

    SAT

     AUTOSTART SESSIONS ALLOWED: NONE

     AUTOSTART TIME: 0:00

     AUTOSTOP TIME: 0:00

     TELEPROCESSING SESSION: IN PROGRESS

     AMAT PASSWORD: 0460413840

     HOC PASSWORD: 0320413840

     BACKUP PASSWORD: 0320413840

     PASSWORD FROM LAST SESSION: 0320413840

     DEFAULT TAPE DRIVE NUMBER: 0

     TAPE DENSITY: MEDIUM

    ECP 日常维护手册 8 9

     NUMBER OF DAYS UNTIL TAPE EXPIRATION: 1

     TAPE SEQUENCE NUMBER: 4

     CURRENT DISK OCCUPANCY: 0%

     TAPE DATA SET ID: AMA.TAPE

     DEVICE - tty#

    01/06/02 13 #283501

    ECP 日常维护手册 9 9

Report this document

For any questions or suggestions please email
cust-service@docsford.com