CD-ROM issue with PowerVM IVM VIOS


 
Thread Tools Search this Thread
Operating Systems AIX CD-ROM issue with PowerVM IVM VIOS
# 1  
Old 12-31-2012
[Solved] CD-ROM issue with PowerVM IVM VIOS

I am facing problems in moving CD-ROM from one lpar to another.

CDROM can be seen on the POWERVM (IVM) server , but through the web-access if I move it ( assign it ) to LPAR it will be assigned. I run cfgmgr , and the cdrom does not show up in the LPAR. I firmly believe this is the reason why I was unable to boot from CDROM in this thread VIOS LPAR Error 0518 ;

Let us try to troubleshoot the problem.

Code:
POWERVM IVM



$ oem_setup_env


# lsdev -Cc cdrom
cd0 Available 03-08-00 IDE DVD-ROM Drive
# lsdev -l cd0 -F parent
ide0
# lsdev -l ide0 -F parent
pci3
# lsdev -l pci3 -F parent
pci0

# lsdev |grep cd0
cd0             Available 03-08-00      IDE DVD-ROM Drive




# lsdev |grep 03-08
cd0             Available 03-08-00      IDE DVD-ROM Drive
ide0            Available 03-08         ATA/IDE Controller Device
#


exit to vios

$ ioslevel
2.1.3.10-FP23
$


