The command-line version of Agent Builder has the same two-step process as the graphical user interface. However, instead of entering information in the graphical user interface, you pass parameters to the commands scdscreate(1HA) and scdsconfig(1HA).
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 (HA) or scalable.
Use scdsconfigure to configure the resource type template that you created with scdscreate.
Change directories to the pkg subdirectory in the working directory.
Use the pkgadd(1M) command to install the packages that you created with scdscreate.
If you want, edit the generated source code.
Run the start script.