Sunteți pe pagina 1din 6

MOP

Monitoring Of CQI Processes


Method of Procedure

Author:
Date:

Nico Swan
01 October 2014

Ref:
Version:
Status:

OSS-SUP-ATT-PS-20120807
0.3
Daft

Sec. Class:

OSS-SUP-ATT-PS

Copyright 2012 AIRCOM International - All rights reserved. No part of this work, which is protected by copyright, may
be reproduced in any form or by any means - graphic, electronic or mechanical, including photocopying, recording,
taping or storage in an information retrieval system without the written permission of the copyright owner.

OSS-SUP-ATT-PS

Contents
1

Document Control............................................................................................. 3
1.1
Revision History........................................................................................3
1.2
Reviewers.................................................................................................. 3
2 Purpose............................................................................................................ 4
3 Monitoring Process........................................................................................... 4
3.1
Description of CQI jobs..............................................................................4
3.2
Verify the JOB is complete.........................................................................4
3.3
CheckPoints............................................................................................... 5
1) Check whether all the 4 data pull procedures are successful....................5
2) Check whether the ADD_USEID procedure is successful...........................5
3) Check the data availability in the CQI_SECTOR_DAILY_V1 table................6

Author: Lija Korah


Date:

Monitoring CQI Process


OSS-SUP-ATT-PS-20120807

Page 2 of 6
OSS-SUP-ATT-PS

OSS-SUP-ATT-PS

1 Document Control
1.1 Revision History
Revisio
n
Number

Date

Name

Revision

1.2 Reviewers
Reviewer

Author: Lija Korah


Date:

Date

Feedback

Monitoring CQI Process


OSS-SUP-ATT-PS-20120807

Page 3 of 6
OSS-SUP-ATT-PS

OSS-SUP-ATT-PS

2 Purpose
This document describes the process to monitor the completion of CQI processes.
The objective is to ensure the completion of the CQI jobs on time.
In the event , the job does not complete within 8AM Central Time, the responsible
party needs to be notified.

3 Monitoring Process
3.1 Description of CQI jobs
There are 2 CQI jobs in the that run daily.
1) AIRCOM.RUN_CQI_SECTOR_DAILY -> The job scheduled at 4:58 AM CDT
populates the table National_Reporting_Team.CQI_SECTOR_DAILY_V1
with data for sysdate-1 by running the procedures
AIRCOM.CQI_PACKAGE_V1.PULL_CQI_DATA(sysdate) &
AIRCOM.CQI_PACKAGE_V1.ADD_USEID(sysdate). The job is expected to
complete before 8AM CT.
2) NATIONAL_REPORTING_TEAM.PULL_CQI_DATA_JB -> The job scheduled
at 6AM CDT runs the procedures
NATIONAL_REPORTING_TEAM.CQI_PACKAGE_CQI.PULL_CQI_DATA(sysdat
e) &
NATIONAL_REPORTING_TEAM.CQI_PACKAGE_CQI.ADD_USEID(sysdate)
and populates the table National_Reporting_Team.CQI_SECTOR_DAILY
with data for sysdate-1.
RUN_CQI_SECTOR_DAILY is the critical job as the data from the
National_Reporting_Team.CQI_SECTOR_DAILY_V1 is used to pull the FIFI data from
AT&T side. The data from the National_Reporting_Team.CQI_SECTOR_DAILY is
used for other views in the National_Reporting_Team schema.

3.2 Verify the JOB is complete


At 7:20 AM CT, check whether RUN_CQI_SECTOR_DAILY is still running
select * from dba_scheduler_running_jobs
where OWNER = 'AIRCOM' and JOB_NAME = 'RUN_CQI_SECTOR_DAILY'
If the job is still running, sent an email to Lija Korah
(lija.korah@aircominternational.com) or Mario Niimi
(Mario.niimi@aircomternational.com)
The completion time for the job is retrived from the table Message_log in the
National_Reporting_Team schema.
select * from message_log
where messagedate >= to_date('&1')
AND PROCEDURENAME LIKE 'CQI%1%'
ORDER BY messagedate
Where the input to the query is the run date in the format dd-MON-YYYY.
For eg: to check the status of the job on 27-NOV-2012, the date input will be 27NOV-2012 and the results of the query will be as follows.

Author: Lija Korah


Date:

Monitoring CQI Process


OSS-SUP-ATT-PS-20120807

Page 4 of 6
OSS-SUP-ATT-PS

OSS-SUP-ATT-PS

MESSAGEDATE

DATADATE

11/27/2012
04:01

BEGINDATE

PROCEDURENAME

MESSAGETYPE

MESSAGE
Success Pulling
PULL_USEID INTO
TEMP TABLE

11/26/2012

11/27/2012
04:00

CQI_PACAKGE_v1.PULL_USEID