$ lsdev
name             status      description
L2cache0         Available   L2 Cache
cd0              Available   IDE DVD-ROM Drive
en0              Available   Standard Ethernet Network Interface
ent0             Available   2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1             Available   2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2             Available   Virtual I/O Ethernet Adapter (l-lan)
ent3             Available   Virtual I/O Ethernet Adapter (l-lan)
ent4             Available   Virtual I/O Ethernet Adapter (l-lan)
ent5             Available   Virtual I/O Ethernet Adapter (l-lan)
ent6             Available   Shared Ethernet Adapter
fcs0             Available   FC Adapter
fcs1             Available   FC Adapter
fscsi0           Available   FC SCSI I/O Controller Protocol Device
fscsi1           Available   FC SCSI I/O Controller Protocol Device
hdisk0           Available   16 Bit LVD SCSI Disk Drive
hdisk1           Available   16 Bit LVD SCSI Disk Drive
hdisk2           Available   16 Bit LVD SCSI Disk Drive
hdisk3           Available   16 Bit LVD SCSI Disk Drive
hdisk4           Available   16 Bit LVD SCSI Disk Drive
hdisk5           Available   16 Bit LVD SCSI Disk Drive
hdisk6           Available   16 Bit LVD SCSI Disk Drive
hdisk7           Available   16 Bit LVD SCSI Disk Drive
ibmvmc0          Available   Virtual Management Channel
ide0             Available   ATA/IDE Controller Device
inet0            Available   Internet Network Extension
iscsi0           Available   iSCSI Protocol Device
lai0             Available   GXT135P Graphics Adapter
lft0             Available   Low Function Terminal Subsystem
lo0              Available   Loopback Network Interface
lvdd             Available   LVM Device Driver
mem0             Available   Memory
mover0           Available   Mover Kernel Extension
pci0             Available   PCI Bus
pci1             Available   PCI Bus
pci2             Available   PCI Bus
pci3             Available   PCI Bus
pci4             Available   PCI Bus
pci5             Available   PCI Bus
pci6             Available   PCI Bus
pci7             Available   PCI Bus
pci8             Available   PCI Bus
pci9             Available   PCI Bus
pci10            Available   PCI Bus
pci11            Available   PCI Bus
proc0            Available   Processor
proc2            Available   Processor
proc4            Available   Processor
proc6            Available   Processor
pty0             Available   Asynchronous Pseudo-Terminal
rcm0             Available   Rendering Context Manager Subsystem
rmt0             Available   LVD SCSI 1/2-inch Cartridge Tape Drive
scsi0            Available   Ultra320 SCSI RAID Adapter Physical bus
scsi1            Available   Ultra320 SCSI RAID Adapter Physical bus
scsi2            Available   PCI-X Dual Channel Ultra320 SCSI Adapter bus
scsi3            Available   PCI-X Dual Channel Ultra320 SCSI Adapter bus
ses0             Available   SCSI Enclosure Services Device
ses1             Available   SCSI Enclosure Services Device
sisioa0          Available   PCI-XDDR Dual Channel U320 SCSI RAID Adapter
sisraid0         Available   Ultra320 SCSI RAID Adapter Logical bus
sisscsia0        Available   PCI-X Dual Channel Ultra320 SCSI Adapter
sys0             Available   System Object
sysplanar0       Available   System Planar
usb0             Available   USB System Software
usbhc0           Available   USB Host Controller (33103500)
usbhc1           Available   USB Host Controller (33103500)
usbhc2           Available   USB Enhanced Host Controller (3310e000)
vhost0           Available   Virtual SCSI Server Adapter
vhost1           Available   Virtual SCSI Server Adapter
vhost2           Available   Virtual SCSI Server Adapter
vhost3           Available   Virtual SCSI Server Adapter
vhost4           Available   Virtual SCSI Server Adapter
vhost5           Available   Virtual SCSI Server Adapter
vhost6           Available   Virtual SCSI Server Adapter
vio0             Available   Virtual I/O Bus
vsa0             Available   LPAR Virtual Serial Adapter
vsa1             Available   LPAR Virtual Serial Adapter
vts0             Available   Virtual TTY Server Adapter
vts1             Available   Virtual TTY Server Adapter
vts2             Available   Virtual TTY Server Adapter
vts3             Available   Virtual TTY Server Adapter
vts4             Available   Virtual TTY Server Adapter
vts5             Available   Virtual TTY Server Adapter
vts6             Available   Virtual TTY Server Adapter
vtscsi0          Available   Virtual Target Device - Disk
vtscsi1          Available   Virtual Target Device - Logical Volume
vtscsi2          Available   Virtual Target Device - Logical Volume
vtscsi3          Available   Virtual Target Device - Logical Volume
vtscsi4          Available   Virtual Target Device - Logical Volume
vtscsi5          Available   Virtual Target Device - Logical Volume
vtscsi6          Available   Virtual Target Device - Logical Volume
vtscsi7          Available   Virtual Target Device - Logical Volume
vtscsi8          Available   Virtual Target Device - Logical Volume
vtscsi9          Available   Virtual Target Device - Logical Volume
vtscsi10         Available   Virtual Target Device - Logical Volume
vtscsi11         Available   Virtual Target Device - Logical Volume
vty0             Available   Asynchronous Terminal
vty1             Available   Asynchronous Terminal
$




$ lsmap -all
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U9113.550.107780E-V1-C11                     0x00000002

VTD                   vtscsi0
Status                Available
LUN                   0x8300000000000000
Backing device        hdisk1
Physloc               U787B.001.DNW3313-P1-T14-L4-L0

VTD                   vtscsi6
Status                Available
LUN                   0x8500000000000000
Backing device        standby_oracle
Physloc

VTD                   vtscsi10
Status                Available
LUN                   0x8100000000000000
Backing device        standby_archive
Physloc

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U9113.550.107780E-V1-C13                     0x00000003

VTD                   vtscsi1
Status                Available
LUN                   0x8300000000000000
Backing device        temp_disk
Physloc

VTD                   vtscsi2
Status                Available
LUN                   0x8400000000000000
Backing device        test1
Physloc

VTD                   vtscsi3
Status                Available
LUN                   0x8200000000000000
Backing device        test1_archive
Physloc

VTD                   vtscsi4
Status                Available
LUN                   0x8100000000000000
Backing device        rootvg_vio_1
Physloc

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost2          U9113.550.107780E-V1-C15                     0x00000004

VTD                   vtscsi5
Status                Available
LUN                   0x8200000000000000
Backing device        rootvg_3
Physloc

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost3          U9113.550.107780E-V1-C17                     0x00000000

