Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
English
docs.sun.com Home
>
Sun Cluster 3.2 Software Collection for Solaris OS
> Sun Cluster Data Services Developer's Guide for Solaris OS
Sun Cluster Data Services Developer's Guide for Solaris OS
Search only this book
Search Help
View this book in:
Other Languages
日本語
Contained Within
Sun Cluster 3.2 Software Collection for Solaris OS
Find More Documentation
Browse Documentation Titles
Browse Product Documentation
Featured Support Resources
Sun Training Courses
BigAdmin System Admininstration Portal
Sun Support Center
Sun Solve
Download this book in PDF (1683 KB)
Sun Cluster Data Services Developer's Guide for Solaris OS
Index
Numbers and Symbols
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Book Information
Preface
Who Should Use This Book
How This Book Is Organized
Related Documentation
Getting Help
Documentation, Support, and Training
Typographic Conventions
Shell Prompts in Command Examples
1. Overview of Resource Management
Sun Cluster Application Environment
Resource Group Manager Model
Resource Group Manager
Callback Methods
Programming Interfaces
Resource Group Manager Administrative Interface
2. Developing a Data Service
Analyzing the Application for Suitability
Determining the Interface to Use
Setting Up the Development Environment for Writing a Data Service
How to Set Up the Development Environment
Transferring a Data Service to a Cluster
Setting Resource and Resource Type Properties
Implementing Callback Methods
Generic Data Service
Controlling an Application
Monitoring a Resource
Adding Message Logging to a Resource
Providing Process Management
Providing Administrative Support for a Resource
Implementing a Failover Resource
Implementing a Scalable Resource
Writing and Testing Data Services
3. Resource Management API Reference
RMAPI Access Methods
RMAPI Callback Methods
4. Modifying a Resource Type
Overview of Modifying a Resource Type
Setting Up the Contents of the Resource Type Registration File
What Happens When a Cluster Administrator Upgrades
Implementing Resource Type Monitor Code
Determining Installation Requirements and Packaging
Documentation to Provide for a Modified Resource Type
5. Sample Data Service
Overview of the Sample Data Service
Defining the Resource Type Registration File
Providing Common Functionality to All Methods
Controlling the Data Service
Defining a Fault Monitor
Handling Property Updates
6. Data Service Development Library
DSDL Overview
Managing Configuration Properties
Starting and Stopping a Data Service
Implementing a Fault Monitor
Accessing Network Address Information
Debugging the Resource Type Implementation
Enabling Highly Available Local File Systems
7. Designing Resource Types
Resource Type Registration File
Validate Method
Start Method
Stop Method
Monitor_start Method
Monitor_stop Method
Monitor_check Method
Update Method
Description of Init, Fini, and Boot Methods
Designing the Fault Monitor Daemon
8. Sample DSDL Resource Type Implementation
X Font Server
SUNW.xfnts RTR File
Naming Conventions for Functions and Callback Methods
scds_initialize() Function
xfnts_start Method
xfnts_stop Method
xfnts_monitor_start Method
xfnts_monitor_stop Method
xfnts_monitor_check Method
SUNW.xfnts Fault Monitor
xfnts_validate Method
xfnts_update Method
9. Sun Cluster Agent Builder
Agent Builder Overview
Before You Use Agent Builder
Using Agent Builder
Analyzing the Application
Installing and Configuring Agent Builder
Agent Builder Screens
Starting Agent Builder
Navigating Agent Builder
Using the Create Screen
Using the Configure Screen
Using the Agent Builder Korn Shell-Based $hostnames Variable
Using Property Variables
Reusing Code That You Create With Agent Builder
How to Use the Command-Line Version of Agent Builder
Directory Structure That Agent Builder Creates
Agent Builder Output
Cluster Agent Module for Agent Builder
How to Install and Set Up the Cluster Agent Module
How to Start the Cluster Agent Module
Using the Cluster Agent Module
Differences Between the Cluster Agent Module and Agent Builder
10. Generic Data Services
Generic Data Services Concepts
Using Agent Builder to Create a Service That Uses the GDS
Using Sun Cluster Administration Commands to Create a Service That Uses the GDS
How to Use Sun Cluster Administration Commands to Create a Highly Available Service That Uses the GDS
How to Use Sun Cluster Administration Commands to Create a Scalable Service That Uses the GDS
Command-Line Interface for Agent Builder
How to Use the Command-Line Version of Agent Builder to Create a Service That Uses GDS
11. DSDL API Functions
General-Purpose Functions
Property Functions
Network Resource Access Functions
PMF Functions
Fault Monitor Functions
Utility Functions
12. Cluster Reconfiguration Notification Protocol
CRNP Concepts
How a Client Registers With the Server
How the Server Replies to a Client
How the Server Delivers Events to a Client
How the CRNP Authenticates Clients and the Server
Example of Creating a Java Application That Uses the CRNP
How to Set Up Your Environment
How to Start Developing Your Application
How to Parse the Command-Line Arguments
How to Define the Event Reception Thread
How to Register and Unregister Callbacks
How to Generate the XML
How to Create the Registration and Unregistration Messages
How to Set Up the XML Parser
How to Parse the Registration Reply
How to Parse the Callback Events
How to Run the Application
A. Standard Properties
Resource Type Properties
Resource Properties
Resource Group Properties
Resource Property Attributes
B. Sample Data Service Code Listings
Resource Type Registration File Listing
Start Method Code Listing
Stop Method Code Listing
gettime Utility Code Listing
PROBE Program Code Listing
Monitor_start Method Code Listing
Monitor_stop Method Code Listing
Monitor_check Method Code Listing
Validate Method Code Listing
Update Method Code Listing
C. DSDL Sample Resource Type Code Listings
xfnts.c File Listing
xfnts_monitor_check Method Code Listing
xfnts_monitor_start Method Code Listing
xfnts_monitor_stop Method Code Listing
xfnts_probe Method Code Listing
xfnts_start Method Code Listing
xfnts_stop Method Code Listing
xfnts_update Method Code Listing
xfnts_validate Method Code Listing
D. Legal RGM Names and Values
RGM Legal Names
RGM Values
E. Requirements for Non-Cluster Aware Applications
Multihosted Data
Host Names
Multihomed Hosts
Binding to INADDR_ANY as Opposed to Binding to Specific IP Addresses
Client Retry
F. Document Type Definitions for the CRNP
SC_CALLBACK_REG XML DTD
NVPAIR XML DTD
SC_REPLY XML DTD
SC_EVENT XML DTD
G. CrnpClient.java Application
Contents of CrnpClient.java
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.