Oracle® Solaris Cluster Data Services Developer's Guide

Exit Print View

Updated: July 2014, E39646-01
 
 

Package Directory That Agent Builder Creates

The install-directory/rt-name/pkg directory contains an Oracle Solaris SVR4 package. The name of the package is a concatenation of the vendor name and the application name, for example, ORCLftp. The makefile in the install-directory/rt-name/src directory supports the creation of a new package. For example, if you make changes to the source files and recompile the code, or you make changes to the package utility scripts, use the make pkg command to create a new package.


Note -  If you need an IPS version of the package that Agent Builder creates, use the pkgsend command to convert your SVR4 agent package to an IPS package, and use the pkg install command to install the IPS package. For more information, see the pkgsend (1) and pkg (1) man pages.

When you remove a package from a cluster, the pkgrm (SVR4) or pkg remove (IPS) command can fail if you attempt to run the command simultaneously from more than one node.

    You can solve this problem in one of two ways:

  • Run the remove rt-name script from one node of the cluster before running the pkgrm command from any node.

  • Run the pkgrm command from one node of the cluster, which takes care of all necessary cleanup operations. Then, run the pkgrm command from the remaining nodes, simultaneously if necessary.

If pkgrm fails because you attempt to run it simultaneously from multiple nodes, run the command again from one node. Then, run the command from the remaining nodes.