23.10.2014 Views

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

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.

After the disk is replaced and brought into the volume group, new logical volumes<br />

for the client root volume groups need to be created. The old virtual SCSI target<br />

devices need to be removed using the rmdev -dev vscsi -target-device<br />

command and then, using the mkvdev command, new target devices need to be<br />

created similar to the original setup:<br />

mkvdev -vdev {new logical volume} -vadapter {vhost}<br />

On the client partiti<strong>on</strong>, the following output displays the state of the root volume<br />

group:<br />

# lsvg -l rootvg<br />

rootvg:<br />

LV NAME TYPE LPs PPs PVs LV STATE MOUNT<br />

POINT<br />

hd5 boot 1 2 2 closed/syncd N/A<br />

hd6 paging 32 64 2 open/syncd N/A<br />

hd8 jfs2log 1 2 2 open/syncd N/A<br />

hd4 jfs2 1 2 2 open/syncd /<br />

hd2 jfs2 37 74 2 open/stale /usr<br />

hd9var jfs2 1 2 2 open/stale /var<br />

hd3 jfs2 3 6 2 open/stale /tmp<br />

hd1 jfs2 1 2 2 open/stale /home<br />

hd10opt jfs2 3 6 2 open/stale /opt<br />

As in an AIX 5L partiti<strong>on</strong>, a cleanup of the volume group is required. Remove the<br />

mirror from the missing disk followed by removing the disk from the volume group<br />

itself. Remove the definiti<strong>on</strong> of the hdisk and then run the cfgmgr command to<br />

c<strong>on</strong>figure the disk back to the machine. This cleanup procedure is required<br />

because the logical volume that has been created <strong>on</strong> the VIOS c<strong>on</strong>tains no<br />

volume group data and will show up as a new hdisk after the cfgmgr command<br />

completes.<br />

Since the mapping has been completed <strong>on</strong> the VIOS, the virtual SCSI disk will be<br />

available and ready for use. A standard rootvg mirroring process is applied from<br />

this point.<br />

Recovering from a failed VIOS<br />

If for some reas<strong>on</strong> a VIOS reboots without the clients being prepared, a volume<br />

group cleanup procedure will need to be performed. Unlike a failed SCSI device<br />

<strong>on</strong> a VIOS, the client volume group and logical volumes are still intact.<br />

When the VIOS comes back <strong>on</strong>line, the previously missing client virtual SCSI<br />

disk returns. Volume groups that used virtual SCSI disks from this VIOS will<br />

show logical volumes in a open/stale state, as the disks hosted by the VIOS will<br />

have be marked as missing.<br />

310 <str<strong>on</strong>g>Advanced</str<strong>on</strong>g> <str<strong>on</strong>g>POWER</str<strong>on</strong>g> <str<strong>on</strong>g>Virtualizati<strong>on</strong></str<strong>on</strong>g> <strong>on</strong> <strong>IBM</strong> <strong>System</strong> <strong>p5</strong>

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

Saved successfully!

Ooh no, something went wrong!