Cisco CallManager: Manually Deleting Call Detail Records (CDRs) Without the Administrative Reporting Tool (ART)

Similar documents
Unity Error Message: Your voic box is almost full

Configuring Cisco CallManager IP Phones to Work With IP Phone Agent

Checking SQL Server or MSDE Version and Service Pack Level

Configure Backup Server for Cisco Unified Communications Manager

Troubleshooting CallManager Problems with Windows NT and Internet Information Server (IIS)

Database Replication Error in Cisco Unified Communication Manager

Use Microsoft Outlook with Cisco Unified CallManager Express

Moving Exchange Message Stores and Transaction Logs to an Alternate Drive

CRS 4.x: Automatic Work and Wrap up Time Configuration Example

Enable SMTP Message Notifications in Cisco Unity Connection 8.x

Fixing Problems with IP Phone Services

Unity Express Voice Mail Transfer Behavior

ACS 5.x and later: Integration with Microsoft Active Directory Configuration Example

Historical Reporting Client (HRC) User Login Fails

Backup Cisco ICM Database in Microsoft SQL 2000

Syslog Server Configuration on Wireless LAN Controllers (WLCs)

Cisco Unified Communications Manager 7.x/8.x: Troubleshoot Backup Issue

Installing Windows 95 Drivers and Utilities for the Cisco Aironet 340/350 Series Client Adapters

Unity 7.x Event Log Errors

Moving the TRITON Reporting Databases

Windows Live Mail Setup Guide

Microsoft Windows 2003 DNS Server for Wireless LAN Controller (WLC) Discovery Configuration Example

How To Use Exhange On Outlook On A Pc Or Macintosh Outlook 2007 On Your Pc Or Ipad (For Windows Xp) On Your Ipad Or Ipa (For Your Windows Xp). (For A Macintosh) On A

Web Authentication Proxy on a Wireless LAN Controller Configuration Example

Table of Contents. Cisco Disabling ICS when Preparing to Install or Upgrade to Cisco VPN Client 3.5.X on Microsoft Windows XP

Configuring Static and Dynamic NAT Simultaneously

PIX/ASA 7.x with Syslog Configuration Example

How to Uninstall Manually and Upgrade the Cisco VPN Client 3.5 and Later for Windows 2000 and Windows XP

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

Agent Unable to Log Into Cisco Agent Desktop

CTIOS Agent Softphone Login Failure

System Administration and Log Management

Table of Contents. Cisco Disabling ICS when Preparing to Install or Upgrade to Cisco VPN Client 3.5.X on Microsoft Windows XP

CUCM 6.x/7.x/8.x: Bulk Administration Tool (BAT) Errors

Only LDAP-synchronized users can access SAML SSO-enabled web applications. Local end users and applications users cannot access them.

Active Directory and Cisco CallManager Integration Troubleshooting Guide

Troubleshoot ViewMail for Outlook Issues

Upgrading Software Using the Online Installer

Alarms. Understanding Alarms CHAPTER

Imaging Computing Server User Guide

How to Uninstall Manually and Upgrade the Cisco VPN Client 3.5 and Later for Windows 2000, Windows XP and Windows Vista

1. Technical requirements 2. Installing Microsoft SQL Server Configuring the server settings

Administrator s Guide for the Polycom Video Control Application (VCA)

AutoMerge Online Service Configuration for MS CRM 2013

SQL Tuning and Maintenance for the Altiris Deployment Server express database.

BRI to PRI Connection Using Data Over Voice

Cisco Unity Connection WAV File Issues

Novar Database Mail Setup Guidelines

Access your Insurance Agent s web site using the URL the agency has provided you. Click on the Service 24/7 Link.

Lab 6: Unity Connection

Increased operational efficiency by providing customers the ability to: Use staff resources more efficiently by reducing troubleshooting time.

Moving the Web Security Log Database

Video Administration Backup and Restore Procedures

