Veritas cluster user 5.0.pdf - Veritasu2122 Cluster Server...

This preview shows page 1 out of 684 pages.

Unformatted text preview: Veritas™ Cluster Server User’s Guide AIX 5.0 N18472J Veritas Cluster Server User’s Guide Copyright © 2006 Symantec Corporation. All rights reserved. Veritas Cluster Server 5.0 Symantec, the Symantec logo,Veritas, are trademarks or registered trademarks of Symantec Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. The product described in this document is distributed under licenses restricting its use, copying, distribution, and decompilation/reverse engineering. No part of this document may be reproduced in any form by any means without prior written authorization of Symantec Corporation and its licensors, if any. THIS DOCUMENTATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID, SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING PERFORMANCE, OR USE OF THIS DOCUMENTATION. THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS SUBJECT TO CHANGE WITHOUT NOTICE. The Licensed Software and Documentation are deemed to be “commercial computer software” and “commercial computer software documentation” as defined in FAR Sections 12.212 and DFARS Section 227.7202. Symantec Corporation 20330 Stevens Creek Blvd. Cupertino, CA 95014 Third-party legal notices Third-party software may be recommended, distributed, embedded, or bundled with this Symantec Corporation product. Such third-party software is licensed separately by its copyright holder. All third-party copyrights associated with this product are listed in the accompanying release notes. AIX is a registered trademark of IBM Corporation. HP-UX is a registered trademark of Hewlett-Packard Development Company, L.P. Linux is a registered trademark of Linus Torvalds. Solaris is a trademark of Sun Microsystems, Inc. Windows is a registered trademark of Microsoft Corporation. Licensing and registration Veritas Cluster Server is a licensed product. See the Veritas Cluster Server Installation Guide for license installation instructions. Technical support For technical assistance, visit and select phone or email support. Use the Knowledge Base search feature to access resources such as TechNotes, product alerts, software downloads, hardware compatibility lists, and our customer email notification service. 4 Contents Section I Clustering concepts and terminology Chapter 1 Introducing Veritas Cluster Server What is a VCS cluster? ........................................................................................16 Can my application be clustered? ......................................................................18 Physical components of VCS ..............................................................................20 Logical components of VCS ................................................................................21 Putting the pieces together ................................................................................30 Chapter 2 About cluster topologies Basic failover configurations .............................................................................34 Advanced failover configurations .....................................................................38 Cluster topologies and storage configurations ...............................................41 Chapter 3 VCS configuration concepts About configuring VCS .......................................................................................46 About the VCS configuration language ............................................................46 About the main.cf file ..........................................................................................47 The types.cf file ....................................................................................................49 About VCS attributes ...........................................................................................51 About VCS keywords and reserved words ........................................................55 VCS environment variables ................................................................................56 Section II Administration-Putting VCS to work Chapter 4 About the VCS user privilege model About VCS user privileges and roles .................................................................62 How administrators assign roles to users ........................................................66 User privileges for OS user groups in secure clusters ...................................66 About VCS privileges for users with multiple roles .......................................68 6 Contents Chapter 5 Administering the cluster from the Cluster Management Console About Veritas Cluster Management Console .................................................. 70 Verifying installation and browser requirements .......................................... 72 Configuring the Cluster Management Console manually ............................. 72 Logging in to the Cluster Management Console ............................................. 74 Logging out of the Cluster Management Console ........................................... 75 Overview of the Cluster Management Console .............................................. 76 About online help ............................................................................................... 91 Administering users ............................................................................................ 93 Administering a cluster ...................................................................................... 96 Administering service groups ........................................................................... 98 Administering resources .................................................................................. 115 Administering resource types ......................................................................... 125 Administering systems ..................................................................................... 127 Administering attributes .................................................................................. 130 Viewing logs ....................................................................................................... 130 Conducting a search .......................................................................................... 132 Chapter 6 Administering the cluster from Cluster Manager (Java console) About the Cluster Manager (Java Console) .................................................... 137 Getting started ................................................................................................... 137 Reviewing components of the Java Console .................................................. 140 Icons in the Java Console .................................................................................. 140 About Cluster Monitor ...................................................................................... 142 About Cluster Explorer ..................................................................................... 148 Accessing additional features of the Java Console ....................................... 160 Administering Cluster Monitor ....................................................................... 169 Administering user profiles ............................................................................. 174 Administering service groups ......................................................................... 178 Administering resources .................................................................................. 199 Importing resource types ................................................................................. 217 Administering systems ..................................................................................... 218 Administering clusters ..................................................................................... 220 Executing commands ........................................................................................ 221 Editing attributes ............................................................................................... 221 Querying the cluster configuration ................................................................ 224 Setting up VCS event notification using the Notifier wizard ..................... 225 Administering logs ............................................................................................ 228 Administering VCS Simulator ......................................................................... 232 Contents Chapter 7 Administering the cluster from the command line About administering VCS from the command line ......................................234 Installing a VCS license .....................................................................................235 Starting VCS .......................................................................................................236 Stopping VCS ......................................................................................................237 Logging on to VCS ..............................................................................................240 Managing VCS configuration files ..................................................................242 Managing VCS users from the command line ...............................................251 Querying VCS .....................................................................................................254 Administering service groups ..........................................................................261 Administering agents ........................................................................................267 Administering resources ..................................................................................268 Administering systems .....................................................................................276 Administering clusters .....................................................................................276 Enabling and disabling Security Services ......................................................280 Administering resource types ..........................................................................282 Using the -wait option in scripts .....................................................................284 Running a virtual fire drill ...............................................................................284 Administering simulated clusters from the command line ........................285 Chapter 8 Configuring applications and resources in VCS About configuring resources and applications .............................................288 About VCS bundled agents ...............................................................................289 Which agents should I use? ..............................................................................293 Configuring the RemoteGroup agent ..............................................................296 Configuring application service groups .........................................................300 Configuring NFS service groups ......................................................................308 Testing resource failover using virtual fire drills .........................................313 Chapter 9 Predicting VCS behavior using VCS Simulator About VCS Simulator ........................................................................................316 Installing VCS Simulator ..................................................................................316 Administering VCS Simulator from the Java Console .................................318 Administering VCS Simulator from the command line ...............................324 7 8 Contents Section III VCS communication and operations Chapter 10 About communications, membership, and data protection in the cluster About cluster communications ....................................................................... 332 About cluster membership ............................................................................... 336 About membership arbitration ........................................................................ 339 About data protection ....................................................................................... 343 Examples of VCS operation with I/O fencing ................................................ 344 About cluster membership and data protection without I/O fencing ....... 349 Examples of VCS operation without I/O fencing .......................................... 351 Summary of best practices for cluster communications ............................. 356 Chapter 11 Controlling VCS behavior About VCS behavior on resource faults ......................................................... 360 Controlling VCS behavior at the service group level ................................... 363 Controlling VCS behavior at the resource level ............................................ 371 Changing agent file paths and binaries .......................................................... 385 VCS behavior on loss of storage connectivity ............................................... 386 Service group workload management ............................................................ 389 Sample configurations depicting workload management .......................... 392 Chapter 12 The role of service group dependencies About service group dependencies ................................................................. 408 Service group dependency configurations .................................................... 413 Group Dependency FAQs .................................................................................. 421 Linking service groups ...................................................................................... 422 VCS behavior with service group dependencies ........................................... 422 Section IV Administration-Beyond the basics Chapter 13 VCS event notification About VCS event notification .......................................................................... 428 Components of VCS event notification .......................................................... 431 VCS events and traps ........................................................................................ 433 Monitoring aggregate events ........................................................................... 441 Detecting complementary events ................................................................... 442 Configuring notification ................................................................................... 442 Contents Chapter 14 VCS event triggers About VCS event triggers .................................................................................444 Using event triggers ..........................................................................................444 List of event triggers .........................................................................................445 Section V Multi-cluster configurations Chapter 15 Connecting clusters–Creating global clusters How VCS global clusters work .........................................................................460 VCS global clusters: The building blocks .......................................................461 Prerequisites for global clusters ......................................................................467 Setting up a global cluster ................................................................................469 When a cluster faults ........................................................................................478 Switching the service group back to the primary .........................................479 Setting up a fire drill .........................................................................................481 Chapter 16 Administering global clusters from the Cluster Management Console About creating global service groups .............................................................486 Administering global clusters ..........................................................................487 Administering global service groups ..............................................................492 Administering global heartbeats .....................................................................497 Chapter 17 Administering global clusters from Cluster Manager (Java console) About global clusters .........................................................................................502 Adding a remote cluster ....................................................................................503 Deleting a remote cluster .................................................................................507 Administering global service groups ..............................................................510 Administering global heartbeats .....................................................................515 Chapter 18 Administering global clusters from the command line Global querying ..................................................................................................520 Administering global service groups ..............................................................526 Administering resources ..................................................................................528 Administering clusters .....................................................................................529 Administering heartbeats .................................................................................531 9 10 Contents Chapter 19 Setting up replicated data clusters About replicated data clusters ......................................................................... 534 How VCS replicated data clusters work ......................................................... 535 Setting up a replicated data cluster configuration ....................................... 536 Migrating a service group ................................................................................ 539 Setting up a fire drill ......................................................................................... 540 Section VI Troubleshooting and performance Chapter 20 Troubleshooting and recovery for VCS Logging ................................................................................................................ 544 Troubleshooting the VCS engine .................................................................... 546 Troubleshooting VCS startup .......................................................................... 547 Troubleshooting service groups ...................................................................... 548 Troubleshooting resources .............................................................................. 551 Troubleshooting notification ........................................................................... 553 Troubleshooting VCS configuration backup and restore ............................ 554 Troubleshooting and recovery for global clusters ....................................... 555 Troubleshooting licensing ............................................................................... 558 Chapter 21 VCS performance considerations How cluster components affect performance ............................................... 562 How cluster operations affect performance .................................................. 566 Scheduling class and priority configuration ................................................. 572 Monitoring CPU usage .........................................................................................
View Full Document

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture