IBM Power Connect, learn, share, and engage with IBMPower. Join / Log in
Kenneth Burger
Sridhar Venkat
Stephen W.
Special thanks to Johnny Shieh for testing these steps for us!
Anyone familiar with PowerVC probably knows that you can use it to add an existing image to your environment and to deploy a virtual machine from an image, but where does that initial image come from? Today, we will discuss the “day 0” genesis case of creating the first virtual machine in your environment. This virtual machine can then be used to install an operating system (OS) via an ISO, mksysb, or other method. For this article, we will show you how to install an OS via an ISO image attached to this virtual machine. Let’s get started!
From the Home screen, select the “Storage Volumes” icon in the left navigation bar, then select the “create” (+) button to create a volume.
From the “Images” page, select your newly created image, then select “Deploy.”
You now have a blank VM ready for you to install an operating system onto it.
Note: The VIOS commands below should be run as padmin or equivalent user authority.
$ scp RHEL-7.2-20151030.0-Server-ppc64-dvd1.iso padmin@9
If there is not a media repository on the VIOS, use mkrep -sp rootvg -size 4G to create a new media repository for the ISO file.
Note: Make sure rootvg has sufficient free space. The repository is typically set to 1024 Mb (1 GB), but you can use the chrep command to increase the amount of free space if necessary. For example, chrep -size 4G.
$ mkvopt -name "myvopt" -file RHEL-7.2-20151030.0-Server-ppc64-dvd1.iso
$ pvmctl lpar list
For our example, the LPAR ID is 5 (see step e). The Client Partition ID is the LPAR ID in hex, so we are interested in Client Partition ID 0x00000005, which is vhost0.
Note: Input the following information when prompted by the install: 5-Select Boot Options 1-Select Install/Boot Device 2-CD/DVD 1-SCSI 1-Under “Select media adapter”, select the SCSI CD-ROM that matches the selection above. 2-Normal Boot Mode 1-Yes
You will see this once you’ve successfully booted the RHEL virtual machine:
Congratulations! Your image is ready for deployment! If you have any questions, post them below. And don’t forget to follow us on LinkedIn, Facebook, and Twitter!