Professional Documents
Culture Documents
HACMP Design
HACMP Design
Introduction
Scope HACMP Cluster Design HACMP Redundant Architecture HACMP Single Points of Failure (SPOF's) Preparing for HACMP Configuration HACMP Configuration
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
Scope
Scope This presentation covers HACMP standards, design and concepts in an example environment. This presentation is designed as a step by step procedure for the configuration of a 1-way cascading HACMP cluster running a database and application.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
Example SPOF's Network switch (single network design) Switch failure will result in business function outage until switch is fixed or replaced Single storage communication adapter per node Adapter failure will cause node fail over with short outage to business function
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Create cluster and identify participating nodes smitty hacmp Initialization and Standard Configuration Add Nodes to an HACMP Cluster Cluster name: ttc520-cl01 Node names: ttc520-1 ttc520-2
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Create service IP labels smitty hacmp Initialization and Standard Configuration Configure Resources to Make Highly Available Add a Service IP/Label Address IP/Label Address: ttc520-1a Network Name: Press F4 and Select
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Synchronize the HACMP configuration to ensure correctness up to this point. smitty hacmp Extended Configuration Extended Verification and Synchronizatoin
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Create resource group for database and application volume groups smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resource Group Configuration Add a Resource Group Resource Group Name: whmpctt0 Participating Nodes: ttc520-1a ttc520-2a Startup Policy: Online on Home Node Only Fallover Policy: Fallover to Next Priority Node Fallback Policy: Fallback to Higher Priority Node
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Create resource group for the database service IP label smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resource Group Configuration Add a Resource Group Resource Group Name: whmpctta Participating Nodes: ttc520-1a ttc520-2a Startup Policy: Online on Home Node Only Fallover Policy: Fallover to Next Priority Node Fallback Policy: Fallback to Higher Priority Node
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Create resource group for the application service IP label smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resource Group Configuration Add a Resource Group Resource Group Name: whmpcttb Participating Nodes: ttc520-1a ttc520-2a Startup Policy: Online on Home Node Only Fallover Policy: Fallover to Next Priority Node Fallback Policy: Fallback to Higher Priority Node
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Configure the database and application resource group smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resource Group Configuration Change/Show Resources and Attributes... Select from list: whmpctt0 Volume Groups: whmpctt000vg
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Configure the database service IP label resource group smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resource Group Configuration Change/Show Resources and Attributes... Select from list: whmpctta Service IP Labels/Addresses: ttc520-1a
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Configure the application service IP label resource group smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resource Group Configuration Change/Show Resources and Attributes... Select from list: whmpcttb Service IP Labels/Addresses: ttc520-1b
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Arrange resource group activation in the following order whmpctt0 whmpctta whmpcttb This will start up the database and application then activate the database service label, and lastly, activate the application service label
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Synchronize the HACMP configuration to ensure correctness up to this point. smitty hacmp Extended Configuration Extended Verification and Synchronization
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Add an application server to startup and shutdown the database smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resources Configuration Configure HACMP Applications Configure HACMP Application Servers Add an Application Server Server Name: whmpctt0_appl01 Start Script: /usr/local/scripts/whmpctt0_appl01_start.sh Stop Script: /usr/local/scripts/whmpctt0_appl01_stop.sh
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Add an application server to startup and shutdown the application smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resources Configuration Configure HACMP Applications Configure HACMP Application Servers Add an Application Server Server Name: whmpctt0_appl02 Start Script: /usr/local/scripts/whmpctt0_appl02_start.sh Stop Script: /usr/local/scripts/whmpctt0_appl02_stop.sh
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Modify the database and interface application resource group to include the application servers smitty hacmp Extended Configuration Extended Resource Configuration HACMP Extended Resource Group Configuration Change/Show Resources and Attributes... Select from List: whmpctt0 Application Servers: whmpctt0_appl01 whmpctt0_appl02
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Synchronize the HACMP configuration to ensure correctness up to this point. smitty hacmp Extended Configuration Extended Verification and Synchronization Automatically Correct Errors: Yes
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Start HACMP on both nodes, one node at a time, allowing the cluster to stabilize in between smitty hacmp System Management Manage HACMP Services Start Cluster Services Start now, on system restart, or both: now Start Cluster services on these nodes: ttc520-1a Broadcast message at startup: True Startup cluster information daemon: True Reacquire resources after forced down: False Ignore verification errors: False Automatically correct errors...: Interactively
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.
HACMP Configuration
Start HACMP on both nodes, one node at a time, allowing the cluster to stabilize in between smitty hacmp System Management Manage HACMP Services Start Cluster Services Start now, on system restart, or both: now Start Cluster services on these nodes: ttc520-2a Broadcast message at startup: True Startup cluster information daemon: True Reacquire resources after forced down: False Ignore verification errors: False Automatically correct errors...: Interactively
HACMP Design
2005 Mt Xia Technical Consulting Group - All Rights Reserved.