Sample configurations

Configuration 1 for AIX

Use the crfs and mkfs commands to create file systems. VCS supports the following configurations for the Mount agent:

[Placeholder]

Configuration 2 for AIX

In the following configuration, the mnt resource requires the vg00 resource.

[Placeholder]

LVMVG lvmvg_vg00 (

VolumeGroup = vg00

Disks = { "hdisk3" }

Options = "u"

)

Mount mnt (

MountPoint = "/lvm_testmnt"

BlockDevice = "/dev/lv00"

FSType = jfs

)

mnt requires vg00

Configuration 3 for AIX

In the following configuration, vol0L is a volume in diskgrp testdg_1 created with VxVM.

[Placeholder]

Mount m0 (

MountPoint = "/tmp/m0"

BlockDevice = "/dev/vx/dsk/testdg_1/vol0"

FSType = vxfs

)

Configuration for HP-UX

Mount campus-fs1 (

MountPoint= "/campus1"

BlockDevice = "/dev/vx/dsk/campus-dg1/campus-vol1"

FSType = "vxfs"

FsckOpt = "-n"

MountOpt = "rw"

)

For more configurations, see:

Configuration 1 for Linux

<resource name="MountSCSI1" type="Mount">

<attribute name="BlockDevice"><scalar>"/dev/vx/dsk/dg/vol1" </scalar></attribute>

<attribute name="FSType"><scalar>"vxfs"</scalar></attribute>

<attribute name="MountOpt"><scalar>"rw"</scalar></attribute>

<attribute name="MountPoint"><scalar>"/data"</scalar></attribute>

<attribute name="FsckOpt"><scalar>"-y"</scalar></attribute>

</resource>

Configuration 2 for Linux

<resource name="MountNFS" type="Mount">

<attribute name="BlockDevice"><scalar>"10.212.100.101:/mnt/share"</scalar></attribute>

<attribute name="FSType"><scalar>"nfs"</scalar></attribute>

<attribute name="MountOpt"><scalar>"rw"</scalar></attribute>

<attribute name="MountPoint"><scalar>"/data"</scalar> </attribute>

<attribute name="SecondLevelMonitor"><scalar>1</scalar> </attribute>

<attribute name="SecondLevelTimeout"><scalar>20</scalar> </attribute>

</resource>

Configuration for Linux

Mount MountSCSI1 (

MountPoint= "/scsi1"

BlockDevice = "/dev/sda1"

FSType = ext2

MountOpt = rw

FsckOpt = "-y"

)

Configuration for Solaris

[Placeholder]

Mount campus-fs1 (

MountPoint= "/campus1"

BlockDevice = "/dev/vx/dsk/campus-dg1/campus-vol1"

FSType = "vxfs"

FsckOpt = "-n"

MountOpt = "rw"

)