Sun Cluster Data Services Developer's Guide for Solaris OS

Agent Builder Screens

Agent Builder is a two-step wizard with a corresponding screen for each step. Agent Builder provides the following two screens to guide you through the process of creating a new resource type:

  1. Create screen. On this screen, you provide basic information about the resource type to create, such as its name and the working directory for the generated files. The working directory is where you create and configure the resource type template. You also specify the following information:

    • The kind of resource to create (scalable or failover)

    • Whether the base application is network aware (that is, if it uses the network to communicate with its clients)

    • The type of code to generate (C, Korn shell (ksh), or GDS)

    For information about GDS, see Chapter 10, Generic Data Services. You must provide all the information on this screen and select Create to generate the corresponding output. Then, you can display the Configure screen.

  2. Configure screen. On this screen, you must specify the full command line that can be passed to any UNIX shell to start your base application. Optionally, you can provide commands to stop and to probe your application. If you do not specify these two commands, the generated output uses signals to stop the application and provides a default probe mechanism. See the description of the probe command in Using the Configure Screen. The Configure screen also enables you to change the timeout values for each of these three commands: start, stop, probe.