The Cluster Agent module for Agent Builder is a NetBeansTM module. The Cluster Agent module enables users of the Sun Java Studio (formerly Sun ONE Studio) product to create resource types, or data services, for the Sun Cluster software through an integrated development environment. The Cluster Agent module provides a screen-based interface for describing the kind of resource type that you want to create.
The Sun Java Studio documentation contains information about how to set up, install, and use the Sun Java Studio product.
The Cluster Agent module is installed when you install the Sun Cluster software. The Sun Cluster installation tool places the Cluster Agent module file scdsbuilder.jar in /usr/cluster/lib/scdsbuilder. To use the Cluster Agent module with the Sun Java Studio software, you need to create a symbolic link to this file.
The Sun Cluster and Sun Java Studio products and JavaTM 1.4 must be installed and available to the system on which you intend to run the Cluster Agent module.
Do you want to enable all users or only yourself to use the Cluster Agent module?
To enable all users, become superuser or assume an equivalent role and create the symbolic link in the global module directory:
# cd /opt/s1studio/ee/modules # ln -s /usr/cluster/lib/scdsbuilder/scdsbuilder.jar |
If you installed the Sun Java Studio software in a directory other than /opt/s1studio/ee, substitute this directory path with the path that you used.
To enable only yourself, create the symbolic link in your modules subdirectory:
% cd ~your-home-dir/ffjuser40ee/modules % ln -s /usr/cluster/lib/scdsbuilder/scdsbuilder.jar |
Stop and restart the Sun Java Studio software.
The following steps describe how to start the Cluster Agent module from the Sun Java Studio software.
From the Sun Java Studio File menu, select New, or click this icon on the toolbar:
The New Wizard screen appears.
In the Select a Template window, scroll down (if necessary) and click the key next to the Other folder:
The Other menu opens.
From the Other menu, select Sun Cluster Agent Builder and click Next.
The Cluster Agent module for Sun Java Studio starts. The first New Wizard - Sun Cluster Agent Builder screen appears.
Use the Cluster Agent module as you would the Agent Builder software. The interfaces are identical. For example, the following figures show that the Create screen in the Agent Builder software and the first New Wizard - Sun Cluster Agent Builder screen in the Cluster Agent module contain the same fields and selections.
Despite the similarities between the Cluster Agent module and Agent Builder, minor differences exist:
In the Cluster Agent module, the resource type is created and configured only after you click Finish on the second New Wizard - Sun Cluster Agent Builder screen. The resource type is not created when you click Next on the first New Wizard - Sun Cluster Agent Builder screen.
In Agent Builder, the resource type is immediately created when you click Create on the Create screen and configured when you click Configure on the Configure screen.
The information that appears in the Output Log window in Agent Builder appears in a separate output window in the Sun Java Studio product.