Updated Subscription does not point to new server ip

Version 1

    Subject: Re: New Message from Keith Lunn in IP Phone Services (IPPS) - IP PhoneServi
    Replied by: Johannes Magagula on 15-09-2011 10:40:57 AM
    I think u should change the services URL on the Call Manager and point it to the new Services URL that you changed.

    Sent via my BlackBerry from Vodacom - let your email find you!

    -----Original Message-----
    From: Cisco Developer Community Forums <cdicuser@developer.cisco.com>
    Date: Thu, 15 Sep 2011 10:34:33
    To: cdicuser@developer.cisco.com<cdicuser@developer.cisco.com>
    Reply-To: "cdicuser@developer.cisco.com" <cdicuser@developer.cisco.com>
    Subject: New Message from Keith Lunn in IP Phone Services (IPPS) - IP Phone
    Services Questions: Updated Subscription does not point to new server ip

    Keith Lunn has created a new message in the forum "IP Phone Services Questions":

    --------------------------------------------------------------
    Hello Folks,
    I need to migrate our Corporate Directory service (Directories button) and our Custom Services (Services button) from a legacy WIN2003/IIS6/ASP server to a new WIN2008/IIS7/ASP server. The Corp Directories URL and the Service URL both use the DNS name "ucommweb". Last week we updated the IP address of UCOMMWEB to point to the new server IP. I did notice that the TTL on this NS record was 15 days.
    Next, I clicked on Update Subscriptions.
    Now I have the following results:
    Some phones still have the Corporate Directory button pointing to the old server. I am assuming that this is because of the TTL of 15 days and when the DNS TTL expires on the phone, the phone will resolve it to the new IP address over the course of the next 15 days from the time we updated DNS. Would you folks concurr on this assumption?
     
    My real problem:
    Some phones are still pointing to the old server for Services when you press the Services button and select a Service that has UCOMMWEB in the URL.
    This is occuring even though I did the Update Subscriptions. If you RESET one of these phones, then they will point Services to the new server. The problem is that I don't want to RESET over 13,000 phones to be sure they are pointing to the new server and resolving UCOMMWEB to the new IP.
     
    I am not understanding why this is happening with Services? Any suggestions or comments would be greatly appreciated!

    Thanks!
     
    --
    To respond to this post, please click the following link:

    <http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/4489001>

    or simply reply to this email.
    This document was generated from CDN thread

    Created by: Keith Lunn on 15-09-2011 10:34:31 AM
    Hello Folks,
    I need to migrate our Corporate Directory service (Directories button) and our Custom Services (Services button) from a legacy WIN2003/IIS6/ASP server to a new WIN2008/IIS7/ASP server. The Corp Directories URL and the Service URL both use the DNS name "ucommweb". Last week we updated the IP address of UCOMMWEB to point to the new server IP. I did notice that the TTL on this NS record was 15 days.
    Next, I clicked on Update Subscriptions.
    Now I have the following results:
    Some phones still have the Corporate Directory button pointing to the old server. I am assuming that this is because of the TTL of 15 days and when the DNS TTL expires on the phone, the phone will resolve it to the new IP address over the course of the next 15 days from the time we updated DNS. Would you folks concurr on this assumption?
     
    My real problem:
    Some phones are still pointing to the old server for Services when you press the Services button and select a Service that has UCOMMWEB in the URL.
    This is occuring even though I did the Update Subscriptions. If you RESET one of these phones, then they will point Services to the new server. The problem is that I don't want to RESET over 13,000 phones to be sure they are pointing to the new server and resolving UCOMMWEB to the new IP.
     What is really strange is that some phones are pointing to the new server for Corporate Directories (which tells me the phone re-resolved UCOMMWEB to the new IP address) BUT, when you select Services and a Service with UCOMMWEB in the URL, it is still pointing to the old server!
    I am not understanding why this is happening with Services? Any suggestions or comments would be greatly appreciated!

    Thanks!
     

    Subject: RE: Updated Subscription does not point to new server ip
    Replied by: Keith Lunn on 15-09-2011 11:11:49 AM
    Hi,
    One thing I am going to try Friday night is that the DNS entry UCOMMWEB is actually an alias for the new server name. I am going to update Subscriptions to point to the name of the new server and not ucommweb, then do Update Subscriptions. The phone firmware for Services button items, seems to be "stuck" on resolving ucommweb to the old IP address as far as Services goes.
    I actually have some phones pointing to the new IP address of UCOMMWEB when you press Directories and select Corporate Directories and then when you press the Services button and select a Service containing ucommweb in the url - it is still pointing to the old server.

    Subject: RE: Updated Subscription does not point to new server ip
    Replied by: Keith Lunn on 15-09-2011 11:39:19 AM
    Actually, I am going to use the ip address of the new server and code that in the Service URL.

    Subject: Re: New Message from Keith Lunn in IP Phone Services (IPPS) - IP PhoneServi
    Replied by: Johannes Magagula on 15-09-2011 11:47:57 AM
    That is exactly what I was telling you. Good thing you caught on quickly. All the best!!
    Sent via my BlackBerry from Vodacom - let your email find you!

    -----Original Message-----
    From: Cisco Developer Community Forums <cdicuser@developer.cisco.com>
    Date: Thu, 15 Sep 2011 11:39:19
    To: cdicuser@developer.cisco.com<cdicuser@developer.cisco.com>
    Reply-To: "cdicuser@developer.cisco.com" <cdicuser@developer.cisco.com>
    Subject: New Message from Keith Lunn in IP Phone Services (IPPS) - IP Phone
    Services Questions: RE: Updated Subscription does not point to new server
    ip

    Keith Lunn has created a new message in the forum "IP Phone Services Questions":

    --------------------------------------------------------------
    Actually, I am going to use the ip address of the new server and code that in the Service URL.
    --
    To respond to this post, please click the following link:

    <http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/4489424>

    or simply reply to this email.

    Subject: RE: Updated Subscription does not point to new server ip
    Replied by: Keith Lunn on 28-09-2011 11:31:03 AM
    OK, for Services, I updated all Service URLs to use the IP address of the new server, then performed Update Subscriptions. - This appears to worked nicely!
    For Directories URL, we had updated the DNS entry to point ot the new server. It appears the phones do observe the TTL on a NS record in DNS because after the TTL had expired, it now appears that all phones are accessing the new server.

    Lessons learnt:
    a) Phones do appear in general to observe TTL on NS records, however, in some cases you may need to RESET (Not RESTART) the phone to force a re-solution of DNS entries embedded in URLs. (This applies to Directories on CUCM 5.x and 6.x). I understand that in CUCM 8.x Directories are now treated as Services.)
    b) When defining Services, do not use DNS entries in URLs, use IP addresses. ALWAYS perform a Update Subscriptions after any change to a Service URL.
    c) In Web Service design, force no client caching by setting the HTTP header for Expiry at a date/time less that Date header attribute. In ASP this can be accomplished by:
    Response.Expires = -1;
    d) A phone RESET will resolve a DNS issue with resolution in most cases. We do try to avoid this in large production clusters.