Sun Cluster 3.0 U1 Data Services Installation and Configuration Guide
Preface
The Sun™ Cluster 3.0 U1 Data Services Installation and Configuration Guide contains procedures to install and configure the Sun Cluster data services.
This document is intended for system administrators with extensive knowledge of Sun software and hardware. Do not use this document as a planning or presales guide. Before reading this document, you should have already determined your system requirements and purchased the appropriate equipment and software.
The instructions in this document assume knowledge of the Solaris™ operating environment and expertise with the volume manager software used with Sun Cluster.
Preface...................................................................................................... xv
UNIX Commands........................................................................................ xv
Typographic Conventions ..........................................................................xvi
Shell Prompts............................................................................................. xvi
Related Documentation ..............................................................................xvii
Sun Documentation Online .........................................................................xvii
Help............................................................................................................ xvii
1. Planning for Sun Cluster Data Services................................................. 1
Sun Cluster Data-Services Installation and Configuration Tasks................ 2
Configuration Guidelines for Sun Cluster Data Services ............................2
Determining the Location of the Application Binaries .................................3
Verifying the nsswitch.conf File Contents................................................... 3
Planning the Cluster File System Configuration .........................................3
Relationship Between Resource Groups and Disk Device Groups............ 4
SUNW.HAStorage Resource Type.............................................................. 5
Recommendations .....................................................................................5
Node List Properties.................................................................................. 6
Overview of the Installation and Configuration Process.............................. 6
Installation and Configuration Task Flow .....................................................7
Example..................................................................................................... 8
Tools for Data-Service Resource Administration....................................... 8
The SunPlex Manager Graphical User Interface (GUI)............................. 9
The Sun Cluster Module for the Sun Management Center GUI................. 9
The scsetup Utility..................................................................................... 9
The scrgadm Command ............................................................................9
Data-Service Resource Administration Tasks ...........................................10
Sun Cluster Data-Service Fault Monitors ..................................................11
Fault Monitor Invocation ............................................................................11
2. Installing and Configuring Sun Cluster HA for Oracle............................. 15
Installing and Configuring Sun Cluster HA for Oracle................................. 16
Preparing to Install Sun Cluster HA for Oracle ............................................16
Installing the Oracle Server Software ..........................................................17
How to Prepare the Nodes ........................................................................17
How to Install the Oracle Software ............................................................19
How to Verify the Oracle Installation .........................................................20
Where to Go From Here ............................................................................20
Creating an Oracle Database.................................................................... 20
How to Configure Oracle Database Access With Solstice DiskSuite......... 21
How to Configure Oracle Database Access With VERITAS Volume Manager.... 21
How to Create an Oracle Database ..................................................................22
Where to Go From Here..................................................................................... 23
Setting Up Oracle Database Permissions ...........................................................23
How to Set Up Oracle Database Permissions ...................................................23
Where to Go From Here................................................................................... 27
Installing Sun Cluster HA for Oracle Packages................................................... 27
How to Install Sun Cluster HA for Oracle Packages........................................... 28
Where to Go From Here ....................................................................................28
Registering and Configuring Sun Cluster HA for Oracle.................................... 28
How to Register and Configure Sun Cluster HA for Oracle ..............................29
How to Configure SUNW.HAStorage Resource Type .......................................33
Where to Go From Here ....................................................................................34
Verifying the Sun Cluster HA for Oracle Installation ............................................34
How to Verify the Sun Cluster HA for Oracle Installation ...................................34
Oracle Clients ...................................................................................................35
Configuring Sun Cluster HA for Oracle Extension Properties............................ 35
Sun Cluster HA for Oracle Fault Monitor ...........................................................37
Oracle Server Fault Monitor .............................................................................37
Oracle Listener Fault Monitor ...........................................................................38
3. Installing and Configuring Sun Cluster HA for iPlanet Web Server ................39
Planning the Installation and Configuration.........................................................40
Installing and Configuring Sun Cluster HA for iPlanet Web Server...................... 42
Installing and Configuring an iPlanet Web Server.............................................. 42
How to Install an iPlanet Web Server................................................................. 43
Where to Go From Here ....................................................................................44
How to Configure an iPlanet Web Server........................................................ 44
Where to Go From Here ................................................................................48
Installing Sun Cluster HA for iPlanet Web Server Packages........................... 48
How to Install Sun Cluster HA for iPlanet Web Server Packages..................... 49
Where to Go From Here.................................................................................. 49
Registering and Configuring Sun Cluster HA for iPlanet Web Server ...............49
How to Register and Configure Sun Cluster HA for iPlanet Web Server .........50
Where to Go From Here ..................................................................................58
How to Configure SUNW.HAStorage Resource Type .....................................59
Configuring Sun Cluster HA for iPlanet Web Server Extension Properties........ 59
Sun Cluster HA for iPlanet Web Server Fault Monitor .......................................61
4. Installing and Configuring Sun Cluster HA for Netscape Directory Server .....65
Planning the Installation and Configuration..................................................... 66
Installing and Configuring Sun Cluster HA for Netscape Directory Server ........67
Configuring and Activating Network Resources ................................................68
How to Configure and Activate Network Resources ..........................................68
Where to Go From Here................................................................................... 70
Installing and Configuring Netscape Directory Server...................................... 70
How to Install Netscape Directory Server .......................................................71
How to Configure Netscape Directory Server................................................. 71
Where to Go From Here ..............................................................................72
Installing Sun Cluster HA for Netscape Directory Server Packages.................. 72
How to Install Sun Cluster HA for Netscape Directory Server Packages......... 72
Where to Go From Here ..................................................................................73
Completing the Sun Cluster HA for Netscape Directory Server Configuration... 73
How to Complete the Sun Cluster HA for Netscape Directory Server Configuration... 74
How to Configure SUNW.HAStorage Resource Type................................................... 77
Configuring Sun Cluster HA for Netscape Directory Server Extension Properties....... 77
Sun Cluster HA for Netscape Directory Server Fault Monitor .......................................79
5. Installing and Configuring Sun Cluster HA for Apache .............................................81
Planning the Installation and Configuration .................................................................82
Installing and Configuring Sun Cluster HA for Apache ....................................................87
Installing and Configuring Apache .................................................................................88
How to Install and Configure the Apache Application Software from the Solaris 8 CD-ROM ........... 88
How to Install and Configure the Apache Application Software from the Apache Web Site ............90
Installing Sun Cluster HA for Apache Packages............................................................................. 92
How to Install Sun Cluster HA for Apache Packages ........................................................................92
Registering and Configuring Sun Cluster HA for Apache ...............................................................93
How to Register and Configure Sun Cluster HA for Apache............................................................ 93
How to Configure SUNW.HAStorage Resource Type ....................................................................101
How to Verify Data-Service Installation and Configuration ..........................................................102
Configuring Sun Cluster HA for Apache Extension Properties.............................................................102
Sun Cluster HA for Apache Fault Monitor .............................................................................................104
6. Installing and Configuring Sun Cluster HA for Domain Name Service (DNS) .....................................107
Installing and Configuring Sun Cluster HA for DNS ...............................................................................108
Installing DNS .........................................................................................................................................108
How to Install DNS ............................................................................................................................109
Installing Sun Cluster HA for DNS Packages ........................................................................................111
How to Install Sun Cluster HA for DNS Packages ................................................................................112
Registering and Configuring Sun Cluster HA for DNS ............................................................................112
How to Register and Configure Sun Cluster HA for DNS.......................................................................... 113
How to Configure SUNW.HAStorage Resource Type ........................................................................................117
Verifying Data Service Installation and Configuration ....................................................................................117
Configuring Sun Cluster HA for DNS Extension Properties ....................................................................................117
Sun Cluster HA for DNS Fault Monitor ...................................................................................................................119
7. Installing and Configuring Sun Cluster HA for Network File System (NFS) .......................................................121
Installing and Configuring Sun Cluster HA for NFS ...........................................................................................122
Installing Sun Cluster HA for NFS Packages ....................................................................................................123
How to Install Sun Cluster HA for NFS Packages ..............................................................................................123
Setting Up and Configuring Sun Cluster HA for NFS ................................................................................124
How to Set Up and Configure Sun Cluster HA for NFS ................................................................................124
How to Change Share Options on an NFS File System .............................................................................130
How to Tune Sun Cluster HA for NFS Method Timeouts ...........................................................................131
How to Configure SUNW.HAStorage Resource Type .................................................................................132
Configuring Sun Cluster HA for NFS Extension Properties ..............................................................................132
Sun Cluster HA for NFS Fault Monitor ............................................................................................................134
Fault Monitor Startup .....................................................................................................................................134
Fault Monitor Stops ..........................................................................................................................................134
NFS System Fault Monitor Process ...........................................................................................................135
NFS Resource Monitor Process................................................................................ ................................................135
8. Installing and Configuring Sun Cluster HA for Oracle Parallel Server .......................................................137
Overview .................................................................................................................................................................138
Installing and Configuring Sun Cluster HA for Oracle Parallel Server ..................................................................139
Installing Volume Management Software With Sun Cluster HA for Oracle Parallel Server ..................................140
How to Use VxVM .............................................................................................................................................140
How to Use Sun StorEdge A3500/A3500FC Disk Arrays With Hardware RAID Support.................................. 141
Installing Sun Cluster HA for Oracle Parallel Server Packages .......................................................................143
How to Install Sun Cluster HA for Oracle Parallel Server Packages ....................................................................143
Installing the Oracle Software .......................................................................................................................144
How to Prepare the Sun Cluster Nodes ......................................................................................................144
How to Install the UDLM Software ................................................................................................................146
How to Install the Oracle RDBMS Software ...................................................................................................147
9. Installing and Configuring Sun Cluster HA for SAP............................................................................... 149
Installing and Configuring Sun Cluster HA for SAP ..............................................................................................150
Sun Cluster HA for SAP Overview .............................................................................................................151
Configuration Guidelines for Sun Cluster HA for SAP ..............................................................................151
Sample Configurations ................................................................................................................................152
Pre-Installation Considerations .............................................................................................................153
Installing and Configuring SAP and the Database ...............................................................................154
How to Install SAP and the Database ..................................................................................................155
Where to Go From Here ...........................................................................................................................155
How to Enable SAP to Run in the Cluster ......................................................................................................155
Where to Go From Here .........................................................................................................................157
How to Verify SAP and Database Installation With Central Instance............................................. ...........................157
Where to Go From Here .............................................................................................................................158
How to Verify SAP and Database Installation With Application Server................................................... 158
Where to Go From Here .......................................................................................................................160
Configuring Sun Cluster HA for DBMS................................................................................................. 160
Registering and Configuring Sun Cluster HA for SAP ........................................................................160
How to Register and Configure Sun Cluster HA for SAP With Central Instance ...............................................160
Where to Go From Here ..............................................................................................................................161
How to Register and Configure Sun Cluster HA for SAP With Application Server ....................................161
Where to Go From Here......................................................................................................................... 162
How to Verify the Sun Cluster HA for SAP Installation With Central Instance ............................................................162
Where to Go From Here ......................................................................................................................163
How to Verify the Sun Cluster HA for SAP Installation With Application Server.................................... 163
Configuring SAP Extension Properties ......................................................................................164
Sun Cluster HA for SAP Fault Monitor ........................................................................................167
Sun Cluster HA for SAP Fault Probes for Central Instance ........................................................167
Sun Cluster HA for SAP Fault Probes for Application Server ........................................................169
10. Installing and Configuring Sun Cluster HA for Sybase ASE............................................................ 171
Installing and Configuring Sun Cluster HA for Sybase ASE ....................................................................172
Preparing to Install Sun Cluster HA for Sybase ASE ....................................................................173
Installing the Sybase ASE 12.0 Software.............................................................................................. 173
How to Prepare the Nodes ...................................................................................................173
How to Install the Sybase Software ................................................................................................175
Where to Go From Here ...............................................................................................................177
How to Verify the Sybase ASE Installation ......................................................................................177
Creating the Sybase ASE Database Environment ....................................................................178
How to Configure Sybase ASE Database AccessWith Solstice DiskSuite .........................................178
How to Configure Sybase ASE Database Access With VxVM .......................................................179
How to Create the Sybase ASE Database Environment .....................................................180
Where to Go From Here ...............................................................................................................181
Installing the Sun Cluster HA for Sybase ASE Package ........................................................181
How to Install Sun Cluster HA for Sybase ASE Packages ..............................................................182
Where to Go From Here .........................................................................................................182
Registering and Configuring Sun Cluster HA for Sybase ASE ..........................................182
How to Register and Configure Sun Cluster HA for Sybase ASE.......................................... 183
How to Configure the SUNW.HAStorage Resource Type .......................................................185
Where to Go From Here .............................................................................................................185
Verifying the Sun Cluster HA for Sybase ASE Installation............................................................. 185
How to Verify the Sun Cluster HA for Sybase ASE Installation ..................................................186
Understanding Sun Cluster HA for Sybase ASE Logging and Security Issues .......................................187
Sun Cluster HA for Sybase ASE Logging ..........................................................................................187
Important Security Issues .................................................................................................................187
Configuring Sun Cluster HA for Sybase ASE Extension Properties .......................................................188
Sun Cluster HA for Sybase ASE Fault Monitor...................................................................................... 190
Main Fault-Monitor Process ..............................................................................................................190
Database-Client Fault Probe................................................................................................................ 191
Extension Properties .......................................................................................................................191
11. Administering Data-Service Resources ...................................................................................193
Administering Data-Service Resources....................................................................................... 194
Configuring and Administering Sun Cluster Data Services .......................................................195
Registering a Resource Type ..............................................................................................196
How to Register a Resource Type .........................................................................................196
Creating a Resource Group .........................................................................................................197
How to Create a Failover Resource Group ............................................................................198
How to Create a Scalable Resource Group ...........................................................................199
Adding Resources to Resource Groups.................................................................................. 201
How to Add a Logical-Hostname Resource to a Resource Group............................................ 202
How to Add a Shared-Address Resource to a Resource Group ..........................................204
How to Add a Failover Application Resource to a Resource Group ....................................................206
How to Add a Scalable Application Resource to a Resource Group ............................................208
Bringing Resource Groups Online........................................................................................................... 211
How to Bring a Resource Group Online.................................................................................... 211
Disabling and Enabling Resource Monitors .............................................................................212
How to Disable a Resource Fault Monitor ...............................................................................212
How to Enable a Resource Fault Monitor................................................................................... 213
Removing Resource Types ..............................................................................................................214
How to Remove a Resource Type..................................................................................................... 214
Removing Resource Groups ...........................................................................................................216
How to Remove a Resource Group ..............................................................................................216
Removing Resources .................................................................................................................217
How to Remove a Resource......................................................................................................218
Switching the Current Primary of a Resource Group ..................................................................219
How to Switch the Current Primary of a Resource Group ...........................................................219
Disabling Resources and Moving Their Resource Group Into the Unmanaged State ......................221
How to Disable a Resource and Move Its Resource Group Into the Unmanaged State ...........................221
Displaying Resource Type, Resource Group, and Resource Configuration Information .........................223
How to Display Resource Type, Resource Group, and Resource Configuration Information ...................224
Changing Resource Type, Resource Group, and Resource Properties ..................................................224
How to Change Resource-Type Properties........................................................................................... 225
How to Change Resource-Group Properties............................................................................................... 226
How to Change Resource Properties ......................................................................................................227
Clearing the STOP_FAILED Error Flag on Resources ............................................................................229
How to Clear the STOP_FAILED Error Flag on Resources ..................................................................229
Re-registering Preregistered Resource Types ..........................................................................................231
How to Re-register Preregistered Resource Types ......................................................................231
Adding or Removing a Node to or From a Resource Group........................................................................... 232
How to Add a Node to a Resource Group ....................................................................................................232
How to Remove a Node From a Resource Group .......................................................................................235
Synchronizing the Startups Between Resource Groups and Disk Device Groups ...................................238
How to Set Up SUNW.HAStorage Resource Type for New Resources ......................................................239
How to Set Up SUNW.HAStorage Resource Type for Existing Resources ...............................................240
A. Standard Properties ..........................................................................................................................243
Resource-Type Properties .....................................................................................................................243
Resource Properties ...........................................................................................................................247
Resource-Group Properties............................................................................................................. 255
Resource Property Attributes ...........................................................................................................259
B. Legal RGM Names and Values ......................................................................................................261
RGM Legal Names ................................................................................................................................261
RGM Values .......................................................................................................................................262
Download attached file: You must be Loged in to download file