Aix: Install and Configuration HACMP [Planning]

2.1 Before You Begin

HACMP for AIX is complex software and is the core component of a Highly Available application system. As such, the planning, installation, and configuration of an HA application system should be done by personnel with the appropriate HACMP training and should not be attempted by application administrators or operators with little HACMP background.

It is important that administrators understand the concepts presented in the HACMP for AIX Concepts and Facilities guide. After reviewing that guide, administrators should have enough background to begin the planning process.

2.2 HACMP Planning Guide

Appendix A of the HACMP for AIX Planning Guide has all the information necessary to walk an administrator through configuration of a basic system, including a number of planning worksheets. For an HA application configuration the following worksheets would normally be used:

  • TCP/IP Networks Worksheet
  • TCP/IP Network Adapter Worksheet
  • Serial Networks Worksheet
  • Serial Network Adapter Worksheet
  • Shared SCSI-2 Differential or Differential Fast/Wide Disks Worksheet (or one of the other shared disk worksheets that matches your shared disk hardware)
  • Non-Shared Volume Group Worksheet (Non-Concurrent Access)
  • Shared Volume Group/Filesystem Worksheet (Non-Concurrent Access)
  • Application Worksheet
  • Application Server Worksheet
  • Resource Group Worksheet
  • Cluster Event Worksheet



here –>

However, this is a large list of worksheets to go through, so they have been condensed down to cover only what is needed for an HA application system. The following pages contain the condensed HA application Planning Worksheet with suggested values. Please refer to the HACMP for AIX Planning Guide for help in filling in the blanks below. A sample completed worksheet is given in HA application Planning Worksheet (example).

The name chosen for the service adapter must be the same as the host name given to each node. For instance, the example worksheet lists hasvc as the service adapter’s name. In that case, the host name (as given by the hostname command) for each node also needs to be hasvc . This is necessary for DCE and application to properly function during a failover.

2.2.1 HA application Planning Worksheet

Cluster ID _ 1 ________

Cluster Name _ HAapplication _

Network:

Name _ ether1 ____

Type _Ethernet__

Attr _public___

Netmask __________

Node names _hanode1_ , _hanode2_

Boot and Standby Adapters (hanode1):

IP Label __________ __________

Function _boot_____ _standby__

IP Address __________ __________

Network Name _ether1___ _ether1___

Network Attr __________ __________

Boot and Standby Adapters (hanode2):

IP Label __________ __________

Function _boot_____ _standby__

IP Address __________ __________

Network Name _ether1___ _ether1___

Network Attr __________ __________

Service Adapters:

IP Label __________

Function _service___

IP Address __________

Network Name _ether1___

Network Attr __________

HW Address __________

Serial Networks:

Network Name _serial1___

Network Type _RS232____

Node Names _hanode1__ , _hanode2__

Serial Network Adapter Worksheet (node A):

Slot Number __________

Interface Name __________

Adapter Label __________

Network Name _serial1___

Serial Network Adapter Worksheet (node B):

Slot Number __________

Interface Name __________

Adapter Label __________

Network Name _serial1___

Shared SCSI-2 Differential or Differential Fast/Wide Disks Worksheet (bus1):

Type of Bus __________

Node Name _hanode1_ , _hanode2_

Slot Number __________, __________

Adapter Logical Name __________, __________

Adapter Bus ID _6________ , _5________

Shared Disk Bus IDs __________

Shared SCSI-2 Differential or Differential Fast/Wide Disks Worksheet (bus2):

Type of Bus __________

Node Name _hanode1_ , _hanode2_

Slot Number __________, __________

Adapter Logical Name __________, __________

Adapter Bus ID _6________ , _5________

Shared Disk Bus IDs __________

Non-Shared Volume Group Worksheet (Non-Concurrent Access) (hanode1):

Volume Group Name _rootvg___

Physical Volumes _hdisk0___ , _hdisk1___

Logical Volumes __________, __________, __________, __________

Mirrored? __________, __________, __________, __________

Non-Shared Volume Group Worksheet (Non-Concurrent Access) (hanode2):

Volume Group Name _rootvg___

Physical Volumes _hdisk0___ , _hdisk1___

Logical Volumes __________, __________, __________, __________

Mirrored? __________, __________, __________, __________

Shared Volume Groups/Filesystems:

Volume Group Name _ ______ ___

Major Number __________

Log LV Name (if any) __________

Physical Volumes __________, __________, __________, __________,

Volume Group Name _ ______ ___

Major Number __________

Log LV Name (if any) __________

Physical Volumes __________, __________, __________, __________,

Volume Group Name _ ______ ___

Major Number __________

Log LV Name (if any) __________

Physical Volumes __________, __________, __________, __________,

__________, __________, __________, __________, __________,

__________, __________, __________, __________, __________

Volume Group Name _ ______ ___