VTD                   vtscsi8
Status                Available
LUN                   0x8200000000000000
Backing device        rootvg_4
Physloc

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost4          U9113.550.107780E-V1-C19                     0x00000006

VTD                   vtscsi9
Status                Available
LUN                   0x8100000000000000
Backing device        nim_server
Physloc

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost5          U9113.550.107780E-V1-C21                     0x00000007

VTD                   vtscsi7
Status                Available
LUN                   0x8100000000000000
Backing device        rootvg_2
Physloc

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost6          U9113.550.107780E-V1-C23                     0x00000000

VTD                   vtscsi11
Status                Available
LUN                   0x8100000000000000
Backing device        rootvg_5
Physloc

$ lsdev -slots
# Slot                    Description       Device(s)
U787B.001.DNW3313-P1-C1   Logical I/O Slot  pci10 fcs0 fcs1
U787B.001.DNW3313-P1-C2   Logical I/O Slot  pci11
U787B.001.DNW3313-P1-C3   Logical I/O Slot  pci4 pci5 lai0
U787B.001.DNW3313-P1-C4   Logical I/O Slot  pci6 sisioa0
U787B.001.DNW3313-P1-C5   Logical I/O Slot  pci7
U787B.001.DNW3313-P1-T7   Logical I/O Slot  pci2 usbhc0 usbhc1 usbhc2
U787B.001.DNW3313-P1-T9   Logical I/O Slot  pci8 ent0 ent1
U787B.001.DNW3313-P1-T14  Logical I/O Slot  pci9 sisscsia0
U787B.001.DNW3313-P1-T16  Logical I/O Slot  pci3 ide0
U9113.550.107780E-V1-C2   Virtual I/O Slot  ibmvmc0
U9113.550.107780E-V1-C3   Virtual I/O Slot  ent2
U9113.550.107780E-V1-C4   Virtual I/O Slot  ent3
U9113.550.107780E-V1-C5   Virtual I/O Slot  ent4
U9113.550.107780E-V1-C6   Virtual I/O Slot  ent5
U9113.550.107780E-V1-C10  Virtual I/O Slot  vts0
U9113.550.107780E-V1-C11  Virtual I/O Slot  vhost0
U9113.550.107780E-V1-C12  Virtual I/O Slot  vts1
U9113.550.107780E-V1-C13  Virtual I/O Slot  vhost1
U9113.550.107780E-V1-C14  Virtual I/O Slot  vts2
U9113.550.107780E-V1-C15  Virtual I/O Slot  vhost2
U9113.550.107780E-V1-C16  Virtual I/O Slot  vts3
U9113.550.107780E-V1-C17  Virtual I/O Slot  vhost3
U9113.550.107780E-V1-C18  Virtual I/O Slot  vts4
U9113.550.107780E-V1-C19  Virtual I/O Slot  vhost4
U9113.550.107780E-V1-C20  Virtual I/O Slot  vts5
U9113.550.107780E-V1-C21  Virtual I/O Slot  vhost5
U9113.550.107780E-V1-C22  Virtual I/O Slot  vts6
U9113.550.107780E-V1-C23  Virtual I/O Slot  vhost6

$  lsdev|grep vscsi
$

$ cfgdev -dev cd0
$

$ lsdev | grep cd0
cd0              Available   IDE DVD-ROM Drive

$ lsdev -virtual | grep Optical
$

Now creating the virtual cd-rom while the LPAR is down

$ mkvdev -vdev cd0 -vadapter vhost2 
vtopt0 Available

$ lsdev -dev vtopt0 -vpd
  vtopt0           U9113.550.107780E-V1-C13-L5  Virtual Target Device - Optical Media

$ lsmap -vadapter vhost2
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost2          U9113.550.107780E-V1-C15                     0x00000004

VTD                   vtopt0
Status                Available
LUN                   0x8100000000000000
Backing device        cd0
Physloc               U787B.001.DNW3313-P4-D2

