Share the VIO CDROM to LPAR
Scenario:
You have a VIO server installed on a P520, P550 or P570 and you desire to share the cd-rom to a LPAR.(works the same to Power 710, 720, 730, 740 and 750 systems.)
The optical device on the IBM Power 520, 550 and 570 systems is also attached to the internal SAS controller found and cannot be moved to another partition without also moving all the internal SAS drives. The same is valid to Power 710, 720, 730, 740 and 750 systems.
So rather than assigning the optical device (cdX) itself directly to the LPAR in question we'll need to create a virtual cdrom (vtoptX) from cdX within the VIO Server and present it to our LPAR client(s).
Sinking deeper on the technicalities we'll need to:
- Create a Virtual Target Device type Optical Media from the physical cdX device. This new Virtual Target Device will be called vtoptX on the VIO SERVER.
- Once the vtoptX device is available we'll then be able to present the virtual device vtoptX through a Virtual Server Adapter (vhostX) to your client LPAR via a Virtual Client SCSI adapter (vscsiX). All the Virtual SCSI Client/Server adapter creation can be done through the HMC console. (also via IVM.) The creation of Virtual SCSI target device consists of Client/Server Virtual SCSI adapters between the VIO SERVER and the client LPAP.
I will here try to describe as best as I can all this process.
1 - VIO SERVER: Create a Virtual Target Device type Optical Media from cd0;
mkvdev -vdev cd0 -vadapter vhost1
vtopt0 Available
NOTE: Create your virtual device vtopt0 on separate Virtual SCSI server Adapter other then the one you used to connect your Virtual disks so the you can move the adapter around to different LPARs like the example above. If you keep it all in one adapter you will have to move all the disks with the cdrom around. You probably don't want that.
2 - HMC: Logon the HMC and create the Client/Server Virtual SCSI adapters;
Select the VIO SERVE and select > Manage Profiles
Goto Virtual Adapters Tab and click in Action > Create > SCSI Adapter...
Enter a Virtual SCSI adapter - Take note of this number... we need it later.
Select "Any client partition can connect" NOTE : that makes it easier to use the CD/DVD from all your VIOCLIENTS
Click OKAY. and OKAY.
Select the LPAR CLIENT and select > Manage Profiles
Goto Virtual Adapters Tab and click in Action > Create > SCSI Adapter...
Enter a Virtual SCSI adapter - The one you toke note from...
Select the Server partition where cdrom resides (the VIO SERVER)
Enter the Server adapter ID: The one you toke note, again...
Click OKAY. OKAY. Close.
Done. Now you should be able to boot from the cdrom.
* Source Article from : Internet