Migrating the VCS global clustering service group to IPv6

To migrate the VCS global clustering service to IPv6, do the following:

To take the ClusterService Group offline on the Primary and Secondary sites

  1. On the Primary site, enter the following:

    # hagrp -offline -force ClusterService -sys swax25
  2. On the Secondary site, enter the following:

    # hagrp -offline -force ClusterService -sys swax27

To edit the VCS configuration for IPv6 addresses

  1. Make the VCS configuration writeable. Enter the following:

    # haconf -makerw
  2. Modify the following parameters:

    haclus -modify ClusterAddress \
      fd4b:454e:205a:111:210:20ff:fe98:0206 -clus sfha_site1
    # haclus -modify ClusterAddress \
      fd4b:454e:205a:111:210:20ff:fe98:0205 -clus sfha_site2
    # hahb -modify Icmp Arguments \
      fd4b:454e:205a:111:210:20ff:fe98:0205 -clus sfha_site2
    # hares -modify gcoip Device en2
    # hares -modify gcoip Address \
      fd4b:454e:205a:111:210:20ff:fe98:0206
    # hares -modify gcoip NetMask ""
    # hares -modify gcoip PrefixLen 64
    # hares -modify gconic Device en2
    # hares -modify gconic NetworkHosts \
      fd4b:454e:205a:111:211:43ff:fed3:f327
    # hares -modify gconic Protocol IPv6
    # hares -modify gconic Enabled 1
  3. Save your configuration changes. Enter the following:

    # haconf -dump -makero
  4. On the Secondary site, modify the global clustering ClusterServer Group attributes.

To bring the ClusterService Group online on the Primary and Secondary sites

  1. On the Primary site, enter the following:

    # hagrp -online -force ClusterService -sys swax25

  2. On the Secondary site, enter the following:

    # hagrp -online -force ClusterService -sys swax27

The global clustering ClusterService Group in the VCS main.cf configuration file now looks similar to the following:

cluster sfha_site1 (
        ClusterAddress = "fd4b:454e:205a:111:210:20ff:fe98:0206"
        SecureClus = 1
        )

remotecluster sfha_site2 (
        ClusterAddress = "fd4b:454e:205a:111:210:20ff:fe98:0205"
        )

heartbeat Icmp (
        ClusterList = { sfha_site2 }
        Arguments @sfha_site2 = { "fd4b:454e:205a:111:210:20ff:fe98:0205" }
        )

system swax25 (
        )

system swax26 (
        )

group ClusterService (
        SystemList = { swax25 = 0, swax26 = 1 }
        AutoStartList = { swax25, swax26 }
        OnlineRetryLimit = 3
        OnlineRetryInterval = 120
        )

        Application wac (
                StartProgram = "/opt/VRTSvcs/bin/wacstart"
                StopProgram = "/opt/VRTSvcs/bin/wacstop"
                MonitorProcesses = { "/opt/VRTSvcs/bin/wac" }
                RestartLimit = 3
                )

        IP gcoip (
                Device = en2
                Address = "fd4b:454e:205a:111:210:20ff:fe98:0206"
                PrefixLen = 64
                )

        NIC gconic (
                Device = en2
                NetworkHosts = { "fd4b:454e:205a:111:211:43ff:fed3:f327" }
                Protocol = IPv6
                )

        gcoip requires gconic
        wac requires gcoip


        // resource dependency tree
        //
        //      group ClusterService
        //      {
        //      Application wac
        //          {
        //          IP gcoip
        //              {
        //              NIC gconic
        //              }
        //          }
        //      }