VTD                   vtscsi5
Status                Available
LUN                   0x8200000000000000
Backing device        rootvg_3
Physloc


starting the LPAR with Host ID 4 and checking the properties through the web
cd0 IDE DVD-ROM Drive U787B.001.DNW3313-P4-D2 

# lsdev -Cc cdrom
# cfgmgr
Method error (/etc/methods/cfglft -l lft0 ):
        0514-032 Cannot perform the requested function because the
                 specified device is dependent on another device which does
                 not exist.
cfgmgr: 0514-621 WARNING: The following device packages are required for
        device support but are not currently installed.
devices.vscsi.disk
# lsdev -Cc cdrom
#

Model Architecture: chrp
  Model Implementation: Multiple Processor, PCI bus

+ sys0                                                       System Object
+ sysplanar0                                                 System Planar
* vio0                                                       Virtual I/O Bus
* vscsi0           U9113.550.107780E-V4-C2-T1                Virtual SCSI Client Adapter
* hdisk0           U9113.550.107780E-V4-C2-T1-L820000000000  Virtual SCSI Disk Drive
* vsa2             U9113.550.107780E-V4-C0                   LPAR Virtual Serial Adapter
* vty2             U9113.550.107780E-V4-C0-L0                Asynchronous Terminal
* vsa1             U787B.001.DNW3313-P1-T2                   LPAR Virtual Serial Adapter
* vty1             U787B.001.DNW3313-P1-T2-L0                Asynchronous Terminal
* vsa0             U787B.001.DNW3313-P1-T1                   LPAR Virtual Serial Adapter
* vty0             U787B.001.DNW3313-P1-T1-L0                Asynchronous Terminal
* ent0             U9113.550.107780E-V4-C4-T1                Virtual I/O Ethernet Adapter (l-lan)
+ L2cache0                                                   L2 Cache
+ mem0                                                       Memory
+ proc0                                                      Processor
#

# lsslot -c slot
# Slot                   Description       Device(s)
U9113.550.107780E-V4-C0  Virtual I/O Slot  vsa2
U9113.550.107780E-V4-C2  Virtual I/O Slot  vscsi0
U9113.550.107780E-V4-C4  Virtual I/O Slot  ent0


Someone mentioned that I might need to shutdown the vios server with shutdown -F but since I don't have HMC , i will need to physically be next to the server to start it no other way. shutdown -Fr did not work with CD assignment. see here : To see vhost on VIOS after creating an HMC profile

I have read ROOTVG - AIX & POWER Portal

but it didn't work.

Happy new year

---------- Post updated at 01:30 PM ---------- Previous update was at 11:02 AM ----------

This also did not work

Code:
$ mkvopt -name aix61.iso -dev cd0 -ro
$ mkvdev -fbo -vadapter vhost2
vtopt0 Available
$ loadopt -vtd vtopt0 -disk aix61.iso
$ lsmap -vadapter vhost2
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost2          U9113.550.107780E-V1-C15                     0x00000004

VTD                   vtopt0
Status                Available
LUN                   0x8100000000000000
Backing device        /var/vio/VMLibrary/aix61.iso
Physloc

VTD                   vtscsi5
Status                Available
LUN                   0x8200000000000000
Backing device        rootvg_3
Physloc

$ lsdev -dev vtopt0 -vpd
  vtopt0           U9113.550.107780E-V1-C15-L1  Virtual Target Device - File-backed Optical

GO TO THE LPAR
run 
# cfgmgr

# lsdev -Cc cdrom
<empty>

# 2  
Old 01-02-2013
Solution | Resolved LPAR VIOS IVM POWERVM AIX CD-ROM

When I restarted the LPAR after assigning it, from SMS menu I was able to detect it.


Apparently as Michael Felt said, the issue is with the AIX 5.3 ML 00 !!

