Symantec logo

The file

The file describes standard resource types to the VCS engine; specifically, the data required to control a specific resource.

The following example illustrates a DiskGroup resource type definition for HP-UX.

type DiskGroup (

static keylist SupportedActions = { "license.vfd",

"disk.vfd", numdisks }

static int NumThreads = 1

static int OnlineRetryLimit = 1

static str ArgList[] = { DiskGroup, StartVolumes,

StopVolumes, MonitorOnly, MonitorReservation,

tempUseFence, PanicSystemOnDGLoss }

str DiskGroup

str StartVolumes = 1

str StopVolumes = 1

boolean MonitorReservation = 0

temp str tempUseFence = INVALID

boolean PanicSystemOnDGLoss = 1


The types definition performs two important functions:

For another example, review the following and representing an IP resource: for HP-UX

IP nfs_ip1 (

Device = lan0

Address = ""

) for HP-UX

type IP (

static keylist SupportedActions = { "device.vfd",

route.vfd" }

static str ArgList[] = { Device, Address, NetMask, Options,

ArpDelay, IfconfigTwice }

str Device

str Address

str NetMask

str Options

int ArpDelay = 1

int IfconfigTwice


The high-availability address is configured on the interface defined by the Device attribute. The IP address is enclosed in double quotes because the string contains periods.

See Attribute data types.

The VCS engine passes the identical arguments to the IP agent for online, offline, clean and monitor. It is up to the agent to use the arguments it requires. All resource names must be unique in a VCS cluster.