If you make a configuration change in Cisco Unified CM IM and Presence Administration that impacts an IM and Presence XCP service, you will need to restart XCP services for your changes to take effect. IM and Presence notifies you of exactly which node the configuration change impacts and of any service that you must restart. An Active Notifications popup window displays on each page of Cisco Unified CM IM and Presence Administration to serve as a visual reminder that you must restart services. Use your mouse to hover over the dialog bubble icon to see the list of active notifications (if any) and associated severity levels. From the list of active notifications you can go directly to Cisco Unified IM and Presence Serviceability, where you can restart the required service.
The topics in this module indicate if you need to perform a service restart, however it is good practice to monitor the service restart popup window for these notifications, particularly if you make any configuration changes after you deploy IM and Presence in the network.
See the Online Help topic on Service Restart Notifications for information about the types of service notifications, and the service notification security levels.
The Cisco XCP Router must be running for all availability and messaging services to function properly on IM and Presence. This applies to both SIP-based and XMPP-based client messaging. If you restart the Cisco XCP Router, IM and Presence automatically restarts all active XCP services.
The topics in this module indicate if you need to restart the Cisco XCP Router following a configuration change. Note that you must restart the Cisco XCP Router, not turn off and turn on the Cisco XCP Router. If you turn off the Cisco XCP Router, rather than restart this service, IM and Presence stops all other XCP services. Subsequently when you then turn on the XCP router, IM and Presence will not automatically turn on the other XCP services; you need to manually turn on the other XCP services.
The Cisco Unified Communications Manager IM and Presence Service supports flexible server deployment across
any number of DNS domains. To support this flexibility, all IM and Presence nodes within the deployment must have a node name set to
that node's Fully Qualified Domain Name (FQDN). Some
sample server deployment options are described below.
Note
If any IM and Presence node name is based on the hostname only, then all IM and Presence nodes must share the same DNS domain.
There is no requirement that the enterprise-wide presence domain aligns with the DNS domain of any server. An IM and Presence deployment can have a common presence domain, while having nodes deployed across multiple DNS domains.
IM and Presence clusters deployed in different DNS domain or subdomains
IM and Presence supports having the nodes associated with one IM and Presence cluster in a different DNS domain or subdomain to the nodes that form a peer IM and Presence cluster. The diagram below highlights a sample deployment scenario supported by IM and Presence.
Figure 1. IM and Presence clusters deployed in different DNS domain or subdomains
IM and Presence nodes within a cluster deployed within different DNS domains or subdomains
IM and Presence supports having the nodes within any IM and Presence cluster deployed across multiple DNS domains or subdomains. The diagram below highlights a sample deployment scenario supported by IM and Presence.
Figure 2. IM and Presence nodes within a cluster deployed within different DNS domains or subdomains
Note
High availability is also fully supported in scenarios where the two nodes within a High Availability subcluster are in different DNS domains or subdomains.
IM and Presence nodes within a cluster deployed in a DNS domain that is different to the associated Cisco Unified Communications Manager cluster
IM and Presence supports having the IM and Presence nodes in a different DNS domain to their associated Cisco Unified Communications Manager cluster. The diagram below highlights a sample deployment scenario supported by IM and Presence.
Figure 3. IM and Presence nodes within a cluster deployed in a DNS domain that is different to the associated Cisco Unified Communications Manager cluster
Note
To support Availability Integration with Cisco Unified Communications Manager, the CUCM Domain SIP Proxy service parameter must match the DNS domain of the Cisco Unified Communications Manager cluster.
By default, the CUCM Domain SIP Proxy service parameter is set to the DNS domain of the IM and Presence database publisher node. Therefore, if the DNS domain of the IM and Presence database publisher node differs from the DNS domain of the Cisco Unified Communications Manager cluster, you must update this service parameter using the Cisco Unified CM IM and Presence Administration GUI on the IM and Presence database publisher node. Refer to the topic Specify DNS domain associated with Cisco Unified Communications Manager for more information.
Cluster topology configuration on IM and Presence
This module is only applicable if you are deploying the multi-node feature. When you configure the multi-node feature, note the following:
Perform the system topology configuration on the IM and Presence publisher node.
Before configuring the system topology, read the multi-node planning and deployment information for best practice information about configuring this type of deployment.
Caution
Only use the system topology interface to configure your local IM and Presence cluster. See the intercluster peer module for information about configuring intercluster peer relationships with remote IM and Presence clusters.
When you create nodes in the system topology management GUI you can:
Assign the nodes to a subcluster in IM and Presence, or allow the nodes to remain unassigned. These states are interchangeable.
Assign IM and Presence users to the nodes, or allow the nodes to remain without any user assignments.
Turn on or off High Availability on a subcluster. See the section about configuring High Availability deployments later in this chapter.
Move a node from one subcluster to another if the node is assigned, has no users and high- availability is turned off in the subcluster.
Move a node from one subcluster to another if the node is assigned and has no users.
Configure real pingable nodes, or logical nodes which can be installed later and which remain inaccessible until that time.
To move nodes with users assigned, perform one of the following actions:
Unassign the users, move the node, and then reassign the users to the node. Note that when you unassign the users, they will lose service.
Create a logical node and move the users to the logical node. Move the node, reassign the users to the node, and remove the logical node.
Remove all users from a node before you unassign or move it.
Turn off High Availability in the subcluster before you unassign or move a node in that subcluster.
We strongly recommend that you perform any node movements that involve unassigning or moving a large numbers of users at off peak times. Such large operations can adversely impact performance.
If you are using DNS in your deployment, then the name of the publisher node is set to its FQDN by default. This is the Cisco recommended node name value for all subscriber nodes also as it ensures that the node is fully resolvable from all clients and servers. The FQDN of a node is a concatenation of the hostname and domain that you configure during the IM and Presence installation. For example, if the hostname of your
IM and Presence node is called
"node1" and the DNS domain is "acme.com", the node name is
"node1.acme.com". You can change the node name to the dotted IP address or
just simply the hostname, for example,
"192.168.0.1" or
"node1.com". If you are using the hostname or FQDN as the node name, note
the following:
You must be able to resolve the hostname or the FQDN from all
IM and Presence servers, across all clusters.
You must be able to resolve the hostname or the FQDN from all Cisco Jabber client computers.
If either the
IM and Presence server or the
Cisco Jabber client computer cannot resolve the hostname or the FQDN,
consider the following options:
Configure the IP address for the node name value.
Make the required DNS configuration to ensure that the hostname or FQDN is resolvable from all client machines and all IM and Presence servers.
To test resolution of the node name use the following commands:
From the
IM and Presence server, use the command
utils network ping <node_name>
From the Cisco Jabber client computer,
use the command ping <node_name>
You can manually or automatically assign users in an IM and Presence deployment. Use the User Assignment Mode parameter on the Sync Agent to manage user assignment on IM and Presence:
If set to Balanced, IM and Presence divides all users equally across all nodes in all subclusters. Use this user assignment mode for the Balanced Mode Non-Redundant High Availability and the Balanced Mode Redundant High Availability deployment options.
If set to Active/Standby, IM and Presence assigns all users only to the first node of a subcluster. If there is only a single node in the subcluster, IM and Presence uses this node for assignment regardless of the location of the node within the subcluster.
If set to None, you must manually assign your users to nodes in system topology management GUI.
If all the hardware in your cluster is of the same generation and has the same capacity, set the User Assignment Mode to Balanced.
If you have hardware of mixed generations and capacities in a node, set the User Assignment Mode to None. Manually assign your users making sure that each server is not loaded beyond capacity.
If you choose to manually assign users in system topology management GUI, note the following:
You can manually unassign, assign or reassign users. You can assign users to a single node, and you can also distribute groups of users across the node, or nodes, in a cluster, or a given subcluster.
If you assign a user to one of the nodes in a subcluster, the other node in the subcluster can become the backup (redundant) node for the user if you turn on High Availability for the subcluster. If you do not configure a backup node in the subcluster, and you do not turn on High Availability for the subcluster, the user does not have High Availability failover protection.
Users who are assigned may be reassigned, that is, moved to another subcluster, or to a specific node. You can move users individually or in bulk.
Users can remain unassigned. Unassigned users do not receive availability information.
Note
We recommend that you only reassign a user (assign a user that was previously unassigned) if the Cisco Presence Engine is running on all nodes in your cluster, otherwise IM and Presence will not reestablish the presence subscriptions to and from this user.
When you are assigning users, note the following:
You can only assign users if they are licensed.
Unassigning or reassigning users results in termination of active sessions. In such instances, clients must reconnect to the new location.
You can export users in bulk using the Bulk Administration Tool (BAT). You can also use BAT to perform bulk user reassignment from one node to another.
Generally we recommend that you take the Cisco Presence Engine and Cisco SIP Proxy services offline when performing bulk operations. Note that taking these services offline will adversely impact performance.
If you turn on High Availability in a subcluster, be aware that IM and Presence does not redistribute users to nodes that are in a failover states; the valid node states that support user redistribution are Normal and Running in Backup Mode.
If you rebalance your users, you must reconfigure the upper and lower client re-login limit values based on the HA login profile tables, see High Availability client login profiles.
After adding or removing nodes, you can redistribute users using the Rebalance Users parameter in system topology management GUI. This parameter redistributes users based on the configured User Assignment mode. These are examples of how you can use the Rebalance Users parameter with the User Assignment mode to manage user assignment:
Scenario A: The customer has a subcluster with two nodes, and each node contains 5000 users. The User Assignment mode is set to Balanced. The customer then adds a second subcluster with two nodes, and sets the Rebalance Users parameter. IM and Presence distributes the users evenly to the four nodes so that each node now has 2500 users.
Scenario B: The customer has a subcluster with two nodes, and each node contains 2500 users. The User Assignment mode is set to Balanced. The customer wants to add a second subcluster with two nodes, but also wants to change the User Assignment mode to Active/Standby. The customer changes the mode to Active/Standby, whereby all 5000 users are redistributed to the first node in the subcluster. The customer then adds a second subcluster with two nodes, and sets the Rebalance Users parameter. IM and Presence evenly distributes the users across both first nodes in each subcluster. Each first node now has 2500 users.
We strongly recommend that you perform any node movements that involve unassigning or moving a large numbers of users at off peak times. Such large operations can adversely impact performance.
The system automatically assigns the first
IM and Presence node that you install as the publisher node. After you
install the publisher node, create the required subclusters and subsequent
nodes in your
IM and Presence cluster in
system topology management GUI.
Repeat this procedure for each subcluster that you require
for your deployment.
Note
Perform this procedure on the publisher
IM and Presence node.
Before You Begin
Plan your multi-node deployment model.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 2
Select
Add New Subcluster.
Step 3
Define a unique name for the subcluster.
Step 4
Select
Save.
Troubleshooting Tip
To update a subcluster, or view the status of a subcluster, select
the
edit link on the subcluster.
Create the required subsequent nodes for your deployment. By
creating the subsequent nodes in the topology view of the publisher node,
IM and Presence associates the subsequent nodes with the publisher node.
Before You Begin
Note
Perform this procedure
on the publisher
IM and Presence node.
Perform this procedure
before you install any of the subsequent
IM and Presence nodes. If you assign a subsequent
IM and Presence node to a subcluster prior to installing it, users
in remote clusters will not receive availability information. An availability
outage will occur until the node is installed.
Depending on how you plan to configure your node name, obtain
the required value for your nodes (for example FQDN, hostname or dotted IP address). Note the following restrictions:
If you wish to change the default node name, there are
certain node name restrictions. Read the node name recommendations topic.
You can only move a node from one subcluster to another if
the node is assigned and has no users.
You must turn off High Availability in a subcluster before
you move or unassign a node in that subcluster.
Procedure
Step 1
Create the required subclusters for your deployment.
Step 2
Select
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 3
Create the required subsequent nodes for your deployment:
Select
Add New Node.
Define a unique name for the node.
Select
Save.
Step 4
Perform one of these actions:
If you want to:
Action
Notes
Assign a node to a subcluster
Drag the node into the empty slot in the
subcluster
Do not assign the subsequent node to a subcluster
until after you install it, and you have checked the status of the node.
Before you assign a node to a subcluster, check the
following
From System troubleshooter page, verify that the Cisco
Replication Watcher service is running on all nodes.
On the Network services screen in Cisco Unified IM and Presence Serviceability
(on the subscriber node), verify that all
IM and Presence services are running on the assigned node.
To move a previously assigned node.
Drag the node from the subcluster and drop it
into the empty slot of the peer subcluster.
Turn off
high-availability in the subcluster before you move the node.
Unassign all
users from the node before you move it.
Troubleshooting Tips
Step 5
Select
Cisco Unified CM IM and Presence
Administration > Diagnostics > System
Troubleshooter to verify the status of your topology
configuration.
Troubleshooting Tips
To update a node, or view the status of a node, select the
edit link on the node to view the Node
Detail screen. From the edit window, you can:
View the total users assigned to the node.
Verify the status of the node.
If you turn on High Availability in the subcluster, the
critical services that
IM and Presence monitors on the node for failover are marked in the
"Monitored" column.
If you turn on High Availability, you can also view the High
Availability state of the node, and the reason for this state.
This topic is only applicable if you have chosen to manually assign
your users.
In
system topology management GUI, you can manually unassign, assign or reassign users. You can
assign users to a single node, and you can also distribute groups of users
across the node, or nodes, in a cluster, or a given subcluster.
Before You Begin
Read the user assignment
recommendations topic.
You may want to export
users in bulk. Use the Bulk Administration Tool (BAT) to perform this
procedure.
Restriction
You can only assign
licensed users.
If you turn on High
Availability in a subcluster, note that you can only assign or move users to
nodes in that subcluster that are not in a failover state. Valid node states
are Normal and Running in Backup Mode.
Procedure
Step 1
Select
Cisco Unified
CM IM and Presence Administration > System > Topology.
Step 2
Perform one of these actions:
If you want to:
Action
Assign users
Select
Assign Users.
Unassign or reassign users
Select
All Assigned Users in the left
pane of the system topology interface.
Step 3
Use the Find User Assignment window to find and display users.
Step 4
Perform one of the following actions:
Check the users that you wish to assign, and select
Assign Selected Users.
Select all users, and select
Assign All Users.
Step 5
Using the list boxes in the Change Assignment frame, specify your
user assignment:
to a named node
to a named subcluster (auto-assigned)
to all subclusters (auto-assigned)
to nothing (unassigned)
Step 6
Select
Save.
Troubleshooting Tip
Select
Cisco Unified CM IM and Presence
Administration > Diagnostics > System
Troubleshooter to verify the status of your topology configuration.
The IM and Presence Service supports High Availability at a subcluster level. Both nodes in the subcluster must be running the same version of IM and Presence software for High Availability to work.
High Availability subcluster
IM and Presence supports High Availability in a subcluster meaning if a node
in the subcluster fails, the Instant Message and Availability services from
that node can failover to the second node in the subcluster.
You must manually turn on High Availability in a subcluster
on the Cluster Topology interface on
IM and Presence Administration interface. On the main Cluster Topology
interface, the subcluster icon indicates
that you have turned on High Availability on the subcluster.
A green tick beside the High Availability icon indicates
that High Availability in the subcluster is running normally. A red
"x" beside the High Availability icon indicates that the
subcluster is in a failed state.
IM and Presence automatically detects failover in a subcluster by monitoring
the heartbeat and monitoring the critical services on the peer node. When
IM and Presence detects failover, it automatically moves all users to the
backup node and supports automatic fallback to the primary node. From the
Cisco Unified CM IM and Presence Administration interface, you can initiate a manual fallback
to the primary node.
Note
IM and Presence performs an automatic fallback when the backup activated
node fails due to a critical service failure and the peer node is in the
"Failed Over" state and supports the automatic recovery
fallback.
To monitor and troubleshoot the status of the High
Availability functionality on a subcluster, view the High Availability states
that
IM and Presence assigns to each node. If a failover occurs, on the node
detail screen,
IM and Presence marks the users that have failed over to the backup node.
Impact of failover to IM and Presence clients and services
The IM and Presence Service supports High Availability for Cisco Unified Personal Communicator Release 8.5(x) and later.
During failover to the backup node, availability and instant messaging services are temporarily unavailable on client applications. After failover is complete, the availability and instant messaging services become available on the client again when the client signs back in. Similarly, if fallback occurs, availability and instant messaging services are temporarily unavailable on client applications until fallback completes and the client signs back in. Cisco Unified Personal Communicator signs users back in automatically.
The impact of failover on temporary adhoc chat messages depends on the particular client application. On Cisco Unified Personal Communicator, any adhoc chat windows that were open before failover should display again after the failover is complete. However, if all of the users in a chat room automatically exit the chat room as part of a failover or fallback process, or if the adhoc chat room is hosted on a failed node, the adhoc chat windows will not display again after failover and a message is displayed explaining that the chat room was deleted. On all clients, any persistent chat rooms that users create on the failed node cannot be accessed again until recovery.
If Cisco Unified Personal Communicator is operating in softphone mode (the user is on a voice call) during failover, the voice call is not disconnected.
Automatic failover detection
IM and Presence uses these methods to automatically detect if a node
fails:
Peer Heartbeat - In a subcluster, each node sends heartbeat
intervals to the other node to check if the node is up and running. If a node
detects a loss of heartbeat in the peer node, the node initiates a failover.
You can configure the heartbeat interval and the heartbeat timeout from the
Service Parameters page on
Cisco Unified CM IM and Presence Administration interface.
Monitor Critical Services - Each node monitors a list of
critical services. If the node detects that any critical service is not running
for a configurable outage period (ninety seconds is the default value), it
instructs the peer node to initiate a failover. You can configure this critical
service delay from the Service Parameters page on
Cisco Unified CM IM and Presence Administration interface. These are the list of critical
services that the node monitors:
Cisco DB (internal IDS database)
Cisco Presence Engine (if you activate this service)
Cisco XCP Router
Cisco Message Archiver (if you integrate
IM and Presence with a third-party off-board database, and you
activate this service)
Cisco SIP Proxy (if you configure SIP federation or you enable
Partitioned Intradomain Federation and you activate this service)
Cisco XCP SIP Federation Connection Manager (if you
configure SIP federation, or enable Partitioned Intradomain Federation, and you activate this service)
Cisco Presence Datastore
Cisco Route Datastore (if you configure SIP federation or you enable
Partitioned Intradomain Federation and you activate this service)
You can view the critical services that
IM and Presence monitors for failover on the node details screen on the
Cluster Topology interface. The critical services that
IM and Presence monitors are marked in the
"Monitored" column in the services list.
Note
IM and Presence
only detects a failover if a critical service is not running for the duration
of the outage period. It does not detect a failover in the case where one or
more critical services are not running during the outage period, but not for
the duration of the outage period, for example, a rolling outage. In this case,
IM and Presence generates alarms indicating that services are starting and
stopping, and you can perform a manual failover on
IM and Presence.
If you manually stop a critical service, and the service is
stopped for longer than the permitted outage period, failover will occur.
Prior to
Release 8.6, if
IM and Presence detects the situation where both nodes in the subcluster
think they own the same user, both nodes go into a failed state, and you need
to perform a manual recovery from the Cluster Topology interface. In
IM and Presence Release 9.0(1) and later, manual recovery is not required. When the
network issue is resolved, auto-recovery occurs without administrator
intervention.
If manual recovery is required for another reason, you may
experience IDS replication delays.
To check the status of the IDS replication on a node either:
Use this CLI command:
utils dbreplication runtimestate
Use the Cisco Unified IM and Presence Reporting Tool. The
"IM and Presence Database Status" report displays a detailed
status of the cluster.
IM and Presence supports automatic fallback to the primary node after a failover. Automatic fallback is the process of moving users back to the primary node after a failover without manual intervention. You can enable automatic fallback with the Enable Automatic Fallback service parameter on the Cisco Unified CM IM and Presence Administration interface.
Automatic fallback occurs in the following scenarios:
A critical service on Node A fails—A critical service (for example, the Presence Engine) fails on Node A. Automatic failover occurs and all users are moved to Node B. Node A is in a state called "Failed Over with Critical Services Not Running." When the critical service recovers, the node state changes to "Failed Over." When this occurs Node B tracks the health of Node A for 30 minutes. If no heartbeat is missed in this timeframe and the state of each node remains unchanged, automatic fallback occurs.
Node A is rebooted—Automatic failover occurs and all users are moved to Node B. When Node A returns to a healthy state and remains in that state for 30 minutes automatic fallback will occur.
Node A loses communications with Node B—Automatic failover occurs and all users are moved to Node B. When communications are re-established and remain unchanged for 30 minutes automatic fallback will occur.
If failover occurs for a reason other than one of the three scenarios listed here, you must recover the node manually. If you do not want to wait 10 minutes before the automatic fallback, you can perform a manual fallback to the primary node.
Cisco Server Recovery Manager (SRM)
The Cisco Server Recovery Manager (SRM) on IM and Presence manages the failover between nodes in a subcluster. The Cisco Server Recovery Manager manages all state changes in a node; state changes are either automatic or initiated by the administrator (manual).
After you turn on High Availability in a subcluster, the Cisco Server Recovery Manager on each node establishes heartbeat connections with the peer node, and begins to monitor the critical processes.
The SRM is responsible for the user move operations after it detects that failover has occurred. It is the SRM on the peer node, not on the failed node, that performs the user move operation. For example, if node A fails, the SRM on node B performs the user move operation. The SRM throttles the number of users moved to the peer node, it moves the users in batches or iterations. You can configure the number of users that the SRM moves per iteration (the default value is 25). On failover, the SRM will move users that are signed in first, and then move users that are not signed in. Note that if you initiate a fallback or if an automatic fallback occurs, users that are not signed in are moved first, and then users that are signed in.
If the SRM is not turned on, it does not monitor any critical processes, nor does it monitor the heartbeat connections with the peer node.
Caution
Before you turn on High Availability in a subcluster, you must configure the SRM service parameters to properly reflect your deployment, see High Availability client login profiles.
From the Cluster Topology interface, you can perform the following procedures:
Initiate a manual failover for a subcluster. When you initiate a manual failover, the Cisco Server Recovery Manager stops the critical services on the failed node, and moves all users to the backup node.
Initiate a manual fallback from the Cluster Topology interface, where the Cisco Server Recovery Manager restarts critical services on the primary node and moves users back to the primary node.
Perform a manual recovery for a subcluster (when both nodes in the subcluster are in a failed state). When you perform a manual recovery, IM and Presence restarts the Cisco Server Recovery Manager service on both nodes in the subcluster.
Important note about High Availability and intercluster deployments
When failover occurs, the Intercluster Sync Agent is responsible for communicating the user move information to other clusters. The Intercluster Sync Agent runs on both the publisher and subscriber nodes in a cluster. In an Active-Standby configuration, if the publisher node fails or the Intercluster Sync Agent on the publisher node fails, the Intercluster Sync Agent on the subscriber node becomes Active and resumes synchronization, meaning the other clusters will continue to receive the information that users have moved to a different node. Intercluster presence and IM continue to work. Users that have failed over will receive availability information for remote users. Remote users continue to receive availability information and IMs from users that have failed over, and all IMs they send to a failed over user are delivered. When the publisher node recovers, the publisher falls back to Active mode and the subscriber returns to Standby mode.
Node state definitions
The following table describes the different node states, and associated reasons. You can view the state of an existing node by either viewing the node details or the subcluster details on the Cluster Topology interface.
Note
These fields are only displayed on the Cluster Topology interface if you turn on High Availability in a subcluster.
State
Description
Initializing
This is the initial (transition) state when the Cisco Server Recovery Manager service starts; it is a temporary state.
Idle
IM and Presence is in Idle state when failover occurs and services are stopped. In Idle state, the IM and Presence node does not provide any availability or Instant Messaging services. In Idle state, you can manually initiate a fallback to this node from the Cluster Topology interface.
Normal
This is a stable state. The IM and Presence node is operating normally. In this state, you can manually initiate a failover to this node from the Cluster Topology interface.
Running in Backup Mode
This is a stable state. The IM and Presence node is acting as the backup for its peer node. Users have moved to this (backup) node.
Taking Over
This is a transition state. The IM and Presence node is taking over for its peer node.
Failing Over
This is a transition state. The IM and Presence node is being taken over by its peer node.
Failed Over
This is a stable state. The IM and Presence node has failed over, but no critical services are down. In this state, you can manually initiate a fallback to this node from the Cluster Topology interface.
Failed Over with Critical Services Not Running
This is a stable state. Some of the critical services on the IM and Presence node have either stopped or failed.
Falling Back
This is a transition state. The system is falling back to this IM and Presence node from the node running in Backup Mode.
Taking Back
This is a transition state. The failed IM and Presence node is taking back over from its peer.
Running in Failed Mode
An error occurs during the transition states or Running in Backup Mode state.
The following table describes the node states, reasons,
causes, and recommended actions for failed states.
Table 1 Node High Availability states, causes and recommended
actions
Node 1
Node 2
State
Reason
State
Reason
Cause/Recommended Actions
Normal
Normal
Normal
Normal
High Availability is running on both nodes in the
subcluster.
Subcluster is running normally (it is in non
failover mode). The critical services on both nodes in the subcluster are
running.
Failing Over
On Admin Request
Taking Over
On Admin Request
The administrator initiates a manual failover from
node 1 to node 2. The manual failover is in progress.
Idle
On Admin Request
Running in Backup Mode
On Admin Request
The manual failover from node 1 to node 2 (initiated
by the administrator) is complete.
Taking Back
On Admin Request
Falling Back
On Admin Request
The administrator initiates a manual fallback from
node 2 to node 1. The manual fallback is in progress.
Idle
Initialization
Running in Backup Mode
On Admin Request
The administrator restarts the SRM service on node 1
while node 1 is in Idle state.
Idle
Initialization
Running in Backup Mode
Initialization
The administrator restarts both nodes in the
subcluster, or restarts the SRM service on both nodes in the subcluster, while
the subcluster was in manual failover mode (failover initiated by the
administrator).
Idle
On Admin Request
Running in Backup Mode
Initialization
The administrator restarts the SRM service on node 2
while node 2 is running in backup mode, but before the heartbeat on node 1 times
out.
Failing Over
On Admin Request
Taking Over
Initialization
The administrator restarts the SRM service on node 2
while node 2 is taking over, but before the heartbeat on node1 times out.
Taking Back
Initialization
Falling Back
On Admin Request
The administrator restarts the SRM service on node 1
while taking back, but before the heartbeat on node 2 times out. After the
taking back process is complete, both nodes are in Normal state.
Taking Back
Automatic Fallback
Falling Back
Automatic Fallback
Automatic Fallback has been initiated from node 2 to node 1 and is currently in progress.
Failed Over
Initialization or Critical Services Down
Running in Backup Mode
Critical Service Down
Node 1 transitions to Failed Over state when:
Critical service(s) come back up due to reboot of node 1,
or
The administrator starts critical service(s) on node 1
while node 1 is in "Failed Over with Critical Services Not Running" state
When node 1 transitions to Failed Over state the
node is ready for the administrator to perform a manual fallback to restore the
nodes in the subcluster to Normal state.
Failed Over with Critical Services not Running
Critical Service Down
Running in Backup Mode
Critical Service Down
A critical service is down on node 1.
IM and Presence performs an automatic failover to node 2.
Recommended Actions:
Check what critical services are down on node 1, and try to
start these services manually.
If the critical services on node 1 do not start, reboot
node 1.
After the reboot and when all the critical services are
running, perform a manual fallback to restore the nodes in the subcluster to
Normal state.
Failed Over with Critical Services not Running
Database Failure
Running in Backup Mode
Database Failure
A database service is down on node 1.
IM and Presence performs an automatic failover to node 2.
Recommended Actions:
Reboot Node 1.
After the reboot and when all the critical services are
running, perform a manual fallback to restore the nodes in the subcluster to
Normal state.
Running in Failed Mode
Start of Critical Services Failed
Running in Failed Mode
Start of Critical Services Failed
Critical services fail to start while a node in
subcluster is taking back from the other node.
Recommended Actions: (on the node that is
taking back)
Check what critical services are down on the node. To
start these services manually, select
Recovery on the subcluster details screen.
If the critical services do not start, reboot the node.
After the reboot and when all the critical services are
running, perform a manual fallback to restore the nodes in the subcluster to
Normal state.
Running in Failed Mode
Critical Service Down
Running in Failed Mode
Critical Service Down
Critical services go down while a node in subcluster
is running in backup mode for the other node.
Recommended Actions:
Check what critical services are down on backup node. To
start these services manually, select
Recovery on the subcluster details screen.
If the critical services do not start, reboot the
subcluster.
Node 1 is down due to loss of network connectivity or
the SRM service is not running.
Running in Backup Mode
Peer Down
Node 2 has lost its heartbeat with node 1.
IM and Presence performs an automatic failover to node 2.
Recommended Action:
(If node 1 is up)
Check and repair the network connectivity between nodes in
the subcluster. When you reestablish the network connection between the nodes,
the node may go into a failed state. Select
Recovery on the subcluster details screen to restore
the nodes in the subcluster to Normal state.
Start the SRM service, and perform manual fallback to
restore the nodes in the subcluster to Normal state.
(If the node is down)
Repair/Power up node 1.
When node is up and all critical services are running,
perform manual fallback to restore the nodes in the subcluster to Normal state.
Node 1 is down (due to possible power down, hardware
failure, shutdown, reboot)
Running in Backup Mode
Peer Reboot
IM and Presence performs an automatic failover
to node 2 due to possible hardware failure/power down/restart /shutdown of
Node 1.
Recommended Action:
Repair/Power up node 1.
When node is up and all critical services are running,
perform manual fallback to restore the nodes in the subcluster to Normal state.
Failed Over with Critical Services not Running OR
Failed Over
Initialization
Backup Mode
Peer Down During Initialization
Node 2 does not see Node 1 during startup.
Recommended Action:
When node1 is up and all critical services are
running, perform manual fallback to restore the nodes in the subcluster to
Normal state.
Running in Failed Mode
Cisco Server Recovery Manager Take Over Users
Failed
Running in Failed Mode
Cisco Server Recovery Manager Take Over Users
Failed
User move fails during taking over process.
Recommended Action:
Possible database error. Select
Recovery on the subcluster details screen. If that
doesn't resolve the issue, reboot the subcluster.
Running in Failed Mode
Cisco Server Recovery Manager Take Back Users
Failed
Running in Failed Mode
Cisco Server Recovery Manager Take Back Users
Failed
User move fails during falling back process.
Recommended Action:
Possible database error. Select
Recovery on the subcluster details screen. If that
doesn't resolve the issue, reboot the subcluster.
Running in Failed Mode
Unknown
Running in Failed Mode
Unknown
The SRM on a node restarts while the SRM on the
other node is in a failed state, or an internal system error occurs.
Recommended Action:
Select
Recovery on the subcluster details screen. If that does
not resolve the issue, reboot the subcluster.
Backup Activated
Auto Recover Database Failure
Failover Affected Services
Auto Recovery Database Failure.
The Database goes down on the backup node. The peer
node is in failover mode and can take over for all users in the subcluster.
Auto-recovery operation automatically occurs and all users are moved over to
the primary node.
Backup Activated
Auto Recover Database Failure
Failover Affected Services
Auto Recover Critical Service Down
A critical service goes down on the backup node. The
peer node is in failover mode and can take over for all users in the
subcluster. Auto-recovery operation automatically occurs and all users are
moved over to the peer node.
Before you turn on High Availability in a subcluster, you must
configure the SRM service parameters to properly reflect your deployment, see
High Availability client login profiles.
You have to manually turn on High Availability in a
subcluster;
IM and Presence does not turn on High Availability in a subcluster by
default. You can turn on High Availability in a subcluster when:
there are two nodes in the
subcluster, and
both nodes have IP
addresses that are resolvable addresses, and
both nodes are running
IM and Presence Release 9.0 or higher.
You can either assign users to the nodes in the subcluster
before or after you turn on High Availability for the subcluster.
Before You Begin
Configure the subclusters
and nodes in your network, and assign nodes to the subclusters.
Make sure critical
services are running on both nodes in the subcluster before you turn on high-
availability in a subcluster. If one or more critical services are not running
on a node, when you turn on High Availability, that node will failover to the
backup node. When one or more critical services are not running on one node in
a subcluster, but all critical services are running on the second node, the
subcluster will go into a failed state after you turn on High Availability.
Restriction
You can only turn on High Availability in a subcluster when
there are two nodes assigned to that subcluster. The High Availability checkbox
does not display when there are no nodes, or one node, assigned to the
subcluster.
Procedure
Step 1
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 2
Select the
edit link on the appropriate subcluster.
Step 3
Check
Enable High Availability.
Note
To turn off High Availability for the sublcluster, uncheck
Enable High Availability.
Step 4
Select
Save.
IM and Presence displays the following information about High
Availability for the subcluster
Field
Description
Monitored Node
The node in the subcluster that
IM and Presence is monitoring for failover
detection.
The action you can take to change the state of
the node:
Fallback - This option is
displayed for nodes that are in Idle or Failed Over states. Select to manually
initiate a fallback to this node.
Failover - This option is
displayed for nodes that are in Normal state. Select to manually initiate a
failover to this node.
Recovery - This option is
displayed if both nodes in the subcluster are in a failed state. Select to
manually initiate a recovery of the subcluster where
IM and Presence restarts the SRM service on both
nodes.
Troubleshooting Tips
When you turn on High Availability in a subcluster,
IM and Presence restarts the Cisco Service Recovery Manager
service and it begins to monitor for failover detection. To verify this service
is running, select
Cisco Unified
IM and Presence Serviceability > Tools > Control Center
- Network Services.
You can turn off High Availability in a subcluster, so the two
nodes in the subcluster act as standalone nodes. You can only turn off High
Availability when the nodes in the subcluster are not in a transition state
(Failing Over, Falling Back). If you turn off High Availability in a subcluster
when either node is in a failed over scenario (Failed Over, Failed), users that
IM and Presence fails over to the backup node are homed to the
backup node.
IM and Presence will not move these users back to the primary node,
they remain on the backup node.
The System Troubleshooter indicates if there are any two node
subclusters without High Availability turned on. Select
Cisco Unified CM IM and Presence
Administration > Diagnostics > System
Troubleshooter.
Configure advanced service parameters for Server Recovery Manager
Procedure
Step 1
Cisco Unified CM IM and Presence
Administration > System > Service
Parameters.
Step 2
Select an
IM and Presence server from the Server menu.
Step 3
Select Cisco Server Recovery Manager from the Service menu.
Step 4
Configure these service parameters:
Parameter
Description
Additional Information
Service Port
This parameter specifies the port that Cisco
Server Recovery Manager uses to communicate with its peer.
If you modify this parameter,
IM and Presence restarts the Cisco Server
Recovery Manager on all nodes in the cluster.
Admin RPC Port
This parameter specifies the port that Cisco
Server Recovery Manager uses to provide admin RPC requests.
If you modify this parameter,
IM and Presence restarts the Cisco Server
Recovery Manager on all nodes in the cluster.
Critical Service Down Delay
This parameter determines the duration a
critical service can be down before
IM and Presence initiates an automatic failover.
If you change this value, this affects how
long a critical service can be down before
IM and Presence initiates an automatic failover.
Enable Automatic Fallback
This parameter turns automatic fallback on or off on IM and Presence.
This parameter is off by default.
Initialization Keep Alive (Heartbeat) Timeout
This parameter specifies the duration that the
heartbeat is lost with the peer node (SRM) when the peer SRM restarts and is in
the initialization state.
We recommend that you configure this value to
at least twice the value of the Keep Alive (Heartbeat) Timeout in order to
avoid unnecessary failovers.
Keep Alive (Heartbeat) Timeout
This parameter specifies the duration that the
heartbeat is lost with the peer node (SRM) before
IM and Presence initiates an automatic failover.
We recommend that you configure this value to
at least twice the value of KeepAliveInterval value. If this value is too close
to the KeepAliveInterval value, this can cause a failover to occur.
Keep Alive (Heart Beat) Interval
This parameter specifies the interval between
keep alive (heartbeat) messages sent to the peer node.
N/A
Users Moved Per Iteration
This parameter specifies the number of users
that
IM and Presence moves for each iteration when it
performs a failover or a fallback. There is a delay of one second between each
iteration.
Increasing this value will shorten the
failover time at the expense of CPU. Lowering the value will lengthen failover
time, but have less impact on the CPU.
This parameter specifies the minimum number of
seconds which
Cisco Unified Personal Communicator will wait before attempting to re-login to this
IM and Presence server. This waiting time occurs
due to the failure of a node or a critical service on a node.
Note
This parameter is per node.
This parameter only applies to
Cisco Unified Personal Communicator Release 8.5 or higher 8.x releases.
This parameter specifies the maximum number of
seconds which
Cisco Unified Personal Communicator will wait before attempting to re-login to this
IM and Presence server. This waiting time occurs
due to the failure of a node or a critical service on a node.
Note
This parameter is per node.
This parameter only applies to
Cisco Unified Personal Communicator Release 8.5 or higher 8.x releases.
You can perform a manual failover to the backup node in the
subcluster using the Cluster Topology interface. When you initiate a manual
failover, the
Cisco Server Recovery Manager stops the critical services on that node, and moves all users
to the backup node.
The
Cisco Server Recovery Manager stops the following critical services on the node:
Cisco SIP Proxy
Cisco Presence Engine
Cisco XCP Router (this
causes all XCP processes to stop)
Cisco Client Profile
Agent
The
Cisco Server Recovery Manager then move all users to the backup node
Restriction
You can only initiate a failover for a node that is in
"Normal" state.
Before You Begin
Make sure that these services are running on the Failing
Over node:
Cisco XCP Connection
Manager service
Cisco XCP Router
Cisco Presence Engine
Procedure
Step 1
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 2
Select the edit link on the appropriate
subcluster.
Step 3
Select
Failover in the Node Action column.
Step 4
Select
Ok to confirm the failover operation.
Step 5
To verify the failover operation is complete and successful:
When the failover operation is in progress, the primary node
should be in the
"Failing Over" state, and the backup node should be in the
"Taking Over" state. When the failover operation is
complete, check that the backup node is in the state
"Running in Backup Mode", and the primary node is in
"Idle" state. If the failover is unsuccessful, and the nodes
are in a failed state.
Check that the users have failed over to the backup node:
On the subcluster details screen, check that all users are
now assigned to the backup node, and no users are assigned to the primary node.
On the node details screen, the
"Failed Over" column indicates the users that have
failed over to the backup node.
You can perform a manual fallback to the primary node in the
Cluster Topology interface. When you initiate a manual fallback, the
Cisco Server Recovery Manager restarts any critical services that are not already running
on the primary node, and moves the failed over users back to the primary node.
When you manually initiate a fallback, the
Cisco Server Recovery Manager restarts the following services on the primary node (if they
are not already running):
Cisco SIP Proxy
Cisco Presence Engine
Cisco XCP Router
Any XCP services that were
activated
Cisco Client Profile
Agent
The
Cisco Server Recovery Manager then moves all failed over users back to the primary node.
Restriction
You can only initiate fallback for a node that is in ‘Idle’
or ‘Failed Over’ state.
Procedure
Step 1
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 2
Select the
edit link on the appropriate subcluster.
Step 3
Select
Fallback in the Node Action column.
Step 4
Select
Ok to confirm the fallback operation.
Step 5
To verify the fallback operation is complete and successful:
When fallback operation is in progress, the primary node
should be in the
"Taking Back" state, and the backup node should be in the
"Falling Back" state. When the fallback operation is
complete, check that both nodes are in ‘Normal’ state. If the fallback is
unsuccessful, and the nodes are in a failed state.
Check that the users have fallen back to the primary node.
On the subcluster details screen, check that all users are
now assigned to the primary node, and no users are assigned to the backup node.
On the node details screen, the
"Failed Over" column should be empty.
When you perform a manual recovery of a subcluster,
IM and Presence restarts the
Cisco Server Recovery Manager service on both nodes in the subcluster.
Restriction
You can only initiate a recovery for a subcluster if both
nodes are in a failed state.
Procedure
Step 1
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 2
Select the
edit link on the appropriate subcluster.
Step 3
Select
Recovery in the Node Action column.
Step 4
Verify the status of the subcluster after you perform the manual
recovery.
Troubleshooting Tips
In prior releases, if two nodes in the subcluster
think that they own the same user, both nodes will go into a failed state, and
you had to perform a manual recovery from the Cluster Topology interface.
In this release
manual recovery is not required. When the
network issue is resolved, auto-recovery occurs without administrator
intervention.
If manual recovery is required for another reason, you may
experience IDS replication delays. You can check the status of the IDS
replication on a node using this CLI command:
Replace default presence domain after installation
IM and Presence automatically defaults the presence domain for the cluster to the DNS domain specified during IM and Presence installation. If the DNS domain does not align with the enterprise-wide presence domain, you must replace this default value with the enterprise-wide presence domain.
If you are not using DNS in your network and you did not set a DNS domain at install, the presence domain is set to "DOMAIN.NOT.SET" by default. Again, you must replace this default value with the enterprise-wide presence domain.
Note
The presence domain must be identical across all clusters in the enterprise. If not, then intercluster communication will not be possible.
Perform the following steps to configure a new presence domain value for the cluster.
Note
The following procedure only changes the presence domain of the cluster. It does not change the DNS domain associated with any IM and Presence node within that cluster. For instructions on how to change the DNS domain of an IM and Presence node, see IP Address, Domain and Hostname for IM and Presence Service on Cisco Unified Communications Manager.
Procedure
Step 1
Stop the Cisco SIP Proxy, Cisco Presence Engine and Cisco XCP Router services on all IM and Presence nodes in your cluster.
Step 2
Select Cisco Unified CM IM and Presence Administration > System > Cluster Topology.
Step 3
From the left pane, select Settings.
Step 4
In the Domain Name field, enter the new presence domain and select Save.
Step 5
On all nodes in the cluster, manually start the Cisco SIP Proxy, Cisco Presence Engine and Cisco XCP Router services after the reboot is complete (if required).
Follow this procedure if you want to change the presence domain value within a cluster. This procedure is applicable if you have a DNS or non-DNS deployment.
Note
This procedure only changes the presence domain of the cluster. It does not change the DNS domain associated with any IM and Presence node within that cluster. For instructions on how to change the DNS domain of an IM and Presence node, see IP Address, Domain and Hostname for IM and Presence Service on Cisco Unified Communications Manager.
Procedure
Step 1
Stop the Cisco SIP Proxy, Cisco Presence Engine and Cisco XCP Router services on all IM and Presence nodes in your cluster.
Step 2
On the publisher node, perform the following steps to configure the new domain value:
Select Cisco Unified CM IM and Presence Administration > System > Cluster Topology.
From the left pane, select Settings.
In the Domain Name field, enter the new presence domain and select Save.
Step 3
On all nodes in the cluster, manually start the Cisco SIP Proxy, Cisco Presence Engine and Cisco XCP Router services after the reboot is complete (if required).
MDNS is the default mechanism for establishing the XCP route fabric on IM and Presence; the network automatically establishes router-to-router connections between all IM and Presence nodes in a cluster. A requirement for MDNS routing is that all nodes in the cluster are in the same multicast domain. We recommend MDNS routing because it can seamlessly support new XCP routers joining the XCP route fabric.
If you select MDNS as the routing communication, you must have multicast DNS enabled in your network. In some networks multicast is enabled by default, or enabled in a certain area of the network, for example, in an area that contains the nodes that form the cluster. In these networks, you do not need to perform any additional configuration in your network to use MDNS routing. When multicast DNS is disabled in the network, MDNS packets cannot reach the other nodes in a cluster. If multicast DNS is disabled in your network, you must perform a configuration change to your network equipment to use MDNS routing.
Alternatively, you can select router-to-router communication for your deployment. In this case, IM and Presence dynamically configures all router-to-router connections between nodes in a cluster. Select this routing configuration type if all the nodes in your cluster are not in the same multicast domain. Note that when you select router-to-router communication:
Your deployment will incur the additional performance overhead while IM and Presence establishes the XCP route fabric.
You do not need to restart the Cisco XCP Router on all nodes in your deployment when you add a new node.
If you delete or remove a node, you must restart the Cisco XCP Router on all nodes in your deployment.
At installation, the system assigns a unique cluster ID to
the
IM and Presence publisher node. The systems distributes the cluster ID so
that all nodes in your cluster share the same cluster ID value. The nodes in
the cluster use the cluster ID to identify other nodes in the multicast domain
using MDNS. A requirement for MDNS routing is that the cluster ID value is
unique to prevent nodes in one standalone
IM and Presence cluster from establishing router-to-router connections with
nodes in another standalone cluster. Standalone clusters should only
communicate over intercluster peer connections.
Select
Cisco Unified CM IM and Presence Administration > Presence > Settings
to view or configure the cluster ID value for a cluster. If you change the
cluster ID value, make sure that the value remains unique to your
IM and Presence deployment.
Note
If you deploy the Chat feature,
IM and Presence uses the cluster ID value to define chat server aliases.
There are certain configuration scenarios that may require you to change the
cluster ID value. See the Group Chat module for details.
To allow the nodes in a cluster to route messages to each
other, you must configure the routing communication type. This setting
determines the mechanism for establishing router connections between nodes in a
cluster. Configure the routing communication type on the publisher node, and
IM and Presence applies this routing configuration to all nodes in the
cluster.
For single node
IM and Presence deployments, we recommend that you leave the routing
communication type at the default setting.
Caution
You must configure the routing communication type before you
complete your cluster configuration and start to accept user traffic into your
IM and Presence deployment.
Before You Begin
If you want to use MDNS
routing, confirm that MDNS is enabled in your network.
If you want to use
router-to-router communication, and DNS is not available in your network, for
each node you must configure the IP address as the node name in the cluster
topology. to edit the node name, select
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology, and click the edit link on a node. Perform
this configuration after you install
IM and Presence, and before you restart the Cisco XCP Router on all
nodes.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 2
In the right pane, select
Settings.
Step 3
Select one of these Routing Communication Types from the menu:
Multicast DNS
(MDNS)- Select Multicast DNS communication if the nodes in your cluster are
in the same multicast domain. Multicast DNS communication is enabled by default
on
IM and Presence.
Router to
Router - Select Router-to-Router communication if the nodes in your cluster
are not in the same multicast domain.
Step 4
Select
Save.
Step 5
Restart the Cisco XCP Router service on all nodes in your
deployment.
At installation, the system assigns a default unique cluster
ID to the
IM and Presence publisher node. If you configure multiple nodes in the
cluster, the systems distributes the cluster ID so that each node in your
cluster shares the same cluster ID value.
We recommend that you leave the cluster ID value at the
default setting. If you do change the cluster ID value, note the following:
If you select MDNS
routing, all nodes must have the same cluster ID to allow them to identify
other nodes in the multicast domain.
If you are deploying the
Group Chat feature,
IM and Presence uses the cluster ID value for chat server alias mappings,
and there are certain configuration scenarios that may require you to change
the cluster ID value. See the Group Chat module for details.
If you change the default Cluster ID value, you only need to
make this change on the publisher node, and the system replicates the new
Cluster ID value to the other nodes in the cluster.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > System > Cluster
Topology.
Step 2
In the right pane, select
Settings.
Step 3
View or edit the Cluster ID value.
Note
By default,
IM and Presence assigns the cluster ID value
"StandaloneCluster" to a cluster.
Step 4
Select
Save.
Troubleshooting Tip
IM and Presence does not permit the underscore character
(_) in the Cluster ID value. Ensure the Cluster ID value does not
contain this character.
This procedure is only applicable if you are configuring a
multi-node deployment. Configure the cluster-wide
IM and Presence address on the publisher node, and
IM and Presence will replicate the address on all nodes in the cluster.
Note
When you configure a cluster-wide
IM and Presence address, set the port of SRV to 5060.
Before You Begin
Read the cluster-wide DNS SRV topic.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > System > Service
Parameters.
Step 2
Select the
IM and Presence server from the Server menu.
Step 3
Select
Cisco SIP Proxy from the Service menu.
Step 4
Edit the
SRV Cluster Name field in the General Proxy
Parameters (Clusterwide) section.
Specify DNS domain associated with Cisco Unified Communications Manager cluster
Note
This procedure is required only if the DNS domain of the IM and Presence publisher node differs from that of the Cisco Unified Communications Manager servers.
IM and Presence maintains Access Control List (ACL) entries for all Cisco Unified Communications Manager servers within the cluster. This enables seamless sharing of Availability between the servers. These ACL entries are FQDN based and are generated by appending the Cisco Unified Communications Manager hostname to the DNS domain of the IM and Presence publisher node.
If the DNS domain of the IM and Presence publisher node differs from that of the Cisco Unified Communications Manager servers, then invalid ACL entries will be added. To avoid this, you must perform the following procedure from the Cisco Unified CM IM and Presence Administration GUI of the IM and Presence publisher node.
Procedure
Step 1
Select Cisco Unified CM IM and Presence Administration > System > Service Parameters.
Step 2
From the Server drop-down list, select the IM and Presence server.
Step 3
From the Service drop-down list, select Cisco SIP Proxy.
Step 4
Edit the CUCM Domain field in the General Proxy Parameters (Clusterwide) section to match the DNS domain of the Cisco Unified Communications Manager servers.
By default this parameter is set to the DNS domain of the IM and Presence publisher node.
Configure throttling rate for availability state change messages
To prevent an overload of the on
IM and Presence, you can configure the rate of availability (presence)
changes sent to the Cisco XCP Router in messages per second. When you
configure this value,
IM and Presence throttles the rate of availability (presence) changes back
to meet the configured value.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > System > Service
Parameters.
Step 2
Select the
IM and Presence server from the Server menu.
Step 3
Select
Cisco Presence Engine
from the Service menu.
Step 4
In the Clusterwide Parameters section, edit the
Presence Change Throttle Rate parameter. This
parameter defines the number of presence updates per second.
Step 5
Select
Save.
Static route configuration on IM and Presence
If you configure a static route for SIP proxy server traffic, consider the following:
A dynamic route represents a path through the network that is automatically calculated according to routing protocols and routing update messages.
A static route represents a fixed path that you explicitly configure through the network.
Static routes take precedence over dynamic routes.
You must define a route embed template for any static route
pattern that contains embedded wildcards. The route embed template contains
information about the leading digits, the digit length, and location of the
embedded wildcards. Before you define a route embed template, consider the
sample templates we provide below.
When you define a route embed template, the characters that
follow the
"." must match actual telephony digits in the static route. In the
sample route embed templates below, we represent these characters with
"x".
Sample Route Embed Template A
Route embed template:
74..78xxxxx*
With this template,
IM and Presence will enable this set of static routes with embedded
wildcards:
Destination Pattern
Next Hop Destination
74..7812345*
1.2.3.4:5060
74..7867890*
5.6.7.8.9:5060
74..7811993*
10.10.11.37:5060
With this template,
IM and Presence will NOT enable these static route entries:
73..7812345* (The initial string is not ‘74’ as the template
defines)
74..781* (The destination pattern digit length does not match the
template)
74…7812345* (The number of wildcards does not match the template)
Sample Route Embed Template B
Route embed template:
471….xx*
With this template,
IM and Presence will enable this set of static routes with embedded
wildcards:
Destination Pattern
Next Hop Destination
471….34*
20.20.21.22
471…55*
21.21.55.79
With this template,
IM and Presence will NOT enable these static route entries:
47…344* (The initial string is not ‘471’ as the template defines)
471…4* (The string length does not match template)
471.450* (The number of wildcards does not match template)
Configure route embed templates on IM and Presence
You can define up to five route embed templates. However,
there is no limit to the number of static routes that you can define for any
route embed template.
A static route that contains an embedded wildcard must
match at least one of the route embed templates.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > System > Service
Parameters.
Step 2
Select a
IM and Presence server.
Step 3
Select the Cisco SIP Proxy service.
Step 4
Define a route embed templates in the RouteEmbedTemplate field in
the Routing Parameters (Clusterwide) section. You can define up to five route
embed templates.
Select
Cisco Unified CM IM and Presence
Administration > Routing > Static
Routes.
Step 2
Select
Add New.
Step 3
Configure these static route settings:
Field
Description
Destination Pattern
This field specifies the pattern of the
incoming number, up to a maximum of 255 characters.
The SIP proxy allows only 100 static routes
to have an identical route pattern. If you exceed this limit,
IM and Presence logs an error.
Wildcard Usage
You can use
"." as a wildcard for a single character and
"*" as a wildcard for multiple characters.
IM and Presence supports embedded '.' wildcard
characters in static routes. However, you must define route embed templates for
static routes that contain embedded wildcards. Any static route that contains
an embedded wildcard must match at least one route embed template. See the
route embed template topic (referenced in the Related Topics section below) for
information about defining route embed templates.
For phones:
A dot can
exist at the end of the pattern, or embedded in a pattern. If you embed the dot
in a pattern, you must create a route embed template to match the pattern.
An asterisk
can only exist at the end of the pattern.
For IP addresses and host names:
You can use
an asterisk as part of the a host name.
The dot acts
as a literal value in a host name.
An escaped asterisk sequence, \*, matches a
literal * and can exist anywhere.
Description
Specifies the description of a particular
static route, up to a maximum of 255 characters.
Next Hop
Specifies the domain name or IP address of
the destination (next hop) and can be either a Fully Qualified Domain Name
(FQDN) or dotted IP address.
IM and Presence supports DNS SRV-based call
routing. To specify DNS SRV as the next hop for a static route, set this
parameter to the DNS SRV name.
Next Hop Port
Specifies the port number of the destination
(next hop). The default port is 5060.
IM and Presence supports DNS SRV-based call
routing. To specify DNS SRV as the next hop for a static route, set the next
hop port parameter to 0.
Route Type
Specifies the route type: User or Domain. The
default value is user.
For example, in the SIP URI
"sip:19194762030@myhost.com" request, the user part
is
"19194762030", and the host part is
"myhost.com". If you select User as the route type,
IM and Presence uses the user-part value
"19194762030" for routing SIP traffic. If you select
the Domain as the route type,
IM and Presence uses
"myhost.com" for routing SIP traffic.
Protocol Type
Specifies the protocol type for this route,
TCP, UDP, or TLS. The default value is TCP.
Priority
Specifies the route priority level. Lower
values indicate higher priority. The default value is 1.
Value range: 1-65535
Weight
Specifies the route weight. Use this
parameter only if two or more routes have the same priority. Higher values
indicate which route has the higher priority.
Value range: 1-65535
Example: Consider these three routes
with associated priorities and weights:
1, 20
1, 10
2, 50
In this example, the static routes are listed
in the correct order. The priority route is based on the lowest value priority,
that is 1. Given that two routes share the same priority, the weight parameter
with the highest value decides the priority route. In this example,
IM and Presence directs SIP traffic to both
routes configured with a priority value of 1, and distributes the traffic
according to weight; The route with a weight of 20 receives twice as much
traffic as the route with a weight of 10. Note that in this example,
IM and Presence will only attempt to use the
route with priority 2, if it has tried both priority 1 routes and both failed.
Allow Less-Specific Route
Specifies that the route can be less
specific. The default setting is On.
In Service
Specifies whether this route has been taken
out of service.
This parameter allows the administrator to
effectively take a route out of service (versus removing it completely and
re-adding it).
Block Route Check Box
Check to block the static route. The default
setting is Unblocked.
You must configure Cisco Unified Communications Manager as a Presence Gateway on IM and Presence to enable the SIP connection that handles the availability information exchange between Cisco Unified Communications Manager and IM and Presence.
When configuring the Presence Gateway, specify the FQDN (Fully Qualified Domain Name) or the IP address of the associated Cisco Unified Communications Manager server. Depending on your network this value can be one of the following:
the FQDN address of the Cisco Unified Communications Manager publisher
a DNS SRV FQDN that resolves to the Cisco Unified Communications Manager subscriber nodes
the IP address of the Cisco Unified Communications Manager publisher
If DNS SRV is an option in your network, configure the following:
Configure the Presence Gateway on the IM and Presence server with a DNS SRV FQDN of the Cisco Unified Communications Manager subscriber nodes (equally weighted). This will enable IM and Presence to share availability messages equally among all the servers used for availability information exchange.
On Cisco Unified Communications Manager, configure the SIP trunk for the IM and Presence server with a DNS SRV FQDN of the IM and Presence publisher and subscriber.
If DNS SRV is not an option in your network, and you are using the IP address of the associated Cisco Unified Communications Manager server, you cannot share presence messaging traffic equally across multiple subscriber nodes because the IP address points to a single subscriber node.
Read the Presence Gateway
configuration options topic.
Depending on your
configuration requirements, obtain the FQDN, DNS SRV FQDN, or the IP address of
the associated
Cisco Unified Communications Manager server.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Gateways.
Step 2
Select
Add New.
Step 3
Select
CUCM for the Presence Gateway Type.
Step 4
Enter a description of the presence gateway in the Description
field.
Step 5
Specify the FQDN, DNS SRV FQDN, or the IP address of the
associated
Cisco Unified Communications Manager server in the Presence Gateway field.
IM and Presence authorizes all presence subscription requests that it receives from SIP-based clients in the local enterprise. A local user running a SIP-based client automatically receives the availability status for contacts in the local enterprise, without being prompted to authorize these subscriptions on the client. IM and Presence only prompts the user to authorize the subscription of a contact in the local enterprise if the contact is on the blocked list for the user. This is the default authorization behavior for SIP-based clients on IM and Presence, and you cannot configure this behavior.
In the XMPP network, it is standard behavior for the server to send all presence subscriptions to the client, and the client prompts the user to authorize or reject the subscription. To allow enterprises to deploy IM and Presence with a mix of SIP-based and XMPP-based clients (to align the authorization policy for both client types), Cisco provides the following automatic authorization setting on IM and Presence:
When you turn on automatic authorization, IM and Presence automatically authorizes all presence subscription requests it receives from both XMPP-based clients and SIP-based in the local enterprise. This is the default setting on IM and Presence.
When you turn off automatic authorization, IM and Presence only supports XMPP-based clients. For XMPP-based clients, IM and Presence sends all presence subscriptions to the client, and the client prompts the user to authorize or reject the presence subscription. SIP-based clients will not operate correctly on IM and Presence when you turn off automatic authorization.
Caution
If you turn off automatic authorization, SIP-based clients are not supported. Only XMPP-based clients (Cisco Unified Personal Communicator Release 8.0 and third-party XMPP clients) are supported when you turn off automatic authorization.
In addition to reading the automatic authorization policy,
IM and Presence reads the policy settings for the user to determine how to
handle presence subscription requests. Users configure the policy settings from
either the
Cisco Unified Personal Communicator client and the
Cisco Unified CM IM and Presence User Options interface. A user policy contains the following
configuration options:
- Blocked list - a list of local and external (federated)
users that will always see the availability status of the user as unavailable
regardless of the true status of the user. The user can also block a whole
federated domain.
- Allowed list - a list of local and external users that
the user has approved to see their availability. The user can also allow a
whole external (federated) domain.
- Default policy - the default policy settings for the
user. The user can set the policy to block all users, or allow all users.
On the
Cisco Unified CM IM and Presence User Options interface, the user can also select an
"ask me" setting so that the user is prompted to set their own
Allow/Block policy for external contacts (except those external contacts that a
user explicitly adds to their Allowed/Blocked list).
Note that if you turn off automatic authorization,
IM and Presence automatically authorizes subscription requests a user that
is on the contact list of another user. This applies to users in the same
domain, and users in different domains (federated users). For example:
UserA wishes to subscribe the view the availability status of
UserB. Automatic authorization is off on
IM and Presence, and UserB is not in the Allowed or Blocked list for
the UserA.
IM and Presence sends the presence subscription request to the client
application of UserB, and the client application prompts userB to accept or
reject the subscription.
UserB accepts the presence subscription request, and UserB is
added to the contact list of UserA.
UserA is then automatically added to the contact list for UserB
without being prompted to authorize the presence subscription.
IM and Presence will automatically add UserA to
the contact list of UserB even if the policy for UserB (i) blocks the external
domain, or (ii) the default policy for the user is block all, or (ii)
"ask me" is selected.
If you deploy interdomain federation between a local
IM and Presence enterprise and a supported external enterprise,
IM and Presence does not apply the automatic authorization setting to
presence subscription requests received from external contacts, unless the user
has applied a policy on that external contact or domain. On receipt of a
presence subscription request from an external contact,
IM and Presence will only send the subscription request to the client
application if the user selects
"ask me" to be prompted to set their own Allow/Block policy for
external contacts, and if the external contact or domain is not in either the
Allowed or Blocked list for the user. The client application prompts the user
to authorize or reject the subscription.
Note
IM and Presence uses common user policies for both availability and
instant messages.
See the Online Help topic in the
Cisco Unified CM IM and Presence Administration interface for a definition of all the
parameters on this window.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Settings.
Step 2
Configure the authorization setting as follows:
If You Want To...
Do This
Turn on automatic authorization so that
IM and Presence automatically authorizes all
presence subscription requests it receives from both XMPP-based clients and
SIP-based in the local enterprise.
Check
Allow users to view the availability of other
users without being prompted for approval.
Turn off automatic authorization so that
IM and Presence only supports XMPP-based
clients, and sends all presence subscriptions to the client where the user is
prompted to authorize or reject the presence subscription.
Uncheck
Allow users to view the availability of other
users without being prompted for approval.
The IM and Presence Bulk Administration Tool (BAT) allows you to export the contact lists of users who belong to a particular node or subcluster to a CSV data file. You can then use BAT to import the user contact lists to another node or subcluster in a different cluster. The BAT user contact list export and import features facilitate the moving of users between clusters. For more information about importing user contact lists, see Bulk import of user contact lists.
BAT allows you to find and select the users whose contact lists you want to export. The user contact lists are exported to a CSV file with the following format:
Complete the following procedure to export user contact lists with BAT and download the export file.
Procedure
Step 1
Select Cisco Unified CM IM and Presence Administration > Bulk Administration > Contact List > Export.
Step 2
Use the selection criteria to find the users whose contact lists you want to export. See the Online Help topic in the Cisco Unified CM IM and Presence Administration interface for more information about finding and selecting users.
Step 3
Select Next.
Step 4
In the File Name field, enter a name for the CSV file.
Step 5
Select one of the following:
Select Run Immediately to execute the Bulk Administration job immediately.
Select Run Later to schedule a time to execute the Bulk Administration job. For more information about scheduling jobs in BAT, see the Online Help in Cisco Unified CM IM and Presence Administration.
Step 6
Select Submit. If you selected to run the job immediately, the job runs after you select Submit.
Step 7
To download the export file after the job has run, select Cisco Unified CM IM and Presence Administration > Bulk Administration > Upload/Download Files.
Step 8
Find and select the export file that you want to download.
You can use the
IM and Presence Bulk Assignment Tool (BAT) to import user contact lists into
IM and Presence. With this tool, you can prepopulate contact lists for new
IM and Presence client users or add to existing contact lists. To import
user contact lists, you must provide BAT with an input file that contains the
user contact lists.
The input file must be a CSV file in the following format:
The following table describes the parameters in the input
file.
Table 2 Description of Input File Parameters
Parameter
Description
User ID
The user ID of the
IM and Presence user. It can have a maximum 132 characters.
Note
This is a mandatory parameter.
User Domain
The Presence domain of the
IM and Presence user. It can have a maximum of 128 characters.
Note
This is a mandatory parameter.
Contact ID
The user ID of the contact list entry. It can have
a maximum of 132 characters.
Note
This is a mandatory parameter.
Contact Domain
The Presence domain of the contact list entry. The
following restrictions apply to the format of the domain name:
Length must be
less than or equal to 128 characters
Contains only
numbers, upper- and lowercase letters, and hyphens (-)
Must not start or
end with hyphen (-)
Length of label
must be less than or equal to 63 characters
Top-level domain
must be characters only and have at least two characters
Note
This is a mandatory parameter.
Nickname
The nickname of the contact list entry. It can have
a maximum of 255 characters.
Group Name
The name of the group to which the contact list
entry is to be added. It can have a maximum of 255 characters.
Note
This is a mandatory parameter.
Note
If you are moving users to another node or subcluster in a different cluster, you can use BAT to generate the CSV file for selected users. See Bulk-export user contact lists for more information.
Complete the following steps to import user contact lists
into
IM and Presence:
Before you import the user contact lists, you must complete
the following:
Provision the users on
Cisco Unified Communications Manager.
Ensure that the users are licensed on Cisco Unified Communications Manager for the
IM and Presence Service.
Note
The default contact list import rate is based on the server hardware
type. You can change the contact list import rate by selecting
Cisco Unified CM IM and Presence
Administration > System > Service
Parameters > Cisco Bulk Provisioning
Service. However, if you increase the default import
rate, this will result in higher CPU and memory usage on
IM and Presence.
Before you import contact lists, Cisco recommends that you
check the Maximum Contact List Size and Maximum Watchers settings in
IM and Presence. If a user’s contact list size is over the limit, no
contacts will be imported for the user. To ensure that no user’s contact list
size exceeds the limit, you can increase the Maximum Contact List Size setting
or set it to Unlimited. This ensures that each user's contact list is fully
imported to
IM and Presence.
You only need to check the maximum contact list size on those
clusters that contain users for whom you wish to import contacts. When you
change Presence settings, the changes are applied to all nodes in the cluster;
therefore you only need to change these settings on the
IM and Presence Publisher node within the cluster.
The following procedure describes how to create a new bulk
administration job in
Cisco Unified CM IM and Presence Administration.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence Administration > Bulk
Administration > Contact
List > Update.
Step 2
From the File Name drop-down list, select the file to import.
Step 3
In the Job Description field, enter a description for this Bulk
Administration job.
Step 4
Select one of the following:
Select
Run Immediately
to execute the Bulk Administration job immediately.
Select
Run Later to schedule a time to execute
the Bulk Administration job. For more information about scheduling jobs in BAT,
see the Online Help in
Cisco Unified CM IM and Presence Administration.
Step 5
Select
Submit. If you selected to run the job
immediately, the job runs after you select Submit.
When the Bulk Administration job is complete, the
IM and Presence BAT tool writes the results of the contact list import job
to a log file. The log file contains the following information:
The number of contacts
that were successfully imported.
The number of internal
server errors that were encountered while trying to import the contacts.
The number of contacts
that were not imported (ignored). The log file lists a reason for each ignored
contact at the end of the log file. The following are the reasons for not
importing a contact:
Invalid format - invalid row format, for example, a required
field is missing or empty
Invalid contact domain - the contact domain is in an invalid
format; see
Bulk import of user contact lists
for the valid format of the contact domain
Cannot add self as a contact - you cannot import a contact for
a user if the contact is the user
User’s contact list is over limit - the user has reached the
maximum contact list size and no more contacts can be imported for that user
User is not assigned to local node - the user is not assigned
to the local node
The number of contacts in
the CSV file that were unprocessed due to an error that caused the BAT job to
finish early. This error rarely occurs.
Complete the following procedure to access this log file.
Procedure
Procedure
Step 1
Select
Cisco Unified CM IM and Presence Administration > Bulk
Administration > Job Scheduler.
Step 2
Select
Find and select the job ID of the contact list
import job.
Step 3
Select the
Log File Name link to open the log.
Availability settings configuration on IM and Presence
Turn on or off availability sharing for IM and Presence cluster
This procedure describes how to turn on or off availability
sharing for all client applications in a
IM and Presence cluster.
Availability sharing is turned on by default on
IM and Presence.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Settings.
Step 2
Configure the availability setting as follows:
If You Want To...
Do This
Turn on availability sharing in the
IM and Presence cluster. If you turn on this
setting,
IM and Presence shares availability information
for a user amongst all users in the cluster, based on the policy settings for
that user.
The default policy setting for a user is to
allow all other users view their availability. Users configure their policy
settings from either the
Cisco Unified Personal Communicator client and the
Cisco Unified CM IM and Presence User Options interface.
Check
Enable availability sharing.
Turn off availability sharing for all clients
in the
IM and Presence cluster. If you turn off this
setting,
IM and Presence does not share any availability
to other users in the
IM and Presence cluster, nor does it share
availability information it receives from outside the cluster. Users can only
view their own availability status.
Uncheck
Enable availability sharing.
Step 3
Select
Save.
Step 4
Restart the following services:
Cisco XCP Router
Cisco Presence Engine
Troubleshooting Tips
When you turn off availability sharing, a user can view
their own availability status on the client application; the availability
status for all other users are greyed out.
When you turn off availability sharing, when a user enters
a chat room, their availability status shows a status of
"Unknown" with a green icon.
Configure Do Not Disturb settings on IM and Presence
You can configure global administrator-level Do Not Disturb
(DND) availability states as an alternative to the Busy state for phone calls
and meetings.
IM and Presence then sets global administrator-level Do Not Disturb (DND)
availability states on all instant message client applications.
Note the following behavior for the DND feature:
IM and Presence
does not pass the administrator-level DND status to associated devices for the
user.
The administrator-level
DND settings impact future calls and meetings, not those calls and meetings in
progress at the time that you configure the DND setting.
If you turn off availability sharing on
IM and Presence, the DND settings only impact users when they view their own
availability.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Settings.
Step 2
Configure the administrator-level DND setting as follows:
If You Want...
Do This
IM and Presence to display an availability status of DND when users are on
the phone. If you turn off (uncheck) this setting,
IM and Presence displays a status of Busy when
users are on the phone.
By default, this setting is turned off.
Check
Use DND status when user is on the
phone.
IM and Presence to display an availability status of DND when users are in a
meeting. If you turn off (uncheck) this setting,
IM and Presence displays a status of Busy when
users are in a meeting.
This section only applies if you deploy
Cisco Unified Personal Communicator Release 8.5 or higher with
IM and Presence.
These settings allow
Cisco Unified Personal Communicator users to initiate temporary presence subscriptions to
users that are not on their contact list.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Settings.
Step 2
Check
Enable ad-hoc presence subscriptions to turn on temporary
presence subscriptions for
Cisco Unified Personal Communicator users.
Step 3
Configure the maximum number of active temporary subscriptions
that
IM and Presence permits at one time. If you configure a value of
zero,
IM and Presence permits an unlimited number of active temporary
subscriptions.
Step 4
Configure the time-to-live value (in seconds) for the temporary
presence subscriptions.
When this time-to-live value expires,
IM and Presence drops any temporary presence subscriptions and no
longer temporarily monitors the availability status for that user.
Note
If the time-to-live value expires while the user is still
viewing an instant message from a temporary presence subscription, the
availability status that displays may not be current.
Step 5
Select
Save.
Troubleshooting Tip
You do not have to restart any services on
IM and Presence for this setting, however
Cisco Unified Personal Communicator users will have to sign out, and sign back in, to
retrieve the latest temporary presence subscriptions settings on
IM and Presence.
Configure maximum contact list size per user
You can configure the maximum contact list size for a user;
this is the number of contacts the user can add to their contact list. This
setting applies to the contact list on
Cisco Unified Personal Communicator client applications and on third-party client
applications.
Note
Users who reach the maximum number of contacts are unable to add new
contacts to their contact list, nor can other users add them as a contact.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Settings.
Step 2
Edit the value of the
Maximum Contact List Size (per user) setting.
The default value is 200.
Step 3
Select
Save.
Step 4
Restart the Cisco XCP Router service.
Troubleshooting Tips
The System
Troubleshooter in
Cisco Unified CM IM and Presence Administration indicates if there are users who have
reached the contact list limit.
If a user is close to the maximum contact list size, and the
user adds a group of contacts that pushes the contact list over the maximum
number,
IM and Presence does not add the surplus contacts. For example, if
the maximum contact list size on
IM and Presence is 200. A user has 195 contacts and attempts to add
6 new contacts to the list,
IM and Presence adds five contacts and does not add the sixth
contact.
You can configure the number of watchers for a user,
specifically the maximum number of people that can subscribe to see the
availability status for a user. This setting applies to the contact list on
Cisco Unified Personal Communicator clients and on third-party clients.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Settings.
Step 2
Edit the value of the
Maximum Watchers (per user) setting.
The default value is 200.
Step 3
Select
Save.
Step 4
Restart the Cisco XCP Router service.
Instant messaging settings configuration on IM and Presence
Turn on or off instant messaging for IM and Presence Cluster
This procedure describes how to turn on or off instant
message capabilities for all client applications in a
IM and Presence cluster. Instant message capabilities is turned on by
default on
IM and Presence.
Caution
When you turn off instant message capabilities on
IM and Presence, all group chat functionality (adhoc and persistent chat)
will not work on
IM and Presence. We recommend that you do not turn on the Cisco XCP Text
Conference service or configure an external database for persistent chat on
IM and Presence.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Messaging > Settings.
Step 2
Configure the instant messaging setting as follows:
If You Want To...
Do This
Turn on instant message capabilities for
client applications in the
IM and Presence cluster. If you turn on this
setting, local users of client applications can send and receive instant
messages.
Check
Enable instant messaging.
Turn off instant message capabilities for
client applications in the
IM and Presence cluster.
If you turn off this setting, local users of
client applications cannot send and receive instant messages. Users can only use
the instant messaging application for availability and phone operations. If you
turn off this setting, users do not receive instant messages from outside the
cluster.
Uncheck
Enable instant messaging.
Step 3
Select
Save.
Step 4
Restart the Cisco XCP Router service.
Turn on or off offline instant messaging
By default
IM and Presence stores (locally) any instant messages that are sent to a
user when they are offline, and
IM and Presence delivers these instant messages to the user the next time
they sign in to the client application. You can turn off (suppress) this
feature so
IM and Presence does not store offline instant messages. For example, in
large deployments, this feature could require significant message storage, so
you may want to suppress offline instant messages to increase performance.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Messaging > Settings.
Step 2
Configure the offline instant messaging setting as follows:
If You Want To...
Do This
Turn off the storage of offline instant
messages on
IM and Presence. If you check this setting, any
instant messages that are sent to a user when they are offline,
IM and Presence does not deliver these instant
messages to the user the next time they sign in to the client application.
Check
Suppress Offline Instant
Messaging.
Turn on the storage of offline instant
messages on
IM and Presence If you uncheck this setting, any
instant messages that are sent to a user when they are offline,
IM and Presence delivers these instant messages
to the user the next time they sign in to the client application.
Uncheck
Suppress Offline Instant
Messaging.
Step 3
Select
Save.
Allow clients to log instant message history
You can prevent or allow users to log instant message
history locally on their computer. On the client side, the application must
support this functionality; it must enforce the prevention of instant message
logging.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Messaging > Settings.
Step 2
Configure the log instant message history setting as follows:
If You Want To...
Do This
Allow users of client applications to log
instant message history on
IM and Presence.
Check
Allow clients to log instant message history
(on supported clients only).
Prevent users of client applications from
logging instant message history on
IM and Presence.
Uncheck
Allow clients to log instant message history
(on supported clients only).
Step 3
Select
Save.
Allow cut and paste in instant messages
You can prevent or allow users to log instant message history locally on their computer. On the client side, the application must support this functionality; it must enforce the prevention of instant message logging.
Procedure
Step 1
Select Cisco Unified CM IM and Presence Administration > Messaging > Settings.
Step 2
Configure the cut and paste in instant messages setting as follows:
If you want to...
Do this
Allow users of client applications to cut and paste in instant messages.
Check Allow cut & paste in instant messages.
Prevent users of client applications from cutting and pasting in instant messages.
Uncheck Allow cut & paste in instant messages.
Step 3
Select Save.
Configure SIP publish trunk on IM and Presence
When you turn on this setting,
Cisco Unified Communications Manager publishes phone presence for all line
appearances that are associated with
users licensed on Cisco Unified Communications Manager for IM and Presence.
This procedure is the same operation as assigning a SIP
trunk as the CUP PUBLISH trunk in
Cisco Unified Communications Manager service parameters.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Settings.
Step 2
Select a SIP Trunk from the
CUCM SIP Publish Trunk drop-down list.
Step 3
Select
Save.
Configure proxy server settings
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > Presence > Routing > Settings.
Step 2
Select
On for the Method/Event Routing Status.
Step 3
Select
Default SIP Proxy TCP Listener for the
Preferred Proxy Server.
Step 4
Select
Save.
IM and Presence services
Configure Sync Agent settings
Before You Begin
Configure the topology for
your deployment before starting the Sync Agent.
If you deploy the
Cisco Unified Personal Communicator client with
IM and Presence, and you configure system-wide default application
profiles, configure
and enable the default profiles before you activate the Sync Agent.
Procedure
Step 1
Select
Cisco Unified CM IM and Presence
Administration > System > Service
Parameters.
Step 2
Select the
IM and Presence server from the Server menu.
Step 3
Select
Cisco Sync Agent server from the Service menu.
Step 4
Select a value for the User Assignment Mode as follows:
If set to
Balanced, the Sync Agent synchronizes user
information to
IM and Presence, and then assigns the users to each node in an
attempt to balance the user assignment evenly across all nodes.
If set to
Active/Standby, the Sync Agent
synchronizes user information to
IM and Presence, and assigns the total number of
users to the first node of a subcluster only. If there is only a single node in
the subcluster, the Sync Agent uses this node for assignment regardless of the
location of the node within the subcluster.
If set to
None, the Sync Agent synchronizes user
information to
IM and Presence but does not assign any users. You must manually
assign your users to nodes using the system topology interface
The procedure below lists out the services that you need to
turn on when you deploy a basic
IM and Presence configuration. You need to turn on these services on each
node in your
IM and Presence cluster.
There are other optional
IM and Presence services that you may need to turn on depending on the
additional features that you deploy on
IM and Presence. See the
IM and Presence documentation relating to those specific features for
further details.
The Cisco XCP Router service must be running for a basic
IM and Presence deployment.
IM and Presence turns on the Cisco XCP Router by default. Verify that
this network service is on by selecting
Cisco Unified IM and Presence
Serviceability > Control Center - Network
Services.
Procedure
Step 1
Select
Cisco Unified IM and Presence
Serviceability > Tools > Service
Activation.
Step 2
Select the
IM and Presence server from the Server menu.
Step 3
For a basic
IM and Presence deployment, turn on the following services: