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

Create successful ePaper yourself

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

3.4.4 Defining virtual disks<br />

Virtual disks can either be whole physical disks or logical volumes. The physical<br />

disks can either be local disks or SAN attached disks.<br />

SAN disks can be used both for the Virtual I/O Server rootvg and for virtual I/O<br />

clients disks.<br />

Tip: A virtual disk, physical volume, can be mapped to more than <strong>on</strong>e partiti<strong>on</strong><br />

by using the -f opti<strong>on</strong> of the mkvdev command for the sec<strong>on</strong>d mapping of the<br />

disk. This could be used for c<strong>on</strong>current-capable disks between partiti<strong>on</strong>s.<br />

Use the following steps to build the logical volumes required to create the virtual<br />

disk for the clients partiti<strong>on</strong>’s rootvg based <strong>on</strong> our basic scenario using logical<br />

volumes:<br />

1. Log in with the padmin user ID and run the cfgdev command to rebuild the list<br />

of visible devices used by the Virtual I/O Server.<br />

The virtual SCSI server adapters are now available to the Virtual I/O Server.<br />

The name of these adapters will be vhostx, where x is a number assigned by<br />

the system.<br />

2. Use the lsdev -virtual command to make sure that your new virtual SCSI<br />

adapter is available, as shown in Example 3-9.<br />

Example 3-9 Virtual I/O Command Line Interface<br />

$ lsdev -virtual<br />

name status descripti<strong>on</strong><br />

ent1<br />

Available Virtual I/O Ethernet Adapter (l-lan)<br />

ent2<br />

Available Virtual I/O Ethernet Adapter (l-lan)<br />

vhost0<br />

Available Virtual SCSI Server Adapter<br />

vhost1<br />

Available Virtual SCSI Server Adapter<br />

vhost2<br />

Available Virtual SCSI Server Adapter<br />

vhost3<br />

Available Virtual SCSI Server Adapter<br />

vhost4<br />

Available Virtual SCSI Server Adapter<br />

vsa0<br />

Available LPAR Virtual Serial Adapter<br />

ent3<br />

Available Shared Ethernet Adapter<br />

3. Use the lsmap -all command to check slot numbers as shown:<br />

If the devices are not available, then there was a problem defining them. You<br />

can use the rmdev -dev vhost0 -recursive command for each device and<br />

then reboot the Virtual I/O Server if needed. Up<strong>on</strong> reboot, the c<strong>on</strong>figurati<strong>on</strong><br />

manager will detect the hardware and re-create the vhost devices.<br />

Chapter 3. Setting up the Virtual I/O Server: the basics 163

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

Saved successfully!

Ooh no, something went wrong!