Sun Cluster Data Services Developer's Guide for Solaris OS

How to Use the Command-Line Version of Agent Builder

The command-line version of Agent Builder follows the same basic process as the graphical user interface. However, instead of entering information in the graphical user interface, you pass parameters to the commands scdscreate and scdsconfig. See the scdscreate(1HA) and scdsconfig(1HA) man pages.

Follow these steps to use the command-line version of Agent Builder:

  1. Use scdscreate to create a Sun Cluster resource type template for making an application highly available or scalable.

  2. Use scdsconfig to configure the resource type template that you created with scdscreate.

    You can specify property variables. Property variables are described in Property Variables.

  3. Change directories to the pkg subdirectory in the working directory.

  4. Use the pkgadd command to install the packages that you created with scdscreate.

  5. If you want, edit the generated source code.

  6. Run the start script.