With AIX 6.1 , I can assign the CD - ROM through web and it will be detected after executing cfgmgr !
# 3  
Old 01-02-2013
Thank you for writing a follow-up.

Moderator's Comments:
Mod Comment changed the thread title to SOLVED


bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Powervm ivm vios

Hello, After installing on P6 which is POWERVM IVM VIOS enabled (VET CODE D21C77ACD9229817CA1F00002C10004164 ) i get this message "I/O hosting requires a hosting partition - boot not permitted". HMC was connected to the machine then HMC was removed through ASMI Searching on... (2 Replies)
Discussion started by: filosophizer
2 Replies

2. AIX

Revisiting IBM PowerVM VIOS AIX

coming from this thread: https://www.unix.com/aix/211107-ibm-power-pseries-open-firmware-boot-vios-powervm-vet-code.html PowerVM, formerly known as Advanced Power Virtualization (APV), is a chargeable feature of IBM POWER5, POWER6, POWER7, POWER8, and POWER9 servers and is required for support... (0 Replies)
Discussion started by: filosophizer
0 Replies

3. AIX

AIX VIOS IVM Ethernet problem

Hi All, I have a p520 box running 3 LPARs, 1 x VIOS, 1 x AIX 6.1 and 1 x AIX 7.1 and no HMC, all configuration is performed via VIOS/IVM Until recently the box did not have the AIX7.1 LPAR and everything was fine with the box. We needed to use AIX 7.1 for a new project, so I created a... (11 Replies)
Discussion started by: KevB
11 Replies

4. AIX

IBM Power Pseries Open Firmware boot / VIOS POWERVM VET CODE

Hello, I installed PowerVM IVM Virtual I/O on P-550 but later found out that the machine isn't activated for CoD VET code for virtualization. So when booted , it goes into OPEN Firmware I/O Hosting requires a hosting partition boot not permitted exit called > ok Panel shows > IO... (3 Replies)
Discussion started by: filosophizer
3 Replies

5. AIX

IBM VIOS POWERVM IVM error

Hi, When I try to login on my vios ivm website http://vios through the browser -- all three of them -- firefox , chrome , Internet Explorer , i get this error http://vioserver/j_security_check I have java installed on the machine from where i am trying to open up the IVM/VIOS webpage. I... (2 Replies)
Discussion started by: filosophizer
2 Replies

6. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

7. AIX

VIOS IVM unavailable - how do I restart it?

Hi everyone, Sorry if this post is in the wrong place. I searched the forums for "IVM" and it turned up no results. Hopefully someone knows about this. My dilemma is that I have multiple IBM JS12 Express blades in our blade center, each running VIOS 2.1.0.10-FP-20.1 and hosting a couple LPARs. Out... (2 Replies)
Discussion started by: need2bageek
2 Replies

8. UNIX for Advanced & Expert Users

external DVD-ROM drive issue whether it is working or not?on HP rp74000

old clunker - rp74000 How to diag the external DVD-ROM drives issue whether it is working or not? on HP 9000 server rp7400 Please help me > I needed to install HP 11i v1 using external DVD-ROM drive on HP 9000 server rp7400. While boot in CO> “search” command is not showing DVD-ROM device... (1 Reply)
Discussion started by: tpuser
1 Replies

9. HP-UX

External DVD-ROM drive issue whether it is working or not? on HP rp7400

Please help me > How to diag the external DVD-ROM drive issue whether it is working or not? on HP 9000 server rp7400 I needed to install HP 11i v1 using external DVD-ROM drive on HP 9000 server rp7400. While boot in CO> “search” command is not showing DVD-ROM device only showing all disks >... (0 Replies)
Discussion started by: tpuser
0 Replies

10. AIX

PowerVM Express and IVM limitations

When using PowerVM Express and IVM (no HMC) on a Power6 P520 , can I configure 2 LPARs in addition to a VIO server, or does the VIO Server count as one of the two LPAR's that PowerVM Express allows? (1 Reply)
Discussion started by: JodyTek
1 Replies
Login or Register to Ask a Question