Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
繁體中文
docs.sun.com 首頁
>
Sun Cluster 3.1 10/03 Software Collection
> Sun Cluster 3.1 10/03 Data Services Developer's Guide
Sun Cluster 3.1 10/03 Data Services Developer's Guide
只搜尋這本書
搜尋說明
查看這本書:
其他語言
Deutsch
Español
Français
日本語
包含在
Sun Cluster 3.1 10/03 Software Collection
尋找其他文件
瀏覽文件標題
瀏覽產品文件
熱門支援資源
Sun 訓練課程
BigAdmin 系統管理入口網站
Sun 支援中心
Sun Solve
以 PDF 格式下載這本書 (1414 KB)
Sun Cluster 3.1 10/03 Data Services Developer's Guide
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
Accessing Sun Documentation Online
Typographic Conventions
Shell Prompts in Command Examples
1. Resource Management Overview
Sun Cluster Application Environment
RGM 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
Setting 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. Upgrading a Resource Type
Overview
Resource Type Registration File
Resource Type_version Property
Migrating a Resource to a Different Version
Upgrading and Downgrading a Resource Type
Default Property Values
Resource Type Developer Documentation
Resource Type Name and Resource Type Monitor Implementations
Application Upgrades
Resource Type Upgrade Examples
Installation Requirements for Resource Type Packages
4. Resource Management API Reference
RMAPI Access Methods
RMAPI Callback Methods
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)
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
The RTR File
The Validate Method
The Start Method
The Stop Method
The Monitor_start Method
The Monitor_stop Method
The Monitor_check Method
The Update Method
The Init, Fini, and Boot Methods
Designing the Fault Monitor Daemon
8. Sample DSDL Resource Type Implementation
X Font Server
Naming Conventions
SUNW.xfnts RTR File
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. SunPlex Agent Builder
Using Agent Builder
Directory Structure
Output
Navigating Agent Builder
Cluster Agent Module for Agent Builder
Installing and Setting Up the Cluster Agent Module
Starting the Cluster Agent Module
Using the Cluster Agent Module
Differences Between the Cluster Agent Module and Agent Builder
10. Generic Data Services
Overview of GDS
Using the SunPlex Agent Builder to Create a Service Using GDS
Using the Standard Sun Cluster Administration Commands to Create a Service Using GDS
Command-Line Interface to the SunPlex Agent Builder
11. Data Service Development Library Reference
DSDL Functions
12. CRNP
Overview of CRNP
Message Types That the CRNP Uses
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
Creating a Java Application That Uses CRNP
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
Stop Method
gettime Utility
PROBE Program
Monitor_start Method
Monitor_stop Method
Monitor_check Method
Validate Method
Update Method
C. Data Service Development Library Sample Resource Type Code Listing
xfnts.c
xfnts_monitor_check Method
xfnts_monitor_start Method
xfnts_monitor_stop Method
xfnts_probe Method
xfnts_start Method
The xfnts_stop Method
The xfnts_update Method
The 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 Versus Binding to Specific IP Addresses
Client Retry
F. Document Type Definitions for 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.