Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Cisco IP Phones going down when CUCM publisher is turned off

Hi all,

Quick question:

I have on my lab environment a CUCM Publisher and a CUCM Subs.

As I understand, the subscriber is only there for redundancy purposes, and the phone should be registered to the subs as opose to the pub.

All my IP phones register to the subscriber, but when I kill my publisher, all the phones are losing its registration.

Aren't they meant to be still registered?

Thanks

Everyone's tags (4)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Cisco IP Phones going down when CUCM publisher is turned off

you might want to run utils network connectivity on the sub and see if it completes successfully.

any fw between the pub and sub..

its definitely a db replication problem.

if the above tests that i mentioned above are successfull including utils network connectity. you would want to run a stop and roll.

utils dbreplication stop on the sub (wait for it to complete)

utils dbreplication stop on pub

utils dbreplication reset all from the pub.

VIP Super Bronze

Cisco IP Phones going down when CUCM publisher is turned off

Geovani,

What you need to do is to use cucm group and device pool for redundancy.

SO in your cucm group you will have your subscriber first and your publish second. You will then assign this cucm group to a device pool and then assign the device pool to the phone.

Now when your subscriber is down, the phones will register to your publisher. This is only good for small deployments. For large deployments you will have multiple subscribers and you will then have first subscriber and second and third. You can only have 3 servers in a cucm group. So the phones can register to secondary and tertiary subscribers when the primary is down

Please rate useful posts

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
23 REPLIES
Hall of Fame Super Silver

Re: Cisco IP Phones going down when CUCM publisher is turned off

What is the CUCM group configured like?

Is cm service running on the subs?

Do the phones show registered to the subs?

Sent from Cisco Technical Support iPhone App

Community Member

Cisco IP Phones going down when CUCM publisher is turned off

Hi Chris, thanks for  your reply.

I'm still quite new to all this.

CM service is running on the sub.

When the pub and sub are on, it shows that the phones are registered to the pub, even though the tftp address on the ipphones are poiting to the sub.

I have 4 CUCM groups configured, just for lab porpuses, but im only using one of them.

Just noticed that when switching off the pub, all the replicated data that is meant to be on the sub, is not there. Users, Phones etc.. all gone. 

??

thanks

Community Member

Cisco IP Phones going down when CUCM publisher is turned off

I dont think your Pub and Sub are replicating properly.  I also think you CM groups are not configured properly.  You need to verify whether or not replication is working properly before you look at anything else.  I usually do this from the CLI using the following command:  utils dbreplication runtimestate

You can also use RTMT if you have it installed.  You want to make sure the status comes back as status 2.  Any other status means you have replication troubles.

Hall of Fame Super Silver

Re: Cisco IP Phones going down when CUCM publisher is turned off

Looks like you have db replication issues. Search this forum for dbreplication and you'll find many good threads.

Sent from Cisco Technical Support iPhone App

Cisco Employee

Cisco IP Phones going down when CUCM publisher is turned off

you might want to login to the cli of the pub and run the following commands that we have a good dbrepln

utils dbreplication runtimestate

utils dbreplication status

utils network host (hostname and ip of the sub), repeat the same from the sub

utils ntp status

see if this all good

Take a dummy phone /test phone change the description like test 1

fro the ssh run the command run sql select * from device where description ='test1'

run it on both the nodes and both the entries should be same.

hope this helps

Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Hi all,

When I type utils dbreplication status that's what I have.

PUB

connect to geovanipub_ccm7_0_1_11000_2 failed

Enterprise Replication not active  (62)

command failed -- unable to connect to server specified  (5)

SUB

SERVER                 ID STATE    STATUS     QUEUE  CONNECTION CHANGED

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

g_geovani_ccm7_0_1_11000_2    2 Active   Connecting 445296               

g_geovanisub_ccm7_0_1_11000_2    3 Active   Local           0               

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

VIP Super Bronze

Cisco IP Phones going down when CUCM publisher is turned off

Hi,

Can you ping between your publisher and subscriber?

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Hi,

Yes, I can ping between them.

Cisco Employee

Cisco IP Phones going down when CUCM publisher is turned off

you might want to run utils network connectivity on the sub and see if it completes successfully.

any fw between the pub and sub..

its definitely a db replication problem.

if the above tests that i mentioned above are successfull including utils network connectity. you would want to run a stop and roll.

