1 2 Previous Next 19 Replies Latest reply on Jun 12, 2017 8:32 AM by LJ LongWing Go to original post
      • 15. Re: How does my load-balancer know when to failover
        Jason Miller

        Yes, it should be very soon now. I apologize for the delays. Some personal things came up that have been keeping me from working on non-work related projects.

        • 16. Re: How does my load-balancer know when to failover
          LJ LongWing

          The tool that Jason was teasing is now released.

           

          APLLBMonitor – A Programming Legacy

           

          This is a tool that I have used personally for many years to monitor my own servers, and working with Jason recently enhanced it to monitor Mid-Tier as well, once configured it performs a check of your service as often as you tell it to, and based on it being up or down, opens or closes a port that the LB can then use to determine availability.

           

          This tool also provides the added benefit of being able to shut off the monitor and the LB will stop sending traffic to a given node, allowing you to take nodes in and out of your configuration through YOUR control without needing to deal with the LB teams.

           

          I hope that the community finds this utility as useful as I have over the years, and I look forward to any feedback you may have on it.

          3 of 3 people found this helpful
          • 17. Re: How does my load-balancer know when to failover
            Jason Miller

            This tool also provides the added benefit of being able to shut off the monitor and the LB will stop sending traffic to a given node, allowing you to take nodes in and out of your configuration through YOUR control without needing to deal with the LB teams.

             

            Besides being the tool being able to see if the Remedy/MT server is responding in a useful way, I love this benefit. I first started using this tool when preparing for my BMC Engage presentation last year on Zero Downtime (ZDT) Upgrade. During the upgrade process you need to remove servers from balancing while upgrading them and by using APLLBMonitor I was able to divert traffic myself as needed without involving the LB team.

            2 of 2 people found this helpful
            • 18. Re: How does my load-balancer know when to failover
              Matthias Werninghaus

              Hello

              Tried it with Remedy 9.1, and it does not work. I also cannot Change the jar files from 8.1 to 9.1 because there is no arutil81_build001.jar for 9.1.

               

              Log tells me there is a Problem with the conf file Location.

               

              Log:

               

              STATUS | wrapper  | 2017/06/12 13:02:00 | --> Wrapper Started as Service

              STATUS | wrapper  | 2017/06/12 13:02:00 | Java Service Wrapper Community Edition 32-bit 3.5.13

              STATUS | wrapper  | 2017/06/12 13:02:00 |   Copyright (C) 1999-2011 Tanuki Software, Ltd. All Rights Reserved.

              STATUS | wrapper  | 2017/06/12 13:02:00 |     http://wrapper.tanukisoftware.com

              STATUS | wrapper  | 2017/06/12 13:02:00 |

              STATUS | wrapper  | 2017/06/12 13:02:02 | Launching a JVM...

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager: Initializing...

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager: WARNING - Unable to load the Wrapper's native library because none of the

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:           following files:

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:             wrapper-windows-x86-64.dll

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:             wrapper.dll

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:           could be located on the following java.library.path:

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:             E:\Program Files\BMC Software\APLLBMonitor-1.0\bin\..\lib

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:           Please see the documentation for the wrapper.java.library.path

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:           configuration property.

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:           System signals will not be handled correctly.

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperManager:

              INFO   | jvm 1    | 2017/06/12 13:02:02 | Mon Jun 12 13:02:02 CEST 2017: A Programming Legacy - http://remedylegacy.com

              INFO   | jvm 1    | 2017/06/12 13:02:02 | Mon Jun 12 13:02:02 CEST 2017: APL Load Balancer Monitor 1.0

              INFO   | jvm 1    | 2017/06/12 13:02:02 | Mon Jun 12 13:02:02 CEST 2017: Reading config file: config.properties

              INFO   | jvm 1    | 2017/06/12 13:02:02 | Mon Jun 12 13:02:02 CEST 2017: Error Reading config file: config.properties please correct all config file errors to ensure config file is being fully read

              INFO   | jvm 1    | 2017/06/12 13:02:02 | Mon Jun 12 13:02:02 CEST 2017: Cannot locate configuration source config.properties

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp:

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error: Encountered an error running main:

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error: java.lang.NullPointerException

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at com.apl.Daemon.processCfg(Daemon.java:144)

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at com.apl.Daemon.main(Daemon.java:80)

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at java.lang.reflect.Method.invoke(Unknown Source)

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)

              INFO   | jvm 1    | 2017/06/12 13:02:02 | WrapperSimpleApp Error:  at java.lang.Thread.run(Unknown Source)

              STATUS | wrapper  | 2017/06/12 13:02:04 | <-- Wrapper Stopped

              WARN   | wrapper  | 2017/06/12 13:02:14 | Timed out waiting for wrapperServiceMain

              • 19. Re: How does my load-balancer know when to failover
                LJ LongWing

                Matthias,

                Please download 1.1...sorry about that...made a last min change to the code before releasing it that caused that problem, I have put the code back in place that allows this to work properly ....please let me know if 1.1 works properly for you or not.

                1 2 Previous Next