Sample resource definition

In the VCS configuration file, main.cf, a specific resource of the FileOnOff resource type may resemble

    include types.cf
    .
    .
    .
           FileOnOff temp_file1 (
           PathName = "/tmp/test"
           )

The type FileOnOff is defined in the file types.cf. The file types.cf is included in main.cf using the include directive.The resource defined in the main.cf file specifies:

When the resource temp_file1 is brought online on a system by VCS, the FileOnOff agent creates a file "test" in the specified directory on that system.