BRKCCT-2015 TG Uccx
BRKCCT-2015 TG Uccx
BRKCCT-2015 TG Uccx
Ron Rodriguez
Technical Solutions Manager
Agenda
Virtualization Best Practices
Refresh Upgrade
SE Linux
Unified Sign On
Cisco Unified Intelligence Center
Web Chat Integration with SocialMiner
Troubleshooting the CCX Database
CBABU CCX ES Process
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Virtualization Improvements
Specs-based Virtualization Support
Support models Benefits
– UC on UCS Tested Reference – More flexibility in deployments
Configuration (TRC) – Leverage existing investments
– Third-party server Specs-based – Support more deployment models
UC on UCS TRC 3rd Party
Basic Approach Configuration Based Rules Based
Server Model, Hardware Less (tradeoff of less hardware More (tradeoff of more
Choices for more UC predictability) design/test ownership for more
hardware flexibility)
TAC Support for UC Apps? Yes (performance guaranteed) Yes (when all rules followed;
performance guidance only)
TAC Support for Server? Yes No
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Single OVA & Resource Reservation
Resource Reservation
900 MHz per vCPU
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Boot from SAN
Fiber Channel
ESXi SAN
SAN Support Boot from SAN Support
– ESXi 4.0/4.1/5.0 – ESXi 4.1/5.0
– VMWare installed on local ESXi – VMWare installed on FC attached
disks disk array
– UC installed on FC attached disk – UC installed on FC attached disk
array array
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
vMotion
Fiber Channel
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
New Identity
Export freshly installed (no configuration) CCX VM as an OVA
Import OVA into another VM host
Use Answer File Generator for initial configuration
Import into new CCX machine using CLI
– utils import config
ESXi ESXi
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Tips
Upgrading ESXi from 4.1 to 5.0 may cause slow client TCP problems
– Disable Large Receive Offload Change from 1 to 0:
Net.VmxnetSwLROSL
Net.Vmxnet3SwLRO
Net.Vmxnet3HwLRO
Net.Vmxnet2SwLRO
Net.Vmxnet2HwLRO
Max configurable IVR ports determined by
the hardware configuration
– OVA template determines port count, regardless
of the number of premium licenses installed
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
8.x to 9.x Migration – Refresh Upgrade
Why Refresh Upgrade?
L2 Upgrade Refresh Upgrade
– From/To sides have same OS – From/To sides have different OS
version versions
– ‘To side’ binaries executed in Active – ‘To side’ binaries executed in
context newly installed RHEL 5 context
– RHEL 5 binaries cannot run in RHEL – Fresh install on inactive partition
4 context – Embedded data migration
Unified CCX
Inactive
Active Partition
Partition
RHEL 4 RHEL 5
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
User Experience
L2 Upgrade Refresh Upgrade
Install Time 60+ Minutes 90+ Minutes
Reboots None 2 to 4
Call Center Availability Single Node/HA: Up During Upgrade Single Node: Down During Upgrade
HA: Active During Upgrade
On Upgrade Failure Active Side Continues to Run Reboot into Previously Active Version
Displays Failure Notification Email Notification Sent
User Experience Install Log Scrolling via GUI/CLI Blue Install Screen
Dots/Pinwheel during Switch-Version Dots/Pinwheel during Switch-Version
Possible when
refresh upgrade .cop
file is installed
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Refresh Upgrade Process
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Refresh Upgrade Process
.cop .cop
allows 8.x allows 8.x
Fully
to Detect CCX Fails to Detect CCX Fails
Functional
L2 or RU Over L2 or RU Over
System
Upgrade Upgrade
Type Type
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Refresh Upgrade Process
Reboot & 9.x Inactive
Begin 9.x
Node 1 8.x Active Begin 9.x Install in
Installation Inactive Install Progress
8.x
Node 2 -- -- 8.x Active
Standby
Refresh
Upgrade Inactive CCX Fails
Fully Detected, Installation Over,
Functional Platform begins Functional
System Data from 8.x
Backed Scratch System
Up
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Refresh Upgrade Process
9.x Inactive
8.x Reboot into 8.x
Node 1 Install
Standby Completes 8.x Standby
Platform
9.x
Data
Functional Installed Functional
Restored
8.x on 8.x
on
System Inactive System
Inactive
Partition
Partition
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Refresh Upgrade Process
8.x
Node 1 -- -- 8.x Active
Standby
Refresh
Upgrade Inactive CCX Fails
Functional Detected, Installation Over,
8.x Platform begins Functional
System Data from 8.x
Backed Scratch System
Up
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Refresh Upgrade Process
Platform
9.x
Data
Functional Installed Functional
Restored
8.x on 8.x
on
System Inactive System
Inactive
Partition
Partition
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Refresh Upgrade Process
Initiate
Node 1 8.x Active Switch- 9.x Active 9.x Active
Version
Initiate
8.x 9.x
Node 2 8.x Active Switch-
Standby Version Standby
Functional
Data Data
8.x
Migrated Migrated Functional
System,
to 9.x, to 9.x, 9.x
9.x on
CCX Fails CCX Fails System
Inactive
Over Over
Partition
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Tips
Do not reboot in the middle of a switch-version operation
– Can cause unrecoverable corruption to the database
– Use CLI to perform switch-version, gives notification spinner to user
Always verify MD5 checksum in release notes to image being used
DNS setup and configuration is mandatory for CCX 9.0(x)
– Installation will halt without it
Always take a regular back up before any upgrade
When upgrading from 5.x/7.x to 8.x/9.x, use the PUT tool
– PUT tools are posted with the new version
– If not PUT tool is posted, use the latest on that train
– Stop the Engine before taking the PUT backup
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
SELinux
What is Security-Enhanced Linux?
Implementation of Mandatory Access Control mechanism
Verifies allowed operations after Discretionary Access Controls checked
Contained within RHEL kernel
SELinux policies augmented for UCOS platform
CCX further augments UCOS policies to implement specific security policies
– CCX 9.0 policies installed during installation
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
SELinux Modes
SELinux works in one of the following three modes of operation
– Enforced: Blocking and Logging
– Permissive: Logging only
– Disabled: No blocking or logging
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
SELinux Troubleshooting
For any given issue, if SELinux is suspected as the root cause:
– Set SELinux to Permissive mode
– Reproduce the issue
If the issue still persists, most likely it is not caused by SELinux
If the issue does not persist
– Verify the issue is not a legitimate security concern
– Collect the SELinux debugging information
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Unified Sign On
Overview
CCX 9.0(1) allows the Application user to traverse seamlessly between CCX
Web Applications
– Possible when UCM is not accessible
CCX Web Application 8.x 9.x
Cisco OS Administrator No No
DRS No No
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Single Sign On Troubleshooting
CCX UCM
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Cisco Unified Intelligence Center
30
Overview
Web 2.0 based reporting platform that is packaged as part of CCX 9.0(x)
CUIC Standard with unlimited users packaged with CCX Premium, Enhanced,
or Standard at no additional cost
CUIC serviceability integrated with CCX serviceability page
Integrated user management via AppAdmin
Used for Historical Reports, option to switch between HRC and CUIC in 9.0(x)
Supports all existing out-of-the-box HRC reports
– Same stored procedures and data source used
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Enable CUIC
Reporting Configuration
Enable CUIC
Defaults to HRC
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
CUIC Flow Diagram
User CUIC Web UI CCX CUCM
DB
Login
Authenticate
AXL Authentication
AXL Response
Authentication Response
Load Main
Run Report
Call Stored Procedure
SQL results
Report Results
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
CUIC Flow Diagram
User CUIC Web UI Who Can Login?
Platform Administrator
‘Reporting’ Users
CUIC Log:
10.77.85.101: Mar 06 2013 11:18:29.631 -0500: %CCBU__CUIC_SECURITY-6- Trace Settings in
AUTHENTICATING_USER: References
%[MARKER=START][MESSAGE=attemptAuthentication][OPERATION_TYPE=START]:
Authenticating User
MADM Log:
Mar 06 11:18:29.891 EST %MADM-UCCX_WEBSERVICES-
7-UNK:The Agent ID received here is: cuicadmin
MADM Log:
<executeSQLQuery><sql>
SELECT eu.pkid, eu.userid, eu.firstname, eu.lastname, eu.middlename, eu.nickname, eu.mailid,
eu.assocpc, eu.department, eu.manager, eu.title, eu.building, eu.site, ca.aakeypadmapping,
ca.aapromptname, ca.fnamealtpronun, ca.lnamealtpronun, cs.administratorlevel, cs.issupervisor FROM
enduser AS eu LEFT OUTER JOIN crsapplication AS ca ON ca.fkenduser = eu.pkid LEFT OUTER JOIN
crsuserclusterspecific AS cs ON cs.fkenduser = eu.pkid AND cs.clustername = '1330625185000'
WHERE eu.tkuserprofile = 1 AND eu.status = 1 AND lower(eu.userid) = 'cuicadmin'
</sql></executeSQLQuery>
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
CUIC Flow Diagram
MADM Log:
CCX CUCM <doAuthenticateUser>
<userid>CUICAdmin</userid><password>XXXXXX</password>
</doAuthenticateUser>
<axl:doAuthenticateUserResponse
xmlns:axl="http://www.cisco.com/AXL/API/7.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
AXL Authentication <return>
<userAuthenticated>true</userAuthenticated><code>0</code>
AXL Response </return>
</axl:doAuthenticateUserResponse>
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
CUIC Flow Diagram
User CUIC Web UI CCX
MADM Log:
Mar 06 11:18:30.494 EST %MADM-UCCX_WEBSERVICES-
7-
UNK:AuthenticateResource::doCapabilityCheckForCl
ientApp Is Capability Present : true
CUIC Log:
10.77.85.101: Mar 06 2013 11:18:30.496 -0500: %CCBU___________CUIC-7-DEBUG: Authentication
Success.
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
CUIC Flow Diagram
CUIC Log:
User CUIC Web UI CCX 10.77.85.100: Mar 21 2013 16:18:38.654 -0400:
%CCBU_CUIC_MODEL_OBJECTS-7-
DB JSON_VALUES:%[ARGUMENT=[{"viewName":"Average+Cha
t+Duration+by+Date+Chart”… ]: Values for JSON
Object
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
CUIC Flow Diagram
User CUIC Web UI CCX CUIC Log:
10.77.85.100: Mar 21 2013 16:18:51.013 -0400:
DB %CCBU_CUIC_DATA_PROCESSING-7-DPC_WORKER: …
DSINFO: 8E9A9E571000013D55C477EF0A4D5564 …
Report Def: Chat Traffic Analysis Report
Definition : populate the footer and formula
fields time : 138 ms
Report Results
10.77.85.100: Mar 21 2013 16:18:51.013 -0400:
SQL results %CCBU_CUIC_DATA_PROCESSING-7-DPC_WORKER: …
DSINFO: 8E9A9E571000013D55C477EF0A4D5564 …
runReport() completed successfully. Proceeding
CUIC Log: with saving data and marking execution as
10.77.85.100: Mar 21 2013 16:18:55.463 -0400: success.
%CCBU_CUIC_DATA_PROCESSING-7-
DPC_THROTTLER_ROWS_CHECKEDOUT:
%[THROTTLER_ROWS_AVAIL=249991][THROTTLER_ROWS_CHECKEDOU
T=9]
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Running Reports
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
CUIC Redirection
Users Connect to Either Node in HA
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Report Throttling
Throttling mechanism prevents CUIC servers from freezing or encountering an
Out-of-Memory situation when they are pushed to their limits
How does it work?
– Report rows are loaded into memory
– If a violation happens while CUIC is reading data from the data source, the report
execution aborts
The report is marked as failed
– If a violation occurs while CUIC is in the process of preparing the HTTP response for a
browser (HTML of a grid, JSON string of a gauge, XML of a chart, etc.) the request to
display the data is rejected
The user received an error message that explains the report cannot be rendered due to low
server resources
CUIC Log:
10.77.85.100: Mar 21 2013 16:18:55.463 -0400:
%CCBU_CUIC_DATA_PROCESSING-7-DPC_THROTTLER_ROWS_CHECKEDOUT:
%[THROTTLER_ROWS_AVAIL=249991][THROTTLER_ROWS_CHECKEDOUT=9]
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Report Scheduler
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Report Scheduler
Destination
Scheduled Execution
• Verify SMTP configuration
• Scheduled reports run from
• Verify remote settings
Publisher
• Verify user has write permissions
• Ensure CUIC Reporting Service
on remote server
on Publisher is IN SERVICE
• Collect CUIC Log • Verify network connectivity
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Permalinks
CUIC permalinks provide direct report access
– HTML: Grid, Gauge, Chart views
– Excel: Grid view
– XML: Grid view
User accessing permalink does not need to log into CUIC
Reference CUIC User Guide for time zone specific considerations
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Permalinks
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Permalinks
HTML
Excel
Refresh Report to obtain Lasted Data
XML
Dashboard
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Custom Reports
CUIC is installed with a standard CUIC license
– Cannot create custom reports
To create a custom report
– Install standalone CUIC server with Premium license
– Target data source as CCX server
– Create report with query or stored procedure to be used in report definition
– Export the report definition
– Import the report definition into CUIC on CCX
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Customize Existing Reports
Create Different Views
Chart, Gauge, Grid
Customize View
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Utilization Hourly Report
Available with all CCX license levels, but only with CUIC, not HRC
Reports on utilization of
– Inbound ports: actual number of inbound ports being used in system
– Outbound ports: actual number of outbound ports being used across all IVR campaigns
– Agent seat count: Number of voice seats being used concurrently
Each agent usage of CAD counted as one seat
Each supervisor usage of CAD/CSD either alone or together counted as one seat
New historical table called LicenseUtilization added to database
– For HA system the table is replicated using Informix Enterprise Replication
– Table purged according to configured automatic or manual purge settings
– New stored procedure called sp_license_utilization provides data to report
– Data written to table every minute from the engine
True maximum numbers may occur at different time than when samples collected
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Utilization Hourly Report
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
User Permissions
CUIC Services
Displayed if CUIC
Activated
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
CUIC Serviceability
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
CUIC Serviceability
CUIC Logs
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
CUIC Serviceability
New CLI commands
– show cuic properties [options]
– show cuic tech [options]
– show cuic component-status [subsystem]
– show cuic trace cuicserver [subsystem]
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
CUIC Serviceability
New CLI commands
– set cuic properties
– unset cuic properties host-to-ip
– set cuic trace
– set cuic syslog
– utils cuic purge
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
CUIC Data Mismatch
CUIC database tables stored in Platform database
Check CUIC replication state
– utils dbreplication runtimestate
Real time reports are based on data in memory, not the database
– Reset at midnight every night
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Web Chat
Overview
CCX Web Chat only available with CCX Premium license
Requires Cisco SocialMiner
– Endpoint that hosts widgets that end users and agents use for chat interaction
– SocialMiner sold separately, no licensing associated with the SocialMiner node
SocialMiner accepts chat request, communicates with CCX to allocate an
agent, then establishes the connection between the end user and agent
CCX queues chat requests, allocated agents, monitors the chat session, and
provides real-time and historical reports for chat
Web Chat compatibility defined in CCX Compatibility Guide
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Chat Media
Deployment Models Signaling/Configuration
SocialMiner SocialMiner
DMZ DMZ
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Fault Tolerance
SocialMiner does not support High Availability (HA) SocialMiner
Fault Tolerance is provided via CCX HA
SocialMiner configured to communicate with both CCX nodes
– When new contact arrives, both CCX nodes notified
– Master node queues the request
– Secondary node ignores request
If CCX nodes failover CCX CCX
– Existing chats between agents and end users stay connected
M S
– SocialMiner requeues all existing contacts to new Master node
– Agent must log out and log back into Web Chat
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Configuration: SocialMiner& CCX
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Configuration: SocialMiner& CCX
Review.. 5 easy steps
– Create web chat CSQs
Add skills to CSQs
– Configure SocialMiner for CCX
Use SocialMiner Platform Administrator credentials
Ensure DNS entries exist for both SocialMiner and CCX
– Configure chat system parameters
RONA time
Chat/Voice behavior
– Create chat widget
Default and custom form fields
Chat widget code for webpage
– Configure chat teams
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Configuration: Agent
Create Worksite
Use One CCX URL
Auto Redirect to Active Server
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Web Chat in CAD
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Configuration: Supervisor
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Web Chat in CSD
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Web Chat Flow Diagram
Web Server SocialMiner CCX Agent
Chat Request
New Contact Notification
Contact Dialog Event
End Session
Chat Session Complete
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Web Chat Flow Diagram
Web Server SocialMiner CCX SocialMiner Chat Proxy Log:
10.77.85.106: Mar 15 2013 12:59:42.572 -
0400: %CCBU_____CHATSERVER-6-
CHAT_SESSION_CREATED:
%[session.id=E6B7E9C82968F80F1FC553DB16071E6
F][session_timeout=300]: chatserver: new
chat session
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Web Chat Flow Diagram
CCX Agent CCX Primary MADM Log:
Mar 15 12:59:42.970 EDT %MADM-UCCX_WEBSERVICES-7-UNK:Notify for
new contact
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Web Chat Flow Diagram
Web Server SocialMiner Agent
End Session
Chat Session Complete
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Web Chat Flow Diagram
SocialMiner CCX Agent CCX Primary MADM Log:
Mar 15 13:00:38.573 EDT %MADM-
UCCX_WEBSERVICES-7-UNK:Received State change
request for agent agent2 with new stateId =3
and reasonCode =32755
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Web Chat CSQ Real-Time Reports
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Web Chat CSQ Real-Time Reports
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Web Chat CSQ Historical Reports
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Web Chat CSQ Historical Reports
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Web Chat CSQ Historical Reports
Autocomplete Suggestions
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Serviceability
System Administration
Accessible only by SocialMiner Administrator
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Serviceability
RTMT for SocialMiner
Downloadable from System Administrator tab
SocialMiner RTMT
Provides OS Serviceability tools
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Serviceability
Logs for SocialMiner
Downloadable from System Administrator tab
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Serviceability
System Snapshot
Snapshot of system parameters
API Statistics
Feeds
• Min/Max/Avg Request Time
• Requests per Second JVM Statistics
• Heap Size
JMX mbean Values
Campaigns • CPU Samples
Disk Usage • Up Time
Hardware Resource Counts
Impact to
Purge Settings System Conditions
performance while
file is downloading Application Version
Notification Rules
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Serviceability
Platform Administration for SocialMiner
Viewable from System Administrator tab
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Serviceability
Web Chat Services OpenFire XMPP Interface
Send state changes to
WebChat user interface
Chat Subsystem
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Serviceability
WebServices
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Troubleshooting CCX Web Chat
Configuration Status
Checked when page loads
Not Configured
Configured Incorrectly
Configured
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
Troubleshooting CCX Web Chat
Any time the Web Chat feed is removed from SocialMiner, the Web Chat form
must be redeployed once the CCX configuration is saved
– Web Chat feed id changes
Indicates item not configured in SocialMiner
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
Troubleshooting CCX Web Chat
No Chats in Campaign
Chats not being created
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Troubleshooting CCX Web Chat
SocialMiner CCX
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Troubleshooting CCX Web Chat
SocialMiner Agent
Agent Desktop Reply Pane does not Load
Chat not being routed to agent
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Database
Overview
CCX
db_cra db_hist db_cra_repository db_frascal
DB
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Size Restrictions
show uccx dbserver disk
Displays datastore size
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Informix Enterprise Replication
Source Server Transport Target Server
Application
Database Database
Snoopy
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Reset Informix Enterprise Replication
Teardown
– utils uccx dbreplication teardown
DB Master DB Standby
Setup
– utils uccx dbreplication setup
Repair
– utils uccx dbreplication repair
Reset Replication commands
symmetric, can be
– utils uccx dbreplication reset executed on either node
– Performs above actions in sequence
Should be repaired in
maintenance window as
it may generate a lot of
network traffic
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Application Replication
Config Datastore does not participate in Informix Enterprise Replication
– Configuration updates are pushed to both nodes
– If one node is offline and CDS/HDS enabled, the update is not committed
Reset application replication Source Server Destination Server
– Disable CDS/HDS
Break CDS sync CDS CDS
Teardown HDS replication
– Enable CDS/HDS HDS HDS
Dump CDS source data to csv file
Truncate destination CDS RDS RDS
Restore destination CDS with source data
Setup replication for HDS ADS ADS
Initiate repair for HDS
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Application Replication
When encountering problems with CDS/HDS enable/disable function
– Check dumptable.log on source server to verify all tables were dumped correctly
– Check synctable.log on destination server to verify all tables were synced correctly
synctable.log:
[Tue Mar 5 14:23:13 EST 2013] : Truncate local
dumptable.log:
table resource
[Tue Mar 12 22:38:48 EDT 2013] : Unloading table
…
configschema
[Tue Mar 5 14:23:14 EST 2013] : Truncating the
[Tue Mar 12 22:38:48 EDT 2013] : Unloading table
table 'resource' succeeded...
profileidmapping
[Tue Mar 12 22:38:48 EDT 2013] : Unloading table
[Tue Mar 12 22:38:51 EDT 2013] : generating
resource
dbload command for table 'resource'
…
[Tue Mar 12 22:38:51 EDT 2013] : Done with dbload
for table 'resource'
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Data Synchronization
Force Data Sync
RDS RDS
ADS ADS
Synchronize Data
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Switch Version
CCX
DB Copy db spaces
Is database Create ontape
corrupted?
no backup
from active partition
to inactive partition
8.5(1)
SU3
Abort yes
Perform
Bring up database in
schema
inactive partition
migration
uccx-install.log:
Cisco Unified CCX DB appears to Dump existing table to csv file
be corrupt. Please use the CLI
command "utils uccx switch- Truncate table
version [db-check | db-recover]"
to recover the CCX DB before Alter table schema
retrying the switch version. … May take a while, do not
reboot node during this
time, the database will Reload table with csv data
9.0(1)
become corrupted
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Database Logs
online.uccx.log
– Informix activity log, good indicator of database health
– If database problems, compare good and bad copies of log
uccx_repl_output_util.log
– Outputs CLI command execution
dumptable.log (source server) and synctable.log (destination server)
– CDS/HDS enable/disable logs
uccx_spl.trace
– Purge log
DbConfigIntegrity.txt
– Generated via CLI utils uccx database dbserver integrity
– Verifies database health
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
Database Health
utils uccx database dbserver integrity
– Executes oncheck –cc, oncheck –ce, and oncheck –pr to file
– Verifies database connectivity, health of tables
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Database Serviceability CLI Commands
show uccx tech dbserver log diagnostic
– Shows the existence of Informix assertion failure (*.af) and shared memory dump
(*.shmem) logs, which indicate Informix has crashed
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
Tips
When changing the purge setting, avoid a large differential
– Can cause a sudden spike in the purge time, possibly overlapping with business hours
If the connection between CCX nodes is broke, or node 2 is down, Informix will
buffer the replication updates
– Resulting data propagation can cause a lot of traffic
– Recommended to restore the connection off hours is possible
Replication commands should be during a maintenance window
– Repair replication
– Enable/Disable CDS/HDS
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
CBABU UCCX ES Process
Previous CBABU Process
Interim Fix Delivery Mechanism was the ET (Engineering Special)
Built on per customer basis, not general availability.
Not cumulative. Situations arise when multiple, conflicting ETs are necessary.
Risky Application. Little testing. Requires root access to install.
No defined rollback mechanism.
Not documented. Stored in single location or numbered consistently.
Ad-hoc, require large overhead from DE teams, Escalation teams, and TAC
teams.
No release schedule.
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
New CBABU ES Process
One ES (Engineering Special) per Month on Latest SU (Service Update)
– Applicable for the last two current major releases (i.e. 8.5(x) and 9.0(x).
– Exceptions in release schedule may occur.
– Posted by TAC via Special File Publish.
– Given to customer on need by need basis.
Severity 1 & 2 defects. Severity 3 with high impact.
– Only defect fixes, no new features or functionality will be introduced.
– Any ET’s produced since last ES.
Cisco will support customers running any ES in production.
– Same process, procedures, and SLAs are applicable.
– Support of break-fix issues, defect fixes and remediation/development fixes when
necessary.
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
ES Release Vehicle
UCCX ESs will be Released via .cop Files
– .cops to be installed on top of Major.Minor.SU for which they are designed.
– Rollback .cop will be provided for each Major.Minor.SU.
– Rollback .cop will revert server to Major.Minor.SU.
– .cops will be named with ES number and build number.
ESs will reflect in both CLI and AppAdmin
– AppAdmin: 8.5.1.11003-32 (ES01-69)
– CLI: ‘show version active’ shows ES installed.
Each ES will contain Release Notes
– Build number and filename with MD5 hash.
– Installation instructions, rollback instructions.
– Version on which ES can be installed.
– Information about compatibility with external components (if necessary).
– Resolved caveats.
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
Tips
UCM qualification policy
– CCX compatibility matrix publishes qualified major versions
– All CCX SU’s are presumed qualified with qualified UCM versions
– All UCM SU’s are presumed qualified with qualified CCX versions
– All UCM ES’s are presumed qualified with qualified CCX versions
ES1 ES9
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
References & Further Information
References
SELinux
– http://magazine.redhat.com/2007/05/04/whats-new-in-selinux-for-red-hat-enterprise-
linux-5/
– http://www.centos.org/docs/4/html/rhel-selg-en-4/selg-preface-0011.html
Virtualization Improvements
– http://docwiki.cisco.com/wiki/Virtualization_for_Unified_CCX
– http://docwiki.cisco.com/wiki/Unified_Communications_Virtualization_Supported_Applic
ations#Contact_Center_Applications
– http://docwiki.cisco.com/wiki/UC_Virtualization_Supported_Hardware
– http://www.cisco.com/web/cuc_afg/index.html
– http://docwiki.cisco.com/wiki/Disable_LRO
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
References
SocialMiner
– http://docwiki.cisco.com/wiki/SocialMiner
CUIC
– http://www.cisco.com/en/US/products/ps9755/products_user_guide_list.html
Database
– http://publib.boulder.ibm.com/infocenter/idshelp/v115/index.jsp?topic=%2Fcom.ibm.adr
ef.doc%2Fids_adr_0387.htm
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
CUIC Flow Diagram Traces
Cisco Unified CCX Engine
– LIB_AXL: Debugging
– USER_MGR: Debugging, XDebugging4
– LIB_JDBC: Debugger
– SS_DB: Debugger
Cisco Unified CCX Administration
– LIB_AXL: Debugging
– CCX_WEBSERVICES: Debugging
Cisco Unified Intelligence Center Services
– CUIC: Detailed
– CUIC Security: Detailed
– CUIC JSP: Detailed
– CUIC Model Objects: Detailed
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
Web Chat Flow Diagram Traces
Cisco Unified CCX Engine
– SS_CHAT: Debugging, XDebugging4
– SS_ROUTEANDQUEUE: Debugging, XDebugging4
Cisco Unified CCX Administration
– UCCX_WEBSERVICES: Debugging
SocialMiner
– Chat Proxy Log
– Runtime Log
BRKCCT-2015 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 125