11.01.2013 Views

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

when combined with hot spare disk and hot swap disks, allows for maintenance to take place<br />

without requiring any planned down time.<br />

However, although LVM mirroring does increase storage availability, it is not intended to be a<br />

substitute for system backup. Additional detailed information about LVM mirroring is available<br />

in the mirrorvg man page and in <strong>AIX</strong> 5L Version 5.3 System Management Concepts:<br />

Operating System and Devices Management, SC23-5204.<br />

Hot spare disks in a volume group<br />

Beginning with <strong>AIX</strong> V5.1, the ability to designate hot spare disks for an LVM mirrored volume<br />

group was added. LVM hot spare allows automatic migration of partitions from a failing disk to<br />

another free disk previously assigned as a hot spare. The hot spare disk feature is an<br />

operating system equivalent to that of a hot spare disk when using a RAID storage solution<br />

that most storage administrators are already familiar. Hot spare disk concepts and policies<br />

are described in <strong>AIX</strong> 5L Version 5.3 System Management Concepts: Operating System and<br />

Devices Management, SC23-5204.<br />

The chvg feature for sync<br />

There is a feature in LVM to set the synchronization characteristics for the volume group<br />

specified by the VolumeGroup parameter that either permits (y) the automatic<br />

synchronization of stale partitions or prohibits (n) the automatic synchronization of stale<br />

partitions. This flag has no meaning for non-mirrored logical volumes.<br />

Automatic synchronization is a recovery mechanism that will only be attempted after the LVM<br />

device driver logs LVM_SA_STALEPP in the errpt. A partition that becomes stale through any<br />

other path (for example, mklvcopy) will not be automatically resynced. This is always used in<br />

conjunction with the hot spare disk in a volume group feature.<br />

To change the volume group characteristics, you can use the smitty chvg SMIT fastpath, or<br />

you can use the following commands (these are examples):<br />

/usr/sbin/chvg -s'y' fransvg<br />

/usr/sbin/chvg -h hotsparepolicy -s syncpolicy volumegroup<br />

Advanced RAID support<br />

Most common storage subsystems today are RAID arrays defined into multiple logical units<br />

(LUNs) that ultimately represent a disk definition to <strong>AIX</strong>. When additional space is required,<br />

you can choose to expand the size of a current LUN, as opposed to adding an additional<br />

LUN. This ultimately results in changing the size of a previously-defined disk.<br />

In order to use this space, the disk must grow in size by dynamically adding additional<br />

physical partitions (PP). <strong>AIX</strong> V5.2 introduced support of dynamic volume expansion by<br />

updating the chvg command to include a new -g flag. More detailed information about this<br />

topic is available in the man page for chvg and in <strong>AIX</strong> 5L Differences Guide Version 5.2<br />

Edition, SG24-5765.<br />

Portability of volume groups<br />

One useful attribute of LVM is a user’s ability to take a disk or sets of disks that make up a<br />

volume group to another <strong>AIX</strong> system and introduce the information created on the first<br />

machine onto the second machine. This ability is provided through the Volume Group<br />

Descriptor Area (VGDA) and the logical volume control block (LVCB).<br />

The design of LVM also allows for accidental duplication of volume group and logical volume<br />

names. If the volume group or logical volume names being imported already exist on the new<br />

machine, then LVM will generate a distinct volume group or logical volume name.<br />

Chapter 2. <strong>AIX</strong> continuous availability features 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!