STATUS

11/27/2012
05:58

11/26/2012

11/27/2012
05:58

CQI_PACAKGE_v1.PULL_LUC_CQI_CS_DAILY

BEGIN

11/27/2012
06:19

11/26/2012

11/27/2012
06:19

CQI_PACAKGE_v1.PULL_CQI_ERI_DAILY_CS

BEGIN

11/27/2012
06:19

11/26/2012

11/27/2012
05:58

CQI_PACAKGE_v1.PULL_LUC_CQI_CS_DAILY

END

11/27/2012
06:38

11/26/2012

11/27/2012
06:19

CQI_PACAKGE_v1.PULL_CQI_ERI_DAILY_CS

END

11/26/2012

11/27/2012
06:38

CQI_PACAKGE_v1.PULL_LUC_CQI_PS_DAILY

BEGIN

11/27/2012
06:38
11/27/2012
06:53

11/26/2012

11/27/2012
06:53

CQI_PACAKGE_v1.PULL_CQI_ERI_DAILY_PS

BEGIN

11/27/2012
06:53

11/26/2012

11/27/2012
06:38

CQI_PACAKGE_v1.PULL_LUC_CQI_PS_DAILY

END

11/27/2012
07:02

11/26/2012

11/27/2012
06:53

CQI_PACAKGE_v1.PULL_CQI_ERI_DAILY_PS

STATUS

Data Pull Completed

11/27/2012
07:12

11/26/2012

11/27/2012
07:03

CQI_PACAKGE_v1.ADD_USEID

STATUS

Success Pulling
ADD_USEID

The highlighted 2 rows indicate the successful completion of the 2


procedures run by the job. The completion time of the job is the messagedate for
the procedure CQI_PACKAGE_v1.ADD_USEID. On 27/11/2012, the job completed
at 7:12 AM.

3.3 CheckPoints
1) Check whether all the 4 data pull procedures are successful.
The END messagetype with the procedurename
CQI_PACAKGE_v1.PULL_LUC_CQI_CS_DAILY,
CQI_PACAKGE_v1.PULL_CQI_ERI_DAILY_CS,
CQI_PACAKGE_v1.PULL_LUC_CQI_PS_DAILY and message Data Pull
Completed for the procedure name
CQI_PACAKGE_v1.PULL_CQI_ERI_DAILY_PS indicate successful
completion of the 4 procedures run by the job.
Any other message in the MESSAGE field with the MESSAGETYPE STATUS or
ERROR indicate an error condition and a notification has to be sent to to Lija Korah
(lija.korah@aircominternational.com) or Mario Niimi
(Mario.niimi@aircomternational.com).

2) Check whether the ADD_USEID procedure is successful.


The message Succees Pulling ADD_USEID in the message log
indicate successful completion of the ADD_USEID procedure.
Any other message in the MESSAGE field with the MESSAGETYPE
STATUS/ERROR indicate an error condition.

Author: Lija Korah


Date:

Monitoring CQI Process


OSS-SUP-ATT-PS-20120807

Page 5 of 6
OSS-SUP-ATT-PS

OSS-SUP-ATT-PS

3) Check the data availability in the CQI_SECTOR_DAILY_V1 table.


The data availability of the CQI_SECTOR_DAILY_V1 table is queried using
the following query where the date input is sysdate -1 in the format ddMON-YYYY.
SELECT TSTAMP, count(*),
SUM(CASE WHEN SAMPLE_COUNT < 92 THEN 1 ELSE 0 END )
count_less_92,
ROUND(100 - PERCENT(SUM(CASE WHEN SAMPLE_COUNT < 92 THEN 1
ELSE 0 END ),count(*)),2) DA_AVAIL
from NATIONAL_REPORTING_TEAM.CQI_SECTOR_DAILY_V1
where TSTAMP = to_date('&1')
group by TSTAMP
If the data availability is less than 98%, check the data availability in the
following vendor tables and check for data holes.

SCHEMA
ERICSSON_UT
RAN
ERICSSON_UT
RAN
ERICSSON_UT
RAN
ALU_UTRAN
ALU_UTRAN
ALU_UTRAN
ALU_UTRAN
ALU_UTRAN
ALU_UTRAN
ALU_UTRAN

Author: Lija Korah


Date:

TABLENAME
RNC_UCELL
RNC_GSMRELATION
RBS_HSDSCHRES
RNC_UCELL_RAB_DC
RNC_UCELL_HO
RNC_UCELL_RAB2
RNC_UCELL_RAB3
RNC_UCELL_RAB4
RNC_UCELL_RABSTA
TS
RNC_UCELL_RADIOS
TATS

Monitoring CQI Process


OSS-SUP-ATT-PS-20120807

Page 6 of 6
OSS-SUP-ATT-PS

S-ar putea să vă placă și