Upgrade Guide BES12. Version 12.1

Florida Atlantic University VPN Client Installation Guide

Server Configuration. Server Configuration Settings CHAPTER

End User Configuration

Configure Outlook 2007 for Brandeis Gmail

Web Authentication Application Note

SiteCount v2.0 Revised: 10/30/2009

0651 Installing PointCentral 8.0 For the First Time

TANDBERG MANAGEMENT SUITE 10.0

NovaBACKUP xsp Version 15.0 Upgrade Guide

IP Phone Service Administration and Subscription

Lepide Event Log Manager. Users Help Manual. Lepide Event Log Manager. Lepide Software Private Limited. Page 1

BUSINESS CLASS POP3 END USER GUIDE TIME WARNER CABLE BUSINESS SERVICES VERSION 1.0, RELEASE 1.2

Installing and Trouble-Shooting SmartSystems

Installation and configuration of Real-Time Monitoring Tool (RTMT)

Management Pack for vrealize Infrastructure Navigator

ThinManager and Active Directory

RPM Utility Software. User s Manual

LT Auditor Windows Assessment SP1 Installation & Configuration Guide

Table of Contents. Cisco Unable to Access Productivity Services from Services on Cisco IP Phone

PIX/ASA: Upgrade a Software Image using ASDM or CLI Configuration Example

Automating Administration with SQL Agent

Immotec Systems, Inc. SQL Server 2005 Installation Document

Specops Command. Installation Guide

Windows Server 2012 Server Manager

Instructions for Microsoft Outlook 2003

Using Avaya Aura Messaging

Troubleshooting PIX Device Manager

Database Maintenance Guide

Avatier Identity Management Suite

Migrating helpdesk to a new server

Microsoft SQL Server Express 2005 Install Guide

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Windows XP Exchange Client Installation Instructions

Cloud Services ADM. Agent Deployment Guide

4cast Server Specification and Installation

HYPERION SYSTEM 9 N-TIER INSTALLATION GUIDE MASTER DATA MANAGEMENT RELEASE 9.2

Installing SQL Express. For CribMaster 9.2 and Later

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Configuration Task 3: (Optional) As part of configuration, you can deploy rules. For more information, see "Deploy Inbox Rules" below.

Use CRS Clients with Microsoft Windows XP SP2

Webmail Access. Contents

Configuring the Dolby Conference Phone with Cisco Unified Communications Manager

Installation and Configuration Manual

Configuring RADIUS Dial Up with Livingston Server Authentication

Active Directory Management. Agent Deployment Guide

HP IMC User Behavior Auditor

Transcription:

Cisco CallManager: Manually Deleting Call Detail Records (CDRs) Without the Administrative Reporting Tool (ART) Document ID: 26062 Contents Introduction Prerequisites Requirements Components Used Conventions Solutions Delete CDRs Through the Query Analyzer Delete CDRs Through the Cisco CallManager Web Page Related Information Introduction This document explains how to remove/purge Call Detail Records (CDRs) from Cisco CallManager's Structured Query Language (SQL) database without the use of the Administrative Reporting Tool (ART). For information on how to purge the CDRs from Cisco CallManager's SQL database using the ART, refer to CAR System Configuration Using Manual Database Purge. Symptom With CDR, the Cisco CallManager user receives this error message or e mail alert: The number of rows in CallDetailRecord table in the CDR database has crossed the threshold limit This error message appears when the database has reached the set limit of records and needs to be purged. Prerequisites Requirements Cisco recommends that you have knowledge of these topics: Cisco CallManager Administration SQL database management Components Used The information in this document is based on Cisco CallManager 3.x and 4.x. The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure

