Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Leveraging System i
for Linux and AIX HA and DR
Yessong Johng
International Technical Support Organization
IBM Rochester
Agenda
AIX Topics
• Factors that shape the AIX 5L high availability (HA) solution
• Two types of HA solutions for AIX 5L on System i
• Decision flowchart
• HACMP introduction
• Simple HACMP cluster with shared disk
• HACMP/XD
• HACMP/XD for GLVM
• Integration with i5/OS for HA
• Summary and comparison
Linux Topics
• i5/OS Based Disaster Recovery Solution
• HA: Keeping Linux running even when the hosting partition goes down
Existing environment
• Storage type
¾ Most often SAN
¾ Internal SCSI and virtual storage also used
• Staff skills
¾ Familiar with HACMP?
¾ New to AIX 5L?
Technical staff
• Lack of understanding, solution configured by 3rd party
• Significant manual intervention (long hours) needed in case of failover
• Too complex, different solutions for different servers/workloads
• Difficult to obtain support from vendor
Users
• Unable to recover recent files
• HA practices affecting core business operations
Criteria used:
• Hardware type
• Local HA or remote HA/DR
© 2007 IBM Corporation
IBM STG Technical Conference
HACMP Overview
Scalable from 2 to 32 server nodes
Automatic failure detection and
faster recovery
Near-continuous data availability
(less than 10 seconds for disk
Server Workload Server recovery)
A Fallover B
HACMP Networking
Network Network
Switch Switch
Network Network
Switch Switch
Service1
9.180.20.1 198.168.2.1 Primary_boot2 198.168.2.2
9.180.20.12
198.168.1.1
Primary_boot1 Secondary_boot1 Secondary_boot2
9.180.20.11 9.180.20.21 9.180.20.22
198.168.1.2
Primary Secondary
Node Node
HACMP/XD
HACMP/Extended Distance adds Disaster Recovery
• Data replication provided by DS Copy Services (Metro or Global Mirror)
• HACMP automates heartbeating and switchover/failover
• Allows for a common HA strategy if i5/OS is using Copy Services for
replication
WAN
Server Server
A B
DS Metro Mirror
DS8000 1 Hardware-based DS8000 2
Data Mirroring
WAN
Server Server
A B
Disk-based replication
by using remote
volumes
AIX 5L AIX 5L
LVM LVM
© 2007 IBM Corporation
IBM STG Technical Conference
Managing HACMP
System Management (C-SPOC)
C-SPOC (Cluster Single Point of Control) is integrated with SMIT upon HACMP installation
Go directly to this menu with ‘smitty cl_admin’
IPAT? Yes Yes Yes Not needed Not needed Not needed
Type of SAN SAN SAN or SCSI SAN or SCSI SAN SAN or SCSI
storage
AIX 5L only? Yes Yes Yes AIX 5L, i5/OS, AIX 5L, i5/OS, AIX 5L, Linux
Linux, Windows Linux, Windows
Provides DR? No Possibly Yes Yes Possibly No
* This HA solution uses the Copy Services for System i offering for simplified management of external
storage replication.
Linux
High Availability
Keeping Linux Running when the Hosting Partition is Down
High-Availability
Keeping Linux running when the hosting partition goes down
Introduction to RAID
RAID (Redundant Array of Independent Disks)
RAID 0
A striping technique
Allows for very fast data
access
Provides no fault tolerance
Generally implemented
with at least 2 disks
May also be used with 1
disk to take advantage of a
cache controller
RAID 1
RAID 5
Stripes data across drives
Utilizes a rotating parity array
• Allows for overlapping read and
write operations
• I/O isn’t blocked on a single
parity disk
Parity data can be utilized to
rebuild the array
Can lose one disk in the set and
still access all the data in the set
Loss of second disk at the same
time results in loss of all data in
the set
RAID 10
/dev/md0
/dev/sdb1
/dev/sda4
Virtual LAN
Select to ‘Manually
Partition with Disk
Druid’
RHEL4’s Disk Druid
sees both dDisks
• The disk from the
secondary partition is
first
• Disk from the power
controlling partition is
second.
© 2007 IBM Corporation
IBM STG Technical Conference
Answer subsequent
prompts and begin
installation
The root partition
will be installed to
the RAID device
Virtual LAN
Disk Recovery
Trademarks
The following are trademarks of the International Business Machines Corporation in the United States and/or other countries. For a complete list of IBM Trademarks, see
www.ibm.com/legal/copytrade.shtml: i5/OS, i5/OS logo, AIX, AIX 5L, BladeCenter,Blue Gene, DB2, e-business logo, eServer, IBM, IBM Logo, Infoprint,IntelliStation, System i ,
pSeries, OpenPower, POWER5, POWER5+, Power Architecture, TotalStorage, Websphere, xSeries, z/OS, zSeries
NOTES:
Any performance data contained in this document was determined in a controlled environment. Actual results may vary significantly and are dependent on many factors
including system hardware configuration and software design and configuration. Some measurements quoted in this document may have been made on development-level
systems. There is no guarantee these measurements will be the same on generally-available systems. Users of this document should verify the applicable data for their
specific environment.
IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply.
All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results
they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions.
This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information
may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot
confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the
suppliers of those products.
Prices are suggested US list prices and are subject to change without notice. Starting price may not include a hard drive, operating system or other features. Contact your
IBM representative or Business Partner for the most current pricing in your geography.
Any proposed use of claims in this presentation outside of the United States must be reviewed by local IBM country counsel prior to such use.
The information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in
new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The
materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk.
IBM may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these
patents. Send license inquires, in writing, to IBM Director of Licensing, IBM Corporation, New Castle Drive, Armonk, NY 10504-1785 USA.