1 / 34

Unity Connection 7.0 Cluster/Redundancy TOI

Unity Connection 7.0 Cluster/Redundancy TOI. EDCS – 623130 Ramesh Achuthan Radha Radhakrishnan. Agenda. Overview Deployment Cluster Behavior Troubleshooting Upgrading Future Enhancements. Overview – Active/Active. User Interfaces: Voice calls Web Admin/CPCA IMAP

lev
Télécharger la présentation

Unity Connection 7.0 Cluster/Redundancy TOI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Unity Connection 7.0 Cluster/Redundancy TOI • EDCS – 623130 • Ramesh Achuthan • Radha Radhakrishnan

  2. Agenda • Overview • Deployment • Cluster Behavior • Troubleshooting • Upgrading • Future Enhancements

  3. Overview – Active/Active • User Interfaces: • Voice calls • Web Admin/CPCA • IMAP • Load balancing & Failover: • Involve external entities • (DNS, CCM etc.) • PIMG for legacy integration • Roles: • Primary & secondary • SRM manages roles • Runs on top of • CCM Platform Cluster

  4. Some Terminology • CCM Platform Cluster: Publisher and Subscriber • Pub is the first node – fixed at install. • Other nodes are Subs. • UC Roles: Primary and Secondary • The singleton processes run only in the primary server. • Notifier, MTA, SysAgent-tasks and more. • UnityMbxDb writes are done only through primary server. • Certain master files: encrypt key, certificates are managed in the primary. These are replicated to secondary. • In normal operation - primary will be the Pub in the cluster.

  5. User access • TUI/VUI - will access servers transparently. • IMAP/CPCA clients - will access servers transparently. • Admin: • Transparent server access - administration at either server. • Voice ports etc. will need node selection. • Serviceability: • Trace/Alarm settings will be common for both servers. • Service start/stop information will need node selection. • All singleton processes run on the primary server. • Licensing: • Voice ports are server specific – need server specific license. • User licenses are not server specific – can be put in any server. • RTMT will have to access each server explicitly. • Log files will not be replicated.

  6. DeploymentLoad balancing & Failover

  7. Installing UC in Cluster • Install the first node – Answer yes to the question “Is it the first node in cluster?” • Administer the first node and get it running • Adding the Second node in the cluster: • Using the Admin GUI, add the secondary node under “System Settings  Cluster”. • Install the second node – Answer no to the question “Is it the first node in the cluster?” • Provide the IP/Hostname of the first node. Once the second node comes up it will be in the cluster with the first one.

  8. CCM setup - SCCP Dynamic load balancing and failover with Hunt-pilot, Hunt-list, & Line-Group (CCM 4 and above)

  9. CCM setup - SIP Approaches: • With DNS-SRV • Route-Pattern  Sip-Trunk  DNS-SRV FQDN • With Route-List (Simpler) • Route-Pattern  Route-List  Route-Group Sip-Trunk • Uses distribution algorithm in Route-Group • With Sip Gateway DNS-SRV • Route-Pattern  Sip-Trunk  Sip-GW  DNS-SRV FQDN

  10. Other Integrations • PIMG • PIMG pings a primary UC and can redirect calls to secondary when primary fails. • Load balancing is done at PBX. • PIMG failures are handled at PBX.

  11. IMAP & CPCA Clients • Load balancing and failover transparent to users. • DNS – name lookup • Add A-records in DNS • Users need to re-login after failover.

  12. Cluster Behavior

  13. Cluster State displayed: • None – means only one node in the cluster • Normal – means there is more than one node – not failedover • Failedover – Publisher is not the primary at that time • Admin changes made to one server should be visible on the other in few seconds. • Messages left on one server should be available from the other server in few seconds. • TUI/VUI, CPCA, IMAP, & Admin shall not notice any login issues when one of the servers is down. • MWI and other notifications shall continue to work when one of the servers is down.

  14. Manual failover Singletons will be started here.

  15. Cluster management

  16. Manual failback Singletons will be started here.

  17. Manual Deactivate • Deactivating a server stops all critical services and base services in it. • The database replication will continue in the deactivated state. • Only secondary servers can be deactivated. • The Administration and the Serviceability GUI are available in the deactivated state. • This state is used for maintenance purposes, wherein all calls, and web user interactions are directed to the other server. • A deactivated server can be activated back to service (as shown).

  18. Manual activate

  19. Auto failover

  20. Acting-Primary failure

  21. CPCA servlet failure and redirection

  22. Tomcat failure and DNS resolution

  23. Reasons for failover • Failover can be caused by 30 sec heartbeat failure. • Failover can be manually initiated also. • Conditions for auto-failover: • Critical process cannot be started or fails • SRM, ServM, DB, DbEventPublisher, CuCsMgr, CuMixer, Notifier etc. • Too many restarts in some interval • CuCsMgr - allow single restart, but maybe 3 deaths in 5 or 10 min exceeds threshold • Non-critical processes will not cause failover. ServM will restart them on same box

  24. Failover • Upon Failover (when primary fails) - • Any existing calls or IP traffic to primary will likely be lost. • SRM in secondary will detect the failure and update status in DB. • SRM in secondary will instruct ServM to start singleton processes. • Switch/PIMG/DNS will determine failover condition and route incoming call traffic to secondary box. • If using DNS, CPCA/IMAP traffic will be sent to secondary

  25. Two Generals’ Problem(split-brain) • Cause: • Unreliable communication link between primary and secondary • Byzantine failure of SRM • Secondary thinks primary is dead and assumes “acting-primary” role, while primary continues its operation • Issues • DB updates will continue in primary and secondary after failover. • Solution – Split Brain Resolution (SBR) (done automatically)

  26. Troubleshooting – tip 1 • CLI: show cuc cluster status – shows the current status of the cluster. • Member ID 0 means publisher (i.e., first-node). • Exactly one server must be in the primary role. • If both servers are primary, then they are not talking to each other. Check if the server hostnames are correct and if they can communicate.

  27. Tip 2 – Check certain required services • Check that these services are running on both servers: • Server Role Manager, • Conversation Manager and Mixer, • File Sync, • DB Event Publisher • Check that these services are running in the primary server: • Notifier and • Message Transfer Agent

  28. Tip 3: Log files • Check Server Role Manager (SRM) logs for cluster issues. • /var/opt/cisco/connection/log/diag_CuSrm_*.uc • From RTMT select the component “Connection Server Role Manager” to download the SRM log. • Logs are not replicated, so it is required to check them on both servers.

  29. Upgrading a cluster • Upgrade process is very similar to UC 2.x • First upgrade the first node (primary) – do not switchover. • Then upgrade the second node (secondary) – do not switchover • At a convenient time, switchover the first node. • Then switchover second node after the first node switchover is successful.

  30. Future Enhancements

  31. Site Redundancy – Active/Passive • Differences from A/A • Deployment model: • No load balancing

  32. Multi-server Cluster (N >2) • Current approach implies a single primary to manage singletons and UnityMbxDb updates. • This means 1 primary + N secondary in a N + 1 scenario. • When failover happens, one of the N secondary servers assumes acting-primary role based on some pre-defined criteria.

  33. Q&A

More Related