Sample 2: types.cf
type Application (
static str ArgList[] = { User, StartProgram, StopProgram, CleanProgram, MonitorProgram, PidFiles, MonitorProcesses }
str User = root
str StartProgram
str StopProgram
str CleanProgram
str MonitorProgram
str PidFiles[]
str MonitorProcesses[]
)
type DiskGroup (
static int NumThreads = 1
static int OnlineRetryLimit = 1
static str ArgList[] = { DiskGroup, StartVolumes, StopVolumes, MonitorOnly }
str DiskGroup
str StartVolumes = 1
str StopVolumes = 1
)
type ElifNone (
static int OfflineMonitorInterval = 60
static str ArgList[] = { PathName }
static str Operations = None
str PathName
)
type FileNone (
static int OfflineMonitorInterval = 60
static str ArgList[] = { PathName }
static str Operations = None
str PathName
)
type FileOnOff (
static str ArgList[] = { PathName }
str PathName
)
type FileOnOnly (
static str ArgList[] = { PathName }
static str Operations = OnOnly
str PathName
)
type IP (
static str ArgList[] = { Device, Address, NetMask, Options, ArpDelay, IfconfigTwice }
str Device
str Address
str NetMask
str Options
int ArpDelay = 1
int IfconfigTwice
)
type IPMultiNIC (
static int MonitorTimeout = 120
static str ArgList[] = { "MultiNICResName:Device", Address, NetMask, "MultiNICResName:ArpDelay", Options, "MultiNICResName:Probed", MultiNICResName, IfconfigTwice }
str Address
str NetMask
str Options
str MultiNICResName
int IfconfigTwice
)
type LVMCombo (
static str ArgList[] = { VolumeGroup, LogicalVolumes }
str VolumeGroup
str LogicalVolumes[]
)
type LVMLogicalVolume (
static str ArgList[] = { LogicalVolume, VolumeGroup }
str LogicalVolume
str VolumeGroup
)
type LVMVolumeGroup (
static str ArgList[] = { VolumeGroup }
str VolumeGroup
)
type Mount (
static str ArgList[] = { MountPoint, BlockDevice, FSType, MountOpt, FsckOpt, SnapUmount }
str MountPoint
str BlockDevice
str FSType
str MountOpt
str FsckOpt
int SnapUmount
)
type MultiNICA (
static int MonitorTimeout = 300
static int OfflineMonitorInterval = 60
static str ArgList[] = { Device, NetMask, ArpDelay, Options, RouteOptions, MonitorOnly, IfconfigTwice, HandshakeInterval, NetworkHosts }
static str Operations = None
str Device{}
str NetMask
int ArpDelay = 1
str Options
str RouteOptions
int IfconfigTwice
int HandshakeInterval = 90
str NetworkHosts[]
)
type NFS (
static int RestartLimit = 1
static str ArgList[] = { Nservers, Protocol }
static str Operations = OnOnly
int Nservers = 4
str Protocol = all
)
type NIC (
static int OfflineMonitorInterval = 60
static str ArgList[] = { Device, NetworkType, NetworkHosts }
static str Operations = None
str Device
str NetworkType
str NetworkHosts[]
)
type NotifierMngr (
static int RestartLimit = 3
static str ArgList[] = { EngineListeningPort, MessagesQueue, NotifierListeningPort, SnmpdTrapPort, SnmpCommunity, SnmpConsoles, SmtpServer, SmtpRecipients }
int EngineListeningPort = 14141
int MessagesQueue = 30
int NotifierListeningPort = 14144
int SnmpdTrapPort = 162
str SnmpCommunity = public
str SnmpConsoles{}
str SmtpServer
str SmtpRecipients{}
)
type Phantom (
static str ArgList[] = { Dummy }
str Dummy
)
type Process (
static str ArgList[] = { PathName, Arguments }
str PathName
str Arguments
)
type Proxy (
static int OfflineMonitorInterval = 60
static str ArgList[] = { TargetResName, TargetSysName, "TargetResName:Probed", "TargetResName:State" }
static str Operations = None
str TargetResName
str TargetSysName
)
type ServiceGroupHB (
static int OnlineRetryLimit = 5
static str ArgList[] = { Disks, AllOrNone }
str Disks[]
boolean AllOrNone = 1
)
type Share (
static int NumThreads = 1
static str ArgList[] = { PathName, Options }
str PathName
str Options
)
type VRTSWebApp (
static int NumThreads = 1
static str ArgList[] = { AppName, InstallDir, TimeForOnline }
str AppName
str InstallDir
int TimeForOnline
)
type Volume (
static int NumThreads = 1
static str ArgList[] = { Volume, DiskGroup }
str Volume
str DiskGroup
)
|