凯's profile故酩斯忆BlogListsNetwork Tools Help

Blog


    2/19/2008

    偶尔出现tns:could not resolve service name

    春节回来遇到的第一个头痛的问题——跑报表的server不稳定,经常出现tns:could not resolve service name的问题。
    其原因是uat环境下的server是 cluster, server A & server B, tns name在其中一个server 定义了,而在另外一个server没有定义,当一个request过来的时候,作为controler的server会根据当时的load来作出balance, 转发的 request有可能到达没有定义过tns的那个server,导致could not resolve service name.
    很蹊跷,不过it happens, and happen for a reason.

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://beherca.spaces.live.com/blog/cns!34991044A23F9E14!1682.trak
    Weblogs that reference this entry
    • None