21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This example shows that the volume group testvg with a current 9.1 GB disk has<br />

a maximum number of 1016 PPs per physical volume. Adding a larger 18.2 GB<br />

disk would not be possible; the maximum size of the disk is limited to 17 GB<br />

unless the maximum number of PPs is increased. Using the chvg command to<br />

increase the maximum number of PPs by a factor of 2 to 2032 PPs allows the<br />

volume group to be extended with physical volumes of up to approximately 34<br />

GB.<br />

7.3 Disk replacement<br />

7.3.1 Replacing a disk<br />

<strong>AIX</strong>, like all operating systems, can be problematic when you have to change a<br />

disk. <strong>AIX</strong> provides the ability to prepare the system for the change using the<br />

LVM. You can then perform the disk replacement and then use the LVM to<br />

restore the system back to how it was before the disk was changed. This process<br />

manipulates not only the data on the disk itself, but is also a way of keeping the<br />

Object Data Manager (ODM) intact.<br />

The ODM within <strong>AIX</strong> is a database that holds device configuration details and<br />

<strong>AIX</strong> configuration details. The function of the ODM is to store the information<br />

between reboots, and also provide rapid access to system data, eliminating the<br />

need for <strong>AIX</strong> commands to interrogate components for configuration information.<br />

Since this database holds so much vital information regarding the configuration<br />

of a machine, any changes made to the machine, such as the changing of a<br />

defective disk, need to be done in such a way as to preserve the integrity of the<br />

database.<br />

The following scenario shows a system that has a hardware error on a physical<br />

volume. However, since the system uses a mirrored environment, which has<br />

multiple copies of the logical volume, it is possible to replace the disk while the<br />

system is active. The disk hardware in this scenario are hot-swappable SCSI<br />

disks, which permit the replacement of a disk in a production environment.<br />

One important factor is detecting the disk error. Normally, mail is sent to the<br />

system administrator (root account) from the Automatic Error Log Analysis<br />

(diagela). Figure 7-1 on page 145 shows the information in such a diagnostics<br />

mail.<br />

144 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

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

Saved successfully!

Ooh no, something went wrong!