Symantec logo

Creating an agent: highlights

The steps to create and implement an agent are described by example in later chapters.

Developing the entry points

Decide whether to implement the agent entry points using C++ code, scripts, or a combination of the two. There are advantages and disadvantages implementing entry points in either method.

See Using C++ or script entry points.

Create the entry points.

See Entry points in C++.

See Entry points in scripts.

Building the agent

Build the agent, create required files, and place the agent in specific directories.

The types.cf file contains definitions of resource types that come bundled with Veritas Cluster Server. A custom resource type definition should be placed in a file called ResourcetypeTypes.cf, for example, MyResourceTypes..cf or OracleTypes.cf. This file is referenced as an "include" statement in the configuration file, main.cf.

For more information about the resource type definition, see

For building an agent, sample files are provided.

Testing the agent

Test the agent by defining the resource type in a configuration.

See Testing agents.