Major Number __________

Log LV Name (if any) __________

Physical Volumes __________, __________, __________, __________,

application Resource Group:

Resource Group Name _ applicationResourceGroup _

Resource Group Type _ Rotating __

Application Server Name _ applicationAppServer _

Start Command _ /usr/sbin/cluster/events/hpss/hpss_start.ksh _

Stop Command _ /usr/sbin/cluster/events/hpss/hpss_stop.ksh _

2.2.2 HA application Planning Worksheet (example)

Cluster ID _ 1 ________

Cluster Name _ HAapplication _

Network:

Name _ ether1 ____

Type _ Ethernet __

Attr _ public ___

Netmask _ 255.255.255.0 _

Node names _ hanode1 _, _ hanode2 _

Boot and Standby Adapters (hanode1):

IP Label _ ha1boot __ _ ha1stby ___

Function _ boot _____ _ standby __

IP Address _ 192.94.47.244 _ _ 192.94.48.145 _

Network Name _ ether1 ___ _ ether1 ___

Network Attr _ public ___ _ public ___

Boot and Standby Adapters (hanode2):

IP Label _ ha2boot __ _ ha2stby __

Function _ boot _____ _ standby __

IP Address _ 192.94.47.69 _ _ 192.94.48.146 _

Network Name _ ether1 ___ _ ether1 ___

Network Attr _ public ___ _ public ___

Service Adapters:

IP Label _ hasvc ____

Function _ service ___

IP Address _ 192.94.47.156 _

Network Name _ ether1 ___

Network Attr _ public ___

HW Address _ 0x10deadbeef01 _

Serial Networks:

Network Name _ serial1 ___

Network Type _ RS232 ____

Node Names _ hanode1 __, _ hanode2 __

Serial Network Adapter Worksheet (node A):

Slot Number _ sa2 ______

Interface Name _ /dev/tty1 _

Adapter Label _ ha1tty ___

Network Name _ serial1 ___

Serial Network Adapter Worksheet (node B):

Slot Number _ sa2 ______

Interface Name _ /dev/tty1 _

Adapter Label _ ha2tty ___

Network Name _ serial1 ___

Shared SCSI-2 Differential or Differential Fast/Wide Disks Worksheet (bus1):

Type of Bus _ Ultra SCSI _

Node Name _ hanode1 _, _ hanode2 _

Slot Number _ 5 ________, _ 5 ________

Adapter Logical Name _ scsi3 _____, _ scsi3 _____

Adapter Bus ID _ 6 ________, _ 5 ________

Shared Disk Bus IDs _ 0-4,8-11 __, _ 0-4,8-11 ___

Shared SCSI-2 Differential or Differential Fast/Wide Disks Worksheet (bus2):

Type of Bus _ Ultra SCSI _

Node Name _ hanode1 _, _ hanode2 _

Slot Number _ 6 ________, _ 6 ________

Adapter Logical Name _ scsi5 _____, _ scsi5 _____

Adapter Bus ID _ 6 ________, _ 5 ________

Shared Disk Bus IDs _ 0-4,8-11 __, _ 0-4,8-11 ___

Non-Shared Volume Group Worksheet (Non-Concurrent Access) (hanode1):

Volume Group Name _ rootvg ___

Physical Volumes _ hdisk0 ___, _ hdisk1 ___

Logical Volumes _ hd1-6, hd8, hd9var _

Mirrored? _ all are mirrored _

Non-Shared Volume Group Worksheet (Non-Concurrent Access) (hanode2):

Volume Group Name _ rootvg ___

Physical Volumes _ hdisk0 ___, _ hdisk1 ___

Logical Volumes _ hd1-6, hd8, hd9var _

Mirrored? _ all are mirrored _

Shared Volume Groups/Filesystems:

Volume Group Name _ dcevg_ ___

Major Number _ 51 _______

Log LV Name (if any) _ jfslogdce _

Physical Volumes _ hdisk2 _, _ hdisk11 _

Volume Group Name _ sfsvg_ ___

Major Number _ 52 _______

Log LV Name (if any) _ jfslogsfs _

Physical Volumes _ hdisk3 _, _ hdisk4 _, _ hdisk5 _, _hdisk6_ ,

_hdisk8_ , _hdisk12_ , _hdisk13_ , _hdisk14_ ,

_hdisk15_ , _hdisk17_


Volume Group Name _ hpssvg_ __

Major Number _ 53 _______

Log LV Name (if any) _ jfsloghpss _

Physical Volumes _hdisk10_ , _hdisk19_

application Resource Group:

Resource Group Name _ applicationResourceGroup _

Resource Group Type _ Rotating __

Application Server Name _ applicationAppServer _

Start Command _ /var/hahpss/hpss_start.ksh _

Stop Command _ /var/hahpss/hpss_stop.ksh _

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top