that you understand the potential impact of any command. Conventions Refer to Cisco Technical Tips Conventions for more information on document conventions. Solutions Complete these steps in order to reduce CDR thershold limits alert emails or error messages: 1. Increase the max number of rows in the Billing Table of the CDR in order to reduce the alert. This can be done from the Cisco CallManager Administration web page. In CAR > System > Database > CAR Database Alert > Max number of rows in Billing Table*, you can change that value to a higher one (i.e. 2,500,000). 2. Use the auto purge mechanism in order to avoid the thershold limits alert. In order to configure automatic purge, choose CAR > System > Database > Configure Automatic Database Purge. You can enable the CAR purge for records older than a certain number of days you want to keep. Delete CDRs Through the Query Analyzer This method is very processor intensive, and should not be done during normal business hours. 1. Select Start > Programs > Microsoft SQL Server 7.0 > Query Analyzer. Note: In Cisco CallManager 3.3 and later, Microsoft SQL Server 2000 is used. Select Start > Programs > Microsoft SQL Server > Query Analyzer in Cisco CallManager 3.3 and later.

2. Select Use Local > Windows NT authentication/sql Server authentication depending on the version of Cisco CallManager. Click OK. Note: For Cisco CallManager 3.3, select SQL Server authentication and enter your username and password. For Cisco CallManager 4.x, select Windows NT authentication. Windows NT Authentication is recommended, although the system supports SQL Authentication. Setting Cisco CallManager for mixed mode authentication in release 4.0 and later is not supported. Cisco CallManager 4.x servers upgraded from the earlier versions fail with SQL Server authentication and the system needs to be changed back to Windows NT authentication. Refer to User Unable to Log into SQL Query Analyzer After Upgrading from Cisco CallManager 3.x to 4.x for more information. 3. Select the CDR database that contains all of the records you wish to delete. 4. Issue the DELETE from Calldetailrecord command. If your CDR database contains a lot of records, this step might take awhile. When this operation completes, this message appears at the bottom of the window: Query batch completed. This image shows both the command and the system message:

5. Issue the Delete from CallDetailRecordDiagnostic command to delete all of the records in the CallDetailRecordDiagnostic table as well. This message appears at the bottom of the window: Query batch completed.

Delete CDRs Through the Cisco CallManager Web Page In order to use the Cisco CallManager web page, you must stop and start the Database Layer Monitor service and you need to schedule downtime to do it. Manual deletion of the CDR through the Cisco CallManager web page is not as processor intensive as the Delete CDRs Through the Query Analyzer procedure. 1. Select Service > Service Parameters from the main administration web page. The Service Parameters Configuration page opens. 2. Select your server, and select the Database Layer Monitor service.

The default value for Max CDR Records is 1500000: 3. Change the value in the Max CDR Records field to a reduced value (for example, 1400000) and click Update. Note: Change the value for Max CDR Records incrementally. If you reduce it to 0 in a single step, you could cause a CPU spike. 4. Select Application > Cisco CallManager Serviceability. 5. Select Tools > Control Center from the Cisco CallManager Serviceability page. The Control Center page opens.

6. Find the Service Control for the Database Layer Monitor service, and click Stop. 7. After the service stops, as indicated by the Service Status indicator (shown in the preceding image), click Start to restart the service. When the service restarts, the CDR contains the new number of CDRs as designated by the CDR Max Records value. In this example, the new number is 1400000.

8. Repeat steps 2 through 7. Reduce the number in the Max CDR Records field each time until the value is 0. Once you have reached 0 records, issue this command to check the result in the CDR database through the SQL Server Query Analyzer: select * from CallDetailRecord Note: After you finish this procedure, return the value of Max CDR Records to its default setting, as this image shows. Otherwise, the system does not retain any CDRs.

Related Information Voice Technology Support Voice and Unified Communications Product Support Troubleshooting Cisco IP Telephony Technical Support & Documentation Cisco Systems Contacts & Feedback Help Site Map 2014 2015 Cisco Systems, Inc. All rights reserved. Terms & Conditions Privacy Statement Cookie Policy Trademarks of Cisco Systems, Inc. Updated: Aug 22, 2008 Document ID: 26062