Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Bundled Agents Reference Guide   

FileOnOnly Agent

Creates and monitors files.

Entry Points

  • Online---Creates an empty file with the specified name, unless one already exists.
  • Monitor---Checks for the specified file. If it exists, the agent reports as ONLINE. If it does not exist, the agent reports as FAULTED.

Type Definition


type FileOnOnly (
        static str ArgList[] = { PathName }
        static str Operations = OnOnly
        str PathName
)

Required Attribute

Required Attribute Description, Type and Dimension, Default, and Example

PathName

Specifies the complete pathname. Starts with a slash (/) preceding the file name.

Sample Configuration


FileOnOnly tmp_file02 (
 PathName = "/tmp/file02"
 )
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Bundled Agents Reference Guide  
VERITAS Software Corporation
www.veritas.com