Veritas Cluster Server Bundled Agents Reference Guide

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

d1mj3xqaoh14j0.cloudfront.net
from d1mj3xqaoh14j0.cloudfront.net More from this publisher
17.08.2015 Views

148 VCS infrastructure and support agents FileOnOnly agent State definitions ONLINE OFFLINE UNKNOWN Indicates the specified file exists. Indicates the specified file does not exist. Indicates that the value of the PathName attribute does not contain a file name. Resource type definition type FileOnOff ( static i18nstr ArgList[] = { PathName } i18nstr PathName ) Attribute definitions Table 7-12 FileOnOff agent required attributes Required Attributes PathName Description The complete path of the file to be monitored. This attribute can take localized values. Type and Dimension: string-scalar Sample configuration FileOnOff tmp_file01_txt ( PathName = "C:\\tmp\\file01.txt" ) FileOnOnly agent The FileOnOnly agent creates and monitors a file. Agent functions online offline Creates the specified file. Not applicable.

VCS infrastructure and support agents RemoteGroup agent 149 monitor Verifies that the specified file exists. State definitions ONLINE FAULTED UNKNOWN Indicates the specified file exists. Indicates the specified file does not exist. Indicates that the value of the PathName attribute does not contain a file name. Resource type definition type FileOnOnly ( static i18nstr ArgList[] = { PathName } i18nstr PathName ) Attribute definitions Table 7-13 FileOnOnly agent required attributes Required Attributes PathName Description The complete path of the file to be monitored. This attribute can take localized values. Type and Dimension: string-scalar Sample configuration FileOnOnly tmp_file01_txt ( PathName = "C:\\tmp\\file01.txt" ) RemoteGroup agent The RemoteGroup agent establishes dependencies between applications that are configured on different VCS clusters. For example, you configure an Apache resource in a local cluster, and a MySQL resource in a remote cluster. In this example, the Apache resource depends on the MySQL resource. You can use the RemoteGroup agent to establish this dependency between these two resources.

148<br />

VCS infrastructure and support agents<br />

FileOnOnly agent<br />

State definitions<br />

ONLINE<br />

OFFLINE<br />

UNKNOWN<br />

Indicates the specified file exists.<br />

Indicates the specified file does not exist.<br />

Indicates that the value of the PathName attribute does not contain a file<br />

name.<br />

Resource type definition<br />

type FileOnOff (<br />

static i18nstr ArgList[] = { PathName }<br />

i18nstr PathName<br />

)<br />

Attribute definitions<br />

Table 7-12<br />

FileOnOff agent required attributes<br />

Required Attributes<br />

PathName<br />

Description<br />

The complete path of the file to be monitored. This attribute<br />

can take localized values.<br />

Type and Dimension: string-scalar<br />

Sample configuration<br />

FileOnOff tmp_file01_txt (<br />

PathName = "C:\\tmp\\file01.txt"<br />

)<br />

FileOnOnly agent<br />

The FileOnOnly agent creates and monitors a file.<br />

Agent functions<br />

online<br />

offline<br />

Creates the specified file.<br />

Not applicable.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!