CDR Database Copy or Migration to Another Server

Similar documents
CDR Database Copy or Migration to Another Server

Reestablishing a Broken Cisco CallManager Cluster SQL Subscription with CallManager 3.0, 3.1 and 3.2

Reestablishing a Broken CallManager Cluster SQL Subscription with Cisco CallManager

Use NAT to Hide the Real IP Address of CTC to Establish a Session with ONS 15454

Hotdial on IP Phones with CallManager Configuration Example

Configuring Cisco CallManager IP Phones to Work With IP Phone Agent

CRS Historical Reports Schedule and Session Establishment

Check Password Synchronization with the Admin Utility in the Cisco CallManager Cluster

CallManager Configuration Requirements for IPCC

Fixing Issues with Corporate Directory Lookup from the Cisco IP Phone

Setting up Inter Cluster Trunks with Three or More Cisco CallManagers

Voice-messaging ports security setup

CallManager MoH uses G.711 Codec while Voice Calls use G.729 Codec Configuration Example

IP Phone 7940/7960 Fails to BootProtocol Application Invalid

MeetingPlace for Outlook Onsite Installation or Upgrade

VG248 Port Configuration to Light the Caller ID MWI

This document describes the procedure to delete unassigned directory numbers (DNs) in Cisco Unified Communication Manager (CUCM).

UCS Uplink Ethernet Connection Configuration Example

SYNTHESYS.NET INTERACTION STUDIO Database Output Actions

Sharing a Cisco Unity Voice Mail Box between Two or More IP Phones

Voice-Messaging Ports Security Setup

Integrating Cisco CallManager IVR and Active Directory

The system is temporarily unable to complete your call. Event Type: Error Event Source: CiscoUnity_ConvMsg Event Category: Network Event ID: 10045

ICM Logger Database Configuration Synchronization

CTC Fails to Start on Windows XP with Cisco Security Agent

Active Directory 2000 Plugin Installation for Cisco CallManager

Cisco Unified IP Phone 7942/7945/7962/7965/7975 Firmware Upgrade from pre 8.3(3) to 9.3(1)

CVP 40 EVAL, CVP 40 DISTI, CVP 40 DART, CVP 41 EVAL,CVP 41 DIST NFR, CVP 41 DART NFR, CVP 70 EVAL, CVP 70 DIST NFR

Syslog Server Configuration on Wireless LAN Controllers (WLCs)

Tune the CTC HEAP Variables on the PC to Improve CTC Performance

ACS 5.x: LDAP Server Configuration Example

NAT Support for Multiple Pools Using Route Maps

CallManager Server: Use PsList to Troubleshoot a Memory Leak Problem

Expanding an ICM SQL Database

Configuring and Using Redundant Disks with Cisco MCS

Securing LDAP Directory Integration with Cisco Unified CallManager 4.x

2072 : Administering a Microsoft SQL Server 2000 Database

Configuring Service Monitor

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

Certificate authority proxy function

CallManager 5.x/6.x/7.x/8.x : CDR/CMR Error

Modify IP Addresses for Servers Defined by IP Address

Auto Register Cisco IP Communicator 8.6 with CUCM 8.x

Table of Contents. Cisco CallManager MoH uses G.711 Codec while Voice Calls use G.729 Codec Configuration Example

SQL Server 2000 Setup Configuration for ICM 5.0

Troubleshooting JTAPI Subsystem Startup Problems

Configuring the VPN Client 3.x to Get a Digital Certificate

Exam Preparation Planning p. 11 Introduction p. 16 Developing a Security Strategy for Microsoft SQL Server 7 p. 17 SQL Server Authentication Methods

The information in this document is based on the Cisco VPN 3000 Series Concentrator.

Cisco Aironet Client Adapter Installation Tips for Windows NT v4.0

CAR System Event Log

Troubleshoot Missing Speed Dials Issue in IPMA

COURSE 20462C: ADMINISTERING MICROSOFT SQL SERVER DATABASES

Cisco Unified Communications Manager configuration for integration with IM and Presence Service

Digest Authentication Setup for SIP Trunks

How to Configure Cisco UC500 Series (Basic Configuration)

Configuring Cisco Unified MeetingPlace Web Conferencing and SQL Server

Unified Communications Manager Express Toll Fraud Prevention

