Help with virtual optical device


 
Thread Tools Search this Thread
Operating Systems AIX Help with virtual optical device
# 1  
Old 07-23-2012
Help with virtual optical device

Hi

My P6 server is with dual vio servers. From the below output we could see that cd devices(cd0 and cd1) has been mapped to the vio client named prdsapfi1.

When we execute "lsdev -Cc cdrom" in prdsapfi1 there are 2 cd devices named cd0 and cd1 showing up in available state.

Code:
 
===========================================================================
prdsapfi1:/ # lsdev -Cc cdrom
cd0 Available  Virtual SCSI Optical Served by VIO Server
cd1 Available  Virtual SCSI Optical Served by VIO Server
===========================================================================

My question is how to find out if cd0 showing up in prdsapfi1 has been coming from vioprd01p or vioprd01i?

Code:
 
===========================================================================
$ hostname
vioprd01p
===========================================================================
$ lsvopt | grep -i prdsapfi1
prdsapfi1_cdrom    No Media                                     n/a
===========================================================================
$ oem_setup_env
===========================================================================
# lsdev -Cc cdrom
cd1 Defined 05-08-01-0,0 16 Bit LVD SCSI DVD-RAM Drive
===========================================================================


Code:
===========================================================================
$ hostname
vioprd01i
===========================================================================
$ lsvopt | grep -i prdsapfi1
prdsapfi1_cdrom    AIX61.iso                              3967
===========================================================================
$ oem_setup_env
===========================================================================
# lsdev -Cc cdrom
cd0 Available 0F-08-00     SATA DVD-ROM Drive
cd1 Defined   05-08-01-0,0 16 Bit LVD SCSI DVD-RAM Drive
===========================================================================

# 2  
Old 07-25-2012
You need to find the parent device of the CD drive (vscsi0), then find vscsi0's slot number, then query your HMC to find that slot number. I use a "lshwres" command in this example. You could also look at your VIO servers' properties and figure it out as well. The example below shows that cd0 is being supported by the VIO server "vio0".
Code:
hostname:/:$ lsdev -Cc cdrom
cd0 Available  Virtual SCSI Optical Served by VIO Server
hostname:/:$ lsdev -l cd0 -F parent
vscsi0
hostname:/:$ lscfg -vl vscsi0
  vscsi0           U8205.E6B.11111111-V1-C9-T1  Virtual SCSI Client Adapter

        Hardware Location Code......U8205.E6B.11111111-V1-C9-T1

hostname:/:$ /usr/bin/ssh -q hscroot@hmcconsole lshwres -r virtualio -m managed_system_name --rsubtype scsi --level lpar --filter "lpar_names=hostname"
lpar_name=hostname,lpar_id=1,slot_num=10,state=1,is_required=0,adapter_type=client,remote_lpar_id=40,remote_lpar_name=vio1,remote_slot_num=11
lpar_name=hostname,lpar_id=1,slot_num=9,state=1,is_required=0,adapter_type=client,remote_lpar_id=39,remote_lpar_name=vio0,remote_slot_num=11
hostname:/:$

These 2 Users Gave Thanks to kah00na For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies

2. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

3. Red Hat

How to configure mini optical mouse ?

hello, someone gave me a set of electronic gadgets 'Brookstone' which has mini optical mouse. This mouse label doesn't have model or etc. Mouse does not work properly i.e. pointer is moving right but left/right buttons work opposite and not always could open or close controls. I suggest it might... (3 Replies)
Discussion started by: susja
3 Replies

4. UNIX for Dummies Questions & Answers

Have to log out of a virtual terminal twice in order to exit virtual terminals

Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it. I have to log out of a virtual terminal by typing exit, then exit again as in: woodnt@toshiba-laptop ~ $ exit logout woodnt@toshiba-laptop ~ $ exit logout I DON'T have to do this when I'm... (1 Reply)
Discussion started by: Narnie
1 Replies

5. AIX

connect optical cable to HBA

Hi guys, I have not connected optical cable to the Dual port HBA before. My integrator used to do that for me all the time. Can someone explain to me how can I physically connect optical cable to the HBA port in P570. The optical cable has two connectors and right now the HBA port has just a... (7 Replies)
Discussion started by: solaix14
7 Replies

6. Solaris

V-5-1-663 Duplicate virtual device number

hi folks here is my case Storage XP24K Business copy setup OS Solaris 10 Verital 4.1 Business copy is running between a production server and backup server using xp24k when the disk groups are imported back on backup server after BC from the prduction server following error is reported... (0 Replies)
Discussion started by: ajays
0 Replies

7. UNIX for Dummies Questions & Answers

trying to set up an optical drive

Trying to get my unix system to recognize an optical drive, it was delivered to us, so we assumed it worked, in the 2 years since no one ever has used it, we want to now. However, even running probe-scsi-all doesn't bring up that drive. It's a scsi address of 3, at the end of the chain, all... (1 Reply)
Discussion started by: kymberm
1 Replies

8. UNIX for Advanced & Expert Users

Magneto-Optical drive for SCO Openserver 5.0.5

Hi, I tried to install Magneto-Optical (MO) drive Fujutsu to COMPAQ Proliant ML350 with SCO Openserver 5.0.5. Harddisk and MO are connected to Adaptec UW-SCSI-3 (driver ad160). During boot process system shows me that MO is connected to host adapter 1, bus 0, SCSI ID 1 and LUN 0. But when I... (2 Replies)
Discussion started by: yurist
2 Replies
Login or Register to Ask a Question