IBM PowerHA SystemMirror Standard Edition 7.1.1 for AIX Update

Book description

This IBM® Redbooks® publication helps you install, tailor, and configure the new IBM PowerHA® SystemMirror® for AIX® 7.1.1 Standard Edition. This book gives an understanding of the Cluster Aware AIX (CAA). This book helps you design a solution to migrate from the previous version of the IBM PowerHA.

This IBM Redbooks publication is targeted toward technical professionals (consultants, technical support staff, IT architects, and IT specialists) responsible for providing continuous availability solutions and support.

Table of contents

  1. Notices
    1. Trademarks
  2. Preface
    1. The team who wrote this book
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  3. Chapter 1: Introducing IBM PowerHA SystemMirror 7.1.1
    1. PowerHA architecture concepts
      1. Reliable Scalable Cluster Technology (RSCT)
      2. Cluster Aware AIX (CAA)
      3. PowerHA cluster components (1/4)
      4. PowerHA cluster components (2/4)
      5. PowerHA cluster components (3/4)
      6. PowerHA cluster components (4/4)
    2. Hardware environment (1/2)
    3. Hardware environment (2/2)
    4. Cluster scenarios
    5. New features on PowerHA 7.1.1
    6. PowerHA 7.1.1 installation
    7. Migrating to PowerHA 7.1.1
  4. Chapter 2: Cluster Aware AIX
    1. Introduction
    2. Changes and new features
      1. Changes
      2. Security
      3. Deadman switch (DMS)
      4. The central repository disk
      5. CAA and the IBM solidDB
      6. Repository disk for third-party multipathing
      7. Repository disk resiliency
      8. CAA configuration changes are synchronous
      9. CAA start and stop commands
      10. CAA tunables
      11. Troubleshooting CAA
      12. Statistics
      13. Gathering more cluster information
      14. CAA cluster commands and force option
      15. Restricting interfaces from clustering use (1/2)
      16. Restricting interfaces from clustering use (2/2)
      17. VLAN tagging
      18. Round-trip time and heartbeats
    3. End-to-end monitoring
    4. CAA daemons
    5. CAA multicast
      1. Testing multicast in a network
      2. Troubleshooting multicast
  5. Chapter 3: PowerHA 7.1.1 basic installation and configuration
    1. Introduction
      1. Our sample cluster
    2. Designing your cluster
      1. Avoid a single point of failure
      2. Keep it simple
    3. Hardware requirements
    4. Important considerations for VIOS
      1. Virtual Ethernet: SEA failover, network interface backup, and the number of virtual Ethernet adapters
      2. Our sample cluster virtual environment
    5. Networking
      1. PowerHA network
      2. Number of Ethernet adapters per node per network
      3. Service network
      4. Private network
      5. Service address
      6. Persistent address
      7. Base addresses
      8. Why use different subnets for the two base IP addresses
      9. Hostname and node name
      10. IP subnet rules
      11. Multicast heartbeat
      12. Netmon.cf file
      13. Netmon.cf file configuration for virtual Ethernet environment
      14. Firewalls
    6. Disk considerations
      1. Repository disk
    7. PowerHA SystemMirror installation and prerequisites
      1. Our sample cluster
      2. Starting point for the installation
      3. Base adapter network setup
      4. Persistent IP and default gateway setup
      5. Setting up the hostname
      6. Preparing the /etc/hosts file and changing the name resolution order
      7. Check your network settings
      8. Time synchronization
      9. Installing the AIX prerequisites
      10. Installing the latest AIX fixes
      11. Setting up the required SAN zones for SAN-based heartbeat
      12. Configuring the physical FC adapters for SAN-based heartbeat
      13. Configuring SAN heartbeating in a virtual environment
      14. Shared storage
      15. Installing PowerHA filesets
      16. Installing PowerHA fixes
    8. Configuring PowerHA SystemMirror topology
      1. Propagating the /etc/cluster/rhosts file
      2. Configuring the netmon.cf file
      3. Initial cluster setup
      4. Defining the repository disk
      5. Adding persistent IP labels
      6. Checking the cluster topology information
      7. Verifying and synchronizing the cluster topology
      8. Checking the CAA cluster
      9. If a problem occurs during the initial cluster configuration
    9. Configuring PowerHA resources
      1. Configuring the service IP labels
      2. Configuring the service IP address distribution preference
      3. Verifying the service IP settings
      4. Creating the resource group
      5. Adding resources and attributes for the resource groups
      6. NFS cross mount
      7. Checking the cluster resources
      8. Verifying and synchronizing the cluster resource configuration
      9. Starting the cluster
      10. Verifying PowerHA services
      11. Testing the cluster functionality without an application
      12. Stopping the cluster
    10. Configuring the application for PowerHA
      1. Creating the application startup and shutdown scripts
      2. Creating the application monitoring scripts
      3. Configuring the application control scripts in PowerHA
      4. Configuring the application monitor in PowerHA
      5. Add the application to the resource groups
      6. Cluster verification and synchronization
      7. Checking the application integration
    11. Dynamic LPAR and capacity on demand resources
    12. Test scenarios
    13. Troubleshooting
      1. Cluster start-up problems
      2. Resource group errors
      3. Recovering from a script error
      4. Releasing locks that are set by dynamic reconfiguration
      5. Comparing active and default configurations
      6. Restoring the PowerHA SystemMirror configuration database from the active configuration
      7. The hacmp.out file
      8. Application monitoring log files
      9. Other log files
      10. Contacting IBM support
      11. Collecting PowerHA snap
  6. Chapter 4: Cluster administration
    1. Introduction
    2. AIX and PowerHA SystemMirror service pack upgrade
    3. Reconfiguring the cluster online
    4. Verifying the cluster automatically
    5. Regularly testing your cluster
    6. Backing up the cluster configuration
      1. Restoring the cluster configuration from a snapshot
    7. Monitoring the cluster
      1. Clstat
      2. Cldump
      3. ClRGinfo
    8. Resource group and application management
      1. Bringing a resource group online
      2. Bringing a resource group offline
      3. Moving a resource group
      4. Suspending or resuming application monitoring
      5. Application analysis
    9. New application controller foreground startup
      1. Configuring application controller foreground startup
      2. Testing application controller foreground startup
    10. Disk management in PowerHA SystemMirror
      1. Adding a disk to the cluster nodes
      2. Creating a shared volume group
      3. Adding a disk to a shared volume group
      4. Importing a shared volume group
      5. Adding a logical volume
      6. Increasing the size of a logical volume
      7. Changing a logical volume
      8. Adding a file system
      9. Increasing the size of a file system
      10. Mirroring a logical volume
      11. Mirroring a volume group
      12. Synchronizing the LVM mirror
      13. Unmirroring a logical volume
      14. Unmirroring a volume group
      15. Removing a file system
      16. Removing a logical volume
      17. Removing a physical disk from a shared volume group
      18. Replacing a cluster disk
      19. Removing a volume group
      20. Showing the disk UUID
      21. Renaming a physical volume
    11. Cross-site mirroring and AIX LVM Mirror pools
      1. Introducing PowerHA with Cross-site mirroring
      2. The multiple storage mirroring problem
      3. Assigning the mirror pool names
      4. Extending a volume group
      5. Checking the mirror pool assignments
      6. Creating a mirrored logical volume with mirror pools
      7. Mirroring a volume group
      8. Mirroring a logical volume by using mirror pools
    12. Critical volume groups (voting disks) for Oracle RAC
    13. File collections
      1. Predefined file collections
      2. Managing file collections
    14. Replacing the repository disk
    15. C-SPOC cluster user and group management
      1. Setting up cluster-wide password management with C-SPOC
      2. Enabling cluster-wide password management for a user
      3. Listing users to use cluster-wide password management
      4. Adding a user to the cluster
      5. Changing a cluster user
      6. Removing a user from the cluster
      7. Listing users in the cluster
      8. Adding a group in the cluster
      9. Changing a group in the cluster
      10. Removing a group from the cluster
      11. Listing groups from the cluster
      12. Changing a user password in the cluster
      13. Changing your password in the cluster
    16. Federated security for cluster-wide security management
      1. Federated security components
      2. Federated security configuration requirement
      3. Federated security configuration details (1/2)
      4. Federated security configuration details (2/2)
      5. User and group management under federated security
    17. IBM System Director plug-in update
  7. Chapter 5: Smart Assists for PowerHA SystemMirror
    1. Installing PowerHA SystemMirror Smart Assist
    2. Scenario
    3. Smart Assist for IBM Tivoli Storage Manager
      1. Planning for Smart Assist for Tivoli Storage Manager Server
      2. Prerequisites
      3. Configuring the Smart Assist for Tivoli Storage Manager
      4. Smart Assist for Tivoli Storage Manager resources
    4. Smart Assist for IBM MQ Series
      1. Planning for WebSphere MQ
      2. Software requirements
      3. Installing WebSphere MQ
      4. Configuring WebSphere MQ
      5. Configuring Smart Assist for WebSphere MQ
      6. Smart Assist for WebSphere MQSeries resources
    5. Smart Assist for IBM Tivoli Directory Server
      1. Planning Smart Assist for Tivoli Directory Server
      2. Software requirements
      3. Configuring the Smart Assist for Tivoli Directory Server
      4. Smart Assist for Tivoli Directory Server resources
  8. Chapter 6: Migration scenarios
    1. Considerations before you migrate to PowerHA 7.1.1
    2. Migration from pre-7.1 versions
      1. Requirements
      2. Stages of migration and the clmigcheck command
      3. Offline migration from PowerHA 5.5 (1/4)
      4. Offline migration from PowerHA 5.5 (2/4)
      5. Offline migration from PowerHA 5.5 (3/4)
      6. Offline migration from PowerHA 5.5 (4/4)
      7. Snapshot migration from PowerHA 5.5 (1/3)
      8. Snapshot migration from PowerHA 5.5 (2/3)
      9. Snapshot migration from PowerHA 5.5 (3/3)
      10. Rolling migration from PowerHA 6.1 (1/6)
      11. Rolling migration from PowerHA 6.1 (2/6)
      12. Rolling migration from PowerHA 6.1 (3/6)
      13. Rolling migration from PowerHA 6.1 (4/6)
      14. Rolling migration from PowerHA 6.1 (5/6)
      15. Rolling migration from PowerHA 6.1 (6/6)
    3. Migration from PowerHA 7.1.0
      1. Offline migration from PowerHA 7.1.0 version
      2. Snapshot migration from 7.1.0 version (1/4)
      3. Snapshot migration from 7.1.0 version (2/4)
      4. Snapshot migration from 7.1.0 version (3/4)
      5. Snapshot migration from 7.1.0 version (4/4)
  9. Chapter 7: IBM PowerHA SystemMirror Smart Assist for SAP
    1. PowerHA SystemMirror Smart Assist for SAP
      1. Different Smart Assists
      2. Prerequisites of the solution
      3. Supported versions by Smart Assist
      4. Versions in our demonstration environment
      5. SAP system landscape in the demonstration environment
    2. Standard steps for all clusters in this chapter
      1. Installing the required PowerHA SystemMirror Smart Assist filesets
      2. Creating the users
      3. Creating volume groups, logical volumes, and file systems
      4. Updating the /etc/services file on the secondary node
      5. Copying more directories to the second node
    3. Simple cluster solution with IBM PowerHA SystemMirror Smart Assist for monolithic installed SAP systems
      1. Overview
      2. Installation and configuration steps before you use Smart Assist for SAP (1/2)
      3. Installation and configuration steps before you use Smart Assist for SAP (2/2)
      4. Starting Smart Assist for SAP: Global file system (NFS)
      5. Alternative B only: Starting Smart Assist for SAP with the database instance
      6. Starting Smart Assist for SAP: Application server instance (AS)
      7. Completing the configuration
    4. Scenario for a complete SAP and liveCache environment
      1. Overview
      2. Assignment of the three clusters
      3. Considerations and preconditions of this solution
      4. Installation path for the entire three-cluster environment
    5. Cluster 1: SAP Supply Chain Management
      1. Overview
      2. Installation and configuration steps before you use Smart Assist for SAP (1/3)
      3. Installation and configuration steps before you use Smart Assist for SAP (2/3)
      4. Installation and configuration steps before you use Smart Assist for SAP (3/3)
      5. Starting the Smart Assist for SAP: Global file system (GFS) (1/2)
      6. Starting the Smart Assist for SAP: Global file system (GFS) (2/2)
      7. Starting Smart Assist for SAP: Central services (SCS)
      8. Starting Smart Assist for SAP: Enqueue replication server instance (ERS)
      9. Starting Smart Assist for SAP: Application server instance (AS)
      10. Completing the configuration (1/2)
      11. Completing the configuration (2/2)
    6. Cluster 2: Database instance
      1. Overview
      2. Installation and configuration steps before you use Smart Assist for SAP
      3. Starting Smart Assist for SAP: Database instance (DB)
      4. Completing the configuration
    7. Cluster 3: liveCache
      1. Overview
      2. Prerequisites for the hot-standby liveCache Smart Assist
      3. PowerHA SystemMirror supported disk configurations
      4. Installation and configuration steps before you use Smart Assist for MaxDB
      5. Preliminary steps
      6. Starting SAP liveCache Hot Standby Wizard
      7. Configuring the cluster by using the Smart Assist
      8. Verifying the Smart Assist settings
      9. Completing the configuration
    8. DB2 HADR cluster solution
      1. Overview
      2. Installation and configuration steps before you set up PowerHA
      3. Installing the DB2 HADR database instance
      4. Configuring the DB2 fault monitor
      5. Configuring the base IBM PowerHA SystemMirror
      6. Cluster configuration (1/3)
      7. Cluster configuration (2/3)
      8. Cluster configuration (3/3)
      9. Completing the configuration
  10. Chapter 8: Workload partition and PowerHA scenario
    1. Introduction to WPARs
    2. Planning for high availability
      1. General considerations
      2. PowerHA and rootvg WPARs
      3. WPAR on local disk
      4. Planning for NFS-based file systems
      5. Planning for a versioned WPAR
    3. Support for a WPAR in PowerHA
      1. Creating a WPAR before you define a Resource Group
      2. Creating a WPAR with the Resource Group menu
    4. Scenario with a local WPAR
      1. Creating a local WPAR on two nodes
      2. Configuring PowerHA (1/2)
      3. Configuring PowerHA (2/2)
    5. SAP scenario on AIX 7.1 NFS WPAR
      1. NFS WPARs overview
      2. Specific commands to fit the SAP environment
      3. SAP installation
      4. Setting the cluster
      5. Using the command line to create the cluster
    6. NFS versioned 5.2 WPAR
      1. Creating the resource group
  11. Appendix A: AIX upgrades and PowerHA SystemMirror 7.1.0
    1. Upgrading AIX
      1. Preparing the AIX upgrade
      2. Performing the AIX update (1/2)
      3. Performing the AIX update (2/2)
    2. Upgrading to PowerHA 7.1.1
      1. Perform the PowerHA upgrade to 7.1.1 (1/2)
      2. Perform the PowerHA upgrade to 7.1.1 (2/2)
  12. Appendix B: Configuring the PowerHA cluster by using clmgr
    1. Introduction to clmgr
    2. Full syntax for the clmgr command and basic format
      1. Cluster configuration topology
      2. Cluster configuration resources
      3. Cluster verification and synchronization
      4. Cluster start and stop (1/2)
      5. Cluster start and stop (2/2)
      6. Cluster management (1/2)
      7. Cluster management (2/2)
  13. Appendix C: Creating the hardware environment by using command-line tools
    1. Hardware details
    2. Virtual I/O Server creation
    3. Client LPAR creation
    4. NIM client definition
    5. SAN zoning
      1. Alias creation
    6. IBM DS4800 arrays, logical volumes, and host group creation (1/2)
    7. IBM DS4800 arrays, logical volumes, and host group creation (2/2)
  14. Appendix D: Replacing the failed repository disk if any nodes are not joined to the cluster
    1. Introduction
  15. Appendix E: IBM PowerHA SystemMirror Smart Assist for SAP additional materials for Chapter 7
    1. Scripts to create the SAP users
    2. Script to create users and groups for sapsma_cluster
    3. Script to create users and groups for sapci_cluster, sapdb_cluster, and saplc_cluster
    4. Scripts to create the volume groups, logical volumes, and file systems
      1. Script to create VGs and LVs for sapsma_cluster
      2. Script to create VGs and LVs for sapci_cluster
      3. Script to create VGs and LVs for sapdb_cluster
      4. Script to create VGs and LVs for the saplc_cluster
    5. SAPinst installation
      1. sapci_cluster: Installing the SAP ASCS instance on the first node
      2. sapdb_cluster: Installing the SAP database instance on the first node (1/2)
      3. sapdb_cluster: Installing the SAP database instance on the first node (2/2)
      4. sapci_cluster: Installing the SAP Enqueue Replication Service (ERS) instance on the second node
      5. sapci_cluster: Installing the SAP central instance on the first node (1/2)
      6. sapci_cluster: Installing the SAP central instance on the first node (2/2)
      7. saplc_cluster: Installing the SAP liveCache in the first node (1/2)
      8. saplc_cluster: Installing the SAP liveCache in the first node (2/2)
      9. sapdbhr_cluster: Installing DB2 high availability disaster recovery
    6. Cluster scripts for DB2 HADR
      1. Readme.txt
      2. License.txt (1/5)
      3. License.txt (2/5)
      4. License.txt (3/5)
      5. License.txt (4/5)
      6. License.txt (5/5)
      7. sapha_env
      8. sapha_TL1_cfg
      9. cl_db2_start_local
      10. cl_db2_stop_local
      11. cl_db2_start_hadr
      12. cl_db2_monitor_hadr
      13. lib/DButil.db2
      14. lib/log
      15. lib/SAPutil (1/2)
      16. lib/SAPutil (2/2)
      17. lib/util
  16. Appendix F: PowerHA and workload partition examples
    1. PowerHA smit examples
    2. Scripts that we used for WPARs in PowerHA
  17. Related publications
    1. IBM Redbooks
    2. Other publications
    3. Online resources
    4. Help from IBM
  18. Back cover

Product information

  • Title: IBM PowerHA SystemMirror Standard Edition 7.1.1 for AIX Update
  • Author(s): Dino Quintero, Venkatesh Balappa, Bernhard Buehler, Murali Dhandapani, Thierry Fauck, Federico Fros, Rajesh K. Jeyapaul, Kunal Langer, Luciano Martins, Javier Robles, Viktor Sebesteny, Stefan Velica, Klaus Micha Zuehlke
  • Release date: October 2012
  • Publisher(s): IBM Redbooks
  • ISBN: None