|
| 以 PDF 格式下載這本書 (1683 KB)
PrefaceThe Sun Cluster Data Services Developer's Guide for Solaris OS contains information about using the Resource Management API to develop SunTM Cluster data serviceson both SPARC® and x86 based systems. Note – This Sun Cluster release supports systems that use the SPARC and x86 families of processor architectures: UltraSPARC, SPARC64, and AMD64. In this document, the label x86 refers to systems that use the AMD64 family of processor architectures. Who Should Use This BookThis document is intended for experienced developers with extensive knowledge of Sun software and hardware. The information in this book assumes that you have knowledge of the Solaris Operating System. How This Book Is OrganizedThe Sun Cluster Data Services Developer's Guide for Solaris OS contains the following chapters and appendixes: Chapter 1, Overview of Resource Management provides an overview of the concepts that you need to develop a data service. Chapter 2, Developing a Data Service provides detailed information about developing a data service. Chapter 3, Resource Management API Reference provides a reference to the access functions and callback methods that make up the Resource Management API (RMAPI). Chapter 4, Modifying a Resource Type discusses the issues that you need to understand to modify a resource type. Information about the means by which you enable a cluster administrator to upgrade a resource is also included. Chapter 5, Sample Data Service provides a sample Sun Cluster data service for the in.named application. Chapter 6, Data Service Development Library provides an overview of the application programming interfaces that make up the Data Services Development Library (DSDL). Chapter 7, Designing Resource Types explains the typical use of the DSDL in designing and implementing resource types. Chapter 8, Sample DSDL Resource Type Implementation describes a sample resource type that is implemented with the DSDL. Chapter 9, Sun Cluster Agent Builder describes Sun Cluster Agent Builder. Chapter 10, Generic Data Services describes how to create a generic data service. Chapter 11, DSDL API Functions describes the DSDL API functions. Chapter 12, Cluster Reconfiguration Notification Protocol provides information about the Cluster Reconfiguration Notification Protocol (CRNP). The CRNP enables failover and scalable applications to be “cluster aware.” Appendix A, Standard Properties describes the standard resource type, resource, and resource group properties. Appendix B, Sample Data Service Code Listings provides the complete code for each method in the sample data service. Appendix C, DSDL Sample Resource Type Code Listings lists the complete code for each method in the SUNW.xfnts resource type. Appendix D, Legal RGM Names and Values lists the requirements for legal characters for Resource Group Manager (RGM) names and values. Appendix E, Requirements for Non-Cluster Aware Applications list the requirements for ordinary, non-cluster aware applications to be candidates for high availability. Appendix F, Document Type Definitions for the CRNP lists the document type definitions for the CRNP. Appendix G, CrnpClient.java Application shows the complete CrnpClient.java application that is discussed in Chapter 12, Cluster Reconfiguration Notification Protocol. Related DocumentationInformation about related Sun Cluster topics is available in the documentation that is listed in the following table. All Sun Cluster documentation is available at http://docs.sun.com.
For a complete list of Sun Cluster documentation, see the release notes for your release of Sun Cluster software at http://docs.sun.com. Getting HelpIf you have problems installing or using the Sun Cluster software, contact your service provider and provide the following information:
Use the following commands to gather information about your systems for your service provider.
Also have available the contents of the /var/adm/messages file. Documentation, Support, and TrainingThe Sun web site provides information about the following additional resources: Typographic ConventionsThe following table describes the typographic conventions that are used in this book. Table P–1 Typographic Conventions
Shell Prompts in Command ExamplesThe following table shows the default UNIX® system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell. Table P–2 Shell Prompts
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||