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.

Using logical partiti<strong>on</strong>s<br />

In our basic scenario, we will create the volume group named rootvg_clients <strong>on</strong><br />

hdisk2 and partiti<strong>on</strong> it to serve as boot disks to our client partiti<strong>on</strong>s.<br />

Important: We do not recommend using the Virtual I/O Server rootvg disk for<br />

virtual client disks (logical volumes).<br />

1. Create a volume group and assign hdisk2 to rootvg_clients using the mkvg<br />

command, as shown in Example 3-10.<br />

Example 3-10 Creating the rootvg_clients volumegroup<br />

$ mkvg -f -vg rootvg_clients hdisk2<br />

rootvg_clients<br />

2. Define all the logical volumes that are going to be presented to the client<br />

partiti<strong>on</strong>s as hdisks. In our case, these logical volumes will be our rootvg for<br />

the client partiti<strong>on</strong>s (see Example 3-11).<br />

Example 3-11 Create logical volumes<br />

$ mklv -lv rootvg_dbsrv rootvg_clients 10G<br />

rootvg_dbsrv<br />

$ mklv -lv rootvg_apps rootvg_clients 10G<br />

rootvg_apps<br />

$ mklv -lv rootvg_nim rootvg_clients 10G<br />

rootvg_nim<br />

$ mklv -lv rootvg_lnx rootvg_clients 2G<br />

rootvg_lnx<br />

164 <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!