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

FileOnOff Agent

Creates, removes, and monitors files.

Entry Points

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

Type Definition


type FileOnOff (
        static str ArgList[] = { PathName }
        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


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