DOC - MediaSense User Guide 10.5-SU1
DOC - MediaSense User Guide 10.5-SU1
DOC - MediaSense User Guide 10.5-SU1
5(1)_SU1
First Published: October 29, 2014
Last Modified: June 18, 2015
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version
of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
Preface Preface ix
Change History ix
Related Documentation x
For More Information and Support x
Field Alerts and Field Notices x
Troubleshooting x
Documentation Feedback xi
Documentation Conventions xi
Single-Server Deployments 14
Dual-Server Deployments 14
Three-Server Deployments 15
Four-Server and Five-Server Deployments 16
MediaSense High Availability Deployments 18
Data Replication Considerations 18
Data Replication and Recovery for Primary or Secondary Node 18
Deployment Considerations for High Availability 19
Failure Condition Considerations 19
MediaSense Requirements 20
Media Storage Requirements 20
Hardware Requirements 21
Software Requirements 21
License Requirements 21
Other Requirements 21
Port Usage 22
Upgrade MediaSense 40
Upgrade Considerations 40
Upgrade Cluster to Release 10.x(x) 42
Node Upgrade Procedures 43
Upgrade Nodes From a Local Source 43
Remote Sources 44
Upgrade Nodes Using Unified OS Administration 44
Upgrade Nodes Using Unified OS CLI 45
Rollback Cluster 46
Install COP Files 47
Language Pack 48
Change History
This document may be updated at any time without notice. Obtain the latest version of this document online
at http://www.cisco.com/c/en/us/support/customer-collaboration/mediasense/products-user-guide-list.html .
Visit this Cisco.com website periodically and check for documentation updates by comparing the revision
date (on the front title page) of your copy with the revision date of the online document.
The following table lists the change history for this document.
Related Documentation
Document or Resource Link
Cisco MediaSense Documentation http://www.cisco.com/c/en/us/support/customer-collaboration/
Guide mediasense/products-documentation-roadmaps-list.html
Troubleshooting
A Troubleshooting Tips for MediaSense wiki provides information to help resolve issues already reported by
other users.
For help with troubleshooting the MediaSense APIs, see the "Before You Start Working with MediaSense
APIs" and "Troubleshooting" sections in the Cisco MediaSense Developer Guide.
Documentation Feedback
You can provide comments about this document by sending an email to the following address:
ccbu_docfeedback@cisco.com
We appreciate your comments.
Documentation Conventions
This document uses the following conventions:
Convention Description
boldface font Boldface font is used to indicate commands, command names, and
keywords, such as user entries, keys, buttons, and folder and submenu
names. For example:
• Choose Edit > Find .
• Click Finish.
window font Window font, such as Courier, is used for the following:
• Text as it appears in code or that the window displays. Example:
<html><title>Cisco Systems,Inc. </title></html>
About MediaSense
MediaSense is the media-capture platform for Cisco Unified Communications. It can be used to record calls
in Cisco and non-Cisco contact centers; however, non-Cisco contact centers must use Cisco Unified Border
Element as the ingress point.
MediaSense can be used by compliance recording companies whose regulatory environment requires all
sessions to be recorded and maintained. These recordings can later be used by a compliance auditor or a
contact center supervisor to resolve customer issues or for training purposes. The recordings can also be used
by speech analytics servers or transcription engines.
MediaSense uses Unified Communications Manager to provide user-authentication services. It uses Web 2.0
application programming interfaces (APIs) to expose its functionality to third-party customers to enable them
to create custom applications. The product is supported on Microsoft Windows 7 and the Apple Mac OS.
Network Services
You can use the following network services with MediaSense:
• Cisco MediaSense Administration— Enables you to configure MediaSense using a graphical user
interface.
• Cisco MediaSense Serviceability Administration— Enables you to configure the MediaSense
Serviceability application using a graphical user interface.
• System Service— Enables you to control service operations within the MediaSense clusters. This service
manages the clustering and setup functionality for the secondary server and expansion servers.
• Perfmon Agent— Enables you to control the performance monitoring infrastructure within the
MediaSense Serviceability Administration interface. The Java Management Extensions (JMX) technology,
which allows you to manage and monitor applications and other system objects, is represented by objects
called Managed Beans (MBeans). The Perfmon Agent retrieves the counter values from the JMX MBeans
and writes them to the Unified Communications Manager database.
• Diagnostics Service— Enables you to troubleshoot and debug MediaSense. This service is available in
all MediaSense servers.
In the MediaSense and Unified OS user interfaces, each MediaSense service name is preceded by the product
name. To avoid redundancy in this document, service names are sometimes referred to without the preceding
product name.
Network services are started automatically after installation in each server in the cluster. If advised to do so
by Cisco support personnel, network services can be stopped.
Feature Services
MediaSense contains the following feature services:
• Configuration Service— Saves and updates all changes made to the MediaSense configuration database.
Each multiple-server cluster can have only two instances of the configuration service, one instance is
in the primary server and the other instance is in the secondary server. If a cluster has more than two
servers, the expansion servers cannot have a configuration service.
• API Service— Processes API requests and enables communication between the user interface and the
server. You can enable the API service only after the database service is enabled. Each multiple-server
cluster can have only two instances of the API service, one instance is in the primary server and the
other instance is in the secondary server. If a cluster has more than two servers, the expansion servers
do not have an API service.
• Database Service— Contains and controls the meta database and the configuration database. Each
multiple-server cluster can only have two instances of the database service, one instance is in the primary
server and the other instance is in the secondary server. Each server writes data only to its local database.
The primary and secondary servers interact to synchronize data.
• Storage Management Agent (SM agent)— Monitors the overall storage in each server in the cluster
and generates threshold events based on disk usage. This service is available in all servers and should
be activated before the media service and call control service.
• Media Service— Receives, saves, and plays back media. The media service must be enabled before the
call control service. This service is available in all servers in the cluster.
• Call Control Service— Coordinates call receiving and recording. The call control service can only be
enabled if the media service is already enabled. This service is available in all servers in the cluster. The
call control service is referred to as a SIP trunk in the Unified Communications Manager user interface
and Unified Communications Manager documentation.
All feature services are installed on the primary and secondary nodes (servers) in a cluster. Expansion nodes
have only the media service, call control service, and SM agent.
Note Before launching Search and Play, you need to install the 32-bit version of JDK on a 32-bit Windows
machine, the 64-bit version of JDK on 64-bit Windows machine, and the 64-bit version on Mac computers.
Also, ensure that you have JDK7 update 25 or later installed.
The MediaSense media player is implemented as a downloadable Java application. Due to recent security
enhancements in Java, users have to accept a pop-up security warning every time the Java application is
executed; meaning that users must accept a security warning every time a recording is played.
Because the application does not run as part of the browser executable, it is subject to the security requirements
of the Java Virtual Machine (JVM) that is installed on the user's computer (rather than those of the browser).
A troubleshooting tip provides instructions for setting up each client desktop where Search and Play is executed
to avoid the warning (http://docwiki.cisco.com/wiki/Administration:_Search_and_Play_application_users_
encounter_security_warning_before_each_playback#Search_and_Play_application_users_encounter_security_
warning_before_each_playback).
Note The media player takes longer to start in Windows Internet Explorer than in Mozilla Firefox. Windows
Internet Explorer users may also see an option to open a downloaded jnlp file.
When prompted for login credentials, use the API user credentials defined on the MediaSense API User
Configuration page of the Administration application.
Note You are logged out from the Search and Play application if the session remains idle for 30 minutes.
Procedure
Step 1 When you first access the Search and Play application, the page opens to the Recent Calls default search
results (all calls within last 7 days). You may select the Recent Calls or Active Calls searches by clicking
those tabs at any time.
Step 2 For a simple search, enter either a participant identifier or a tag in the search box and click Search.
For participant ID, enter the complete value of the identifier. To search for multiple participants, use a space
to separate each entry; the delimiter is considered as an OR operator.
For tags, you can enter one or two letters because a complete value is not required. For more information,
refer to Tags in Advanced Search (Step 3).
Use a space to separate each entry; the delimiter is considered as an OR operator. By default, the simple search
returns calls within the last 7 days.
Step 3 For an advanced search, enter values in any of the search parameters from the Search Recordings drop-down
menu.
The search properties include:
• Session ID—The identifier of a recording session with one or more tracks associated with it. Enter a
session identifier in the text box. Only one Session ID can be searched at a time.
• Participant(s)—The identifier for recording session participants, which is a phone extension. Enter a
participant identifier in the text box. Multiple participants can be searched by separating the identifiers
with a comma. When multiple participants are defined, the search returns only those calls containing all
of the participants (the delimiter is treated as an AND operator).
• Tag—Enter any text. Searches for tags are treated as CONTAINS, so entering a single letter results in
all tags that contain that letter. Spaces used in the search box are considered part of the value being
searched, not as a delimiter. Therefore, searching for two words separated by a space returns only those
calls with a tag containing both words separated by a space.
• XRefCI—The recording session identifier. Enter a recording session identifier in the text box. Only one
XRefCI can be searched at a time.
• CCID—The identifier of an individual track within a recording session. Enter a track identifier in the
text box. Only one CCID can be searched at a time.
• Range—The date the recording session started. Select to search Within a specific time frame or Between
a range of dates. If no time frame is selected, the system defaults to within the last 7 days.
When selecting a range of times, choose short time periods. Searches that result in large numbers of
recordings may take an exceptionally long time to process and impacts system performance.
• Duration—Select a time unit, then use the slide bar to select the interval amount for the recorded session
in seconds, minutes, or hours.
• Show—Use the check boxes to indicate if you want to search for completed calls, active calls, or calls
with recording errors.
Note When exiting the media player, users may receive a warning stating "MediaSense player quit
unexpectedly while using the lib... plug-in". This warning may be reported as an error, but it is not
an error and can be disregarded.
Media Player
MediaSense has a built-in media player in the Search and Play application to play a recording. To run the
media player, you should have the updated Java version (For Java version, refer the “Web Browsers” section
in the Cisco MediaSense Design Guide at http://www.cisco.com/c/en/us/support/customer-collaboration/
mediasense/products-implementation-design-guides-list.html. The track slider displays the progress of the
audio recordings. The slider can be dragged to the right to forward or to the left to rewind the recording being
played.
When a recording finishes, and you want to replay it, drag the slider back to the starting point, however, it
should be done in less than 30 seconds. After 30 seconds, the playback session ends and the player get closed.
Note For video recordings, the track slider is not supported. However, the timer is displayed to view the progress
of the video recordings.
You can increase and decrease the volume by dragging the slider on the Volume bar.
Limitations of the media player:
• Time is not displayed while you drag the slider for rewind or forward.
• Pause button does not automatically convert to the Play button after a recording ends.
• Media Player session gets aborted if the Play and Pause button is clicked more than twice after the slider
reached the end of the playback stream.
• During a playback session, when you click any point to rewind or forward, the track slider moves near
the clicked point, but not on the exact point.
In-Browser Playback
MediaSense has an in-browser playback that uses the HTML5 playback feature of the browser to play back
a recording. The in-browser player converts a recording into mp4 format irrespective of its original format.
It has play, pause, and volume controls and displays the progress of the recording being played. In-browser
playback does not require you to download the recording or manage any security certificate issues, which is
an advantage over the built-in Java media player used for playback.
The other recording playback alternative, using a Java download, requires you to download the recording and
has security certificate issues. By default, MediaSense uses the Java media player for playback.
To enable in-browser playback, you need to configure the settings in the Search and Play Configuration
window in Cisco MediaSense Administration. For more information, see Search and Play Configuration,
on page 70.
Currently, in-browser playback is supported for stored audio calls only. The video recordings are played back
on the media player irrespective of the configurations being saved in the Search and Play Configuration
window.
Note To run the in-browser player, MediaSense server must have a certificate installed from a trusted authority.
Note In case of gadget sign-in failures, the gadget retries every three minutes indefinitely. Sign-in is reattempted
for all the failure cases except for the sign-in with invalid credentials.
The gadget is present on the agent's desktop as a title and a frame. However, it performs a number of functions
that are invisible to the agent.
• START action
When an agent signs in, the gadget sends the following parameters information to MediaSense, which
it uses to associate specific agent information to their individual recordings.
◦extension
◦event(Start)
◦stateChangeTime
◦FirstName
◦LastName
◦LoginID
◦LoginName
• KEEPALIVE action
The gadget sends MediaSense a keepalive message every three minutes.
• STOP action
The gadget sends agent information to MediaSense when an agent signs out, which includes login Id
and extension.
As a result of these actions, MediaSense knows about the agents' details and their login extensions as well as
keeping track of the time the agent signs in and out. This also helps MediaSense to keep its data accurate,
even in case of a browser failure.
Procedure
Architecture
MediaSense is part of the Unified Communications solution and runs on Cisco Unified Operating System,
Release 9.0.
• Network layer:
◦Gateway and session border controller (SBC) media forking and media forking at endpoints.
◦Integration with Cisco Unified Communications Manager (Unified Communications Manager)
for audio recording.
◦Integration with Cisco Unified Border Element (Unified Border Element) for audio and video
recording.
Call Correlation
Both NBR and BiB calls can be correlated using xRefci, which is available from Unified Communications
Manager JTAPI. CISCO-GUID is not required, which means that neither the CTI server nor CTIOS connections
are required. Because there is a single correlation identifier, correlation across components is stronger and
can be done in a uniform way independent of the call flow. Using NBR, directly-dialed as well as dialer-initiated
outbound calls can be correlated with their appearance in other solution components. Using NBR, TDM
gateway recording is automatically used without splitting the capacity of the router.
The following figure illustrates a MediaSense deployment with Unified Border Element. Even in a Unified
Border Element deployment, MediaSense depends on Unified Communications Manager to provide
authentication services.
In the preceding illustration, the Real-Time Protocol (RTP) carries voice data between the endpoints and
Unified Border Element. The Session Initiation Protocol (SIP) carries call signaling information between the
endpoints and Unified Border Element. Two RTP unidirectional streams represent two audio streams forked
from Unified Border Element to MediaSense. Streams from Unified Border Element to MediaSense are
unidirectional because only Unified Border Element sends data to MediaSense; MediaSense does not send
any media to Unified Border Element. Unified Border Element has three dial-peers: inbound, outbound, and
forking. (See Dial-Peer Level Setup, on page 77 for more information.)
Typically, Unified Border Element can fork only SIP-to-SIP calls. However, because you can use the same
Cisco router as both a TDM-to-IP gateway and a media-forking device for call recording, you can also record
incoming TDM or analog calls if you have the required licensing and an appropriate Cisco IOS version. (For
more information, see the Unified Border Element documentation at http://www.cisco.com/go/cube.)
To use this feature, you must enable both gateway and border-element functionality in the device. You can
configure the gateway to receive the TDM or analog call and then feed the call back to itself as a SIP call with
a different dialed number. When you configure this loop, the router actually handles each call twice. (This
feature cuts the router capacity in half and Unified Border Element can process only half as many calls.) For
more information, see the “Media Forking on a TDM Gateway” section in the Cisco MediaSense Developer
Guide at http://www.cisco.com/en/US/products/ps11389/products_programming_reference_guides_list.html
and the MediaSense FAQ article at http://docwiki.cisco.com/wiki/FAQs_for_Cisco_MediaSense#How_to_
Configure_a_TDM_Gateway_for_Media_Forking.
Regardless of whether MediaSense is deployed with Unified Communications Manager or Unified Border
Element, the events, response codes, and parameter definitions are the same for both scenarios. All events,
response codes, and parameters are explained in detail in the Cisco MediaSense Developer Guide at http://
www.cisco.com/en/US/products/ps11389/products_programming_reference_guides_list.html.
Table 1: Unified Communications Manager and Unified Border Element Scenario Differences
MediaSense Feature With Unified Communications With Unified Border Element Dial Peer
Manager (Built-in-Bridge or
Network-based Recording)
Initiating recordings The direct outbound recording The direct outbound recording scenario,
scenario, which is initiated when which is initiated when a client calls the
a client calls the startRecording startRecording API, is not supported
API, is supported with Unified with Unified Border Element
Communications Manager deployments.
deployments.
Recording Two media streams are sent to Recording uses SIP devices (referred to
MediaSense (called Track 0 and as SIP User Agent in Unified Border
Track 1). Recording requires two Element). As long as the call is
phones with at least one phone processed by Unified Border Element as
configured for media-forking a SIP call, the endpoint can be of any
capabilities (two SIP invitations). type. Two media streams are sent to
MediaSense. These two streams
ultimately result in two tracks without
any differentiation for Track 0 and Track
1.
Identifying tracks for calling The numerically smaller xRefCi Track 0 contains the media stream
versus called party parameter usually refers to the corresponding to the dial-peer in which
See the FAQs for MediaSense track of the calling party. the media recording profile is
configured.
website (How do you
determine which track has the
calling and which has the
called party?).
MediaSense Feature With Unified Communications With Unified Border Element Dial Peer
Manager (Built-in-Bridge or
Network-based Recording)
Recording session If a call is placed on hold, the The SIP Session may be updated
logical recording session is multiple times with corresponding media
See the Cisco MediaSense
terminated. When a participant track events. There is only one recording
Developer Guide at http://
resumes the call, a new recording session even if the call is placed on hold
www.cisco.com/en/US/
session is created. and resumed multiple times.
products/ps11389/products_
programming_reference_
guides_list.html for details
about recording sessions and
hold/resume, pause/resume,
transfer/conference
commands.
Differences in the captured To obtain information such as the Unified Border Element can store calls
recording data original calling number, called in an external database known as AAA
number, and type of call, see the - RADIUS. Calls can be searched by
See the Cisco MediaSense
Call Detail Records section in the Cisco-GUID, which corresponds to the
Design Guide at http://
Unified Communications Manager CCID in the MediaSense session data.
www.cisco.com/en/US/
Administration Guide at http://
products/ps11389/products_
www.cisco.com/en/US/products/
implementation_design_
sw/voicesw/ps556/prod_
guides_list.html.
maintenance_guides_list.html.
Mid-call codec change Does not generate mid-call codec A new session starts.
changes.
Recording media source The endpoints provides the forked Unified Border Element provides the
media. forked media.
Supported Deployments
MediaSense supports the following deployments:
• One-Server Deployment— One active server.
• Two-Server Deployment— Two active servers providing high availability.
• Three-Server Deployment— Two active servers providing high availability and one expansion server
to provide additional recording capacity.
• Four-Server Deployment— Two active servers providing high availability and two expansion servers
to provide additional recording capacity.
• Five-Server Deployment— Two active servers providing high availability and three expansion servers
to provide additional recording capacity.
Note UCS-E installations and all installations with fewer than 7 vCPUs are limited to one-server and two-server
deployments.
In all the deployments, the installation and configuration of the primary server differs from the installation
and configuration of the other servers in the same deployment. If you are configuring any server in a MediaSense
deployment, be aware that the platform administrator configures the MediaSense application administrator
username and password (in addition to the platform and security password). See Install MediaSense and
Unified OS, on page 28 for further details.
Note The application administrator username and password must be the same on all servers in a MediaSense
deployment. You can reset the application administrator username and password using the following CLI
commands:
• utils reset_application_ui_administrator_name
• utils reset_application_ui_administrator_password.
• UCS-E installations and all installations with fewer than 7 vCPUs are limited to one-server and two-server
deployments.
Single-Server Deployments
A single-server deployment has one MediaSense server on the Unified Communications OS platform. All
network services are enabled by default.
In single-server deployments, the primary server has the following feature services:
• API service
• Configuration service
• Call control service
• Media service
• Database service
• SM agent
Single-service deployments enable you to add more servers later to address redundancy issues, to provide
high availability, to increase storage capacity, and to increase simultaneous recording capacity. For more
information on deployment models, refer to the Cisco MediaSense Design Guide at the following location.
http://www.cisco.com/c/en/us/support/customer-collaboration/mediasense/
products-implementation-design-guides-list.html
Dual-Server Deployments
A dual-server deployment has two MediaSense servers on the Unified Communications OS (Unified OS)
platform. The first server is called the primary server. The second server is called the secondary server. All
network services are enabled on both servers.
Both primary and secondary servers have the following feature services:
• API service
• Configuration service
• Call control service
• Media service
• Database service
• SM agent
Dual-server deployments provide high availability. The recording load is automatically balanced across the
primary and secondary servers because all services are always active on both servers.
Figure 3: Dual-Server Deployment
Note MediaSense does not provide automatic load balancing in the API service or the configuration service.
When both of those services are enabled on the primary and secondary servers, you must point your
browser or server-based API to one of these services.
Three-Server Deployments
Three-server deployments have a primary server, a secondary server, and one expansion server. All network
services are enabled by default on all servers in the cluster.
The primary server and the secondary server have the following feature services:
• API service
• Configuration service
• Call control service
• Media service
• Database service
• SM agent
The three-server model provides redundancy and increases storage capacity and simultaneous recording and
playback capacity. The recording load is automatically balanced across the servers because services are always
active on their respective servers.
Figure 4: Three-Server Deployment
Note MediaSense does not provide automatic load balancing in the API service and Configuration service on
the primary and secondary servers. While those services are enabled, you must point your browser or
server-based API to only one of these services.
See the Cisco MediaSense Design Guide at http://www.cisco.com/c/en/us/support/customer-collaboration/
mediasense/products-implementation-design-guides-list.html for details about the maximum number of
simultaneous recording sessions, playback sessions, and monitoring sessions that are supported.
• Configuration service
• Call control service
• Media service
• Database service
• SM agent
The remaining servers, called expansion servers, only have the following feature services:
• Call control service
• Media service
• SM agent
This deployment model provides redundancy, increases storage capacity, and increases capacity for simultaneous
recording and playback sessions. The recording load is automatically balanced across the servers because
services are always active on their respective servers.
Figure 5: Five-Server Deployment
Note MediaSense does not provide automatic load balancing in the API service and Configuration service on
the primary and secondary servers. While those services are enabled, you must point your browser or
server-based API to only one of these services.
The replication operation between the primary and secondary MediaSense servers differs based on the time
of replication:
• Activation time— During the service activation process, Informix ER automatically begins replication
between the primary and secondary servers. The differential data between both servers are replicated
from the primary server to the secondary server.
• Run time— During run time, data replication is bidirectional. If, for any reason, one of the MediaSense
servers is shut down or in a failed state, data continues to be written to the surviving server. When the
shut down or failed server is revived, Informix ER automatically restarts between the two servers and
synchronizes the data. Depending on the data size, synchronization time may vary. Retention period
refers to the number of days that data can be stored on the surviving server without breaking the
replication. See the Cisco MediaSense Design Guide at http://www.cisco.com/c/en/us/support/
customer-collaboration/mediasense/products-implementation-design-guides-list.html for details about
database retention period recommendations.
• If one node is out of service for an extended period, the ora_ersb buffer on the working node may fill
up. If ora_ersb reaches 90 percent of its capacity, the system automatically stops replication on the
working node (which then acts like a single node). The system does this to prevent ora_ersb from getting
too full and the system from becoming dysfunctional.
• If replication is stopped on the working node, it is automatically restored after the out-of-service node
comes back into service. User intervention is not required. After replication is restored, data sync jobs
are launched to compare both the meta data and the configuration data on both nodes and to synchronize
this data.
You can check the data sync job status by running the following CLI command on either one of the nodes:
show db_synchronization status [db_ora_meta|db_ora_config]
MediaSense Scenarios With Unified Communications With Unified Border Element Dial
Manager (Built-in-Bridge or Peer Recording
Network-based Recording)
Normal scenario The Unified Communications Unified Border Element always
Manager uses a round-robin sends a call to the first MediaSense
method to reach an available call server in the media-recording list.
control service to place an
outbound call and times out if it is
still unsuccessful after attempting
to reach the last call control
service.
Failed server scenario Unified Communications Manager Unified Border Element uses the
uses the next available MediaSense next available MediaSense server
server in the list. in the media-recording list.
If ora_ersb reaches 90 percent of its capacity, replication on the surviving server stops so that the surviving
server can continue to write data. If the ora-ersb exceeds its capacity, the system becomes dysfunctional.
Recovery time is the time taken by the failed MediaSense server to synchronize data with the surviving server
after the failed server comes back in service. The length of recovery time for a failed server depends on the
following factors:
• Volume of data written to the surviving server when one server is down
• Duplex network connection speed between the two servers
• Level of call load running when recovery is in progress
• Whether replication stopped on the surviving server
In both situations, when the failed server is back up and available, replication automatically starts to catch
up. No manual intervention is required.
For details about failure recovery times, see the Cisco MediaSense Design Guide at http://www.cisco.com/
en/US/products/ps11389/products_implementation_design_guides_list.html).
MediaSense Requirements
This section identifies requirements for MediaSense.
Hardware Requirements
MediaSense is packaged with the Linux-based Unified Communications Operating System (OS), an appliance
model developed by Cisco.
An approved servers for MediaSense must meet the following hardware requirements:
• Approved Unified Computing System (Unified CS) servers. For a list of approved UCS servers, see the
Cisco MediaSense Design Guide at http://www.cisco.com/en/US/products/ps11389/products_
implementation_design_guides_list.html.
• In addition to the approved servers, MediaSense can be installed on a UCS-E module inside a router. A
UCS-E module is a router blade that has its own processors, storage, network interfaces, and memory.
For more information about approved UCS-E models, see the Cisco MediaSense Design Guide at http:/
/www.cisco.com/en/US/products/ps11389/products_implementation_design_guides_list.html. For more
information about UCS-E modules, see http://www.cisco.com/en/US/products/ps12629/index.html.
• Virtual machine requirements specific to MediaSense are available at http://docwiki.cisco.com/wiki/
Virtualization_for_Cisco_MediaSense.
For details about virtual machine templates, ESXi, sizing information, and other virtual machine-specific
process details, see http://cisco.com/go/uc-virtualized.
For more information about hardware limitations, see the Cisco MediaSense Release Notes on Cisco.com
(CDC) at http://www.cisco.com/en/US/products/ps11389/prod_release_notes_list.html.
Software Requirements
MediaSense must meet the following software requirements:
• The required Unified Communications Manager cluster must already be configured and deployed before
you set up MediaSense.
• The MediaSense administration web interface uses approved web browsers. For a list of approved web
browsers, see the Cisco MediaSense Design Guide at http://www.cisco.com/en/US/products/ps11389/
products_implementation_design_guides_list.html.
License Requirements
The primary licensing and feature activation method for MediaSense is trust-based licensing, therefore, you
do not need to install any MediaSense licenses.
Other Requirements
MediaSense must have an uninterrupted power supply at all times to prevent unpredictable behavior due to
power failure.
Port Usage
The section identifies the TCP and UDP ports that are used by MediaSense.
Note Users cannot configure these ports. The table below shows how MediaSense is configured when it is
installed.
The columns in the table below provide the following information:
• Server or application protocol— The name of the open or private application protocol.
• Server protocol and port— The TCP or UDP port that the server or application is listening on, along
with the IP address for incoming connection requests when acting as a server.
• Remote protocol and port— The TCP or UDP port that the remote service or application is listening
on, along with the IP address for incoming connection requests when acting as the server.
• Remote device— The remote application or device making a connection to the server or service.
• Used by— The service, services, or agents that use each port or ports.
HTTPS TCP 8446 Any Web browser, API Call control service.
client
HTTP TCP 8081 Any Web browser, API Call control service
client
HTTP TCP 8085 Any Another CMS node Call control service
Keep-alive UDP 8091 UDP 8091 CMS cluster nodes Used by a call
heartbeats only control service to
detect availability of
other call control
services.
JMS TCP 61612 Any CMS cluster nodes Call control service
only
Ephemeral port UDP 1024 - 65535 Any RTSP media player Range of local ports
range which is being used used by media
to listen to an service to send RTP
archived or live media streams.
recording.
Install MediaSense
This section describes how to install MediaSense and the Cisco Unified Communications Operating System
(Unified OS). You install both with one program.
utils
reset_application_ui_administrator_password
The MTU size (in bytes) for your MTU size: If you are unsure of the MTU setting for your
network. network, use the default value of 1500 bytes.
This setting must be the same on
all servers in a cluster.
DNS client configuration Primary DNS: Provide this information when using
hostnames for cluster configuration.
Secondary DNS
(optional): A server hostname cannot be changed after
installation.
Domain:
If you enable DNS, you must configure both
forward and reverse lookup information.
Network Time Protocol (NTP) or Hostname or IP address You must specify at least one valid and
hardware clock configuration for of the NTP server(s): reachable NTP server.
the first server.
Set the NTP for other servers in the
MediaSense deployment to the
time on the first server.
Note If you leave an installation unattended, your monitor window may go blank. If the window goes blank:
• Press Escape to redisplay the current window and continue the installation.
• Do not press the space bar because this action selects the default option from the current window
and moves you to the next window.
The following table describes the actions that the system executes when you press certain keys during
installation.
Installation Process
The installation process deploys the MediaSense application and the Unified Communications Operating
System (Unified OS) from the provided media on the DVD disc.
Before you install the MediaSense, you must address all virtual machine (VM) requirements.
Cisco assumes that you know the VMware tool set and have completed the following tasks:
• Mounted and mapped the DVD drive to the VM host DVD device (physical DVD drive with the DVD
disk inserted) or you have mounted your DVD drive to the datastore ISO file.
• Powered on your VM server in preparation for this installation.
• Met all of the VM requirements listed in the Unified Communications Virtualization website at http:/
/cisco.com/go/uc-virtualized.
You can install MediaSense from the installation disk and configure it with one DVD insertion. The disk
contains the Unified OS and the MediaSense installer. When you run this installer, you install Unified OS
and MediaSense at the same time.
Installing MediaSense is a two-step process:
1 Install MediaSense and Unified OS.
2 Set up the primary server.
Note Before you install any secondary or expansion servers, the primary server must be running and it must be
configured with information about the secondary and expansion servers.
• If you plan to perform an unattended installation, provide a configuration file on a virtual image.
Caution The installation may fail if an invalid or incorrect IP address was entered when the MediaSense node was
added to the Unified Communications Manager cluster. Refer to http://docwiki.cisco.com/wiki/
Troubleshooting_Tips_for_Cisco_MediaSense for information on correcting the IP address before restarting
the installation.
Caution If a critical error occurs during installation, the installer prompts you to collect log files. You may need
to restart the installation of this node. For more detailed instructions, see How to Dump Install Logs to
the Serial Port of the Virtual Machine.
Procedure
Step 1 If you have a configuration file for an unattended installation, confirm that it is on a virtual image, that the
image is on the datastore, and that it is mounted. For more information, refer to http://docwiki.cisco.com/wiki/
How_to_Use_the_AFG_with_the_Virtual_Floppy_Drive.
Step 2 If you are using a MediaSense installation disk, configure the virtual machine to see the physical DVD device
on the host. Wait until the DVD Found window is displayed.
Step 3 You are prompted to perform a media check. The media check verifies the integrity of the installation disk.
If your disk passed the media check previously, omit this step.
To perform a media check, select Yes. To omit the media check, select No and continue to step 4.
Note During the media check, the Media Check Result window displays a progress bar. Depending on
your server setup, the media check can take up to an hour to complete.
a) If the Media Check Result displays PASS, click OK to continue.
b) If the media check fails, eject the DVD to end the installation. At this point, the next step depends on your
service-level agreement. You can:
• Obtain another installation disk directly from Cisco Systems.
• Contact your service provider for assistance.
Step 5 Select Yes if you agree with the displayed information on the Proceed with Install window. If you select
No, the installation is canceled.
The screen displays any preexisting version of MediaSense on the hard drive and the version that is available
on the disk. For an initial installation of MediaSense, the version on the hard drive is displayed as NONE.
If you plan to perform an unattended installation and provided configuration information in Step 1 of this
procedure, select Yes in the Proceed with install screen. The installer asks no more questions unless there is
a diskrepancy in the configuration information. When the installation process is complete, perform the tasks
in Post-Installation Tasks, on page 32.
If you did not provide configuration information in Step 1, and you select Yes in the Proceed with Install
window, the installation continues with the next step.
Step 9 In the Time Zone Configuration screen, use the Up and Down arrow to select the time zone for your server
location. Click OK.
Caution Setting the time zone incorrectly can adversely affect system operation.
Step 12 In the Static Network Configuration screen, enter the values for IP Address, IP Mask, and Gateway (GW)
Address. Click OK.
Step 13 In the DNS Client Configuration screen, select Yes.
Note • If you enable DNS, you can use hostnames to configure the nodes. Hostnames cannot be changed
after installation completes.
• If you disable DNS, you must use IP addresses to configure the nodes.
If you enable DNS, you must provide values for Primary DNS and Domain. Optional values include
Secondary DNS.
Note If you enable DNS, you must also configure both forward and reverse lookup information in your
DNS server. If you do not configure this information, the installation fails on the network check.
Step 14 In the Administrator Login Configuration screen, enter the Administrator ID for the Unified OS (platform)
administrator for this deployment. Also enter and confirm the password for this administrator. Click OK.
Step 15 In the Certificate Information screen, enter values for Organization, Unit, Location, State, and Country.
Click OK.
Step 16 The next step depends on if you are configuring the first (primary) server or if you are configuring a secondary
or expansion server.
If you are configuring the first (primary) server for this MediaSense deployment, select Yes in the First
Node Configuration screen.
Caution After you install the primary server you cannot change your primary server assignment for this
deployment.
a) In the Complete the Network Time Protocol Client Configuration screen, enter NTP Servers and click
OK.
The first (primary) server in a MediaSense deployment can get its time from any external Network Time
Protocol (NTP) server that you define. NTP or hardware clock configuration is only set for the first node.
Other servers in the cluster automatically synchronize their time to the time on the first server.
Note You must specify at least one valid and reachable NTP server.
b) Enter the security password in the Security Configuration screen.
The security password:
• Must begin with an alphanumeric character and be at least six characters long. It can contain
alphanumeric characters, hyphens, and underscores.
• Must be identical for all servers because the servers use it to authorize communications between
themselves.
• Must be recorded and saved to use again when you add a secondary server or an expansion server.
• Can be changed later using the CLI command set password security.
ClickOK.
c) In the Application User Configuration screen, enter the user ID for the application user. Enter and confirm
the password. Click OK.
To complete the installation of the first (primary) server, go to Step 21.
If you are configuring a secondary server or an expansion server, select No and continue to the next step.
Step 17 A warning indicates that if you are configuring a secondary or expansion server, you must have configured
the server on the primary server first, and that the server you are configuring must have access to the primary
server.
ClickOK and proceed to the next step.
The Network Connectivity Test Configuration screen appears.
Step 18 Select Yes to pause the installation and add the subsequent server information to the primary server. For
instructions, see MediaSense Server Configuration, on page 35.
Resume the installation after the configuration is complete.
Step 19 In the First-Node Access Configuration screen, add the Host Name and IP Address of the first (primary)
server. The security password is the same as the security password that you entered for the first server. Click
OK to continue with the installation.
The Platform Configuration Confirmation screen appears.
Step 20 In the Platform Configuration Confirmation screen, click OK to proceed with the installation.
The installation process continues. The process may take several hours to complete. Completion time depends
on the configuration setup, hardware setup, disk size, and other factors.
MediaSense restarts automatically after the installation completes. A login screen displays a successful
installation message and a login prompt.
What to Do Next
Unmount the DVD drive mapped to the VM host DVD device (physical DVD drive with the DVD disk
inserted) or the DVD drive mounted to the datastore ISO file.
Proceed with post-installation tasks to complete the setup for every node in the cluster.
Post-Installation Tasks
After installing MediaSense on your primary server, you must set some configuration parameters and perform
other post-installation tasks before you start using the system.
Procedure
Note The AXL user can only be an end user in Unified Communications Manager.
For Unified Communications Manager 10.0, the AXL user must be configured with the following roles:
• Standard AXL API Access
• Standard CCM Admin Users
For Unified Communications Manager 9.1, the AXL user must be configured with the following roles:
• Standard AXL API Access
• Standard CCM Admin Users
• Standard CCMADMIN Administration
• Standard SERVICEABILITY Administration
For more information about Unified Communications Manager users and roles, see Cisco Unified
Communications System Documentation.
See the following sections to review the considerations for your intended deployment:
• Single-Server Deployments, on page 14
• Dual-Server Deployments, on page 14
Caution After you install the primary server you cannot change your primary server assignment for this deployment.
Follow this procedure to complete the setup for the primary server in any MediaSense deployment.
Procedure
Step 1 After you complete the installation procedure, the system automatically restarts. Sign in to MediaSense
Administration for the primary server.
The Welcome screen of the MediaSense First Server Setup wizard appears.
Step 3 The system internally verifies the IP address of this server and automatically begins enabling the MediaSense
feature services in this server. Wait until all of the feature services show as enabled in the Service Activation
screen. After all of the services are successfully enabled, click Next.
If a feature service cannot be enabled, an error message is displayed in the Status section.
Enabled This service is now fully Wait until all the feature services for this
turned on and ready to server reach the Enabled state. The primary
function. server requires all feature services to be
enabled.
After you click Next, the AXL Service Provider screen appears.
Step 4 Enter the AXL service provider (IP address) and the AXL administrator username and password in the
respective fields for Unified Communications Manager that should communicate with MediaSense.
Note You cannot change the password for the AXL user in the MediaSense application. The MediaSense
application only authenticates the password configured in Unified Communications Manager. You
can, however, modify the AXL server IP address. See Select AXL Service Providers, on page 51.
If the selected AXL services cannot be enabled, an error message instructs you to reselect AXL service
providers.
After the system accepts the AXL server and user information, the Call Control Service Provider screen
appears.
Step 5 If the client applications using MediaSense need to make outbound recording calls, provide the Unified
Communications Manager server IP address for the call control service on the Call Control Service Provider
screen.
Note Provide this information only if you know the applications using MediaSense. You can get this
information by sending an AXL request to the Unified Communications Manager server that was
configured as the AXL Service Provider.
Step 6 Click Finish to complete the initial setup for the primary server.
The MediaSense Setup Summary screen displays the result of the initial setup.
You have now completed the initial setup of the primary server for MediaSense.
Step 7 In Unified Communications Manager Administration, configure the SIP trunk, route group, route list, and
recording profile.
When you finish the post-installation process for any MediaSense server, you must access the Unified
Communications Manager server for your deployment (based on the information provided during the installation
and post-installation process). For more information, see Setup Call Control Service Connection, on page
37.
Step 8 Before you install MediaSense on a secondary server or an expansion server, you must configure details for
these servers on the primary server by using the MediaSense Administration user interface. For more
information, see MediaSense Server Configuration, on page 35.
Procedure
Step 1 From the Cisco MediaSense Administration menu, select System > MediaSense Server Configuration.
Step 2 In the MediaSense Server Configuration window, click Add MediaSense Server.
The Add MediaSense Server window in the primary node opens.
Step 3 If your installation uses DNS, enter the hostname of the server that you want to add. If your installation does
not use DNS, enter the IP address of the server that you want to add.
Step 4 (Optional) Enter the description of the server that you want to add.
Step 5 (Optional) Enter the MAC address of the server that you want to add.
Step 6 Click Save.
MediaSense displays a confirmation message near the top of the window. You see the configuration details
of the server that you added in the MediaSense Server List. The server type is UNKNOWN at this stage of
the installation.
Note If you have ever increased the size of the /uploadedMedia partition on your system, after you install a new
node you need to increase the size of the partition on the new node as well or you may encounter errors
when uploaded files propagate to the new node. For more information, see Media Partition Management,
on page 71.
Caution After you complete the following procedure for the secondary server, you cannot change your secondary
server assignment for this deployment.
Use the MediaSense Administration interface to make changes to the information that you specify during the
setup procedure. For more information, see Administer and Configure MediaSense, on page 49.
Procedure
Step 1 After you complete the installation procedure specified in Install MediaSense and Unified OS, on page 28,
the system restarts automatically and you must sign in to MediaSense Administration to install subsequent
servers.
When you sign in, the Welcome screen of the MediaSense Subsequent Server Setup wizard appears.
The following table shows which features can be enabled in each type of server:
Select the server type and click Next. The Service Activation screen is displayed.
Step 3 After the services are enabled, click Finish to complete the initial setup for a subsequent server.
If a feature service cannot be enabled, an error message is displayed in the Status section.
The MediaSense Setup Summary screen displays the result of the initial setup and MediaSense restarts.
You have now completed the initial setup of a subsequent server. This subsequent server is ready to record.
Repeat this setup procedure for each expansion server in the cluster.
System Verification
After you install MediaSense, use the following methods to verify the health of your deployment:
• Sign in to MediaSense Administration on each server. See Access MediaSense Administration, on page
49.
• Sign in to MediaSense Serviceability Administration on each server. See Access MediaSense
Serviceability, on page 81.
• Services described in Setup Summary that are enabled on each server. For status descriptions, see
Complete Setup for Primary Server, on page 32.
Note Be sure to configure Unified Communications Manager to use TCP transport for a SIP trunk connection
to MediaSense that is active on all call manager nodes.
After you have configured the SIP trunk information in Unified Communications Manager, you will need to
provide this IP address in the Call Control Service Provider Configuration panel of the Unified CM
Configuration screen in the MediaSense Administration.
Even if already enabled, the call control service is not in service until you have configured the call control
service provider.
Use this procedure to configure the SIP trunk information in Unified Communications Manager if your
installation calls for Built-in-Bridge (BiB) recording or Network-based Recording (NBR).
Procedure
Step 1 Invoke and connect to the Unified CM Administration web interface using a valid Unified Communications
Manager username and password.
Step 2 If MediaSense is a single-node cluster, skip to the next step. If MediaSense is a multiple-node cluster, select
Device > Device Settings > SIP Profile in the Unified CM Administration web page.
Follow the procedure specified in your Unified Communications Manager Administration documentation to
enable OPTIONS Ping and save this configuration.
a) Add a new SIP profile.
b) Select the Enable OPTIONS Ping check box to monitor the destination status for SIP trunks using the
None (default) Service Type.
Step 3 Select Device > Trunk on the Unified CM Administration web page.
Follow the procedure specified in your Unified Communications Manager Administration documentation to
add a new SIP trunk. To configure the device:
1 Edit the Device Name.
2 Select the Device Pool.
3 Assign SIP information.
4 Enter the destination IP address and port (5060) for MediaSense.
5 Select the SIP trunk security profiles and SIP profile (created in Step 2)
6 Ensure that the Media Termination Point Required check box is unchecked.
7 Near the bottom of the screen, select the Run On All Active Unified CM Nodes check box.
Step 5 Create a route list by selecting Call Routing > Route/Hunt > Route List on the Unified CM Administration
web page. Follow the procedure specified in your Unified Communications Manager Administration
documentation to associate the route list with the route group created in Step 4.
Step 6 Create a route pattern by selecting Call Routing > Route/Hunt > Route Pattern in Unified CM Administration.
From the Gateway/Route List drop-down list under the newly created route pattern page, select the name of
the route list configured in Step 5.
Caution Do not include any wildcard characters when creating route patterns for the recording profile.
Step 7 Select Device > Device Settings > Recording Profile in Unified CM Administration.
Follow the procedure specified in your Unified Communications Manager Administration documentation to
add a new recording profile. Configure the recording profile name, and the recording destination address
(enter the route pattern number you configured in Step 6, and click Save).
Step 8 Select Device > Phone on the Unified CM Administration web page.
Follow the procedure specified in your Unified Communications Manager Administration documentation to
perform the following tasks:
a) Find the audio forking phone.
b) Find the Built-In-Bridge configuration for this device and change the setting to ON.
c) Access the Directory Number Configuration page for the line to be recorded.
d) If you are using a recording partner, select either Automatic Call Recording Enabled or Application
Invoked Call Recording Enabled in the Recording Option drop-down list, according to the recording
partner recommendations. If you are not using a recording partner, select Automatic Call Recording
Enabled.
e) Select the recording profile created earlier in this procedure.
Note For NBR, select Gateway Preferred in the Recording Media Source drop-down
list.
Caution MediaSense does not support Internet Low Bitrate Codec (iLBC) or Internet Speech Audio Codec (iSAC).
Consequently, you must disable these features in Unified Communications Manager before you proceed
with the MediaSense configuration.
Procedure
Step 1 Invoke and connect to the Unified CM Administration web interface using a valid Unified Communications
Manager username and password.
Step 2 Select System > Service parameters in Unified CM Administration.
Step 3 On the Service Parameter Configuration web page, select the required server and service (Cisco CallManager)
from the Select Server and Service drop-down list.
Step 4 Go to the Cluster-wide Parameters (Location and Region) section and locate the iLBC Codec Enabled
parameter and the iSAC Codec Enabled parameter.
Step 5 Set the value for both of these parameters as Enable for All Devices Except Recording-Enabled Devices and
save your configuration.
Caution MediaSense does not support the G.722.1 codecs, which are not the same as G.722. However, you cannot
disable the G.722.1 codecs in Cisco Unified Communications Manager.
For recording Jabber-to-Jabber calls (clients with BiB) where one of these is either a Mac or Windows Jabber
client, you must place G722.1 codecs lower than all the G711 and G729 codecs in the Audio Codec Preference
List Configuration window of Cisco Unified Communications Manager. To do this, see the Edit Audio
Codec Preference List section of the Cisco Unified Communications Manager Administration Guide at http:/
/www.cisco.com/c/en/us/support/unified-communications/unified-communications-manager-callmanager/
products-maintenance-guides-list.html.
Upgrade MediaSense
This section contains information on how to upgrade MediaSense. MediaSense can only be upgraded from
one release to the next supported release. If you are running an earlier release, you may have to upgrade more
than once to bring your system up to the current release.
Note To check which releases can be directly upgraded to the current release, see the MediaSense Release Notes
at http://www.cisco.com/c/en/us/support/customer-collaboration/mediasense/products-release-notes-list.html.
Each successive release contains minor changes to the MediaSense API that are always upward compatible
with one exception. The exception is between Release 8.5(4) and 9.0(1), in which security enhancements were
introduced. Those enhancements require that client software be modified in order to provide HTTP-BASIC
credentials and to handle a 302 redirect. HTTP-BASIC credentials must now be provided with all RTSP and
HTTP download requests.
If an upgrade does not complete, you can rollback to the previous release and begin the upgrade again.
Note A node can take several hours to upgrade depending on the number and size of recordings it holds. When
you upgrade a node with very large data sets, it takes around 90 additional minutes per 1 million recordings.
Upgrade Considerations
Consider these guidelines when you upgrade MediaSense:
• Full Loads—You cannot run a full call load until after you complete the upgrade on all servers in the
cluster.
• Upgrade Sequence—When you upgrade a cluster, you must upgrade the primary server first. You can
upgrade the remaining nodes one at a time or upgrade them all at the same time.
• VM Snapshots—You must take a VM snapshot of each node before you begin the upgrade. If an error
stops the upgrade process, you can restore these VM snapshots to roll back the nodes to their previous
states.
◦You do not need to stop each node to take its VM snapshot.
◦You must delete the VM snapshot from each node after the upgrade. MediaSense should not run
on a node with a VM snapshot for more than a few days.
• Temporary Outages—You experience a temporary server outage while the software is being upgraded.
How long this outage lasts depends on your configuration and the size of the data that is stored in the
database.
• Aborted Calls—Nodes in the MediaSense cluster stop taking new calls and API requests when you
begin the upgrade process. If any calls are in progress when you begin the upgrade, recordings of those
calls end in a CLOSED_ERROR state. After the upgrade, each node in the cluster resumes accepting
calls when it come back online.
• Incomplete Upgrades—If you decide to back out of an upgrade before it completes, you must restore
the VM snapshots on all nodes in the cluster to their previous version.
• Potential Data Loss—During the upgrade process, do not make any configuration changes to any server.
After all nodes have been upgraded and returned to service, you can resume making configuration
changes. However, even then, if you need to roll back the upgrade, you lose these configuration changes.
Note To avoid the potential loss of configuration changes or recording data, upgrade only
when the cluster is idle.
Note In case customers want to upgrade directly from MediaSense 9.1(1) to MediaSense
10.5(1), then they need to first install the mcp-rsa3-key-preupgrade_9.1.cop.sgn COP
file available at http://software.cisco.com/download/
type.html?mdfid=283613140&catid=null.
to Release 10.0(1) from 9.1(1). The new uploaded media partition is automatically created during upgrade
and does support the capability to be increased in size after installation.
• If you upgrade a MediaSense cluster from Release 9.0(1) to 9.1(1) or 10.0(1) and then want to add nodes
to your cluster, be aware that although the new nodes are installed with expandable recorded media
storage, we do not support that flexibility. Provision approximately the same amount of recording space
on each new node as is available on each upgraded node. Although storage space disparity across nodes
in the cluster does not present a problem for MediaSense, it could result in pruning ahead of the configured
retention period on smaller nodes. Administrators may find this behavior unpredictable.
Note For Release 10.x(x), customers should upgrade their hosts to a newer version of ESXi that is supported
before they can upgrade to MediaSense Release 10.x(x).
If you are running an earlier release of MediaSense, you must upgrade to Release 9.1(1) before you can
upgrade to Release 10.x(x). Refer to the Cisco MediaSense User Guide for Release 9.1(1) at http://
www.cisco.com/en/US/products/ps11389/products_user_guide_list.html to upgrade to Release 9.1(1)
before using the procedure in this document to upgrade to Release 10.x(x).
Before you upgrade the cluster, you may want to review some of the following information sources:
• For information about supported upgrades, see the Cisco MediaSense Design Guide at http://
www.cisco.com/en/US/products/ps11389/products_implementation_design_guides_list.html.
• For information about VM snapshots, see the VMware Documentation.
Note After you begin the upgrade process on a given node, you cannot cancel it using the Cancel button that
appears on some screens. The proper way to cancel the upgrade on a particular node is to restore its VM
snapshot.
Procedure
Note Before you begin this procedure, be aware that just copying the .iso file to the DVD in the first step will
not work. Most commercial disk burning applications can create ISO image disks.
Procedure
Step 1 If you do not have a Cisco-provided upgrade disk, create an upgrade disk by burning the upgrade file that you
downloaded onto a DVD as an ISO image.
Step 2 Insert the new DVD into the physical DVD device on the host and configure your virtual machine to use that
device.
Step 3 Sign in to the web interface for the Unified OS Administration.
Step 4 Navigate to Software Upgrades > Install/Upgrade.
The Software Installation/Upgrade window appears.
Remote Sources
Cisco certifies certain SFTP products through the Cisco Developer Network (CDN).
CDN partners certify their products with specified versions of Cisco Unified Communications Manager. See
GlobalSCAPE (http://www.globalscape.com/gsftps/cisco.aspx) for more information. For issues with third-party
products that have not been certified through the CDN process, contact the corresponding third-party vendor
for support.
Cisco does not support using the free FTDP SFTP product because of the 1 GB file size limit on this product.
Cisco uses the following servers for internal testing. You may use one of these servers, but you must contact
the vendor directly for support:
• Open SSH (http://sshwindows.sourceforge.net)
• Cygwin (http://www.cygwin.com)
• Titan (http://www.titanftp.com)
You can upgrade nodes from a remote source using one of two methods:
• Upgrade Nodes Using Unified OS Administration, on page 44
• Upgrade Nodes Using Unified OS CLI, on page 45
Note You can also use the Unified OS command line interface (CLI) to upgrade a node from a network location
or to upgrade a node from a remote server. For instructions, see Upgrade Nodes Using Unified OS CLI,
on page 45.
Procedure
Step 1 Put the upgrade file on an FTP server or SFTP server that the node that you are upgrading can access.
Step 2 Sign in to the web interface for Unified OS Administration.
Step 3 Navigate to Software Upgrades > Install/Upgrade. The Software Installation/Upgrade window is displayed.
Step 4 From the list, choose Remote Filesystem.
Step 5 In the Directory field, enter the path to the directory that contains the patch file on the remote system. If the
upgrade file is located on a Linux or Unix server, you must enter a forward slash at the beginning of the
directory path.
For example, if the upgrade file is in the patches directory, enter /patches
If the upgrade file is located on a Windows server, remember that you are connecting to an FTP or SFTP
server, so use the appropriate syntax, including the following:
• Begin the path with a forward slash (/) and use forward slashes throughout the path.
• The path must start from the FTP or SFTP root directory on the server, so you cannot enter a Windows
absolute path (for example, C:).
Step 11 Choose the upgrade version that you want to install and click Next.
Note If you lose your connection with the server or close your browser during the upgrade process, you
may see the following message when you try to access the Software Upgrades menu again.
Another session is installing software, click Assume Control to take over the installation. If you are
sure you want to take over the session, click Assume Control. If Assume Control does not display,
you can also monitor the upgrade with the Real Time Monitoring Tool.
Step 12 In the next window, monitor the progress of the download.
MediaSense automatically take these actions:
• Upgrades to the release specified.
• Switches versions and reboots.
• Starts taking calls.
Note You can also use the web interface of Unified OS Administration to upgrade a node from a network
location or to upgrade a node from a remote server. For instructions, see Upgrade Nodes Using Unified
OS Administration, on page 44.
Procedure
Step 1 Put the upgrade file on an FTP or SFTP server that the server that you are upgrading can access.
Step 2 Sign in to the Unified OS console. See CLI Access, on page 111 for more information.
Step 3 Enter utils system upgrade initiate at the CLI prompt.
The following options appear in the window:
Step 4 Enter 1 or 2 to select the remote file system containing your upgrade file.
Step 5 Enter the path to the directory that contains the upgrade file on the remote system. If the upgrade file is located
on a Linux or Unix server, you must enter a forward slash at the beginning of the directory path.
For example, if the upgrade file is in the patches directory, enter /patches
If the upgrade file is located on a Windows server, remember that you are connecting to an FTP or SFTP
server, so use the appropriate syntax, including the following:
• Begin the path with a forward slash (/) and use forward slashes throughout the path
• The path must start from the FTP or SFTP root directory on the server, so you cannot enter a Windows
absolute path (for example, C:).
Rollback Cluster
All nodes in a MediaSense cluster must run the same software version. If an upgrade fails, restore the VM
snapshots on the nodes to roll the software back to a previous version. After you rollback the software on the
nodes in a cluster, you lose all recordings, all configuration changes, and all metadata changes that were made
after the upgrade. You regain all recordings that were deleted after the upgrade.
MediaSense clusters cannot run a full call load until you complete the final step in this rollback procedure.
Note Be sure that you use MediaSense Serviceability Administration to perform this procedure. Do not use
Unified Serviceability Administration. You can find MediaSense Serviceability Administration in the
Navigation menu.
Procedure
Note This procedure provides general guidelines for installing COP files. Before you use this procedure, check
the Readme file for the specific COP file that you want to install. If the instructions in the Readme file
differ from these general guidelines, follow the instructions in the Readme file instead.
Procedure
Language Pack
Download and install a language pack only if you want to see the MediaSense interface in a language other
than English.
The language pack for MediaSense is delivered as a single COP file, the same way that MediaSense delivers
COP files for patches. The files is available to download from Cisco.com and contains a single installer for
all language variants. The filename is of the format:
ora-language-pack_18-10.0.1.10000-x.cop.sgn
where 10.0.1 is the release identifier.
Follow the instructions in Install COP Files, on page 47 to install the language you want on your interface.
Procedure
Step 1 From a web browser on any computer in your Unified Communications network, go to http://Server
IP/oraadmin.
The Server IP is the IP address of the server on which you installed MediaSense.
Step 2 A security alert message may appear, prompting you to accept the self-signed security certificate. This certificate
is required for a secure connection to the server. Click the required button.
This security message may not appear if you have already installed a security certificate.
Step 3 Enter the application administrator user ID and password for the server. Click Log in.
The welcome page appears and displays the MediaSense version number, as well as trademark, copyright,
and encryption information.
Single Sign-In
The Navigation drop-down list in the top right corner of each Administration interface provides a list of
applications or pages which you can access with a single sign-in. After you sign in to MediaSense
Administration, you can access the following applications:
• Cisco MediaSense Administration— Used to configure Unified Communications Manager, MediaSense
users, prune policy, and to perform other tasks described in this section.
• Cisco MediaSense Serviceability— Used to configure trace files and to enable and disable MediaSense
services.
• Cisco Unified Serviceability— Used to configure trace files and alarms and enable and disable Cisco
Unified Communications services.
• Cisco Unified OS Administration— Used to configure and administer the Cisco Unified
Communications platform for MediaSense.
To access these pages from MediaSense Administration, select the required application from the Navigation
drop-down list and click Go.
All MediaSense Administration pages provide descriptive tool tips for each parameter and field. When you
place your mouse over the required parameter or field, the tip is briefly displayed for each element.
This document focuses on the functions and services accessed from the Cisco MediaSense Administration
and Cisco MediaSense Serviceability pages. When actions are required on the Cisco Unified Serviceability
and Cisco Unified OS Administration pages, it is clearly identified where to perform these actions.
The minimum supported screen resolution specifies 1024x768. Devices with lower screen resolutions may
not display the applications correctly.
MediaSense Administration
The MediaSense Administration menu bar on the left side of the screen contains the following menu options:
• Administration— Contains options for configuring new servers in the cluster, Unified Communications
Manager information, and changing system parameters.
• System— Allows you to add a new server or view the disk usage information for each server in the
MediaSense deployment.
• Help— Provides access to online help for MediaSense.
◦To display documentation for the active administration interface window, select Help > This Page.
◦To verify the version of the administration running on the server, select Help > About or click the
About link in the upper-right corner of the window.
◦To view the latest version of all documents for this release, select Help > Cisco.com.
If you are connected to the external network, this link connects you to the home page for Cisco
MediaSense.
◦To view the latest version of the troubleshooting tips for this release, select Help > Troubleshooting
Tips .
If you are connected to the external network, this link connects you to the Trouble Shooting page
for Cisco MediaSense.
Note You will be logged out from the MediaSense Administration interface if the session remains idle for 120
minutes.
Note The AXL service must be enabled for the required Unified Communications Manager server (or servers)
before MediaSense Administration can access that server to update the AXL user information.
To modify the AXL information for MediaSense, complete the following procedure.
Procedure
Step 2 In the Unified CM Configuration web page, go to the AXL Service Provider Configuration section to modify
the AXL information.
The Unified Communications Manager username and password information are mandatory fields. The password
cannot be updated on this page. You will need to change the password in Unified CM Administration.
Step 3 Select and move each server from the Available Unified CM Servers list to the Selected Unified CM Servers
list box using the right arrow. Alternately, use the left arrow to move a selected server back.
Note When selecting a Unified Communications Manager server, ensure that the server you select is a
valid Unified Communications Manager call control server. The servers in the Available list may
include Cisco Unified Presence servers as well as Unified Communications Manager servers. The
Unified Presence servers must not be selected for this purpose.
Step 4 Click the Save icon at the top of the Unified CM Configuration web page to save your changes.
The MediaSense server validates the connection details and refreshes the Unified CM Configuration web
page to display the new settings.
Procedure
Step 2 In the Unified CM Configuration web page, go to the Call Control Service Provider Configuration section
to modify the call control service provider information.
Note If you deselect the Unified Communications Manager server from the Selected list box, a browser
window pops up informing you about the deselected servers.
Caution If you modify the Unified Communications Manager cluster and do not select the required call
control service providers for the new Unified Communications Manager server, the MediaSense
call control service will be out of service (OOS) and outbound call recording will be disabled.
Step 3 Click the Save icon at the top of the Cisco Unified CM Configuration web page to save your changes.
The Unified CM Configuration web page refreshes to display the new settings.
Caution If you modify the Unified Communications Manager cluster configuration, you must also reconfigure the
MediaSense API users. If you do not reconfigure the corresponding users, you will not be able to sign in
to use your MediaSense APIs.
To replace the Unified Communications Manager service provider, complete the following procedure.
Procedure
Step 2 In the Unified CM Configuration web page, click Modify Unified Communications Manager Cluster to
replace the existing list of service providers.
The Modifying Unified CM Cluster web page opens.
Step 3 Enter the IP address, username, and password for the new service provider in the required Unified
Communications Manager cluster.
If you change your mind about this new server, click Reset to go back to the Unified CM Configuration
web page without making any changes.
Step 4 Click the Save icon at the top of the AXL Service Provider Configuration section to save your changes.
The initial list of selected AXL service providers on the Unified CM Configuration web page will be replaced
with the selected Unified Communications Manager service provider.
The MediaSense server validates the connection details, closes the Modifying Unified CM Cluster web
page, and refreshes the Unified CM Configuration web page to display the new service provider in the
Selected service provider list. The selected service provider is also updated in the MediaSense database.
Even if you provide only one Unified Communications Manager IP address in this page, the other service
provider IP addresses in this Unified Communications Manager cluster will automatically appear in the list
of Available service providers (both AXL and Call Control service providers).
Step 5 The list of Available Call Control Service Providers is also updated automatically for the newly selected
service provider. Select and move the required Unified Communications Manager servers from the Available
Call Control Service Provider list to the Selected Call Control Service Provider list using the right arrow.
If you do not select the required Call Control Service Providers for the new Unified Communications Manager
server, the MediaSense Call Control Service will be Out Of Service (OOS) and the outbound call recording
will be disabled.
Caution If you modify the Unified Communications Manager cluster and do not select the required call
control service providers for the new Unified Communications Manager server, the MediaSense
call control service will be out of service (OOS) and outbound call recording will be disabled.
Note If you modify the Unified Communications Manager service provider configuration, you must also
reconfigure the MediaSense API users. If you do not reconfigure the corresponding users, you will
not be able to sign in to use your MediaSense APIs.
Step 6 Click the Save icon at the top of the Unified CM Configuration web page to save your changes.
The MediaSense server validates the Selected Call Control Service Providers and saves this information to
the database.
Procedure
Step 1 From MediaSense Administration, select Administration > Cisco Finesse Configuration.
Step 2 In the Primary Cisco Finesse IP or hostname field, enter the IP address or hostname of the Finesse server
that you want as the primary server for MediaSense to communicate with.
Step 3 (Optional) In the Secondary Cisco Finesse IP or hostname field, enter the IP address or hostname of the
Finesse server that you want as the secondary server for MediaSense to communicate with.
Note In order to define a secondary server, a primary server must first be defined.
Step 4 Click the Save icon at the top of the page to save your changes.
To reset the servers, click Reset and repeat these steps.
MediaSense APIs provide an alternate to the functionality that is available through the MediaSense web
interface. Using these APIs, users can create customized client applications. System integrators and developers
who want to use MediaSense to integrate with other Unified Communications software or any third-party
software applications need to have access to the MediaSense API. See Unified Communications Manager
User Information and MediaSense Setup, on page 51.
Caution If you modify the Unified Communications Manager cluster configuration, you must reconfigure the
MediaSense API users. If you do not reconfigure the corresponding users, you will not be able to sign in
to use your MediaSense APIs.
Procedure
Step 1 From MediaSense Administration, select Administration > MediaSense API User Configuration.
The MediaSense API User Configuration screen displays the MediaSense User List of the first 75 configured
MediaSense API users. You can sort the list by any of the columns, in both ascending and descending order.
Step 3 To search for users from the Unified CM list, enter the appropriate user ID (or part of the ID) in the Search
for Available Unified CM Users field and click Search.
The search results display all available users where the ID of the user contains the specified search text. The
results of the search are listed in random order. If the search finds more than 75 users, only the first 75 are
listed.
Note The returned list only displays users that are available (not already provisioned for MediaSense). As
a result, the list may contain fewer than 75 users even if there are that many end users in Unified
Communications Manager that meet the search criteria.
Step 4 Use the left and right arrows to make the required modifications to the MediaSense user list and click Save.
The MediaSense API User Configuration screen refreshes to display your saved changes.
Click Reset to have all settings revert to the previously configured list of users.
Click Back to User List to return to the MediaSense User List.
Pruning Options
MediaSense deployments provide pruning options to address varied deployment scenarios. Pruning options
are specified on the Administration > Prune Policy Configuration page.
These pruning options allow you to enter the following modes:
• New Recording Priority mode—In this mode, the priority is on providing space for newer recordings,
by automatically pruning older recordings. This is the default behavior. The default age after which
recordings will be pruned is 60 days. Old recordings will also be pruned if disk space is required for
new recordings.
• Old Recording Retention mode—In this mode, priority is placed on retaining older recordings. Old
recordings are not automatically pruned.
To focus priority on making new recordings in the New Recording Priority mode, check Automatically prune
recordings after they are more than __days old, and when disk space is needed for new recordings check
box. When this check box is checked, a recording is deleted when one of the following conditions is met:
• The age of the recording is equal to or greater than the retention age that you specify in the field for this
option (valid range is from 1 to 3650 days).
For example, if you are within your disk usage percentage and if you want to automatically delete all
recordings older than 90 days, you must enter 90 in the Automatically prune recordings after they
are more than __days old, and when disk space is needed for new recordings field. In this case, all
recordings which are older than 90 days are automatically deleted. The default value is 60 days.
Note A day is identified as 24 hours from the precise time you change this setting—it is not
identified as a calendar day. For example, if you change the retention period at 23.15.01
on April 2, 2010, the specified recordings will be deleted only at 23.15.01 on April 3,
2010. The recordings will not be deleted at 00:00:01 on April 3, 2010.
• The disk usage has crossed the 90 percent mark. When the disk usage crosses the 90 percent mark, some
sessions are pruned based on age criteria. This pruning continues until the disk usage is acceptable.
Note • When you use this option to automatically delete recordings, MediaSense removes
older recording data irrespective of contents. The priority is provided to newly
recorded media and disk space is overwritten to accommodate new recordings.
• If you want to use the preceding option (New Recording Priority mode) and, at
the same time, you want to protect a particular session from being automatically
pruned, be sure to store that session in MP4 format, download the MP4 file, and
save it to a suitable location in your network. You can also use the downloadUrl
parameter in the Session Query APIs and download the raw recording to a location
of your choice.
When sessions are pruned, the corresponding metadata is not removed from the database; nor is the data
marked as deleted in the database. MediaSense also provides options (radio buttons) that allow you to choose
(or decline) to have this associated session data removed automatically.
The following options allow you choose how to handle data associated with pruned sessions:
• To have MediaSense remove the associated data automatically, select the Automatically remove
associated data and mp4 files radio button.
• If you select the Do not automatically remove associated data and mp4 files radio button, the associated
data will not be removed automatically. Instead, your client application must explicitly remove
automatically pruned recordings, by way of the getAllPrunedSessions API and the deleteSessions
API. When the deleteSessions API is executed, the metadata is marked as deleted, and the MP4 files
are deleted.
To place the priority on retaining older recordings (Old Recording Retention mode), uncheck the Automatically
prune recordings after they are more than __days old, and when disk space is needed for new recordings
check box. If this check box is unchecked, Cisco MediaSense does not automatically prune data. Instead, you
must use your client application to remove unwanted data and free up disk space. See the Developer Guide
for Cisco MediaSense at http://www.cisco.com/en/US/products/ps11389/products_programming_reference_
guides_list.html for more information.
Caution If you do not clean up unwanted data periodically, the call control service rejects new calls and drops
existing recordings at the emergency threshold level (ENTER_EMERGENCY_STORAGE_SPACE). See
System Thresholds, on page 60 for more details.
Warning When you change the number of days to delete old recordings, or change the pruning policy (check or
uncheck the check box) your service will be disrupted and you must restart MediaSense Media Service
for all nodes in the cluster. Be sure to make this change during your regularly scheduled downtime to
avoid service interruptions.
Caution If MediaSense is not configured to automatically prune recordings, and you change this behavior by using
the Automatically prune recordings after they are more than__days old, and when disk space is
needed for new recordings option, a significant amount of pruning activity may begin. This increase in
pruning activity might temporarily impact system performance.
To configure the age threshold (number of days) for automatic deletion of old recordings, follow this procedure:
Procedure
Step 1 From MediaSense Administration, select Administration > Prune Policy Configuration .
The MediaSense Prune Policy Configuration web page opens to display the configured number of days in the
Automatically prune recordings after they are more than __days old, and when disk space is needed
for new recordings field. The valid range is from 1 to 3650 days, the default is 60 days.
Step 2 Change the value in this field as you require, and ensure that the corresponding check box is checked.
Step 3 If you want MediaSense to automatically remove associated session data and mp4 files, select the Automatically
remove associated data and mp4 files radio button. If you want your client application to handle removal
of associated data and MP4 files, select the Do not automatically remove associated data and mp4 files
radio button. After you specify your options, click Save to apply the changes.
The page refreshes to display the new settings.
EXIT_LOW_ STORAGE_SPACE Recorded media usage dropped The disk storage is exiting the low
below 70% utilization mark. storage space condition.
ENTER_CRITICAL_ Recorded media crossed the 90% Second warning. When entering
STORAGE_SPACE local storage utilization mark. this condition, action must be
taken to guarantee future recording
resources on this server.
If operating in the old recording
retention mode (no automatic
pruning), new recording sessions
are not accepted when you reach
this threshold.
If operating in the new recording
priority mode, older recordings are
subject to automatic deletion (to
make room for new recordings).
EXIT_CRITICAL_ Recorded media usage dropped The disk storage is exiting the
STORAGE_SPACE below the 85% utilization mark. critical storage space condition. At
this point the local server is still
considered to be low on resources.
In the new recording priority
mode, the default pruning stops
and only retention-based pruning
is in effect.
ENTER_EMERGENCY_ Recorded media crossed the 99% Last warning. When the disk
STORAGE_SPACE storage utilization mark. storage enters this condition, you
must take action to guarantee
future recording resources on this
server.
In addition to actions taken when
in CRITICAL condition, all
ongoing recordings are dropped
and the node is considered
out-of-service for recording
purposes.
System Thresholds
Storage Management agent (SM agent) monitors the storage thresholds on a per server basis. The thresholds
are for the total space used on each server and do not attempt to distinguish between the media types being
stored.
Periodic storage capacity checks are performed to maintain the health of the system and recordings.
Caution If the server is not started, or is in an unknown state or is not responding, then the disk use information is
not displayed. You may need to verify the state of your server if it is reachable by using the ping command.
See Storage Threshold Values and Pruning Avoidance, on page 58 for more information about threshold
value percentages.
Procedure
Step 2 In the Server Disk Space Usage web page, select the required server from the Select Server drop-down list
and click Go.
The Server Disk Space Usage web page refreshes to display the disk space used for the selected server in
gigabytes (GB) or terabytes (TB) depending on the size of the disk drive. This page is read-only.
If the selected server does not display any information in this web page, you may receive an alert informing
you that the disk usage information is not available for this server. If you receive this message, verify the state
of the server to ensure that the server is set up and functioning.
<partitions>
<partition name="/media1" size="200G" usage="5%" />
<partition name="/media2" size="200G" usage="50%" />
</partitions>
</storageUsageInfo>
Note The number of media partitions directly corresponds to the number of configured media disks. If you
configure two media disks, you see two media partitions: /media1 and /media2.
Note If more than one logical disk drive is available in your system, the Cisco Unified Real Time Monitoring
Tool (Unified RTMT) can monitor the disk use for the additional partition in the Disk Usage window.
Unified RTMT displays all partitions in MediaSense and in the Unified Communications OS. Depending on
the number of disks installed, the corresponding number of media partitions are visible in the Disk Usage
window. If you do not install any media partitions, only Partition Usage (common media) is visible.
Caution The MediaSense SM agent must be running to view media disk use information in both the Disk Usage
window and the Performance window in Unified RTMT.
While real-time media partition use is visible in the Disk Usage window, historical partition use details are
visible as performance counters in the Performance window.
MediaSense provides an editable system default rule. Until you assign another action as the system default
rule, MediaSense defaults to recording the call's audio streams. This system default rule appears in the first
row in the list of incoming call rules on the MediaSense Incoming Call Configuration screen, regardless
of how you sort the list.
If no incoming call rule has been assigned to an incoming address, MediaSense falls back on the system
default rule when an incoming call arrives at that address.
Note On an upgrade from a previous release to Release 10.5 or later, if you are using Direct Inbound or Outbound
Recording to record ad hoc videos from a phone, then you need to change the relevant Action to Record
Audio and Video on the MediaSense Incoming Call Configuration screen, because on an upgrade the
Action is set to Record Audio Only by default.
Address Requirements
Valid addresses must:
• Consist of the legal user portion of a SIP URL. For example, the legal user portion of the SIP URL
john123@yourcompany.com is the user name, john123.
• Be assigned to only one incoming call rule at a time. You can assign this rule or do nothing and allow
the incoming address to use the editable system default rule.
Procedure
Step 1 From the Administration menu, select Incoming Call Rule Configuration.
Step 2 On the Incoming Call Rule Configuration toolbar, click Add.
Step 3 On the Add Incoming Call Rule screen, go to the Address field and enter the legal user portion of a SIP
URL.
Example:
If the SIP URL is 578452@yourcompany.com, its legal user portion is john123. Often the legal user portion
of SIP URLs for Videos in Queue are all numeric. So, for a SIP URL such as 5551212@yourcompany.com,
the legal user portion is 5551212.
Step 4 From the Action drop-down list, select an incoming call rule. Possible values include Play Continuously, Play
Once, Record Audio, Record Audio and Video, or Reject.
Step 5 If the Action selected is Play Continuously or Play Once, then select a media file to play from the Media File
drop-down list.
Step 6 Click Save.
MediaSense returns you to the Incoming Call Rule Configuration screen. The top of this screen displays
the message Rule saved. The new incoming call rule appears in the Incoming Call Rules list.
Procedure
Step 1 From the Administration menu, select Incoming Call Rule Configuration.
Step 2 At the bottom of the Incoming Call Rule Configuration window, go to the Incoming Call Rules list and
select the radio button for the call rule that you want to edit.
Step 3 On the Incoming Call Rule Configuration toolbar, click Edit.
Step 4 (Optional) In the Edit Incoming Call Rule window, go to the Address field and enter the legal user portion
of a different SIP URL.
Example:
If the SIP URL is 5551212@yourcompany.com, the legal user portion is 5551212.
Step 5 (Optional) In the Edit Incoming Call Rule window, go to the Action drop-down list and select a different
incoming call rule for the endpoint.
Step 6 If you selected Play Once or Play Continuously as the Action, go to the Media File drop-down list and
select a media file.
Step 7 Click Save.
MediaSense returns you to the Incoming Call Rule Configuration screen. The top of this screen displays
the message Ruled saved. The edited incoming call rule appears in the Incoming Call Rules list.
Procedure
Step 1 From the Administration menu, select Incoming Call Rule Configuration.
Step 2 At the bottom of the Incoming Call Rule Configuration screen, go to the Incoming Call Rules list and
select the radio button for the System Default call rule.
Step 3 On the Incoming Call Rule Configuration toolbar, click Edit.
Step 4 On the Edit Incoming Call Rule screen, go to the Action drop-down list and select a different incoming call
rule.
Step 5 If you selected Play Once or Play Continuously, go to the Media File drop-down list and select a file.
Step 6 Click Save.
MediaSense returns you to the Incoming Call Rule Configuration screen. The top of this screen displays
the message Ruled saved. The edited System Default call rule appears at the top of the Incoming Call Rules
list. Any changes that you made in Action or in the selection of media file appear in the respective columns
of the first row.
Procedure
Step 1 From the Administration menu, select Incoming Call Rule Configuration.
Step 2 From the Incoming Call Rules list, select the radio button for the Incoming Call Rule that you want to delete.
Step 3 Click Delete.
Step 4 In the confirmation dialog box, click OK.
The top of the Incoming Call Rule Configuration screen displays the message Rule deleted. The Incoming
Call Rule List no longer displays the deleted rule.
file enters the Ready state. When you begin the process of adding a new node to the cluster, all existing
uploaded media files go into processing state and remain there until the new node has completed its
processing steps for those media files. (The files can still be played normally as long as any node has
them in ready state.)
• Ready— The uploaded file has finished processing on all nodes. It is ready to be played as an outgoing
message from one or more assigned SIP addresses.
• Deleting— Deleting a file may take some time. After a file has been deleted from all nodes, it disappears
from the MediaSense user interface and cannot be recovered. You can upload the same media file again.
You must, however, go through the entire processing phase again.
• Error— Files that have not been successfully processed are shown in the error state. Files in this state
can be deleted or redeployed to resolve the error condition.
Note A user may encounter an error if they begin to upload a file at the same time as another user on the system.
If an unexpected error is returned to the browser, refresh the Media File Management page and wait for
the other upload to complete, then restart the upload.
Files to be added must be in MP4 format and meet the following specifications:
Procedure
Step 1 From the Cisco MediaSense Administration menu, select Media File Management.
Step 2 On the Media File Management toolbar, click Add.
Step 3 On the Add Media File screen, enter a unique title for the media file.
Step 4 (Optional) Enter a description of the file.
Step 5 Browse and select a media file in the File field.
Step 6 Click Save.
Note: With some browsers, MediaSense can detect the size of the file that is being uploaded and will show
an immediate error if it knows there is not enough space available on disk to handle it. If MediaSense cannot
detect the file size immediately, the upload process will start and then fail (putting the file in the error state)
if it does not have enough space.
MediaSense uploads the file and returns you to the Media File Management screen. The uploaded file appears
in the Media File List.
Procedure
Procedure
Procedure
Procedure
Archival
MediaSense stores multiple audio recordings, video recordings, and video greetings. However, the disk space
on MediaSense cluster is limited. In case you want to save the recordings for an extended set of time and to
prevent the recordings from automatically pruning, MediaSense has a feature called Archival, using which
the customers can have the recordings copied to an offline location by specifying the archive configuration
settings on the MediaSense Archive Configuration screen.
Procedure
Step 1 From the MediaSense Administration menu bar, click Archive Configuration.
Step 2 Check one of the following check boxes.
• Automatically Archive MediaSense Audio Recordings to automatically archive audio recordings.
• Automatically Archive MediaSense Video Recordings to automatically archive video recordings.
• Automatically Archive Video Greetings Recordings check box to automatically archive video greeting's
recordings.
Step 3 Enter the time in the 12-hour format in the Start Archive at text box at which the archiving will start
automatically. By default, the value is 01:00AM. Each day at the specified time, MediaSense computes the
list of sessions to be archived, and starts the archiving process. It continues until the entire list of recordings
has been completed.
Step 4 Enter the age (in days) of the recordings in the Archive Recording Older than text box after which the
recordings are to be archived automatically. The days entered should be equal to or greater than 1. By default,
the value is 7. If you have automatic pruning enabled, be sure to set this to a number less than the pruning
retention period.
Step 5 In the SFTP Location Configuration section, enter the values in the following mandatory fields.
a) Enter the domain name or IP of the server to which the archived recordings are to be stored in the Server
Name (IP or FQDN) text box. By default, the value is sftphost.
b) Enter the path to store archived recordings on the server in the Path Name text box. By default, the path
is /.
c) Enter the user ID to log in to the server in the User Name text box. By default, the ID is sftpuser.
d) Enter the password for user authentication in the Password text box. By default, the password is
sftppassword.
Step 6 Click Test Connection to verify the SFTP connection and credentials.
Note In case you have entered an invalid/incorrect credentials, a message appears stating Unauthorized
user.
Step 7 In the Additional Configuration section, enter the number of simultaneous connections possible with the
SFTP server in the Simultaneous Connections (For the MediaSense Cluster) text box. The value should
be equal to or greater than 1. By default, the value is set to 1.
Step 8 Click Save to save the archive configuration.
Note You can reset all the values to default or last saved, by clicking the Reset button.
Procedure
Step 1 In Cisco MediaSense Administration, click Administration > Search and Play Configuration.
The MediaSense Search and Play Configuration window appears.
Step 2 Check the Enable Inline Playback check box in the MediaSense Search and Play Configuration window
to enable the in-browser playback. By default, the check box is unchecked.
Step 3 Click the Save button.
The application saves the configuration and displays the following message.
Successfully saved MediaSense Search and Play Configuration data.
In MediaSense Search and Play, the in-browser player appears at the bottom of the selected audio recording
showing the progress of the playback.
Note The in-browser player is supported for stored audio calls only.
Procedure
Step 1 From the Cisco MediaSense Administration menu, select System > MediaSense Server Configuration.
Step 2 In the MediaSense Server Configuration window, click Add MediaSense Server.
The Add MediaSense Server window in the primary node opens.
Step 3 If your installation uses DNS, enter the hostname of the server that you want to add. If your installation does
not use DNS, enter the IP address of the server that you want to add.
Step 4 (Optional) Enter the description of the server that you want to add.
Step 5 (Optional) Enter the MAC address of the server that you want to add.
Step 6 Click Save.
MediaSense displays a confirmation message near the top of the window. You see the configuration details
of the server that you added in the MediaSense Server List. The server type is UNKNOWN at this stage of
the installation.
Upgraded installations that were originally installed with MediaSense 9.0 or earlier have no media partition
that is labeled /recordedMedia. Instead, they have from one to six numbered media partitions, such as media1.
Each numbered media partition is fixed in size and stores from 200 GB to 2 TB of recordings of incoming
calls. Recordings can be stored in these numbered partitions only until these fixed-size partitions become full.
You cannot reconfigure these numbered media partitions to increase their size. Depending on the number of
media partitions, each upgraded installation can store from 200 GB to 12 TB of recordings of incoming calls.
Upgraded installations have one media partition labeled as /uploadedMedia. Like fresh installations, this
partition can be expanded up to 15 TB of outgoing media clips that MediaSense plays when a caller is on hold
or a caller is waiting in a queue. This media partition is present when you do an upgrade from Release 9.0 (1)
to Release 9.1(1) or later. After the upgrade, the storage capacity of the partition /uploadedMedia is 100 percent
full. Follow the instructions to add storage space to the partition to upload your first media file.
Note When increasing the size of the /uploadedMedia partition, ensure that you increase the size of the media
partition on all nodes in the MediaSense system.
Note Configure media partitions only during a maintenance period. The Media Service records no calls while
you configure media partitions. It records calls again after you finish.
Procedure
Step 1 Confirm that the maintenance period has begun and that no incoming calls are being recorded.
Step 2 Using VMware VSphere, add one or more virtual disks to the MediaSense virtual machine.
Step 3 From the Cisco MediaSense Administration menu, select System > Manage Media Partitions.
Step 4 On the Manage Media Partitions page, click Configure Media Partitions.
Your newly added disks should appear in the list as Unassigned. If they do not, wait a few minutes and refresh
the page until they do.
Step 5 On the Configure Media Partitions page, go to the Available Disk List table. Open the Media Partition
drop-down list for the disk that you want to assign. Select the media partition to which you want to assign the
disk.
Step 6 Repeat the previous step as needed.
Step 7 Click Save.
A message appears stating that the disk assignment cannot be reversed. You cannot reduce the media partition
size after you increase it.
Event Management
The MediaSense API service issues notifications about events taking place in a MediaSense cluster. For
example, events may be created when the storage disk space reaches various thresholds, when a new recording
session is started, when an existing recording session is updated or ended, or when a tag is added or deleted
from a session.
MediaSense Administration provides a cluster-wide property to enable or disable event forwarding between
the primary and secondary servers in any MediaSense cluster. By default, forwarding is disabled and you
need to explicitly enable this feature to receive notification of all events. If you enable this feature, you receive
events generated on both servers; you do not need to subscribe explicitly to each of the two servers.
Note The third-party client must subscribe to either the primary or the secondary server to start receiving event
notifications for either or both servers. If you enable event forwarding, then the third-party client can
subscribe to only one server (either primary or secondary) to get all events.
To enable event forwarding between the primary and secondary servers in the MediaSense cluster, follow
this procedure.
Procedure
Step 2 In the Event Management web page, check the Enabled Event Forwarding check box to enable event
forwarding between the primary and secondary server in this cluster. Click Save.
The third-party client starts receiving notifications for all events on both servers (regardless of the server in
which you enable this feature).
• Ensure that you have the Unified Communications Manager IP address, AXL Admin username, and
AXL Admin Password that you need to complete the MediaSense post-installation tasks.
Caution To enhance interoperability with third-party SIP devices, Unified Border Element dial-peers (by default)
enable Early-Offer for outgoing voice and video calls. Do not change this Early-Offer default for
MediaSense deployments.
Complete the following tasks to ensure that MediaSense is provisioned for a Unified Border Element
deployment:
• Select AXL Service Providers, on page 51
• Replace Unified Communications Manager Service Providers, on page 53
• Provision Users for MediaSense Deployment , on page 54
Note You do not need to configure call control service providers in MediaSense for any Unified Border Element
deployment.
Field Description
IP address An IP address for the Unified Border Element gateway.
Command Description
show running-config Displays the existing configuration for this Unified
Border Element gateway.
show version Displays the IOS version being used in this Unified
Border Element gateway.
show call active voice summary Displays the number of active SIP calls.
Procedure
Step 1 Connect to your Unified Border Element gateway using SSH or Telnet.
Step 2 Enter the global configuration mode.
Step 4 Calls may be rejected with a 403 Forbidden response if toll fraud security is not configured correctly. The
solution is to add the IP address as a trusted endpoint, or else disable the IP address trusted list authentication
altogether using the following configuration entry:
Step 5 Enable Unified Border Element and Unified Border Element Redundancy.
In the example above, the final 3 lines are only required if video calls are to be passed through Unified Border
Element.
Step 6 At this point, you will need to save the Unified Border Element configuration and reboot Unified Border
Element.
Caution Be sure to reboot Unified Border Element during off-peak hours.
cube# reload
Step 7 Create one voice codec class to include five codecs (including one for video). These codecs will be used by
the inbound and outbound dial-peers to specify the voice class.
In the example above, the first codec preference and video codec definition are only required if AAC-LD/LATM
media is part of the customer's call flow.
Step 9 To simplify debugging, you must synchronize the local time in Unified Border Element with the local time
in MediaSense servers.
For example, if you specify the NTP server as 10.10.10.5, then use the following command in Unified Border
Element:
Note This information describes a sample configuration. Unified Border Element may be deployed in multiple
ways.
Each MediaSense deployment for Unified Border Element contains three dial-peers:
• Inbound dial-peer— In this example, the unique name is 1000.
• Outbound dial-peer— In this example, the unique name is 2000.
• Forking dial-peer— In this example, the unique name is 3000.
Before you begin this procedure, obtain the details for these three dial-peers from your Unified Border Element
administrator.
Note The order in which you configure these three dial-peers is not important.
Caution This procedure is not a substitute for the actual Unified Border Element documentation. It is a tutorial to
provide detailed information about configuring Unified Border Element for MediaSense. See your Unified
Border Element documentation at http://www.cisco.com/go/cube for the latest information.
Procedure
The command places you in the dial-peer configuration mode to configure a VoIP dial-peer named 1000.
b) Specify the session protocol for this inbound dial-peer as sipv2 (this value is not optional).
This command determines if the SIP session protocol on the endpoint is up and available to handle calls.
The session protocols and VoIP layers depend on the IP layer to give the best local address and use the
address as a source address in signaling or media or both even if multiple interfaces can support a route
to the destination address.
c) Specify the SIP invite URL for the incoming call. In this example, we assume that inbound, recordable
calls will have six digits. Here we assign the first three digits as 123 and the last three digits are arbitrarily
chosen by the caller (as part of the destination DN being dialed). This command associates the incoming
call with a dial-peer.
d) When using multiple codecs, you must create a voice class in which you define a selection order for codecs;
then you can apply the voice class to apply the class to individual dial-peers. In this example, the tag used
is 1.
f) Specify that everything that is going through the inbound dial-peer can be forked. Use the same number
that you used to set up global forking (see Set Up Global Level, on page 75). In this example, the number
media class is 219.
cube(config-dial-peer)# media-class 3
cube(config-dial-peer)# exit
cube(config)#
The command places you in the dial-peer configuration mode to configure a VoIP dial-peer named 2000.
b) Specify the session protocol for this outbound dial-peer as sipv2 (this value is not optional).
c) Specify the destination corresponding to the incoming called number. In this example, it is 9700.
d) When using multiple codecs, you must create a voice class in which you define a selection order for codecs;
then you can apply the voice class to apply the class to individual dial-peers. Use the same tag used for
the inbound dial-peer. In this example, the tag used is 1.
e) Specify that everything that is going through the inbound dial-peer can be forked. Use the same number
that you used to set up global forking (see Set Up Global Level, on page 75). In this example, the number
media class is 2.
cube(config-dial-peer)# media-class 2
f) Specify the primary destination for this call. In this example, we set the destination to ipv4:10.1.1.10:5060.
cube(config-dial-peer)# exit
cube(config)# exit
The command places you in the dial-peer configuration mode to configure a VoIP dial-peer named 3000.
Optionally, provide a description for what this dial-peer does using an arbitrary English phrase.
b) Specify the session protocol for this forking dial-peer as sipv2 (this value is not optional).
c) Specify an arbitrary destination pattern with no wildcards. Calls recorded from this Unified Border Element
will appear to come from this extension. (In the MediaSense Incoming Call Configuration table, this
number corresponds to the address field.) In this example, we set it to 1234.
d) When using multiple codecs, you must create a voice class in which you define a selection order for codecs;
then you can apply the voice class to apply the class to individual dial-peers. Use the same tag used for
the inbound dial-peer. In this example, it is 1.
e) Provide the IP address of one of the MediaSense expansion servers (if available) as a destination for the
Unified Border Element traffic. In this example, we use a MediaSense server at IP address 10.2.2.20.
Note Avoid using the primary or secondary MediaSense servers for this step as these servers carry the
Unified Border Element load and it is best to avoid adding load to the database servers.
f) Set the session transport type (UDP or TCP) to communicate with MediaSense. The default is UDP. The
transport protocol specified with the session transport command, and the protocol specified with the
transport command, must be identical.
h) Prevent Unified Border Element from sending multipart body in INVITE to MediaSense.
cube(config-dial-peer)# exit
cube(config)#
cube(config)# exit
cube#
Note Millisecond timestamp provides a better indication of the timing of the various debugs events relative to
each other. Do not use msec timestamp to prove performance issues, but to obtain relative information
about when events occur.
Command Description
service timestamp debug datetime msec localtime Specifies the millisecond (msec) timestamp for
show-timezone various debug events.
service timestamps log datetime msec localtime Specifies the millisecond (msec) timestamp for
show-timezone various log events.
localtime logging buffered 1000000 Specifies the memory allocation for Unified Border
Element logins.
Procedure
• From the Navigation drop-down menu in the upper-right corner of the Administration window, select
Cisco MediaSense Serviceability and click Go.
Step 2 A security alert message may appear, prompting you to accept the self-signed security certificate. This security
certificate is required for a secure connection to the server. Click the required button.
This security message may not appear if you have already installed a security certificate.
The Authentication page is displayed.
Step 3 Enter the single sign-in username and password, and click Log in.
Note If you have already signed in to MediaSense, you can access MediaSense Serviceability without
signing in again.
The welcome page appears after you have successfully logged in. The welcome page displays the version
number of the product as well as trademark, copyright, and encryption information.
MediaSense Serviceability
The MediaSense Serviceability menu bar contains the following options:
• Trace—Configures log and trace settings for MediaSense components. After enabled, you can collect
and view trace information using the Unified Real-Time Monitoring Tool (Unified RTMT).
• Tools—Contains options that allow you to access system tools such as Unified RTMT plug-ins, manage
network services, and control feature services.
• Help—Provides access to online help for MediaSense.
After you are in the required administration interface, select one of the following options:
◦To display documentation for a single window, select Help > This Page.
◦To verify the version of the administration running on the server, select Help > About or click the
About link in the upper-right corner of the window.
◦To view the latest version of all documents for this release, select Help > Cisco.com.
If you are connected to the external network, this link connects you to the home page for MediaSense
(http://www.cisco.com/en/US/products/ps11389/tsd_products_support_series_home.html).
◦To view the latest version of the troubleshooting tips for this release, select Help > Troubleshooting
Tips.
If you are connected to the external network, this link connects you to the Troubleshooting page
for MediaSense (http://docwiki.cisco.com/wiki/Troubleshooting_Cisco_MediaSense).
Note You will be logged out from the MediaSense Serviceability Administration interface if the session remains
idle for 30 minutes.
Trace Setup
This section provides information about using traces in MediaSense Serviceability Administration.
Trace Files
A trace file is a log file that records activity from the MediaSense components. Trace files allow you to obtain
specific, detailed information about the system so that you can troubleshoot problems. The MediaSense system
can generate trace information for different services. The generated information is stored in a trace file. To
help you control the size of a trace file, you can specify the services for which you want to collect information
and the level of information that you want to collect.
Trace information is primarily used by developers to debug problems. Each MediaSense service can consist
of several components. Each component can consist of multiple trace flags. You can enable or disable tracing
for each component or for the required flags. Unlike logs, trace files are written only at one level. This section
describes the trace configuration requirement for MediaSense Serviceability Administration.
Caution If MediaSense Administration is unable to contact the MediaSense configuration service, it uses default
trace settings. If the MediaSense configuration service is disabled or stopped, the trace configuration
information is not displayed in the corresponding user interface pages. Similarly, if trace configuration is
not available for any service, the user interface pages will not display any information for that service.
Differences between tracing and logging:
• Tracing— Trace flags are free from detailed, developer-oriented information that is not printed to the
logs by default, but only when increased logging is enabled to debug problems.
• Logging— Log messages are predefined, higher-level messages that are always printed to the logs and
indicate everything for normal system behavior to severe error conditions.
Note There is no log level or trace mask for the Perfmon agent network service.
Caution Because the media service does not support dynamic trace-level change, you cannot create or view a trace
file for this service. Trace flags for the media service are used only by TAC and are not available to end
users.
MediaSense log information is provided in the following output files:
Each of these files has a default maximum file size of 50 MB. The log file size and the number of files are
not configurable.
Trace Flags
Each service component has different logical divisions with corresponding trace flags. To ensure that a
minimum level of logging information is captured whenever an issue occurs, a specific set of trace flags is
enabled by default when MediaSense is installed. For the trace flags to take effect, you must set the log level
for the corresponding component to DEBUG. The log level for most components is set to DEBUG by default
when the MediaSense system is installed.
You can enable the entire component or certain trace flags within each component. You can also set different
log level values (info or debug) for different MediaSense services in the same cluster.
MediaSense serviceability administration lists each trace flag within its MediaSense service component.
Caution You cannot create a trace file for the media service because this service does not support dynamic trace-level
changes.
The list shows the components that have their required trace flags enabled by default:
• MediaSense API service
◦AMS system
◦Entering and exiting methods
◦SIP Adapter
• MediaSense administration
◦Administration service core
◦DB access
◦General ORA administration user interface
◦Administration configuration update
◦Administration utilities
Caution By default, trace flags are set for each component to collect the minimum amount of information in case
an issue arises. These flags are selected based on their value in capturing the most information without
impacting the performance of the system. In some cases, you may need to enable additional trace flags
(usually under the direction of Cisco Support to collect more information in the logs for an issue). These
additional trace flags may slow performance of the system. If that is the case, after the information is
collected, disable these additional trace flags.
To configure trace file information and to enable and disable trace flag settings, follow this procedure.
Procedure
The Trace Configuration web page opens displaying the configured trace flags along with the applicable trace
flags for each service.
Step 2 For each service, select the required trace log levels and trace flags.
Step 3 Click Save to generate the trace files per the configured settings.
Alternately, click Reset to revert to the default settings for the selected service or click Cancel to revert to
your previous settings.
Step 4 Retrieve the saved file from the corresponding trace file location.
Performance Logging
Use the performance logging web page to configure thread traces and memory traces so that you can monitor
the performance of MediaSense clusters.
From the performance logging web page, you can dump thread and memory traces for the following MediaSense
services:
• API service
• Configuration service
• Call control service
• Storage management agent
• Administration
• Diagnostics
• Serviceability administration
• System service
• Perfmon agent
Each trace dump provides varied log information in different log files:
• The dump thread trace feature provides log information about all threads for each service (name, state,
and stack) in the following four-part (.txt) file name format:
diagnostic-threads.<process-id>.<service-id>.<time stamp>.txt
• The dump memory trace feature provides memory information for each service in the following four-part
(.hprof) file name format:
diagnostic-memory.<process-id>.<service-id>.<time stamp>.hprof
• The dump memory trace feature also provides heap information for each service in the following four-part
(.txt) file name format:
diagnostic-memory.<process-id>.<service-id>.<time stamp>.txt
When you dump trace information, the information for the selected service (thread or memory) is collected
in the log folder for that service. You can then use the Unified Real Time Monitoring Tool (Unified RTMT)
to download the log file.
Procedure
Step 1 From MediaSense Serviceability Administration, select Trace > Performance Logging.
The performance logging web page opens displaying the configured trace flags along with the list of applicable
services.
Step 2 Select the service for which you need to collect the trace parameters.
Step 3 Click Dump Thread Trace to generate the thread trace files for the selected service. This dump option allows
you to detect deadlocks and analyze whether a thread uses excessive resources or causes out-of-memory
errors.
Alternately, click Dump Memory Trace to generate the memory trace files for the selected service. This
dump option allows you to find objects which use a large amount of memory in the Java Heap.
This creates the corresponding log files in the folder for the selected service.
Step 4 Retrieve the saved file from the corresponding trace file location using Unified RTMT.
Serviceability Tools
To troubleshoot a problem, you may need to manage services in MediaSense Serviceability and in Unified
Serviceability.
See the Cisco Unified Serviceability Guide at http://www.cisco.com/en/US/products/sw/voicesw/ps556/prod_
maintenance_guides_list.html.
Note • The local server time is displayed in the administration interface. This time cannot be configured.
• In MediaSense release 9.0(1) only, because SNMP is not supported, you cannot configure SNMP
community strings in Unified Serviceability Administration. Configuring these strings will suspend
the host resources agent.
Procedure
Step 1 From the MediaSense Serviceability menu bar, click Tools and select Control Center - Network Services.
Services that display in the Control Center - Network Services window do not start until you start each
service.
The Control Center - Network Services web page displays the configurable MediaSense services along with
the service status for the default server (the primary server in the cluster).
Caution Like other network services, the system service and serviceability administration are operational
at startup. You cannot stop the system service or MediaSense serviceability administration from
this web page. If the system service or serviceability administration goes down, no service control
operations can take place. If you encounter any problem with the system service or serviceability
administration, you can start or restart these services using the utils service, on page 113 command.
Step 2 To start, stop, or restart services, check the check box preceding the required service name.
A check mark appears in the check box to indicate your selection.
Step 3 Click the Start, Stop, or Restart button to perform the required operation.
A progress message appears in the status section (below the toolbar) to indicate task completion or
corresponding error message.
Note At any time, click Refresh to update the screen with the latest status of the services.
Procedure
Step 1 From the MediaSense Serviceability menu bar, click Tools and select Control Center - Feature Services .
Services that display in the Control Center - Feature Services window do not start until you start each service.
The Control Center - Feature Services web page displays the configurable MediaSense services along with
their status for the default server (the primary server in the cluster).
Step 2 To start, stop, or restart services, check the check box preceding the required service name.
A check mark appears in the check box to indicate your selection.
Step 3 Click the Start, Stop, or Restart button to perform the required operation.
A progress message appears in the status section (below the toolbar) to indicate task completion or a
corresponding error message.
Note At any time, click Refresh to update the screen with the latest status.
Note Reactivate or restart call control, database, and media services during off-peak hours to ensure minimum
disruption to recordings in progress.
Procedure
Step 1 From the MediaSense Serviceability menu bar, click Tools and select MediaSense Cluster Access.
The Cisco MediaSense Cluster Access web page displays the available links for each server in this cluster.
Each server is identified as a primary server, a secondary server, or an expansion server. The corresponding
link takes you to MediaSense serviceability administration for this server. You must sign in to one of these
servers to continue.
Step 2 In the MediaSense Serviceability Administration Authentication window, enter the User ID and password.
Select Sign in.
system performance and device status for MediaSense. Unified RTMT can connect directly to devices using
HTTPS to troubleshoot system problems.
Even when Unified RTMT is not running as an application on your desktop, tasks such as performance
monitoring updates continue on the server in the background.
Caution The VLT plug-in is not available in MediaSense. The plug-in is not available because Cisco VLT does
not support message files involving Session Initiation Protocol (SIP) calls.
Warning You can monitor a maximum of 3000 processes and threads in a MediaSense system. The Maximum
Number of Processes and Threads field is required by Unified Communications Manager in the Unified
OS. This field specifies the maximum number of processes and threads running on the server. If the total
number of processes and threads exceeds 3000, an alarm and corresponding alert are generated. See the
Unified Communications Manager documentation (http://www.cisco.com/en/US/products/sw/voicesw/
ps556/prod_maintenance_guides_list.html) for more information.
Note To obtain a complete list of supported hardware and software for MediaSense, see the Hardware & System
Software Specification (Bill of Materials) for Cisco Unified Contact Center Enterprise at http://
www.cisco.com/en/US/products/sw/custcosw/ps1844/products_user_guide_list.html.
Procedure
Step 1 From the Cisco MediaSense Serviceability menu bar, click Tools and select RTMT Plugin Download.
The Unified RTMT Plugin Download web page is displayed.
Step 2 To download the Unified RTMT plug-in executable to the preferred location on the client machine, click
Download.
Follow the download procedure to install Unified RTMT on your client.
Step 3 After the Unified RTMT welcome window appears, click Next.
Step 4 To accept the license agreement, check the box next to I accept the terms of the license agreement, then
click Next.
Step 5 Choose the location where you want to install Unified RTMT. If you do not want to use the default location,
click Browse and navigate to a different location. Click Next.
Step 6 To begin the installation, click Next.
Note To ensure compatibility, you must upgrade Unified RTMT after you complete the MediaSense
administration upgrade on all servers in the cluster.
• Sends pop-up or email alerts to system administrators when performance counter values exceed predefined
thresholds.
• Saves and restores settings, such as counters being monitored, threshold settings, and alert notifications,
so that you can customize troubleshooting tasks.
• Charts up to six Perfmon counter values so that you can compare them.
Caution If for any reason the primary MediaSense server shuts down or is in a failed state, the secondary MediaSense
server continues to function in the normal state. If you launch the Unified RTMT client at this time, the
MediaSense tab in the Alert Central window may remain blank and display Error polling alert \
status. AMC service is down. in the status pane. Similarly, the System Summary pane may display
HTTP request failed. Web Server unreachable. for the same issue. To work around this issue,
configure the secondary Cisco AMC Service in the primary Cisco MediaSense server.
Note Be sure to make the following change in the primary Cisco MediaSense server first.
Navigate to Unified Communications Manager Administration (in the primary Cisco MediaSense server).
Choose System > Service Parameters, then select the secondary MediaSense server from the drop-down
list, and select Cisco AMC Service. In the resulting Service Parameter Configuration web page, select the
secondary MediaSense server from the drop-down list next to the Failover Collector field. After you configure
the AMC Service for the secondary MediaSense server, the secondary server takes over when the primary
MediaSense server goes down, and Unified RTMT continues to display alert names under Alert Central.
Note You can access Unified Communications Manager Administration on the MediaSense server by providing
the following URL format in a browser window:
http://<MediaSenseServer-ip-address>/ccmadmin.
Note To use the trace and log central feature in Unified RTMT, make sure that Unified RTMT can directly
access all servers in the cluster without using Network Access Translation (NAT).
File Collection
The collect files tool allows you to specify the required MediaSense services and application in the Select
MediaSense Services/Application tab, which is part of the collect files wizard. After you specify the required
MediaSense services, continue to proceed as you would for the System Service/Application. You can collect
trace files that contain search criteria that you specify and save the trace collection criteria for later use.
The remote browse folder name (log and trace file folder name) for each MediaSense service is shown in the
second column of the following table.
SM agent storagemanagementagent
Diagnostics diagnostics
Caution MediaSense provides some log files in a GZIP format. However, in Unified RTMT, the trace and log
central remote browse feature does not display these files by default. You can add the appropriate application
or download and save the .gzip file and view it directly from the downloaded location.
Blocking Mode Flag The new calls are redirected to other nodes due to storage
or call limits.
Dropped Call Mode Flag Active calls are aborted due to critical storage or call limits.
Number of recorded sessions without errors The number of recorded sessions completed without errors.
Number of recorded sessions with errors The number of recorded sessions completed with errors.
Max setup delay The maximum delay (in milliseconds) between the initial
receipt of the SIP Invite from Unified Communications
Manager and the SIP response to the Unified
Communications Manager rolling window time.
Classified as AnythingElse The number of received calls that are accepted but not
handled as playback or recording requests.
Classified for Playback The number of received calls that are handled as playback
requests.
Classified for Recording The number of received calls that are handled as recording
requests.
Classified for Reject The number of received calls that are rejected based on the
configuration.
Start record API requests The total number of successfully started stream dialog start
recording requests.
Start playback API requests The total number of successfully started stream dialog start
playback requests.
Rejected dialogs due to busy The total number of stream dialog start requests that
returned BUSY.
Mean start record time The average amount of time (in milliseconds) taken to
successfully start a recording operation.
Mean start playback time The average amount of time (in milliseconds) taken to
successfully start a play operation.
Mean dialog time The average amount of time (in milliseconds) a stream
dialog was active.
Max start record time The maximum amount of time (in milliseconds) taken to
successfully start a recording operation.
Max dialog time The maximum amount of time (in milliseconds) a stream
dialog was active.
Average active dialogs on busy The average number of stream dialogs (rounded down to
nearest integer) that were active when a stream dialog start
request returned BUSY.
Authentication request processing: average The average latency for processing an authentication
latency request.
Authentication request processing: max latency The maximum latency for processing an authentication
request.
Mean query response time The average query response time in the last hour.
Max query response time The maximum query response time in the last hour.
Total number of responses The total number of successful and unsuccessful responses.
Total number of requests The total number of requests received and serviced by the
API Service.
Avg time per request The average time for each request received and serviced
by the Call Control Service in the last hour.
Max time per request The maximum time for each request received and serviced
by the Call Control Service in the last hour.
Max number of concurrent requests The maximum number of concurrent requests received and
serviced by the Call Control Service in the last hour.
Total number of concurrent requests in progress The total number of concurrent requests in progress in the
last hour.
Media # partition usage The percentage of disk usage of each media partition.
Audio recording ports in use The number of audio ports currently in use for recording.
Video recording ports in use The number of video ports currently in use for recording.
Total audio ports in use The number of audio ports currently in use.
Total video ports in use The number of video ports currently in use.
Total RTSP playback requests last 5 min. The number of RTSP playback requests in the last 5
minutes.
Rejected RTSP playback requests The number of rejected RTSP playback requests
Rejected RTSP playback requests last 5 min. The number of rejected RTSP playback requests in the last
5 minutes.
Total RTSP monitoring requests last 5 min. The number of RTSP monitoring requests in the last 5
minutes.
Rejected RTSP monitoring requests The number of rejected RTSP monitoring requests.
Rejected RTSP monitoring requests last 5 min. The number of rejected RTSP monitoring requests in the
last 5 minutes.
Total raw download requests last 5 min. The number of raw download requests in the last in 5
minutes.
Rejected raw download requests The number of rejected raw download requests.
Rejected raw download requests last 5 min. The number of rejected raw download requests in the last
5 minutes.
Total convert requests last 5 min. The number of convert requests in the last 5 minutes.
Rejected convert requests last 5 min. The number of rejected new convert requests in the last 5
minutes.
• Type is the category of the call whether audio or video for Built-in-Bridge recordings.
• State is the status of the call (in progress, closed, paused, and hold)
• Name is the session identifier.
• Rtsp is the real-time streaming protocol to play the recording. HTTP-BASIC credentials will be required.
• Guid is the global call identifier for Unified Border Element recordings.
To get information about the MediaSense call control service that runs on the system, access the following
URL.
https://<hostname>:8442/ora/service/sip/GetInfo?op=det
The HTML page provides information about the system memory, CPU usage, system details and conditions,
initial configuration properties, recording sessions, recording setup time and other statistics, and Call Control
Service configuration.
Note Do not attempt to change the IP address of any server while another server is being installed. Use these
procedures only on a fully installed server (do not attempt to use these procedures if an installation has
failed or while an installation is in progress on any server in the cluster.
Procedure
Step 1 List all servers in the cluster and note whether the servers are defined by IP addresses or host names.
• If you are verifying the list from the MediaSense Administration interface on the primary server, navigate
to System > MediaSense Server Configuration. A list of all servers in the cluster is displayed.
• If you are verifying the list from the command line interface (CLI) on the primary server, enter the Show
Network Cluster command.
You can check from the Unified RTMT interface or from the CLI on the primary server.
• To check from the Unified RTMT interface̶̶, access Alert Central and check for ServerDown alerts.
• To check from the CLI on the primary server, enter the file search activelog syslog/CiscoSyslog
ServerDown command and inspect the application event log.
Step 4 Check the database replication status on all MediaSense servers in the cluster to ensure that all servers are
replicating database changes successfully.
You can check by using the Unified RTMT interface or a CLI command.
• Unified RTMT interface— Access the database summary and inspect the replication status.
• CLI— Enter the command shown in the following example:
show perf query class "Number of Replicates Created and State of Replication"
==>query class:
- Perf class (Number of Replicates Created and State of Replication)
has instances and values:
ReplicateCount -> Number of Replicates Created = 344
ReplicateCount -> Replicate_State = 2
Step 5 To check for network connectivity and DNS server configuration, enter the utils diagnose module
validate_network command.
Example:
utils diagnose module validate_network
Log file: /var/log/active/platform/log/diag1.log
Starting diagnostic test(s)
===========================
test - validate_network: Passed
Diagnostics Completed
Warning Using this procedure disrupts all services. Be sure to use it only during a scheduled downtime.
To successfully change the IP address, you must complete all steps in this procedure.
Procedure
Step 1 Review and address the instructions listed in Prepare System for IP Address Change, on page 102 before
changing the IP address on any Cisco MediaSense server.
Step 2 Verify that the DNS change propagates to other servers by using the utils network host and show tech
network hosts CLI commands on all servers in the cluster.
Example:
utils network host mcs-sec
Hostname mcs-sec resolves to 10.10.10.136
Example:
set network cluster server ip 10.10.10.92 10.10.10.135
Setting server ip 10.10.10.92 10.10.10.135
Successful
Step 4 Point every server in the cluster to the new primary’s IP address by entering the set network cluster primary
ip command from each server in the Cisco MediaSense cluster, including the primary server:
Example:
set network cluster primary ip 10.10.10.135
Setting primary ip to 10.10.10.135
Successful
Step 5 If you are moving the primary server to a different subnet that requires a new default gateway address, change
the default gateway by entering the set network gateway command from the primary server:
Example:
set network gateway 10.3.90.2
*** W A R N I N G ***
This will cause the system to temporarily lose network connectivity
Note If you change the default gateway, you may also need to change the subnet mask. See the Unified
OS documentation for further details.
Step 6 From the primary server, issue the set network ip eth0 command to reset the network adapter to the new IP
address.
Example:
set network ip eth0 <server new ip> <address mask> <gw>
set network ip eth0 10.194.118.137.92 255.255.255.0 10.194.118.1
*** W A R N I N G ***
You must first change the IP Address using the
<set network cluster server> CLI command BEFORE
changing it here or call recording will fail.
This will cause the system to restart.
=======================================================
Note: To recognize the new IP address all nodes within
the cluster must be manually rebooted.
=======================================================
Continue (y/n)? y
This command changes the IP address and reboots the primary server.
Example:
show network cluster
1 10.10.10.135 mcs-pri.cisco.com mcs-pri Primary
authenticated using TCP since Mon Sep 12 14:43:59 2011
2 10.10.10.93 mcs-sec.cisco.com mcs-sec Secondary authenticated
3 10.10.10.137 mcs-exp1.cisco.com mcs-exp1 Expansion
authenticated using TCP since Mon Sep 12 14:44:05 2011
Caution It may take some time for the cluster to synchronize the new IP address information. During this
time, the output for this command may show partial or incomplete information.
Step 9 To update the local name resolution files, reboot all other servers in the cluster . Include hosts, rhosts, sqlhosts,
and services.
Note Server restart ensures the proper update and service-restart sequence for the IP address changes to
take effect.
Step 10 Verify that the DNS change propagates to other servers by using the utils network host and show tech
network hosts commands on all servers in this cluster.
Example:
utils network host mcs-pri
Hostname mcs-pri resolves to 10.10.10.135
Step 11 Verify the cluster configuration by issuing the show network cluster command.
Example:
show network cluster
1 10.10.10.135 mcs-pri.cisco.com mcs-pri Primary
authenticated using TCP since Mon Sep 12 14:43:59 2011
2 10.10.10.93 mcs-sec.cisco.com mcs-sec Secondary authenticated
3 10.10.10.137 mcs-exp1.cisco.com mcs-exp1 Expansion
authenticated using TCP since Mon Sep 12 14:44:05 2011
Caution It may take some time for the cluster to synchronize the new IP address information. During this
time, the output for this command may show partial or incomplete information.
Warning This procedure disrupts all services. Be sure to make any changes during a scheduled downtime.
To successfully change the IP address, you must complete all steps in this procedure.
Procedure
Step 1 Review and address the instructions listed in Prepare System for IP Address Change, on page 102 before
changing the IP address on any MediaSense server.
Step 2 From the primary server, enter the set network cluster server command to update the MediaSense cluster
configuration with the secondary server’s new IP address.
Example:
set network cluster server ip 10.10.10.93 10.10.10.136
Setting server ip 10.10.10.93 10.10.10.136
Successful l
Step 3 Point every server in the cluster to the new secondary server IP address by entering the set network cluster
secondary ip command:
Example:
set network cluster secondary ip 10.10.10.136
Setting secondary ip to 10.10.10.136
Successful
Step 4 If you are moving the secondary server to a different subnet that requires a new default gateway address,
change the default gateway by entering the set network gateway command from the secondary server.
Example:
set network gateway 10.3.90.2
*** W A R N I N G ***
This will cause the system to temporarily lose network connectivity
Do you want to continue ?
Enter "yes" to continue or any other key to abort
yes
executing...
Example:
set network ip eth0 10.194.118.137 255.255.255.0 10.194.118.1
*** W A R N I N G ***
You must first change the IP Address using the
<set network cluster server> CLI command BEFORE
changing it here or call recording will fail.
This will cause the system to restart
=======================================================
Note: To recognize the new IP address all nodes within
the cluster will have to be manually rebooted.
=======================================================
Continue (y/n)? y
Step 7 Verify the cluster configuration by entering the show network cluster command on all other servers.
Example:
show network cluster
Example:
utils network host mcs-sec
Hostname mcs-sec resolves to 10.10.10.136
Example:
1 10.10.10.135 mcs-pri.cisco.com mcs-pri Primary authenticated using TCP
since Mon Sep 12 14:43:59 2011
2 10.10.10.136 mcs-sec.cisco.com mcs-sec Secondary authenticated
3 10.10.10.137 mcs-exp1.cisco.com mcs-exp1 Expansion
authenticated using TCP since Mon Sep 12 14:44:05 2011
Warning This procedure disrupts all services. Make any changes only during a scheduled downtime.
To successfully change the IP address, you must complete all steps in this procedure.
Procedure
Step 1 Review and address the instructions listed in Prepare System for IP Address Change, on page 102 before
changing the IP address on any server.
Step 2 From the CLI of the primary server, enter the set network cluster server ip command to update the cluster
configuration with the new IP address of the expansion server.
Example:
set network cluster server ip 10.10.10.100 10.10.10.137
Setting server ip 10.10.10.100 10.10.10.137
Successful
Step 3 If you are moving the expansion server to a different subnet that requires a new default gateway address,
change the default gateway by entering the set network gateway command from the expansion server.
Example:
set network gateway 10.3.90.2
*** W A R N I N G ***
This will cause the system to temporarily lose network connectivity
Do you want to continue ?
Enter "yes" to continue or any other key to abort
yes
executing...
Step 4 From the expansion server, enter the set network ip eth0 <server new ip> <address mask> <gw> command
to change the IP address of the expansion server.
Example:
set network ip eth0 10.194.118.137 255.255.255.0 10.194.118.1
*** W A R N I N G ***
Example:
show network cluster
1 10.10.10.92 mcs-pri.cisco.com mcs-pri Primary authenticated
2 10.10.10.93 mcs-sec.cisco.com mcs-sec Secondary
authenticated using TCP since Fri Sep 9 08:52:50 2011
3 10.10.10.137 mcs-exp1 Expansion not authenticated or updated on server
- 10.10.10.100 mcs-exp1.cisco.com mcs-exp1 Expansion
authenticated using TCP since Fri Sep 9 11:40:34 2011
Step 7 To update the local name resolution files, reboot all other servers in the cluster. Include all hosts, rhosts,
sqlhosts, and services.
Note Restarting the server ensures the proper update and service-restart sequence for the IP address changes
to take effect.
Step 8 Verify that the DNS change propagates to other servers by using the utils network host and show tech
network hosts commands on all servers in this cluster.
Example:
utils network host mcs-exp1
Hostname mcs-exp1 resolves to 10.10.10.137
Step 9 Verify the cluster configuration by entering the show network cluster command.
Example:
show network cluster
1 10.10.10.92 mcs-pri.cisco.com mcs-pri Primary authenticated
2 10.10.10.93 mcs-sec.cisco.com mcs-sec
Note This example procedure is written for a three-server cluster. As long as you change the IP addresses on
one server at a time, you can modify this procedure for four-server or five-server clusters.
Caution Change an IP address on only one server at a time. Changing an IP address on more than one server at
the same time may cause .hosts files and .sqlhosts files to become out-of-sync.
Warning Make changes only during a scheduled downtime. Changing IP addresses disrupts all MediaSense services.
Procedure
Step 1 Review the instructions in Prepare System for IP Address Change, on page 102 before changing the IP address
on any MediaSense server.
Step 2 From the primary server, issue the following commands:
set network cluster server ip <primary current ip> <primary new ip>
set network cluster server ip <secondary current ip> <secondary new ip>
set network cluster server ip <expansion current ip> <expansion new ip>
set network cluster primary ip <primary new ip>
set network cluster secondary ip <secondary new ip>
Step 11 From each server in the MediaSense cluster, enter the following commands to verify the cluster configuration.
MediaSense does not support any Platform CLI commands that are not specifically listed in this document.
CLI Access
You can access the CLI as follows:
• Directly using the monitor and keyboard at the VM console.
• Using SSH.
Procedure
Step 1 At either the sign-in prompt or the SSH client, enter the MediaSense administrator ID (created during the
installation of the primary server).
Step 2 When prompted, enter the MediaSense administrator password.
You can start entering commands at the next prompt.
In addition to the CLI commands listed in the Command Line Interface Reference Guides and this chapter,
you can also enter the following commands:
• help displays the list of all supported commands. For example, to display help for a specific command,
type help utils service list and press Enter.
• quit closes the CLI.
utils Commands
The section provides details about the MediaSense-specific utils commands.
You can then retrieve the file from that directory and save it to a location of your choice.
Example:
utils media recording_sessions file sessions.html
Note You can also view this information through a web browser. For details, see Other Browser-Based
Serviceability Tools, on page 101
.
utils service
Purpose: Lists, starts, stops, or restarts each of the MediaSense services.
Command: utils service operation service_name
Details:
• operation specifies the type of operation to be performed by this command:
Valid operations include:
◦start
◦stop
◦restart
◦list
• service_name specifies the name of the MediaSense service for which you require the specified operation.
Valid services include:
◦MediaSense Administration
◦MediaSense Configuration Service
◦MediaSense Database Service
◦MediaSense Perfmon Agent
◦MediaSense System Service
◦MediaSense Diagnostics
◦MediaSense API Service
◦MediaSense Call Control Service
◦MediaSense Media Service
◦MediaSense Storage Management Agent
Examples:
• utils service list
Examples:
• utils system maintenance enable
run Commands
The section provides details about the MediaSense-specific run commands.
run db_reset_replication
Use this command to begin the process to manually reset replication for the entire MediaSense database. After
the reset process is complete, this command returns a message with the status of the reset. You may need to
use this command if the primary server fails within a multi-node cluster.
Note In a multiserver deployment, you can run this command only on the secondary server.
Command: run db_reset_replication
Details: This command has no options.
Example:
run db_reset_replication
run db_synchronization
Use this command to compare the databases in the primary and secondary servers to ensure that the databases
are synchronized.
Note In a multi-server deployment, you can run this command only on the secondary server.
Command: run db_synchronization database_name
Details:
• database_name specifies the type of operation to be performed by this command.
The valid database names are:
◦db_ora_config
◦db_ora_meta
Examples:
• run db_synchronization db_ora_config
Caution This command may impact the synchronization of MediaSense services. Enter this command only as a
part of the IP address change procedure. The MediaSense services may not be functional until the IP
address change procedure is completed.
Note This command requires the Configuration Service to be reachable and running on the primary server.
You have three options to enter this command. In each case, the CLI reports a success or error as applicable.
• With no arguments: If you entre this command without any arguments, the CLI displays the list of
servers. Select the server to be changed by entering the required number from the list index. (At this
point, you can also quit by typing q.) You are then prompted to enter the new IP address of the server.
• With one argument: Provide the current IP address or the hostname of the server to be changed. The
CLI prompts you to enter the new IP address of the server.
• With both arguments: Provide the current IP address or the hostname of the server to be changed and
then provide the new IP address of the server.
Examples:
• set network cluster server ip
1) mcs-vm92 (1.1.1.92)
2) 1.1.1.93
3) mcs-vm100 (1.1.1.100)
Enter server to change (1-3, 'q' to quit): 3
Enter new IP address for mcs-vm100 (1.1.1.100): 1.1.1.137
Setting server ip mcs-vm100 (1.1.1.100) to 1.1.1.137
Successful
Caution This command may impact the synchronization of MediaSense services. Enter this command only as a
part of the IP address change procedure. The MediaSense services may not function until the IP address
change procedure is completed.
Caution This command may impact the synchronization of MediaSense services. Enter this command only as a
part of the IP address change procedure. The MediaSense services may not function until the IP address
change procedure is completed.
Caution This command may impact the synchronization of MediaSense services. Issue this command only as part
of the IP address change procedure. The MediaSense services may not function until the IP address change
procedure is completed.
Command: set network ip eth0 server new ip address mask gw
Details:
• eth0 specifies Ethernet interface 0.
• iserver new ip specifies the new IP address that you want to assign.
• address mask specifies the IP mask that you want to assign.
• gw specifies the gateway.
Example:
*** W A R N I N G ***
You must first change the IP Address using the
<set network cluster server> CLI command BEFORE
changing it here or call recording will fail.
This will cause the system to restart.
=======================================================
Note: To recognize the new IP address all nodes within
the cluster will have to be manually rebooted.
=======================================================
Continue (y/n)? y
show Commands
The section provides details about the MediaSense-specific show commands.
Note In a multi-server deployment, you can only run this command on the secondary server.
Command: show db_synchronization status database_name
Details:
• database_name specifies the type of operation for the command to perform.
The valid database names are:
◦db_ora_config
◦db_ora_meta
• For each database table, the output shows the start and end time of synchronization check, the number
of rows to be checked, the number of rows already processed, and the replication check status.
The replication check column displays the status of the replication as follows:
◦D = Defined
◦R = Running
◦C = Completed
◦F = Completed, but inconsistent
◦W = Pending Complete
Examples:
• show db_synchronization status db_ora_config
Note To view all the details, this command requires the configuration service to be reachable and running on
the primary or secondary server.
Command: show network cluster
Details: This command has no options.
Example:
show network cluster
1 10.10.10.92 mcs_vm92 Primary authenticated
2 10.10.10.93 mcs_vm93.cisco.com mcs_vm93 Secondary authenticated using TCP since Tue Aug
30 14:05:34 2011
3 10.10.10.100 mcs_vm100.cisco.com mcs_vm100 Expansion authenticated using TCP since Tue
Aug 30 14:05:24 2011
Examples:
• show tech call_control_service
Note You can also get this information through a web browser. For details, see Other Browser-Based
Serviceability Tools, on page 101
Playback
You can search for a session and play the audio or video data for each session using the integrated Search and
Play application or by using the MediaSense APIs. See the Cisco MediaSense Developer Guide (http://
www.cisco.com/en/US/products/ps11389/products_programming_reference_guides_list.html) for more
information about using the APIs.
You can play back MediaSense recordings using the Real Time Streaming Protocol (RTSP) or by downloading
the recordings as .mp4 or .wav files.
• Playback— You can playback MediaSense recordings using the integrated Search and Play application
or on any player which supports RTSP, .mp4, or .wav formats (for example, VLC—VideoLAN Client).
If you listen to a forked media recording using VLC, you can only listen to one track at a time, and not
both at the same time.
• Download— If you prefer to listen to both audio channels and view the video at the same time, export
any MediaSense recording to .mp4 or.wav format using the convertSession API. This API returns the
URL from which you can access the converted file. You can then download that file using standard
HTTP access methods. Using a downloaded .mp4 or .wav file, you can listen to both audio channels
and view the video at the same time.
Converting to .mp4 or .wav format also makes the file portable and allows you to copy it to a location
of your choice.
• Client applications can communicate directly with the MediaSense media service by using the
downloadUrl parameter in the Session Query APIs. Each API has a downloadUrl only for AUDIO tracks.
You cannot download MediaSense video tracks in the RAW format. The downloaded recording is
available only in the RAW format.
This URL is conditionally present in the session query response only if the sessionState is
CLOSED_NORMAL or in the sessionEvent only if the eventAction is ENDED. For other sessions in
other states, (ACTIVE, DELETED, or CLOSED_ERROR), downloadUrl is not available. See the Playing
Back Recordings section in the Cisco MediaSense Developer Guide (http://www.cisco.com/en/US/
products/ps11389/products_programming_reference_guides_list.html) for more information.
Blog Recording
MediaSense enables you to create blog recordings (audio and video) using supported Cisco IP Phones. After
the recordings are made, third-party applications can publish them.
A blog recording is initiated in one of the following ways:
• By a user who dials into a MediaSense server.
• By the MediaSense server calling a user phone in response to an API request.
Note Unified Border Element deployments do not support direct outbound recording.
Mid-call codec changes are not supported for direct inbound or direct outbound calls.
Media Forking
All Cisco IP phones that MediaSense supports have a Built-in-Bridge (BIB) that allows incoming and outgoing
media streams to be forked. MediaSense makes use of this capability to record inbound and outbound forked
media. For more details about media forking, see the Unified Communications Manager documentation at
http://www.cisco.com/en/US/products/sw/voicesw/ps556/prod_maintenance_guides_list.html.
Unified Border Element does not have a BIB because the call forking is performed within the Unified Border
Element application and not from a phone.
Glossary
Active Server
An active server is a primary server or secondary server with one instance of the API service,
configuration service, call control service, media service, database service, and the SM agent. A
MediaSense cluster must have one or two active servers. Replication is available in both active servers.
To ensure high availability, if one active server goes down, the other active server can handle the
complete load for both servers.
API Service
The application programming interface (API) service is a feature service. Each MediaSense cluster can
only have two instances of the API service. One instance is in the primary server and another instance
is in the secondary server. Each API service must have a corresponding configuration service. If a
MediaSense cluster has more than two servers, the additional servers do not have an API service or
configuration service. Each instance of the API service corresponds directly to one instance of the meta
database.
Call Control
MediaSense uses the session initiation protocol (SIP) to control new calls, transferred calls, and calls
that are placed on hold.
Cluster
MediaSense servers are deployed in a cluster. A cluster can contain from one to five servers. Each
cluster can provide basic media recording, database storage, and scalable recording capacity.
Configuration Database
The configuration database is often referred to as the 'config' database. It stores log level and trace mask
information. Each instance of the configuration database corresponds directly to one instance of the
configuration service. Although the configuration database is not directly exposed to end users, you
can indirectly configure functions such as service activation in the MediaSense Serviceability web
portal.
Configuration Service
Configuration service is a feature service. Each instance corresponds directly to one instance of the
configuration database. Each MediaSense cluster can only have two instances of the configuration
service. One instance is in the primary server and the other instance is in the secondary server. When
one configuration service does not function, data can continue to be written to the other configuration
service because MediaSense uses a peer-to-peer database model.
Each configuration service on the primary server and secondary server must have a corresponding
instance of an API service. If a MediaSense cluster has more than two servers, the additional servers
do not have a configuration service or an API service.
Database
MediaSense has two databases: the configuration database and the meta database. The general term
"database" is used to refer to both of them.
Database Service
The database service controls the configuration database and the meta database. Each MediaSense
cluster can only have two instances of the database service. One instance is in the primary server and
the other instance is in the secondary server.
Device
A device is a physical entity such as an end point or a personal computer that can be use to make
recordings. Each device is identified by a unique deviceRef or Device Ref.
Device Reference
A device reference is called a deviceRef in the API service and a device ref in the administration service.
It refers to the phone number, IP address, or the URI/URL of each device. One or more participants
can be associated with multiple device references.
Diagnostics
MediaSense diagnostics is a network service. This service is present in all MediaSense servers for
debugging and troubleshooting purposes.
Expansion Server
A MediaSense deployment can have a maximum of three expansion servers. Each expansion server
has one instance of the call control service and one instance of the media Service. Expansion servers
have no instances of the API service or the database service.
Feature Service
Feature services enable you to configure and monitor all servers in a MediaSense cluster.
High Availability
High availability means that if one server fails, the other server can handle the complete load for both
servers in a MediaSense cluster. The data is load balanced between both servers and data replication
is available in both servers.
Media Service
Media service is a feature service. It terminates media streams for storage on a local disk. One instance
of the media service is present in every server in a MediaSense cluster.
Media Stream
A media stream refers to the packets going through an audio channel or video channel in a live or
recorded session. It refers only to a live session. It does not refer to a recorded session. A recorded
media stream is called a track.
Meta Database
The meta database stores call history and metadata information associated with each recording. Each
instance of the API service corresponds directly to one instance of the meta database.
Network Services
Network services enable you to configure and monitor overall system functions. After you have installed
MediaSense and rebooted your server, network services are enabled by default on all servers in a cluster.
Participant
A participant refers to people or end points involved in a session. Participants use a device to conduct
a session. Participants are identified by a unique device reference, which is a phone number, IP address,
or URL. During the same session, each track is associated with only one participant, the participant
who is generating the media for that track. During different sessions, each track can have one or more
participants.
Perfmon Agent
This network service controls the performance monitoring infrastructure. It has no separate user interface
and operates seamlessly within MediaSense serviceability administration.
Primary Database
The configuration service in the first main server in any deployment is called the primary database.
The configuration service in the second main server in any deployment is called the secondary database.
In a MediaSense cluster, configuration requests are sent to the primary database and the secondary
database. If the primary database is functional, data is written to the primary database and then replicated
to the secondary database. If the primary database is not functional, data is not written to ensure data
integrity. If the primary database is not functional for a substantial period of time, you can manually
promote the secondary database to be the new primary database so that data can be written to it. When
the original primary database begins functioning again, it becomes the new secondary database.
Primary Server
The primary server is the first server in the cluster. After you install MediaSense and reboot the primary
server, all MediaSense feature services are enabled by default.
Publisher
In MediaSense clusters, the primary and secondary servers are publishers (peer-to-peer).
Recording Types
MediaSense makes two types of recordings:
• Forked media recordings are made from IP phones. These recordings have two audio channels.
• Direct call recordings are made to and from MediaSense to any phone. These recordings have
one audio channel and one optional video channel. (They are often called blog recordings in this
document.)
Secondary Database
The configuration database in the secondary server in a cluster is called the secondary database.
Secondary Server
Each cluster can have only one secondary server. After you access the administration service and enable
all feature services, you can assign that server as the secondary server. It is paired with a primary server
to ensure high availability.
Session
A session is a recorded monologue call, dialog call, or conference call. A session is identified by a
sessionID (or Session ID) and contains one or more tracks.
A MediaSense session has the same meaning as a recording session in Unified Communications Manager.
See the Cisco Unified Communications Manager Features and Services Guide (http://www.cisco.com/
en/US/partner/products/sw/voicesw/ps556/prod_maintenance_guides_list.html) for more information
about its recording sessions.
Session ID
The unique identifier for a session.
SM Agent
Storage management agent (SM agent) monitors the overall storage in each server in a cluster and
generates threshold events based on disk usage. It is available in all servers in the cluster.
System Service
This network service controls service operations. It does not have a separate user interface and operates
seamlessly within the MediaSense administration service and MediaSense serviceability administration.
Tag
System-defined tags are brief, arbitrary text strings that associate individual sessions using the Web
2.0 APIs. MediaSense stores tags with each session. MediaSense uses tags to mark certain actions
which occurred during the session (such as , pause and resume) or to mark when the media inactivity
state changes (as reported by the SIP signaling). While most tags are associated only with a session,
media inactivity state change tags are associated with a session and with a specific track in the session.
Track
A track identifies each media stream and quantifies it with additional data such as participants, duration,
start date, and track number. Each track is specific to one audio stream or one video stream. Each track
can be associated with multiple device references. Each session contains one or more tracks.
Track ID
The unique identifier for a track.