The command-line version of Agent Builder follows the same basic process as the GUI. However, instead of typing information in the GUI, you pass arguments to the scdscreate and scdsconfig commands. See the scdscreate(1HA) and scdsconfig(1HA) man pages for more information.
Follow these steps to use the command-line version of Agent Builder.
Use scdscreate to create a Sun Cluster resource type template for making an application highly available or scalable.
Use scdsconfig to configure the resource type template that you created with scdscreate.
You can specify property variables. Property variables are described in Using Property Variables.
Change directories to the pkg subdirectory in the working directory.
Use the pkgadd command to install the packages that you created with scdscreate.
For the Solaris 10 OS in a zones environment, as global administrator in the global zone, type the following command:
# pkgadd -G -d . package-name
The package that you specified is added to the global zone, provided that the contents of the package do not affect any area of the global zone that is shared with a non-global zone.
For any other version of the Solaris OS or the Solaris 10 OS in a non-zones environment, type the following command:
# pkgadd -d . package-name
(Optional) Edit the generated source code.
Run the start script.