The sample code in Appendix B of the Sun Cluster 3.0 Data Services Developers' Guide has two known problems:
Many of the lines in the code listings wrap incorrectly, particularly in extended comments. To see the correct line wrapping, view the PDF version of the manual.
A variable declaration is missing from most of the method script listings in this appendix. Each method should declare the following variable in main():
SYSLOG_TAG=$RESOURCETYPE_NAME,$RESOURCEGROUP_NAME,$RESOURCE_NAME |
This variable is used throughout the sample code in the logger() command.