cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5708
Views
5
Helpful
4
Replies

CUCM replication

Operepichay
Level 1
Level 1

We have problem with CUCM replication.

We tried to remove/add subscriber from/to system - server and some other commands.

We require new point of view.

There is also problem with time on subscriber, but I guess it's because of replication issue.

Publisher

utils dbreplication runtimestate

 

Server Time: Tue Sep 27 13:41:31 EEST 2016

 

Cluster Replication State: PUB SETUP Started at 2016-09-27-13-08

     Setup Progress: 1 node(s) added to the replication network

     Setup Errors: No errors

 

 

DB Version: ccm11_0_1_22900_14

Repltimeout set to: 300s

PROCESS option set to: 1

 

Cluster Detailed View from cucm-pub (2 Servers):

 

                                      PING      DB/RPC/   REPL.    Replication    REPLICATION SETUP

SERVER-NAME         IP ADDRESS        (msec)    DbMon?    QUEUE    Group ID       (RTMT) & Details

-----------         ----------        ------    -------   -----    -----------    ------------------

cucm-pub            10.1.2.60         0.023     Y/Y/Y     0        (g_2)          (2) Setup Completed

cucm-sub            10.1.1.60         0.759     Y/Y/Y     --       (-)            (4) Setup Failed

 

Subscriber

 

utils dbreplication runtimestate

 

Server Time: Tue Sep 27 13:39:07 EEST 2016

 

Cluster Replication State: dbmonpreflightcheck file is not found.

 

DB Version: ccm11_0_1_22900_14

Repltimeout set to: 300s

PROCESS option set to: 1

 

Cluster Detailed View from cucm-sub (2 Servers):

 

                                      PING      DB/RPC/   REPL.    Replication    REPLICATION SETUP

SERVER-NAME         IP ADDRESS        (msec)    DbMon?    QUEUE    Group ID       (RTMT) & DB Status

-----------         ----------        ------    -------   -----    -----------    ------------------

cucm-pub            10.1.2.60         0.622     Y/Y/Y     --       (-)            (-) Replication Not Setup

cucm-sub            10.1.1.60         0.024     Y/Y/Y     --       (-)            (-) Replication Not Setup

4 Replies 4

Aseem Anand
Cisco Employee
Cisco Employee

Hi,

Can you check if the A Cisco DB is running on the SUB using the command utils service list? Also, you mentioned NTP sync is bad on CUCM SUB which can be a problem. I would suggest you to first make sure that the NTP on the CUCM is synched with a stratum value of less than 5 and for CUCM SUB the NTP should be PUB automatically . If the PUB is synched correctly with an NTP server at a stratum value less than 5 then SUB will also get synched unless until there is any network issue between the two.

Can you please send us the output of the following:

From SUB:

1. Show status

2. Utils diagnose test

3. Utils service list

4. Utils network ping "Hostname of the PUB"

5. Utils ntp status

6. run sql select * from processnode

Aseem

Problem with NTP synchronization is resolved.

Replication is completed after Subscriber reboot.

Deepak Rawat
Cisco Employee
Cisco Employee

One DB Replication command that I have started to use a lot in recent times is utils dbreplication rebuild all , run it from CM Pub that seems to fix it most of the times unless there are some entries within the file system that are severely degraded or do not exist at all and hence require TAC involvement to fix from root.

You can always reference this golden DB Replication document to understand how all it works:

https://supportforums.cisco.com/document/52421/troubleshooting-cucm-database-replication-linux-appliance-model

Regards

Deepak

It seems to be the one which does for us these instructions :)

  • utils dbreplication stop” on all the subscribers. (Do not proceed to next step until this process is completed on all the subscribers)
  •  “utils dbreplication stop” on the publisher.
  • utils dbreplication dropadmindb” on all the subscribers. (Do not proceed to next step until this process is completed on all the subscribers)
  • utils dbreplication dropadmindb” on the publisher. (Proceed to next step once this is over)
  • utils dbreplication reset all” on the publisher.

unfortunately  (4) Setup Failed :(