MS-20462: Administering Microsoft SQL Server Databases

Using the Certificate Authority Proxy Function

CDR Analysis and reporting tool

IPCC: Lightweight Directory Access Protocol (LDAP) Troubleshooting Guide

Unified Communications Manager FAQ

Wireless LAN Controller (WLC) Mobility Groups FAQ

to verify network configuration. cluster to verify the network cluster information.

Configuring a Cisco 827 Router Using PPPoA With CHAP and PAP

VG224 Voice Gateway SCCP Registration with CME Configuration Example

Cisco Unified Communications Manager: Localization to Native Language

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

UCCE WebView Frequently Asked Questions

Configure the Cisco VPN 3000 Series Concentrators to Support the NT Password Expiration Feature with the RADIUS Server

IQSweb Migration Steps

Configuring Funk RADIUS to Authenticate Cisco Wireless Clients With LEAP

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Copy Table From One Database To Another Sql

Implementing Authentication Proxy

Configuring a Secure Survivable Remote Site Telephony (SRST) Reference

Troubleshooting No Ringback Tone on ISDN VoIP (H.323) Calls

Administering Microsoft SQL Server 2012 Databases

Microsoft SQL Installation and Setup

emerchant API guide MSSQL quick start guide

Troubleshooting Web Authentication on a Wireless LAN Controller (WLC)

6231B - Version: 1. Maintaining a Microsoft SQL Server 2008 R2 Database

Unified CVP Migration

Using NAT in Overlapping Networks

Connect Databases to AutoCAD with dbconnect Nate Bartley Test Development Engineer autodesk, inc.

Cisco Unified Communications Manager Express FAQ

Home page. Set Do Not Disturb. Set call forwarding

CallManager Upgrade Fails Due to DMA Error

Maintaining a Microsoft SQL Server 2008 Database (Course 6231A)

Configure SIP Registrations to Authenticate and Authorize on a Per-user Basis (MRA) for CUCM 11.5

Location setup. About location setup

Depending on your job function, you may not have access to every report that is described in this chapter.

Change Server Node Name

Importing Data into Cisco Unified MeetingPlace

Configure and Manage the CUE System Auto Attendant

CHAPTER. Introduction

Adjust Administrative Distance for Route Selection in Cisco IOS Routers Configuration Example

Configure Intercluster Lookup Service

Administering Microsoft SQL Server 2012 Databases

Transcription:

CDR Database Copy or Migration to Another Server Document ID: 66974 Contents Introduction Prerequisites Requirements Components Used Conventions Background Supported Data Sources Topology Copy the CDR Database Shrink the CDR Database Export the CDR Database Related Information Introduction This document describes how to copy the Call Detailed Records (CDR) database (DB) from the CallManager server to another Microsoft Structured Query Language (SQL) database server. The CDR database contains information for quality of service, traffic, user call volume, billing, and gateways. Prerequisites Requirements Cisco recommends that you have knowledge of these topics: Cisco CallManager Microsoft SQL Server Components Used The information in this document is based on these software versions: Microsoft Windows 2000 Server Cisco CallManager Microsoft SQL Server version 7 and later 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.

Background Supported Data Sources The Data Transformation Services (DTS) Import/Export Wizard provides the simplest way to copy data between Object Linking and Embedding (OLE) DB data sources. After you connect to the source and destination, you can select the data to import or to export and apply transformations to the data that is being copied. With the DTS Import/Export Wizard, you can connect to these data sources: 1. Most OLE DB and Open Database Connectivity (ODBC) data sources, as well as user specified OLE DB data sources 2. Text files 3. Other connections to one or more instances of Microsoft SQL Server 4. Oracle and Informix databases (You must have the Oracle or Informix client software installed.) 5. Microsoft Excel spreadsheets 6. Microsoft Access and Microsoft FoxPro databases 7. dbase or Paradox databases Topology In this document, the data source is a Cisco CallManager server named DOC2, and the data destination is a Microsoft SQL server named DOC 4 without Cisco CallManager installed. Both systems run Microsoft Windows 2000 server. Figure 1 Data Source and Data Destination Copy the CDR Database In order to copy the CDR database, run the DTS Import/Export Wizard. It consists of two steps. 1. Shrink the CDR database. 2. Export the CDR database. Shrink the CDR Database One way to shrink the CDR database is to issue the dbcc shrinkdatabase SQL command: Figure 2 Shrink CDR Database

