Moving the service groups to the second subcluster

Last published : Sep 18, 2026
Perform the following steps to establish the service group's status and to switch the service groups.
To move service groups to the second subcluster
  1. On the first subcluster, determine where the service groups are online.
    \# hagrp -state
    The output resembles:
    \#Group   Attribute System Value
    sg1      State     node01 |ONLINE|
    sg1      State     node02 |ONLINE|
    sg1      State     node03 |ONLINE|
    sg1      State     node04 |ONLINE|
    sg2      State     node01 |ONLINE|
    sg2      State     node02 |ONLINE|
    sg2      State     node03 |ONLINE|
    sg2      State     node04 |ONLINE|
    sg3      State     node01 |ONLINE|
    sg3      State     node02 |OFFLINE|
    sg3      State     node03 |OFFLINE|
    sg3      State     node04 |OFFLINE|
    sg4      State     node01 |OFFLINE|
    sg4      State     node02 |ONLINE|
    sg4      State     node03 |OFFLINE|
    sg4      State     node04 |OFFLINE|
  2. Offline the parallel service groups (sg1 and sg2) from the first subcluster. Switch the failover service groups (sg3 and sg4) from the first subcluster (node01 and node02) to the nodes on the second subcluster (node03 and node04). For SFHA, vxfen sg is the parallel service group.
    \# hagrp -offline sg1 -sys node01
    \# hagrp -offline sg2 -sys node01
    \# hagrp -offline sg1 -sys node02
    \# hagrp -offline sg2 -sys node02
    \# hagrp -switch sg3 -to node03
    \# hagrp -switch sg4 -to node04
    1. On the nodes in the first subcluster, unmount all the VxFS file systems that VCS does not manage, for example:
    \# df -k
Filesystem          kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t0d0s0   66440242 10114415 55661425  16%  /
/devices                   0       0       0     0%  /devices
ctfs                       0       0       0     0%  /system/contract
proc                       0       0       0     0%  /proc
mnttab                     0       0       0     0%  /etc/mnttab
swap                 5287408    1400 5286008     1%  /etc/svc/volatile
objfs                      0       0       0     0%  /system/object
sharefs                    0       0       0     0%  /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                  66440242 10114415 55661425    16%  /platform/sun4u-us3/lib/
libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                     66440242 10114415 55661425    16%    /platform/sun4u-us3/lib/
sparcv9/libc_psr.so.1
fd                         0       0       0     0%    /dev/fd
swap                 5286064      56 5286008     1%    /tmp
swap                 5286056      48 5286008     1%    /var/run
swap                 5286008       0 5286008     0%    /dev/vx/dmp
swap                 5286008       0 5286008     0%    /dev/vx/rdmp
                      3.0G   18M  2.8G   1% /mnt/dg2/dg2vol1
/dev/vx/dsk/dg2/dg2vol2
                      1.0G   18M  944M   2% /mnt/dg2/dg2vol2
/dev/vx/dsk/dg2/dg2vol3
                       10G   20M  9.4G   1% /mnt/dg2/dg2vol3
\# umount /mnt/dg2/dg2vol1
\# umount /mnt/dg2/dg2vol2
\# umount /mnt/dg2/dg2vol3
  1. On the nodes in the first subcluster, stop all VxVM volumes (for each disk group) that VCS does not manage.
  2. Make the configuration writable on the first subcluster.
    \# haconf -makerw
    1. Freeze the nodes in the first subcluster.
    \# hasys -freeze -persistent node01
    \# hasys -freeze -persistent node02
  3. Dump the configuration and make it read-only.
    \# haconf -dump -makero
    1. Verify that the service groups are offline on the first subcluster that you want to upgrade.
    \# hagrp -state
Output resembles:
\#Group Attribute System Value
sg1  State node01 |OFFLINE|
sg1  State node02 |OFFLINE|
sg1  State node03 |ONLINE|
sg1  State node04 |ONLINE|
sg2  State node01 |OFFLINE|
sg2  State node02 |OFFLINE|
sg2  State node03 |ONLINE|
sg2  State node04 |ONLINE|
sg3  State node01 |OFFLINE|
sg3  State node02 |OFFLINE|
sg3  State node03 |ONLINE|
sg3  State node04 |OFFLINE|
sg4  State node01 |OFFLINE|
sg4  State node02 |OFFLINE|
sg4  State node03 |OFFLINE|
sg4  State node04 |ONLINE|