"Cloud Ready" AIX ImagesPowerVC compatible "ready to deploy" images for AIX 7.1 TL 5 and AIX 7.2 TL 2
“In addition to installation images for AIX, "cloud" image formats are also made available that can be readily deployed with PowerVC. These images contain a default AIX base media install configuration that includes Cloud Init and its dependencies. The images can be obtained from the IBM Entitled System Support website or IBM Passport Advantage. For AIX 7.1 TL 5 SP0 and AIX 7.2 TL 2 SP0, the image files have the following names”.
When I discovered that IBM was now providing PowerVC "cloud ready" AIX images, I rushed to the IBM ESS site to download the new software!
http
After the download, I noticed immediately that the image was not in ISO format. This was unexpected. It was, in fact, a raw disk image.
cgib AIX_
So, I created a new volume in PowerVC (with my VIOS SSP storage provider) and used dd to copy the image to the new SSP volume.
p8vi 20480+0 records in. 20480+0 records out.
Next, I deployed a new VM using the image I had just created.
Several minutes later, the VM was successfully deployed.
And I could connect to it over the network.
$ telnet 10.2.55.101
Trying... Connected to pvc1. Escape character is '^]'.
telnet (orion)
AIX Version 7 Copyright IBM Corporation, 1982, 2017. login: root **** * * * Welcome to AIX Version 7.2! * * * Please see the README file in /usr/lpp/bos for information pertinent to * * this release of the AIX Operating Syst * * **** Last unsuccessful login: Wed Dec 13 16:21:20 CST 2017 on ssh from 10.2.55.222 Last login: Wed Dec 13 16:21:30 CST 2017 on /dev/pts/0 from 10.2.55.222
#
# oslevel -s 7200-02-00-0000
And, as advertised, Cloud init was installed. I knew this already because without it, the VMs network interface wouldn't have been configured on deploy (and I would have had to configure it manually, post deploy).
# rpm -qa | grep cloud clou
To my surprise, YUM was also installed.
# yum repolist repo id repo name AIX_ AIX_ AIX_ repolist: 431 #
This new image is a great time saver, as I’ll no longer need to install Cloud init (or YUM for that matter) before I capture a new AIX image.
If you’re interested, here’s a list of all the RPMs included by default in the image.
# rpm -qa tcl-8.4.7-3.ppc expect-5.42.1-3.ppc readline-6.1-2.ppc pyth libyaml-0.1.4-2.ppc gett yum- db-4.8.24-3.ppc pysq pyth pyth pyth pyth pyth pyth curl-7.52.1-1.ppc pyth clou pyth osin tk-8.4.7-3.ppc AIX- sqlite-3.15.2-1.ppc pyth pyth glib2-2.14.6-2.ppc gdbm-1.8.3-5.ppc python-2.7.10-1.ppc pyth pyth pyth pyth pyth pyth ca-c pyth bash-4.3.30-1.ppc yum-3.4.3-5.noarch pyth
|
Hi guys,
...and how can I export that image or deploy it to a SAN-backed VM ?
Because when I try to deploy a VM I unable to select my SAN template.
Hi Praveen, yes, ssh is installed. I assume you're trying to login as root? The root password has not been set, in the base image. You'll need to set the root password (with passwd) first. You can login via the VM console to perform the root password reset (or you can use telnet). Once the root password is set, then you should be able to root login to the VM with ssh. If the ssh session still fails, check the /etc/ssh/sshd_config settings. In particular the "PermitRootLogin yes" attribute. If you want to login in as root, you need to uncomment this entry and restart the sshd daemon. Good luck!
Thanks
for sharing this great info Chris! I have deployed a VM through PowerVC
Cloud Ready image AIXv7.2 but I am having issues while connecting
through ssh. Whenever I try to remote login it gives permission denied
error. I believe the ssh filesets which comes with the cloud ready image
should be good enough to handle ssh operations. Please advise.
Thanks.
Great blog Chris! FYI, if you want to import on the command-line in PowerVC 1.4.0 you'll have to uncompress the file before using "powervc-image import". Alas, you can't import/export from SSP using the "powervc-image" command, only with "dd" like you demonstrated.
Thanks for your comment Mr Corneau.
The new import/export feature in PVC 1.4.0 is very cool! https://www.ibm.com/support/knowledgecenter/en/SSXK2N_1.4.0/com.ibm.powervc.standard.help.doc/powervc_image_agility_hmc.html
I have a couple of customers that use SSP with PowerVC everyday. I've asked for SSP support to be added. Fingers crossed!