[LinuxFailSafe] failsafe does not failover

cqcai cqcai@163.com
Thu, 20 Mar 2003 14:57:45 +0800


here is a  database tree,  any wrong on it?
depend the configure below,  i can  get my eth0:0 failover at all:)

Value of node "#cluster#test":
    { #cluster#test = <tree>
        { machines = <tree>
            { webserver = <tree>
                { cms = <tree>
                    { status = "disabled" }
                }
            }
            { qcai = <tree>
                { cms = <tree>
                    { status = "disabled" }
                }
            }
        }
        { logging = <tree>
            { ha_gcd = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { /var/log/failsafe/gcd = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "5" }
                { GroupList = <tree>
                    { ha_gcd = <null> }
                }
            }
            { ha_srmd = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { /var/log/failsafe/srmd = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "5" }
                { GroupList = <tree>
                    { ha_srmd = <null> }
                }
            }
            { ha_agent = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { CommandName = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "5" }
                { GroupList = <tree>
                    { ha_agent = <null> }
                }
            }
            { ha_ifd = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { /var/log/failsafe/ifd = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "5" }
                { GroupList = <tree>
                    { ha_ifd = <null> }
                }
            }
            { test = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { /var/log/failsafe/test = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "5" }
                { GroupList = <tree>
                    { test = <null> }
                }
            }
            { ha_script = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { /var/log/failsafe/script = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "5" }
                { GroupList = <tree>
                    { ha_script = <null> }
                }
            }
            { ha_fsd = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { /var/log/failsafe/failsafe = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "11" }
                { GroupList = <tree>
                    { ha_fsd = <null> }
                }
            }
            { ha_cmsd = <tree>
                { SubsystemList = <tree>
                    { ALL = <null> }
                }
                { FileList = <tree>
                    { /var/log/failsafe/cmsd = <null> }
                }
                { mode = "ascii" }
                { debug = "debug" }
                { HeaderSize = "medium" }
                { level = "5" }
                { GroupList = <tree>
                    { ha_cmsd = <null> }
                }
            }
        }
        { ClusterAdmin = <tree>
            { NotifyAddress = "root@qcai.wiregate.com" }
            { NotifyCmd = "/usr/bin/mail" }
        }
        { HA = <tree>
            { mode = "normal" }
            { resources = <tree>
                { IP_address = <tree>
                    { 192.168.1.143 = <tree>
                        { BroadcastAddress = "192.168.1.255" }
                        { interfaces = "eth0:0" }
                        { NetworkMask = "0xffffff00" }
                        { _dependency = <null> }
                        { _LocalDefinitions = <null> }
                    }
                    { 192.168.1.13 = <tree>
                        { BroadcastAddress = "192.168.1.255" }
                        { interfaces = "eth0:0" }
                        { NetworkMask = "0xffffff00" }
                        { _dependency = <null> }
                        { _LocalDefinitions = <null> }
                    }
                }
            }
            { ResourceGroups = <tree>
                { webserver-group = <tree>
                    { state = "disable" }
                    { ResourceTypes = <tree>
                        { IP_address = <tree>
                            { 192.168.1.13 = <null> }
                        }
                    }
                    { FailoverPolicy = "webserver-primary" }
                }
                { qcai-group = <tree>
                    { state = "disable" }
                    { ResourceTypes = <tree>
                        { IP_address = <tree>
                            { 192.168.1.143 = <null> }
                        }
                    }
                    { FailoverPolicy = "qcai-primary" }
                }
            }
            { ResourceTypes = <tree>
                { Filesystem = <tree>
                    { predefined = "true" }
                    { order = "200" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Filesystem/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Filesystem/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Filesystem/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Filesystem/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Filesystem/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { FSType = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "reiserfs" }
                        }
                        { force_umount = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "yes" }
                        }
                        { mount_options = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "defaults" }
                        }
                        { Device = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { Apache = <tree>
                    { predefined = "true" }
                    { order = "501" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Apache/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Apache/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Apache/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Apache/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Apache/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { port-number = <tree>
                            { DataTypes = "integer" }
                            { DefaultValues = <null> }
                        }
                        { monitor-level = <tree>
                            { DataTypes = "integer" }
                            { DefaultValues = "1" }
                        }
                        { default-page-location = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { web-ipaddr = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { server-root = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <tree>
                        { IP_address = <null> }
                    }
                    { _LocalDefinitions = <null> }
                }
                { DB2 = <tree>
                    { predefined = "true" }
                    { order = "801" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/DB2/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/DB2/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/DB2/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/DB2/restart" }
                        }
                        { start = <tree>
                            { timeout = "4000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/DB2/start" }
                        }
                    }
                    { LocalFailoverPolicy = "1" }
                    { LocalFailoverArguments = "1" }
                    { ResourceAttributes = <tree>
                        { AdmUser = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { BinPath = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <tree>
                        { IP_address = <null> }
                        { Filesystem = <null> }
                    }
                    { _LocalDefinitions = <null> }
                }
                { file = <tree>
                    { predefined = "true" }
                    { order = "600" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/file/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/file/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/file/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/file/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/file/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { filename = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { ICP_volume = <tree>
                    { predefined = "true" }
                    { order = "100" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/ICP_volume/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/ICP_volume/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/ICP_volume/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/ICP_volume/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/ICP_volume/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { Device = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { Informix = <tree>
                    { predefined = "true" }
                    { order = "802" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "800000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Informix/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Informix/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Informix/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "800000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Informix/restart" }
                        }
                        { start = <tree>
                            { timeout = "4000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Informix/start" }
                        }
                    }
                    { LocalFailoverPolicy = "1" }
                    { LocalFailoverArguments = "1" }
                    { ResourceAttributes = <tree>
                        { AdmUser = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "informix" }
                        }
                        { onconfig = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "onconfig." }
                        }
                        { InformixDir = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "/opt/informix" }
                        }
                    }
                    { _dependency = <tree>
                        { IP_address = <null> }
                        { Filesystem = <null> }
                    }
                    { _LocalDefinitions = <null> }
                }
                { IP_address = <tree>
                    { predefined = "true" }
                    { order = "401" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "800000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/IP_address/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/IP_address/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "1000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/IP_address/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "800000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/IP_address/restart" }
                        }
                        { start = <tree>
                            { timeout = "800000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/IP_address/start" }
                        }
                    }
                    { LocalFailoverPolicy = "1" }
                    { LocalFailoverArguments = "2" }
                    { ResourceAttributes = <tree>
                        { BroadcastAddress = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { interfaces = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { NetworkMask = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { lprng = <tree>
                    { predefined = "true" }
                    { order = "600" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/lprng/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/lprng/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/lprng/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/lprng/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/lprng/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <null> }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { LVM_volume = <tree>
                    { predefined = "true" }
                    { order = "150" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/LVM_volume/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/LVM_volume/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/LVM_volume/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/LVM_volume/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/LVM_volume/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <null> }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { NFS = <tree>
                    { predefined = "true" }
                    { order = "201" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "40000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/NFS/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/NFS/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/NFS/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/NFS/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/NFS/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { filesystem = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { export-info = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "rw" }
                        }
                    }
                    { _dependency = <tree>
                        { IP_address = <null> }
                        { Filesystem = <null> }
                    }
                    { _LocalDefinitions = <null> }
                }
                { Oracle = <tree>
                    { predefined = "true" }
                    { order = "801" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "800000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Oracle/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Oracle/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Oracle/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "800000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Oracle/restart" }
                        }
                        { start = <tree>
                            { timeout = "4000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Oracle/start" }
                        }
                    }
                    { LocalFailoverPolicy = "1" }
                    { LocalFailoverArguments = "1" }
                    { ResourceAttributes = <tree>
                        { AdmUser = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { BinPath = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <tree>
                        { IP_address = <null> }
                        { Filesystem = <null> }
                    }
                    { _LocalDefinitions = <null> }
                }
                { Samba = <tree>
                    { predefined = "true" }
                    { order = "502" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Samba/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Samba/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Samba/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Samba/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/Samba/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { monitor-level = <tree>
                            { DataTypes = "integer" }
                            { DefaultValues = "1" }
                        }
                    }
                    { _dependency = <tree>
                        { IP_address = <null> }
                    }
                    { _LocalDefinitions = <null> }
                }
                { sap = <tree>
                    { predefined = "true" }
                    { order = "900" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "4000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sap/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sap/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sap/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "4000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sap/restart" }
                        }
                        { start = <tree>
                            { timeout = "4000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sap/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { VirtualHostname = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { MonitorLevel = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "2" }
                        }
                        { Instance = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "DVEBMSG00" }
                        }
                    }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { sapdb = <tree>
                    { predefined = "true" }
                    { order = "801" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sapdb/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sapdb/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sapdb/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sapdb/restart" }
                        }
                        { start = <tree>
                            { timeout = "4000000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/sapdb/start" }
                        }
                    }
                    { LocalFailoverPolicy = "1" }
                    { LocalFailoverArguments = "1" }
                    { ResourceAttributes = <tree>
                        { AdmUser = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { ControlAccount = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { ControlPassword = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                        { BinPath = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = <null> }
                        }
                    }
                    { _dependency = <tree>
                        { IP_address = <null> }
                        { Filesystem = <null> }
                    }
                    { _LocalDefinitions = <null> }
                }
                { saprouter = <tree>
                    { predefined = "true" }
                    { order = "600" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/saprouter/stop" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/saprouter/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/saprouter/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/saprouter/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/saprouter/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <tree>
                        { log_file = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "/var/log/saprouter" }
                        }
                        { trace_file = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = 
"/var/log/saprouter_dev_rout" }
                        }
                        { service = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "3299" }
                        }
                        { config_file = <tree>
                            { DataTypes = "string" }
                            { DefaultValues = "/etc/saprouttab" }
                        }
                    }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
                { template = <tree>
                    { predefined = "true" }
                    { order = "100" }
                    { action = <tree>
                        { stop = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/template/stop" }
                        }
                        { probe = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/template/probe" }
                        }
                        { monitor = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "20000" }
                            { StartMonitoringTime = "50000" }
                            { executable = 
"/usr/lib/failsafe/resource_types/template/monitor" }
                        }
                        { exclusive = <tree>
                            { timeout = "500000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/template/exclusive" }
                        }
                        { restart = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/template/restart" }
                        }
                        { start = <tree>
                            { timeout = "400000" }
                            { MonitorPeriod = "0" }
                            { StartMonitoringTime = "0" }
                            { executable = 
"/usr/lib/failsafe/resource_types/template/start" }
                        }
                    }
                    { LocalFailoverPolicy = "0" }
                    { ResourceAttributes = <null> }
                    { _dependency = <null> }
                    { _LocalDefinitions = <null> }
                }
            }
            { services = <tree>
                { srm = <tree>
                    { NotifyList = <tree>
                        { srmd2 = <null> }
                        { srmd1 = <null> }
                    }
                    { parameters = <tree>
                        { SRM_MaxResourceEntries = "64" }
                        { SRM_GroupID = "10" }
                        { ClientTimePeriod = "10000" }
                        { ActionTimePeriod = "5000" }
                        { MainTimePeriod = "10000" }
                        { SyncCommunication = "false" }
                        { SRM_MessageBufferSize = "64000" }
                    }
                }
                { failsafe = <tree>
                    { GCS_MessageSize = "64000" }
                    { PulseTime = "10000" }
                    { InitialPulseTime = "20000" }
                    { GCS_GroupID = "11" }
                    { ResetTimeout = "15" }
                    { BootSleep = "30000" }
                }
                { cms = <tree>
                    { SendTimePeriod = "1000" }
                    { NotifyList = <tree>
                        { cmsd2 = <null> }
                        { cmsd1 = <null> }
                    }
                    { NodeTimeout = "15000" }
                }
                { gcs = <tree>
                    { options = <tree>
                        { ResendTimeout = "10000" }
                        { ProposalQTimeout = "10000" }
                        { CommitQTimeout = "10000" }
                        { CMS_PulseTime = "6000" }
                        { CMS_MonitorTime = "30000" }
                        { GCD_LoopTime = "120000" }
                        { MemorySize = "64000" }
                    }
                    { GCS_NotifyList = <tree>
                        { gcd2 = <null> }
                        { gcd1 = <null> }
                    }
                }
            }
            { state = "enabled" }
        }
        { tmp = <null> }
    }