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.

that machine. For redundancy reas<strong>on</strong>s with clustering software, at least two<br />

machines are required.<br />

A storage subsystem is required that can assign a disk to more than <strong>on</strong>e<br />

machine. This can be some kind of Fibre Channel disk, for example, a DS4000<br />

disk subsystem. Additi<strong>on</strong>ally, for smooth operati<strong>on</strong>, we recommend that the<br />

Virtual I/O Servers are c<strong>on</strong>nected redundantly to the storage subsystem.<br />

On the operating system, the following has to be installed:<br />

► bos.clvm as the basic layer, to enable c<strong>on</strong>current access.<br />

► The cluster software that is resp<strong>on</strong>sible for managing c<strong>on</strong>current disks.<br />

► The applicati<strong>on</strong> software that is resp<strong>on</strong>sible for handling the locking<br />

mechanism <strong>on</strong> files or raw devices <strong>on</strong> the disk.<br />

To set up a c<strong>on</strong>current disk, follow these steps:<br />

1. Create the disk <strong>on</strong> the storage device.<br />

Follow the directi<strong>on</strong>s provided by the storage subsystem provider.<br />

2. Assign the disk to two Virtual I/O Servers.<br />

How to do that depends <strong>on</strong> the type of storage subsystem. On a DS4000 type<br />

disk subsystem, for example, it would be assigned to a host group.<br />

3. On the first Virtual I/O Server, scan for the newly assigned disk:<br />

$ cfgdev<br />

4. On the first Virtual I/O Server, change the SCSI reservati<strong>on</strong> of that disk to<br />

no_reserve so that the SCSI reservati<strong>on</strong> bit <strong>on</strong> that disk is not set if the disk is<br />

accessed:<br />

$ chdev -dev hdiskN -attr reserve_policy=no_reserve<br />

(where N is the number of the disk in questi<strong>on</strong>; reservati<strong>on</strong> commands are<br />

specific to the multipathing disk driver in use. This parameter is used with<br />

DS4000 disks, it can be different with other disk subsystems.)<br />

5. On the first Virtual I/O Server, assign the disk to the first LPAR:<br />

$ mkvdev -vdev hdiskN -vadapter vhostN [ -dev XXX ]<br />

where N is the number of the disk respectively the vhost in questi<strong>on</strong> and the<br />

device name can be chosen to your liking but also left out entirely; the system<br />

will then create a name automatically.<br />

6. On the first LPAR, scan for that disk:<br />

$ cfgdev<br />

Chapter 4. Setting up virtual I/O: advanced 233

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

Saved successfully!

Ooh no, something went wrong!