CA Service Management

Expand all | Collapse all

Secondary Server URL Change

  • 1.  Secondary Server URL Change

    Posted Feb 23, 2016 12:40 AM

    Hi Team,

     

    Whenever I access the service desk console using web.url at Primary server, it access the URL which I set in the web host value during the Primary server configuration. But in case of Secondary server, we don't have the option to set the web host value. So when I access the service desk console using web.url at Secondary server, it accesses the URL based on hostname of secondary server or localhost. How can I change this value in case of Secondary server?

     

    Kindly provide a solution for this.

     

    Thanks & Regards,

    Balram Singh Deswal



  • 2.  Re: Service Desk URL not Redirecting to Secondary Server Web Host Value
    Best Answer

    Posted Feb 23, 2016 02:58 AM

    Hi Balram,

    Did you check that you have the wanted URL  in your web.cfg?

    this is set in "RedirectingURL"

    Regards

    /J



  • 3.  Re: Secondary Server URL Change

    Posted Feb 23, 2016 04:18 AM

    Hi Jmayer,

     

    Thanks for your response!

     

    I have rephrased my question. Kindly check that and confirm whether I need to change in web.cfg for this also.

     

    Regards,

    Balram Singh Deswal



  • 4.  Re: Secondary Server URL Change

    Posted Feb 23, 2016 06:16 AM

    well I'm not sure I fully follow you. can you give little more info on your config, release and what you are trying to archive?

    Also did you configure a web director? Are you using a load balancer?

    What are the value of your web.url?

    Regards

    /J



  • 5.  Re: Secondary Server URL Change

    Posted Feb 23, 2016 07:44 AM

    Hi Jmayer,

    I am using SD 14.1.0.2, and configured 1 web director on primary server along with 2 web engine on primary and 2 web engine on secondary with tomcat and IIS (default server) configuration.

    In my scenario web director is only load balancer.

    And in nx.env file @NX_WEB_CGI_URL variable value on primary is  http://servicedesk.test.co.in:80/CAisd/pdmweb.exe and on secondary @NX_WEB_CGI_URL variable value on secondary is http://servicedesk2.test.co.in:80/CAisd/pdmweb.exe

     

    Still after above configuration, whenever i am hitting servicedesk url for primary server it is working fine but for secondary it is taking server host name (http://sdmsecserver.test.co.in:80/CAisd/pdmweb.exe) instead off http://servicedesk2.test.co.in:80/CAisd/pdmweb.exe.

     

    Regards,

    Balram



  • 6.  Re: Secondary Server URL Change

    Posted Feb 23, 2016 07:46 AM

    Yes back to my original please verify you redirecting URL in your web.cfg on your secondary server.

    Mostly referring the hostname and you will need to change it to your dns name

    /J



  • 7.  Re: Secondary Server URL Change

    Posted Feb 23, 2016 07:59 AM

    So you are referring this in web.cfg....

     

     

     

    # RedirectingURL specifies the full URL for redirecting the request to

    # the webengine. By default, it uses 'CAisd' and the value set for the

    # Cgi variable to construct the URL.

    # If this webengine uses SSL connection, the protocol, https, needs to

    # be added to the URL, for example,

    # RedirectingURL https://<machine name>/<cgi directory>/<cgi name>

    RedirectingURL http://servicedesk2.test.co.in/CAisd/pdmweb.exe

     

     

     

    does it require service restart ?



  • 8.  Re: Secondary Server URL Change

    Posted Feb 23, 2016 08:03 AM

    yes that correct and yes, you will need to restart your secondary for the change to take effect



  • 9.  Re: Secondary Server URL Change

    Posted Feb 24, 2016 12:32 AM

    Hi jmayer,

     

    After changing value of redirectingURL only on secondary server it is not working, i am still getting http://sdmsecserver.test.co.in:80/CAisd/pdmweb.exe

    based on the machine host name.

     

    Regards,



  • 10.  Re: Secondary Server URL Change

    Posted Feb 24, 2016 04:36 AM

    Hi again .we may need to look more into your config but you mentioned that you have 2 web engine on this server.

    Did you made the change for both?

    you must have something like <hostname>-web1.cfg and/or <hostname>-web2.cfg

     

    /J



  • 11.  Re: Secondary Server URL Change

    Broadcom Employee
    Posted Feb 24, 2016 09:28 AM

    Balram,

     

    In NX_ROOT/bin  there's a file called  web (web.url),   right click on it select properties and adjust it to a value that you prefer.

     

    You can do the same to web.url.tpl file in the same so it wont get overwritten when you do a pdm_configure.

     

    _R



  • 12.  Re: Secondary Server URL Change

    Posted Feb 25, 2016 12:35 AM

    Thanks Jmayer and Raghu,

     

    Its working now.