Topic
4 replies Latest Post - ‏2012-08-21T19:41:34Z by alethad
alethad
alethad
10 Posts
ACCEPTED ANSWER

Pinned topic How to configure a RG not to fallover but just be brought offline

‏2012-07-30T14:59:37Z |
I am configuring a new cluster. HA6.1 AIX 6.1
Prod app runs on Node1 and test app runs on Node2.

They cannot run on the same node at the same time. On the old boxes I had to configure the cluster where test app is brought down in a pre-event(acquire_service_addr) in order to bring it down before Prod RG is acquired.
Test will never failover. But I would like to have it in a RG instead of handling it thru any HA event to be brought down if Node1 fails.

I was told this is possible but I can't figure out how to set the fail over policies correctly. I simply would like to have it go offline when Prod fails over but I get an error when I set the "Bring Offline" policy. Doesn't seem to matter what combination I try.

Anyone ever done this before that can tell me how to set up the RG the way I want it?

Thanks.
You've got to continue to grow, or you're just like last night's cornbread -- stale & dry Loretta Lynn alethad
Updated on 2012-08-21T19:41:34Z at 2012-08-21T19:41:34Z by alethad
  • Holgervk
    Holgervk
    10 Posts
    ACCEPTED ANSWER

    Re: How to configure a RG not to fallover but just be brought offline

    ‏2012-08-21T16:36:44Z  in response to alethad
    use rg dependencies

    smit cm_rg_odn_dependencies.dialog
    • alethad
      alethad
      10 Posts
      ACCEPTED ANSWER

      Re: How to configure a RG not to fallover but just be brought offline

      ‏2012-08-21T19:00:58Z  in response to Holgervk
      How do RG dependencies help with this?
      From what I understood this tells HA to keep an RG online somewhere so how does that work for bringing it offline?

      You've got to continue to grow, or you're just like last night's cornbread -- stale & dry Loretta Lynn alethad
      • Holgervk
        Holgervk
        10 Posts
        ACCEPTED ANSWER

        Re: How to configure a RG not to fallover but just be brought offline

        ‏2012-08-21T19:16:37Z  in response to alethad
        if a RG with a higher prio wants to be brought online on a node where a RG with a lower prio, hacmp shut that lower-prio down before starting the higher-prio

        you can use the command
        /usr/es/sbin/cluster/utilities/clrgdependency -t'ANTICOLLOCATION' -u -hp'name_of_your_higher-prio-rg' -ip'' -lp'name_of_your_lower-prio-rg'
        to configure this.
        I use this on many clusters.
        • alethad
          alethad
          10 Posts
          ACCEPTED ANSWER

          Re: How to configure a RG not to fallover but just be brought offline

          ‏2012-08-21T19:41:34Z  in response to Holgervk
          I'll take a look.
          thanks.

          You've got to continue to grow, or you're just like last night's cornbread -- stale & dry Loretta Lynn alethad