1. Choose Start > Run. 2. In the Open field, enter cmd, then press Enter. An MS DOS window appears. 3. Issue the osql E command (see arrow A in Figure 2). The E parameter requests a Windows Authentication connection using your current Windows login account. This is the most secure way to connect to an instance of SQL Server. 4. Issue the use cdr command to point to the CDR database (see arrow B in Figure 2). 5. Issue the backup log cdr with no_log command to back up the CDR transaction log (see arrow C in Figure 2). 6. Issue the dbcc shrinkdatabase (cdr) command to shrink the CDR database (see arrow D in Figure 2). Note: If DBCC displays error messages, contact your system administrator. There are two other ways you can shrink the CDR database. Refer to Shrink the CDR/CAR Database Size for details. Export the CDR Database Run the DTS Import/Export Wizard to export the CDR database that is on the CallManager server: 1. Choose Start > Programs > Microsoft SQL Server > Import and Export Data. The initial window for the DTS Import/Export Wizard appears. 2. Click Next. The Choose a Data Source window appears. Figure 3 Choose a Data Source

3. From the Data Source drop down list, choose Microsoft OLD DB Provider for SQL Server (see arrow A in Figure 3). 4. From the Server drop down list, choose (local) (see arrow B in Figure 3). 5. Choose one of these for authentication: If you run CallManager version 4.x, click the Use Windows Authentication radio button (see arrow C in Figure 3). If you run CallManager version 3.x or earlier, click the Use SQL Server Authentication radio button (see arrow D in Figure 3) and complete the Username and Password fields. 6. From the Database drop down list, choose CDR (see arrow E in Figure 3). 7. Click Next. The Choose a Destination window appears. Figure 4 Choose a Destination

8. From the Destination drop down list, choose Microsoft OLD DB Provider for SQL Server (see arrow A in Figure 4). 9. From the Server drop down list, choose DOC4 (see arrow B in Figure 4). 10. For authentication, click either Use Windows Authentication or Use SQL Server Authentication, based on the server setup (see arrow C in Figure 4). If you choose Use SQL Server Authentication, then complete the Username and Password fields. 11. From the Database drop down list, choose <new> (see arrow D in Figure 4). The Create Database window appears. Figure 5 Create Database 12. In the Name field, enter CDR (see arrow A in Figure 5). 13. Adjust the Data file size and the Log file size based on the size of the source CDR (see arrow B in Figure 5). 14. Click OK. 15. Click Next. The Specify Table Copy or Query window appears. Figure 6 Specify Table Copy or Query

16. Click the Copy table(s) and view(s) from the source database radio button (see arrow A in Figure 6). 17. Click Next. The Select Source Tables and Views window appears. Figure 7 Select Source Tables and Views 18. Click Select All to select all of the listed tables (see arrow A in Figure 7). 19. Click Next. The Save, Schedule, and Replicate Package window appears.

Figure 8 Save, Schedule and Replicate Package 20. You can run immediately, replicate the data, or schedule the package to be executed at a later time. For the example in this document, click Run immediately (see arrow A in Figure 8). 21. Click Next. The Completing the DTS Import/Export Wizard window appears. Figure 9 Completing the DTS Import/Export Wizard 22. Verify that the information in the Summary text box is correct. If so, click Finish. Otherwise, click Back as many times as is necessary to reach the window that requires correction.

23. If the run is successful, two windows will appear. One is the Executing Package window (see Figure 10) and the other is the successful copy window (see Figure 11). Figure 10 Executing Package Figure 11 Successful Copy 24. Click OK in Figure 11. 25. Click Done in Figure 10. Related Information Shrink the CDR/CAR Database Size Reestablishing a Broken CallManager Cluster SQL Subscription with Cisco CallManager Voice Technology Support Voice and Unified Communications Product Support Troubleshooting Cisco IP Telephony Technical Support & Documentation Cisco Systems Contacts & Feedback Help Site Map 2013 2014 Cisco Systems, Inc. All rights reserved. Terms & Conditions Privacy Statement Cookie Policy Trademarks of Cisco Systems, Inc. Updated: Jan 31, 2006 Document ID: 66974