1 2 3 Previous Next 37 Replies Latest reply: Jun 18, 2013 12:17 PM by Laurent Matheo Go to original post RSS
  • 15. AR Server Group with out Load Balancer
    Laurent Matheo

    Actually it should all point to your ARS server. The fact to "host" the server group name to the ARS server IP is a trick and it works.

    Is there any logs in arjavaplugin or logs in /db/?

  • 16. AR Server Group with out Load Balancer
    Rajesh Kumar R S

    Let me give a clean shot to it this time after reverting all the setting and feed back with the plugin logs

  • 17. AR Server Group with out Load Balancer
    Rajesh Kumar R S

    Hi Laurent,

     

    I was able to successfuly configure the server group. As mentioned earlier, the issues is that the ARSYS.ARDBC plugin was talking some time to start but it is actually getting started successfuly too.

     

    I had checked Enable Life Span in Mid-tier and the Connection span time is set to 1 minute. F5 load balancer is in use, but when one web server goes down the session is not automatically transfered to the next web server. Rather the user is logged out and had to log in again.

     

    Regards,

    Rajesh

  • 18. AR Server Group with out Load Balancer
    Laurent Matheo

    Cool

     

     

    I had checked Enable Life Span in Mid-tier and the Connection span time is set to 1 minute. F5 load balancer is in use, but when one web server goes down the session is not automatically transfered to the next web server. Rather the user is logged out and had to log in again.

     

     

    I think it's normal, the JSESSIONID changed I guess. You could see that using Fiddler on the desktop and see if the Load Balancer session ID or JSESSIONID changes.

    Does he have a 9201 error message or he's just logged out?

  • 19. AR Server Group with out Load Balancer
    Rajesh Kumar R S

    No error message, it just logs you out and the login page appears for users to log in again.

  • 20. Re: AR Server Group with out Load Balancer
    Laurent Matheo

    That looks normal to me, perhaps you can "share" the cookies / sessions informations across the Tomcat's but it's beyond my reach

    I think I've read something like creating a shared folder for sessions, but that was, like, years ago...

  • 21. AR Server Group with out Load Balancer
    Rajesh Kumar R S

    I had seen all your post regarding the server group. You sound to be the Server Group Guru . I had achieved what was expected. Thank you soo much for all your advice.

     

    Regards,

    Rajesh

  • 22. AR Server Group with out Load Balancer
    Laurent Matheo

    Nah not really

    A lot to learn actually on tweaking

     

    Cool if it helped

  • 23. AR Server Group with out Load Balancer
    Luciano Muller Nicoletti

    Hi Rajesh, I've load balancers in front of mid tier as well as between the mid tier and AR server group and I'm having the same problem as you.

     

    How did you solved the problem with users being logged out and the login page appears for users to login again ?

     

    Thanks!

  • 24. AR Server Group with out Load Balancer
    Rajesh Kumar R S

    Hi Luciano,

     

    This is the expected bahaviour(I mean logging out and login screen appears again). This is because of the session being established. When one of the web server goes down the session dies there.

  • 25. AR Server Group with out Load Balancer
    LJ LongWing

    Rajesh,

    You should configure the aliases to point to the 'node' name, not the group name.  This is so that the plugin server is connecting to itself, instead of also being load balanced and possibly pointing to the other node in the group

  • 26. Re: AR Server Group with out Load Balancer
    Dmitry NameToUpdate

    Laurent hi!

     

    I'm trying tom implement server group on ars 7.6.04 without loadbalancing and have an issue with installing ITSM suite (7.6.04 SP2) on second server in group.

    I have:

    -ARS Server 1 (Server-Connect-Name: ars_server_1) - main server in group with ITSM installed

    -ARS Server 2 (Server-Connect-Name: ars_server_2) - server with AR Server + CMDB, without ITSM.

     

    -Also I have "Server-Name: server-group" as my group name. This name is not resolving by both of ARS Servers.

     

    You wrote:

    "So if you have ARS1 and ARS2, "sgname" DNS on ARS1 should point to ARS1, and "sgname" DNS on ARS1 should point to ARS2."

     

    Does it mean that I should put follow lines to my ARS Server 1?:

    <ip address of ARS Server 1>     server-group

    <ip address of ARS Server 2>     server-group

     

    How about ARS Server 2?

    How does my ARS Server 2 will know about server group and will resolved it?

    I can't install ITSM Suite on ARS Server 2, becase installator was tried to resolved server group name and couldn't do it.

     

    Could you please make clarification about host file configuration on both ARS Server regarding server group resolution?

  • 27. Re: AR Server Group with out Load Balancer
    Laurent Matheo

    Hi

     

    Does it mean that I should put follow lines to my ARS Server 1?:

    <ip address of ARS Server 1>     server-group

    <ip address of ARS Server 2>     server-group

     

    How about ARS Server 2?

     

    Hummm no, it's something like that you need to do:

     

    On ARS1, hosts file:

    IP_Ars1 DNS_ARS1 sgname

     

    On ARS2, hosts file:

    IP_Ars2 DNS_ARS2 sgname

     

    The goal is that, on each server, if you ping "sgname", it resolves as the server itself.

     

     

    How does my ARS Server 2 will know about server group and will resolved it?

    I can't install ITSM Suite on ARS Server 2, becase installator was tried to resolved server group name and couldn't do it.

     

    It's ok, just let ARS1 "on" and it'll be ok. Anyway, you have to deactivate server group on ARS2 when you install ITSM, check ITSM installation guide, the part for server group

  • 28. Re: AR Server Group with out Load Balancer
    Dmitry NameToUpdate

    Thank you for your reply Laurent!

     

    Now I'm able to install ITSM Suite on second server in the group.

     

    After instalaltion of all the packages to second server I notice that few "Server-Plugin-Alias" records are missed in ar.cfg on second server:

    Server-Plugin-Alias: BMC.REMEDY.ITSM.CHG.FILTER BMC.REMEDY.ITSM.CHG.FILTER ARS_SERVER1:9999

    Server-Plugin-Alias: RMDY.ITSM.ARL RMDY.ITSM.ARL ARS_SERVER1:9999

    Server-Plugin-Alias: RMDY.ITSM.ASSET.SOFTWAREUSAGE RMDY.ITSM.ASSET.SOFTWAREUSAGE ARS_SERVER1:9999

    Server-Plugin-Alias: RMDY.ITSM.RLE RMDY.ITSM.RLE ARS_SERVER1:9999

     

    I believe that all of the plugins in ar.cfg on all of ARS servers in the group should be the same.

    Shouldn't be?

     

    I think I should put that lines manually in ar.cfg file on other servers in the group. (Why installator didn't put it? haha).

     

    Also I Notice that "Server-Plugin-Alias" ends with different DNS-names: almost all records have "ARS_SERVER1:9999" (DNS name of server) at the end of line and few records have "SERVER-GROUP:9999" (DNS name of server group) at the end of line.

     

    What way is correct? Should I correct that lines for one dns-name (I believe that answer is "Yes")? Which one?

     

    Finally I have to say that installation process of server-group is really not so easy and clearly as describe in BMC manual. Too many questions and "funky" actions.

  • 29. Re: AR Server Group with out Load Balancer
    Laurent Matheo

     

    After instalaltion of all the packages to second server I notice that few "Server-Plugin-Alias" records are missed in ar.cfg on second server:

    Server-Plugin-Alias: BMC.REMEDY.ITSM.CHG.FILTER BMC.REMEDY.ITSM.CHG.FILTER ARS_SERVER1:9999

    Server-Plugin-Alias: RMDY.ITSM.ARL RMDY.ITSM.ARL ARS_SERVER1:9999

    Server-Plugin-Alias: RMDY.ITSM.ASSET.SOFTWAREUSAGE RMDY.ITSM.ASSET.SOFTWAREUSAGE ARS_SERVER1:9999

    Server-Plugin-Alias: RMDY.ITSM.RLE RMDY.ITSM.RLE ARS_SERVER1:9999

     

    I believe that all of the plugins in ar.cfg on all of ARS servers in the group should be the same.

    Shouldn't be?

     

     

     

    Yes they should be the same, but check if plugins have been declared in "/ARSystem/pluginsvr/pluginsvr_config.xml" too.

    There were no errors / warnings in the logs?

     

    Also I Notice that "Server-Plugin-Alias" ends with different DNS-names: almost all records have "ARS_SERVER1:9999" (DNS name of server) at the end of line and few records have "SERVER-GROUP:9999" (DNS name of server group) at the end of line.

     

    What way is correct? Should I correct that lines for one dns-name (I believe that answer is "Yes")? Which one?

     

    Actually that's one of the post-install task

    You need to be sure to have ARS_SERVER1. The reason is pretty simple, imagine the server-group is resolved to your load balancer, that means that possibly the arsserver1 will try to launch his plugin on one of the server of the server group... messy.

    So yeah, change it to ARS_SERVER1 for all entries of server-plugin-alias.

     

    Finally I have to say that installation process of server-group is really not so easy and clearly as describe in BMC manual. Too many questions and "funky" actions.

    The first one is always a bit "funky" , informations are scattered in the pdfs and you need to be very careful of "pre-install" and "post-install" phases concerning server group, often all is there, it's just that sometimes it's two lines a bit hidden