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.

Note: The path switching also works even if the hcheck_interval attribute is<br />

set to 0, but it is useful to have the status updated automatically.<br />

Example 4-22 Changing the health check interval<br />

# chdev -l hdisk0 -a hcheck_interval=60 -P<br />

hdisk0 changed<br />

# lsattr -El hdisk0<br />

PCM PCM/friend/vscsi Path C<strong>on</strong>trol Module False<br />

algorithm fail_over Algorithm True<br />

hcheck_cmd test_unit_rdy Health Check Command True<br />

hcheck_interval 60 Health Check Interval True<br />

hcheck_mode n<strong>on</strong>active Health Check Mode True<br />

max_transfer 0x40000 Maximum TRANSFER Size True<br />

pvid<br />

00c7cd9eabdeaf320000000000000000 Physical volume identifier False<br />

queue_depth 3 Queue DEPTH False<br />

reserve_policy no_reserve Reserve Policy True<br />

Note: MPIO <strong>on</strong> the client partiti<strong>on</strong> runs a fail_over algorithm. That means<br />

<strong>on</strong>ly <strong>on</strong>e path is active at a time. If you shut down a Virtual I/O Server that<br />

serves the inactive path, then the path mode does not change to failed<br />

because no I/O is using this path.<br />

Failover may require a small period of time in which the client<br />

re-establishes a path to the SAN. Testing of producti<strong>on</strong> workloads should<br />

be made in order to establish if this delay is suitable.<br />

5. Set the path priority for this partiti<strong>on</strong> to have the active path going over<br />

VIO_Server2. The default setting is priority 1 <strong>on</strong> both paths, as shown in<br />

Example 4-23. In this case, you do not need a special path and the system<br />

will pick path0 as the active path. Priority 1 is the highest priority, and you can<br />

define a priority from 1 to 255.<br />

Example 4-23 Show path priority using lspath<br />

# lspath -AHE -l hdisk0 -p vscsi0<br />

attribute value descripti<strong>on</strong> user_settable<br />

priority 1 Priority True<br />

# lspath -AHE -l hdisk0 -p vscsi1<br />

attribute value descripti<strong>on</strong> user_settable<br />

priority 1 Priority True<br />

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

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

Saved successfully!

Ooh no, something went wrong!