Highlighted

VCS and VVR

Hi everyone,

I need your help to configure replication on a VCS environment, initially I have a config that invove two Cluster File Systems:

group fs_data1_sg (
        SystemList = { node1 = 0, node2 = 1 }
        AutoFailOver = 0
        Parallel = 1
        AutoStartList = { node1, node2 }
        )

        CFSMount cfsmount1 (
                Critical = 0
                MountPoint = "/FS-data1"
                BlockDevice = "/dev/vx/dsk/cfs01/fs-data1"
                MountOpt @node1 = "rw,suid"
                MountOpt @node2 = "rw,suid"
                NodeList = { node1, node2 }
                )

        CVMVolDg cvmvoldg1 (
                Critical = 0
                CVMDiskGroup = cfs01
                CVMVolume = { fs-data1 }
                CVMActivation @node1 = sw
                CVMActivation @node2 = sw
                )

        requires group cvm online local firm
        cfsmount1 requires cvmvoldg1


group fs_data2_sg (
        SystemList = { node1 = 0, node2 = 1 }
        AutoFailOver = 0
        Parallel = 1
        AutoStartList = { node1, node2 }
        )

        CFSMount cfsmount2 (
                Critical = 0
                MountPoint = "/FS-data2"
                BlockDevice = "/dev/vx/dsk/cfs02/fs-data2"
                MountOpt @node1 = "rw,suid"
                MountOpt @node2 = "rw,suid"
                NodeList = { node1, node2 }
                )

        CVMVolDg cvmvoldg2 (
                Critical = 0
                CVMDiskGroup = cfs02
                CVMVolume = { fs-data2 }
                CVMActivation @node1 = sw
                CVMActivation @node2 = sw
                )

        requires group cvm online local firm
        cfsmount2 requires cvmvoldg2

 

 

I want to implement replication through a VIP, so I modified my configuration to be something like this:


group fs_data1_sg (
        SystemList = { node1 = 0, node2 = 1 }
        AutoFailOver = 0
        Parallel = 1
        AutoStartList = { node1, node2 }
        )

        CFSMount cfsmount1 (
                Critical = 0
                MountPoint = "/FS-data1"
                BlockDevice = "/dev/vx/dsk/cfs01/fs-data1"
                MountOpt @node1 = "rw,suid"
                MountOpt @node2 = "rw,suid"
                NodeList = { node1, node2 }
                )

    requires group RVGShared_data1 online local firm    


group RVGLogowner_data1 (
    SystemList = { node1 = 0, node2 = 1 }
    AutoStartList = { node1, node2 }
    PreOnline @node1 = 1
        PreOnline @node2 = 1
    )


    RVGLogowner vvr_logowner_data1 (
        RVG = data1_rvg
        DiskGroup = cfs01
        )

    requires group RVGShared_data1 online local firm
    requires group vvr_ipgrp online local firm



group RVGShared_data1 (
    SystemList = { node1 = 0, node2 = 1 }
    Parallel = 1
    AutoStartList = { node1, node2 }
    )

      CVMVolDg cvmvoldg1 (
                Critical = 0
                CVMDiskGroup = cfs01
                CVMActivation @node1 = sw
                CVMActivation @node2 = sw
                )

    RVGShared data1_cfsrvg (
        RVG = data1_rvg
        DiskGroup = cfs01
        )

    requires group cvm online local firm
    data1_cfsrvg requires cvmvoldg1


group fs_data2_sg (
    SystemList = { node1 = 0, node2 = 1 }
    AutoFailOver = 0
    Parallel = 1
    AutoStartList = { node1, node2 }
    )

    CFSMount cfsmount2 (
        Critical = 0
        MountPoint = "/FS-data2"
        BlockDevice = "/dev/vx/dsk/cfs02/fs-data2"
        MountOpt @node1 = "rw,suid"
        MountOpt @node2 = "rw,suid"
        NodeList = { node1, node2 }
        )

    requires group RVGShared_data2 online local firm


group RVGLogowner_data2 (
    SystemList = { node1 = 0, node2 = 1 }
    AutoStartList = { node1, node2 }
    PreOnline @node1 = 1
        PreOnline @node2 = 1
    )


    RVGLogowner vvr_logowner_data2 (
        RVG = data2_rvg
        DiskGroup = cfs02
        )

    requires group RVGShared_data2 online local firm
    requires group vvr_ipgrp online local firm



group RVGShared_data2 (
    SystemList = { node1 = 0, node2 = 1 }
    Parallel = 1
    AutoStartList = { node1, node2 }
    )

    CVMVolDg cvmvoldg2 (
        Critical = 0
        CVMDiskGroup = cfs02
        CVMActivation @node1 = sw
        CVMActivation @node2 = sw
        )

    RVGShared data2_cfsrvg (
        RVG = data2_rvg
        DiskGroup = cfs02
        )

    requires group cvm online local firm
    data2_cfsrvg requires cvmvoldg2



group vvr_ipgrp (
    SystemList = { node1 = 0, node2 = 1 }
    AutoStartList = { node1, node2 }
    )

    IP vvr_ip (
        Device = eth2
        Address = "192.168.1.1"
        NetMask = "255.255.255.0"
        )

    Proxy vvr_nic_prxy (
        TargetResName = vvr_nic
        )

    vvr_ip requires vvr_nic_prxy


group vvr_nicgrp (
    SystemList = { node1 = 0, node2 = 1 }
    Parallel = 1
    AutoStartList = { node1, node2 }
    )

    NIC vvr_nic (
        Device = eth2
        )

    Phantom ph_vvr_nic (
        )

 

 

Can you please direct me to the best way to address such requirement

 

Thanks in advance

1 Reply

Re: VCS and VVR

Can you please elaborate what is the exact problem you are facing?

Best regards, Mikhail.
Independent Veritas consultant in Melbourne, Australia