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.

4. In the Virtual I/O Server, vios1, you create the virtual device with the following<br />

command:<br />

$ mkvdev -vdev -vadapter vhostn -dev <br />

where n is the number of the vhost adapter. See Example 2-1.<br />

Example 2-1 Making the virtual device for the DVD drive<br />

$ mkvdev -vdev cd0 -vadapter vhost3 -dev vcd<br />

5. Create a client SCSI adapter in each LPAR using the HMC. The client adapter<br />

should point to the server adapter created in the previous step.<br />

Tip: It is useful to use the same slot number for all the clients.<br />

6. In the client, run the cfgmgr command that will assign the drive to the LPAR. If<br />

the drive is already assigned to another LPAR you will get an error message<br />

and you will have to release the drive from the LPAR holding it.<br />

Moving the drive:<br />

If your documentati<strong>on</strong> does not provide the vscsi adapter number, you can find it<br />

with the lscfg|grep Cn command, where n is the slot number of the virtual client<br />

adapter from the HMC.<br />

1. Use the rmdev -Rl vscsin command to change the vscsi adapter and the<br />

optical drive to a defined state.<br />

Note: Adding the -d opti<strong>on</strong> also removes the adapter from the ODM.<br />

2. The cfgmgr command in the target LPAR will make the drive available.<br />

Note: You can also use the virtual CD or DVD to install an LPAR when<br />

selected in the SMS startup menu, provided the drive is not assigned to<br />

another LPAR.<br />

Note: In IVM, the optical device is moved using the graphical user interface.<br />

You can use the dsh command to find the LPAR currently holding the drive, as<br />

shown in Example 2-2 <strong>on</strong> page 97.<br />

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