3 Replies Latest reply on Nov 23, 2006 9:45 AM by timfox

    Automating HA Tests

    clebert.suconic

      I need to figure out a way to automate HA tests.

      Tim has already automated his ManualClusteringTests. This was possible basically because we don't need to kill/restart servers on clustering tests.

      But on HA tests, I need to be able "kill" and restart a server.


      Any ideas on how to do that?


      For now I will have to create a bunch of targets on /test/build.xml.

        • 1. Re: Automating HA Tests
          timfox

          I think it's crucial we get your failover tests integrated with the rest of the clustering tests which start/stop servers.

          • 2. Re: Automating HA Tests
            timfox

            Killing a server should be pretty trivial.

            Starting a new one could be done by running the script from java, take a look at ServerManagement::VMstarter - we should be able to get something like this working.

            • 3. Re: Automating HA Tests
              timfox

              Next week, when everyone is back from holiday, I would like to spend the week working with Clebert on finishing off the rest of failover, with a target of getting it all done by the end of the work.

              I think this is doable.