Symantec logo

Sample configurations

include "types.cf"

cluster vcs_cluster (

    CounterInterval = 5

    )

system sysa (

    )

system sysb (

    )

group test_grp (

    SystemList = { sysa = 0, sysb = 1 }

    )

    DiskGroup test_dg (

        DiskGroup = test_dg

        )

    IP test_ip (

        Device = en0

        Address = "10.182.13.28"

        NetMask = "255.255.240.0"

        )

    Mount test_mnt (

        MountPoint = "/test_mnt"

        BlockDevice = "/dev/vx/dsk/test_dg/test_vol"

        FSType = vxfs

        MountOpt = rw

        FsckOpt = "-y %-o full"

        )

    Mount test_lockinfo_mnt (

        MountPoint = "/lockinfo"

        BlockDevice = "/dev/vx/dsk/test_dg/test_lockinfo_vol"

        FSType = vxfs

        MountOpt = rw

        FsckOpt = "-y"

        )

    NFS test_nfs (

        Nservers = 20

    )

    NFSRestart test_nfsrestart (

        NFSLockFailover = 1

        LocksPathName = "/test_mnt"

        NFSRes = test_nfs

        )

    Share test_share (

        PathName = "/test_mnt"

        Options = "-o rw"

        )

    Volume test_lockinfo_vol (

        Volume = test_lockinfo_vol

        DiskGroup = test_dg

        )

    Volume test_vol (

        Volume = test_vol

        DiskGroup = test_dg

        )

    test_nfsrestart requires test_ip

    test_nfsrestart requires test_lockinfo_mnt

    test_lockinfo_mnt requires test_lockinfo_vol

    test_lockinfo_vol requires test_dg

    test_ip requires test_share

    test_share requires test_nfs

    test_share requires test_mnt

    test_mnt requires test_vol

    test_vol requires test_dg