bash-3.00# less /etc/VRTSvcs/conf/VVRTypes.cf
// $Id$
// ident “@(#)VCS:$RCSfile$ $Revision$”
//
// Copyright (c) 1998-2004 VERITAS Software Corporation. All rights
// reserved. VERITAS, the VERITAS Logo and all other VERITAS product
// names and slogans are trademarks or registered trademarks of VERITAS
// Software Corporation. VERITAS and the VERITAS Logo Reg. U.S. Pat. &
// Tm. Off. Other product names and/or slogans mentioned herein may be
// trademarks or registered trademarks of their respective companies.
//
type RVG (
static int NumThreads = 1
static str ArgList[] = { RVG, DiskGroup }
str RVG
str DiskGroup
str StorageRVG
str StorageDG
str StorageHostIds
)
type RVGPrimary (
static keylist SupportedActions = { fbsync }
static int NumThreads = 1
static int OnlineRetryLimit = 1
static str ArgList[] = { RvgResourceName, AutoTakeover, AutoResync }
str RvgResourceName
int AutoTakeover = 1
int AutoResync = 0
)
type RVGSnapshot (
static keylist RegList = { Prefix }
static int NumThreads = 1
static str ArgList[] = { RvgResourceName, CacheObj, Prefix, DestroyOnOffline }
str RvgResourceName
str CacheObj
str Prefix
boolean DestroyOnOffline = 1
temp str FDFile
)
bash-3.00# /opt/VRTSvcs/bin/hacf -typetocmd /etc/VRTSvcs/conf/VVRTypes.cf -display
hatype -add RVG
hatype -modify RVG SourceFile “./VVRTypes.cf”
hatype -modify RVG NumThreads 1
hatype -modify RVG ArgList RVG DiskGroup
haattr -add RVG RVG -string
haattr -add RVG DiskGroup -string
haattr -add RVG StorageRVG -string
haattr -add RVG StorageDG -string
haattr -add RVG StorageHostIds -string
hatype -modify RVG AttrChangedTimeout 60
hatype -modify RVG CloseTimeout 60
hatype -modify RVG CleanTimeout 60
hatype -modify RVG ConfInterval 600
hatype -modify RVG MonitorInterval 60
hatype -modify RVG MonitorTimeout 60
hatype -modify RVG AgentPriority 0
hatype -modify RVG AgentClass TS
hatype -modify RVG ScriptPriority 0
hatype -modify RVG ScriptClass TS
hatype -modify RVG LogFileSize 33554432
hatype -modify RVG OfflineMonitorInterval 300
hatype -modify RVG OfflineProcScanInterval 60
hatype -modify RVG OfflineTimeout 300
hatype -modify RVG OnlineRetryLimit 0
hatype -modify RVG OnlineTimeout 300
hatype -modify RVG OnlineWaitLimit 2
hatype -modify RVG OpenTimeout 60
hatype -modify RVG ProcScanInterval 60
hatype -modify RVG ProcScanStatus 0
hatype -modify RVG RestartLimit 0
hatype -modify RVG ToleranceLimit 0
hatype -modify RVG AgentStartTimeout 60
hatype -modify RVG AgentReplyTimeout 130
hatype -modify RVG Operations OnOff
hatype -modify RVG FaultOnMonitorTimeouts 4
hatype -modify RVG InfoInterval 0
hatype -modify RVG InfoTimeout 30
hatype -modify RVG SupportedActions -delete -keys
hatype -modify RVG ActionTimeout 30
hatype -modify RVG AgentDirectory “”
hatype -modify RVG AgentFile “”
hatype -modify RVG FireDrill 0
hatype -modify RVG Migratable 0
hatype -modify RVG ExternalStateChange -delete -keys
haattr -default RVG AutoStart 1
haattr -default RVG Critical 1
haattr -default RVG TriggerEvent 0
haattr -default RVG ResourceOwner unknown
hatype -modify RVG MonitorStatsParam Frequency 0 ExpectedValue 100 ValueThreshold 100 AvgThreshold 40
hatype -modify RVG AMF Mode 3 MonitorInterval 60 OfflineMonitorInterval 300 RegisterRetryLimit 3
hatype -modify RVG LogDbg -delete -keys
haattr -default RVG ComputeStats 0
hatype -add RVGPrimary
hatype -modify RVGPrimary SourceFile “./VVRTypes.cf”
hatype -modify RVGPrimary SupportedActions fbsync
hatype -modify RVGPrimary NumThreads 1
hatype -modify RVGPrimary OnlineRetryLimit 1
hatype -modify RVGPrimary ArgList RvgResourceName AutoTakeover AutoResync
haattr -add RVGPrimary RvgResourceName -string
haattr -add RVGPrimary AutoTakeover -integer 1
haattr -add RVGPrimary AutoResync -integer 0
hatype -modify RVGPrimary AttrChangedTimeout 60
hatype -modify RVGPrimary CloseTimeout 60
hatype -modify RVGPrimary CleanTimeout 60
hatype -modify RVGPrimary ConfInterval 600
hatype -modify RVGPrimary MonitorInterval 60
hatype -modify RVGPrimary MonitorTimeout 60
hatype -modify RVGPrimary AgentPriority 0
hatype -modify RVGPrimary AgentClass TS
hatype -modify RVGPrimary ScriptPriority 0
hatype -modify RVGPrimary ScriptClass TS
hatype -modify RVGPrimary LogFileSize 33554432
hatype -modify RVGPrimary OfflineMonitorInterval 300
hatype -modify RVGPrimary OfflineProcScanInterval 60
hatype -modify RVGPrimary OfflineTimeout 300
hatype -modify RVGPrimary OnlineTimeout 300
hatype -modify RVGPrimary OnlineWaitLimit 2
hatype -modify RVGPrimary OpenTimeout 60
hatype -modify RVGPrimary ProcScanInterval 60
hatype -modify RVGPrimary ProcScanStatus 0
hatype -modify RVGPrimary RestartLimit 0
hatype -modify RVGPrimary ToleranceLimit 0
hatype -modify RVGPrimary AgentStartTimeout 60
hatype -modify RVGPrimary AgentReplyTimeout 130
hatype -modify RVGPrimary Operations OnOff
hatype -modify RVGPrimary FaultOnMonitorTimeouts 4
hatype -modify RVGPrimary InfoInterval 0
hatype -modify RVGPrimary InfoTimeout 30
hatype -modify RVGPrimary ActionTimeout 30
hatype -modify RVGPrimary AgentDirectory “”
hatype -modify RVGPrimary AgentFile “”
hatype -modify RVGPrimary FireDrill 0
hatype -modify RVGPrimary Migratable 0
hatype -modify RVGPrimary ExternalStateChange -delete -keys
haattr -default RVGPrimary AutoStart 1
haattr -default RVGPrimary Critical 1
haattr -default RVGPrimary TriggerEvent 0
haattr -default RVGPrimary ResourceOwner unknown
hatype -modify RVGPrimary MonitorStatsParam Frequency 0 ExpectedValue 100 ValueThreshold 100 AvgThreshold 40
hatype -modify RVGPrimary AMF Mode 3 MonitorInterval 60 OfflineMonitorInterval 300 RegisterRetryLimit 3
hatype -modify RVGPrimary LogDbg -delete -keys
haattr -default RVGPrimary ComputeStats 0
hatype -add RVGSnapshot
hatype -modify RVGSnapshot SourceFile “./VVRTypes.cf”
haattr -add -static RVGSnapshot RegList -keylist Prefix
hatype -modify RVGSnapshot NumThreads 1
hatype -modify RVGSnapshot ArgList RvgResourceName CacheObj Prefix DestroyOnOffline
haattr -add RVGSnapshot RvgResourceName -string
haattr -add RVGSnapshot CacheObj -string
haattr -add RVGSnapshot Prefix -string
haattr -add RVGSnapshot DestroyOnOffline -boolean 1
haattr -add -temp RVGSnapshot FDFile -string
hatype -modify RVGSnapshot AttrChangedTimeout 60
hatype -modify RVGSnapshot CloseTimeout 60
hatype -modify RVGSnapshot CleanTimeout 60
hatype -modify RVGSnapshot ConfInterval 600
hatype -modify RVGSnapshot MonitorInterval 60
hatype -modify RVGSnapshot MonitorTimeout 60
hatype -modify RVGSnapshot AgentPriority 0
hatype -modify RVGSnapshot AgentClass TS
hatype -modify RVGSnapshot ScriptPriority 0
hatype -modify RVGSnapshot ScriptClass TS
hatype -modify RVGSnapshot LogFileSize 33554432
hatype -modify RVGSnapshot OfflineMonitorInterval 300
hatype -modify RVGSnapshot OfflineProcScanInterval 60
hatype -modify RVGSnapshot OfflineTimeout 300
hatype -modify RVGSnapshot OnlineRetryLimit 0
hatype -modify RVGSnapshot OnlineTimeout 300
hatype -modify RVGSnapshot OnlineWaitLimit 2
hatype -modify RVGSnapshot OpenTimeout 60
hatype -modify RVGSnapshot ProcScanInterval 60
hatype -modify RVGSnapshot ProcScanStatus 0
hatype -modify RVGSnapshot RestartLimit 0
hatype -modify RVGSnapshot ToleranceLimit 0
hatype -modify RVGSnapshot AgentStartTimeout 60
hatype -modify RVGSnapshot AgentReplyTimeout 130
hatype -modify RVGSnapshot Operations OnOff
hatype -modify RVGSnapshot FaultOnMonitorTimeouts 4
hatype -modify RVGSnapshot InfoInterval 0
hatype -modify RVGSnapshot InfoTimeout 30
hatype -modify RVGSnapshot SupportedActions -delete -keys
hatype -modify RVGSnapshot ActionTimeout 30
hatype -modify RVGSnapshot AgentDirectory “”
hatype -modify RVGSnapshot AgentFile “”
hatype -modify RVGSnapshot FireDrill 0
hatype -modify RVGSnapshot Migratable 0
hatype -modify RVGSnapshot ExternalStateChange -delete -keys
haattr -default RVGSnapshot AutoStart 1
haattr -default RVGSnapshot Critical 1
haattr -default RVGSnapshot TriggerEvent 0
haattr -default RVGSnapshot ResourceOwner unknown
hatype -modify RVGSnapshot MonitorStatsParam Frequency 0 ExpectedValue 100 ValueThreshold 100 AvgThreshold 40
hatype -modify RVGSnapshot AMF Mode 3 MonitorInterval 60 OfflineMonitorInterval 300 RegisterRetryLimit 3
hatype -modify RVGSnapshot LogDbg -delete -keys
haattr -default RVGSnapshot ComputeStats 0
bash-3.00#
refer to: http://haidong.wordpress.com/2009/03/06/veritas-cluster-server-tip-to-manually-import-typeagent/