utils dbreplication stop on the sub (wait for it to complete)

utils dbreplication stop on pub

utils dbreplication reset all from the pub.

Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Thanks very much.

I did run all the test you mentioned before, and it was sucessfull.

Will now try to stop and roll, see what happens

Cheers

Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Right:

After doing the above, by nikshah this is what happened:

Pub replication status = 3

Sub replication status = 4

Pub utils dbreplication status:

SERVER                 ID STATE    STATUS     QUEUE  CONNECTION CHANGED

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

g_geovanipub_ccm7_0_1_11000_2    2 Active   Local           0               

Status cannot be reported when replication is down on a publisher, or for a cluster with a single active node; aborting status check operation

Sub utils dbreplication status:

connect to geovanisub_ccm7_0_1_11000_2 failed

Enterprise Replication not active  (62)

command failed -- unable to connect to server specified  (5)

Status cannot be reported when replication is down on a publisher, or for a cluster with a single active node; aborting status check operation

Both the sub and pub can ping each other, and when i check the phones, users, etc on the sub they are all there, as long as the pub is on.

thanks again folks

Cisco Employee

Cisco IP Phones going down when CUCM publisher is turned off

it seems your replication aggreements never got setup.

It takes a while for the replication to be setup, can you verify the latest status.

sorry couldnt respond earlier.

Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Did you change the name of either of the servers?

There is a very specific process for changing the name of a UCM server.

If it is not followed, it may be easier to just delete the sub from the cluster DB and re-add then re-install the sub.

To repair after changing without following the process typically requires TAC to root in and edit all of the hosts, rhosts, sqlhosts, etc.

Thanks,

Kevin

Sent from Cisco Technical Support iPad App

Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Hi Guys, I didn't change the names or anything.

To be fair, I dont even know if it was working before.

Anyway, I have solved the problem by reinstalling the sub and the pub. All good now.

One other thing.

Cisco advises us to register phones with the subs right?

So, on my ip phones, I'm pointing it to my sub, the things is, if I kill my sub, I'd lose all the phones.

How's the redundancy suppose to work?

thanks again for your help

VIP Super Bronze

Cisco IP Phones going down when CUCM publisher is turned off

Geovani,

What you need to do is to use cucm group and device pool for redundancy.

SO in your cucm group you will have your subscriber first and your publish second. You will then assign this cucm group to a device pool and then assign the device pool to the phone.

Now when your subscriber is down, the phones will register to your publisher. This is only good for small deployments. For large deployments you will have multiple subscribers and you will then have first subscriber and second and third. You can only have 3 servers in a cucm group. So the phones can register to secondary and tertiary subscribers when the primary is down

Please rate useful posts

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Hi, thanks for your reply.

That's the way I have it set up.

On my CUCM group, I have my sub first then the pub second.

Again, all my phones have the tftp address manualy configured pointing to the sub.

If I kill the sub I will lose all the phones and they will not register to the pub. .

thanks

Cisco Employee

Re: Cisco IP Phones going down when CUCM publisher is turned off

Geovani, is your replication in place, utils dbreplication runtimestate should show a status of 2..

Until you have your replication in place you will continue to have issues with failovers

Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Hi, the replication is fine, it shows 2 now.. all good there.

My CUCM group that the phones are using, has the Sub as primary and Pub as second.

Still not working.

will have my CCNA voice exam on sat, hope they don't come up with some questions on this LOL.

Thanks again

VIP Super Bronze

Cisco IP Phones going down when CUCM publisher is turned off

Is the CUCM service activated on your publisher

Please rate useful posts

"I am complete in God, God completes me"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

All the services on the Sub are activated and so they are on Pub

VIP Super Bronze

Cisco IP Phones going down when CUCM publisher is turned off

Can you check that the CUCM service is active on the publisher?

Please rate useful posts

"I am complete in God, God completes me"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
Community Member

Re: Cisco IP Phones going down when CUCM publisher is turned off

Hi, thanks for your reply again,

Yes, all the services are activated on both servers.

Thanks

VIP Super Bronze

Cisco IP Phones going down when CUCM publisher is turned off

Are the serves define by ip address or host names?

Can you ping the phones from the publisher?

Please rate useful posts

"I am complete in God, God completes me"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
3285
Views
16
Helpful
23
Replies
CreatePlease to create content