10.01.2013 Views

SAN Boot Implementation and Best Practices Guide ... - IBM Redbooks

SAN Boot Implementation and Best Practices Guide ... - IBM Redbooks

SAN Boot Implementation and Best Practices Guide ... - 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.

The following sections outline some best practices that should be reviewed post-installation.<br />

These best practices, in general, focus on multipathing configuration considerations that can<br />

impact performance.<br />

4.10.1 VMware ESXi best practices<br />

The following section outlines VMware ESXI best practices that relate to how multipathing<br />

settings can be reviewed.<br />

Optimizing multipathing policies<br />

For VMware ESXi, the Round Robin multipathing policy can be used to effectively distribute<br />

I/O across XIV interface modules <strong>and</strong> their FC ports. Current ESXi multipathing policies can<br />

be viewed from a vSphere client as previously shown in Figure 4-47 on page 237.<br />

More information about VMware ESXi multipathing<br />

For more information about VMware ESXi multipathing policies, see the following link:<br />

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC<br />

&externalId=1011340<br />

4.10.2 Linux best practices<br />

The following section outlines Linux best practices (Red Hat RHEL 5.5 <strong>and</strong> SUSE Linux<br />

Enterprise Server 11) that relate to how multipathing settings can be reviewed.<br />

Updating the Linux <strong>Boot</strong> Image<br />

When the Linux operating system is booted, Linux uses an initial ramdisk (initrd) image to<br />

preload modules that allow the root file system to be accessed by the Linux kernel.<br />

When Linux is <strong>SAN</strong> <strong>Boot</strong>ed <strong>and</strong> multipathing is used for the XIV connectivity, it is important to<br />

ensure that the initrd used by the host during its boot process has incorporated in it the<br />

current multipath configuration. In the case of XIV, it involves the following steps:<br />

1. Installing XIV Host Attachment Kit<br />

2. Executing the XIV xiv_attach script to configure the multipath environment<br />

3. Executing the Linux mkinitrd utility to build a new initrd<br />

4. Verifying that the boot loader is configured to use the new initrd<br />

5. Rebooting the host<br />

Linux <strong>Boot</strong> installation examples<br />

The following examples outline the previous steps based upon what can be observed during a<br />

SUSE Linux Enterprise Server 11 <strong>SAN</strong> <strong>Boot</strong> installation.<br />

Example 4-23 illustrates the multipath configuration after a SUSE Linux Enterprise Server 11<br />

<strong>SAN</strong> <strong>Boot</strong> installation.<br />

Example 4-23 Output of multipath -l after <strong>SAN</strong> <strong>Boot</strong> installation of SUSE Linux Enterprise Server 11<br />

# multipath -l<br />

2001738000cb4007c dm-0 <strong>IBM</strong>,2810XIV<br />

[size=48G][features=0][hwh<strong>and</strong>ler=0][rw]<br />

\_ round-robin 0 [prio=-1][active]<br />

\_ 0:0:4:1 sda 8:0 [active][undef]<br />

\_ round-robin 0 [prio=-1][enabled]<br />

\_ 1:0:4:1 sdb 8:16 [active][undef]<br />

264 <strong>SAN</strong> <strong>Boot</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Best</strong> <strong>Practices</strong> <strong>Guide</strong> for <strong>IBM</strong> System Storage

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

Saved successfully!

Ooh no, something went wrong!