HP Serviceguard Enterprise Cluster Master Toolkit User Guide (5900-2145, April 2013)
Table Of Contents
- HP Serviceguard Enterprise Cluster Master Toolkit User Guide
- Contents
- 1 Introduction
- 2 Using the Oracle Toolkit in an HP Serviceguard Cluster
- Overview
- Supported Versions
- Support for Oracle Database Without ASM
- Supporting Oracle ASM Instance and Oracle Database with ASM
- What is Automatic Storage Management (ASM)?
- Why ASM over LVM?
- Configuring LVM Volume Groups for ASM Disk Groups
- Sample command sequence for configuring LVM Volume Groups
- Serviceguard support for ASM on HP-UX 11i v3 onwards
- Framework for ASM support with Serviceguard
- Installing, Configuring, and Troubleshooting
- Setting up DB instance and ASM instance
- Setting up the Toolkit
- ASM Package Configuration Example
- Modifying a Legacy Database Package Using an Older Version of Oracle ECMT Scripts to use the Scripts Provided for ASM Support
- Adding the Package to the Cluster
- Node-specific Configuration
- Error Handling
- Network Configuration
- Database Maintenance
- Configuring and packaging Oracle single-instance database to co-exist with SGeRAC packages
- Configuring Oracle single-instance database that uses ASM in a Coexistence Environment
- Attributes newly added to ECMT Oracle toolkit
- Configuring a modular failover package for an Oracle database using ASM in a coexistence environment
- Configuring a legacy failover package for an Oracle database using ASM in a Coexistence Environment
- ECMT Oracle Toolkit Maintenance Mode
- Supporting EBS database Tier
- Oracle ASM Support for EBS DB Tier
- 3 Using the Sybase ASE Toolkit in a Serviceguard Cluster on HP-UX
- Overview
- Sybase Information
- Setting up the Application
- Setting up the Toolkit
- Sybase Package Configuration Example
- Creating the Serviceguard package using Modular method
- Adding the Package to the Cluster
- Node-specific Configuration
- Error-Handling
- Network configuration
- Database Maintenance
- Cluster Verification for Sybase ASE Toolkit
- 4 Using the DB2 Database Toolkit in a Serviceguard Cluster in HP-UX
- 5 Using MySQL Toolkit in a HP Serviceguard Cluster
- MySQL Package Configuration Overview
- Setting Up the Database Server Application
- Setting up MySQL with the Toolkit
- Package Configuration File and Control Script
- Creating Serviceguard Package Using Modular Method
- Applying the Configuration and Running the Package
- Database Maintenance
- Guidelines to Start Using MySQL Toolkit
- 6 Using an Apache Toolkit in a HP Serviceguard Cluster
- 7 Using Tomcat Toolkit in a HP Serviceguard Cluster
- Tomcat Package Configuration Overview
- Multiple Tomcat Instances Configuration
- Configuring the Tomcat Server with Serviceguard
- Setting up the Package
- Creating Serviceguard Package Using Modular Method
- Setting up the Toolkit
- Error Handling
- Tomcat Server Maintenance
- Configuring Apache Web Server with Tomcat in a Single Package
- 8 Using SAMBA Toolkit in a Serviceguard Cluster
- 9 Using HP Serviceguard Toolkit for EnterpriseDB PPAS in an HP Serviceguard Cluster
- 10 Support and Other resources
- 11 Acronyms and Abbreviations
- Index
'machine password timeout', 604800 seconds by default), therefore, HP recommends that
you locate secrets.tdb on a shared storage. As with the smbpasswd file, the location of this
file is defined by the smb.conf parameter smb passwd file. For example, smb passwd
file = /var/opt/samba/shared_vol_1/private/smbpasswd will result in the
file/var/opt/samba/shared_vol_1/private/secrets.tdb .
To summarize, both the machine account file ( secrets.tdb) and the password file
(smbpasswd) must be placed on shared storage.
• Username Mapping File
The username mapping file for HP CIFS Server configuration must be located on the shared
file system. If you make any changes, all the nodes will be updated. The username mapping
file location is defined in smb.conf by the parameter 'username map', example, 'username
map = /var/opt/samba/shared_vol_1/username.map'. There is no username map file by
default.
• HP CIFS Server as a WINS Server
If HP CIFS Server is configured as a WINS server (that is, the WINS support parameter is set
to "yes"), the database /var/opt/samba/locks/browse.tdb will be stored.
If this file is not on a shared file system, when a failover occurs, all the WINS clients update
the CIFS WINS server with their address, which requires a short period of time. However, if
this short period of time to restore the WINS database is not acceptable, you can reduce the
period of time to restore the full WINS service.
To do so, configure /var/opt/samba/locks/browse.tdb to be a symbolic link to a
browse.tdb file on a shared file system. HP recommends that you to put the entire
/var/opt/samba/locks directory on a shared file system, because the locking data may not
be correctly interpreted after a failover.
• HP CIFS Server as a Master Browser
If HP CIFS Server is configured as the domain master browser that is, the domain master
support parameter is set to "yes", the database is stored in the /var/opt/samba/locks/
browse.tdb file. HP does not recommend doing this in an HA configuration.
However, if the CIFS Server is configured as the domain master browser, /var/opt/samba/
locks/browse.tdb must be set as a symbolic link to browse.tdb on the shared file system.
HP does not recommend putting the entire directory (/var/opt/samba/locks) on the shared
file system, as the locking data may not be correctly interpreted after a failover.
• Automatic Printer Sharing
If you configure network or shared printers, ensure all nodes configured to run the HP CIFS
Server also have access to the printers. When a failover occurs, the list of shared printers will
differ across clustered nodes.
• HP CIFS Server's LMHOSTS File
If the file LMNHOSTS is used to store static addresses of netbios names, put this file in the
shared file system. When you invoke nmbd, specify the path for LMNHOSTS with the -H
option. Ensure all package and tookit scripts include the -H option where nmbd is invoked.
Also edit the script /opt/samba/bin/startsmb to add the -H option where nmbd is
invoked.
Example:
Consider that the LMHOSTS file is in the /etc/cmcluster/smb1 directory, change the
following command in hasmb.sh:
In the start_samba_server function, change as follows:
134 Using SAMBA Toolkit in a Serviceguard Cluster