Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to move CDROM between LPARS

Status
Not open for further replies.

elias1003

Technical User
Mar 1, 2005
25
US
Hello all.

I would like to know if there is a way to move CDROM drive between lpars. I have a p570 running AIX 5.3. When I go the properties of the profile that has the CDROM I cant seem to find the address that AIX is giving me. Any Ideas anyone. This is what I get from AIX

# lscfg -vpl cd0
cd0 U7879.001.DQD0UJP-P4-D1 IDE DVD-ROM Drive

Thanks,
 
Yes, you can do this. It's not a simple as DLPARING it.

You must have the cdrom set up as "as desired" in each profile that you want to use it with.

Assuming all the cdrom using lpar's are AIX 5.3 ( commands are different with VIOs) :

1. Determine which lpar currently has the cdrom ( define or available ) lsdev -Cc cdrom
You can also do this through the hmc by looking at the properties of the managed system.

2. Once you find the lpar that owns it.. you'll have to remove it from AIX ( or it's parents ideX and pciX - check with lsdev -Cl cd0 -F ).

3. Then you should be able to do your physical device dlpar through the hmc.

 
Thanks hfaix,

I see what you are saying, the problem i encounter is that I don't see it in the HMC. When I go the properties of the manage system, I can't see it in any slot or bus.
U7879.001.DQD0UJP-P4-D1 is the one that I need to see. All I see is
U7879.001.DQD0UJP-P1's
any clues?
 
it is not listed as cdrom it will be liste as other controller
 
You can also remove it from the running system with these commands:
lsslot -cslot
rmdev -Rl <pcislot>



Network Engineer Consultant
First Citizens Bank
Raleigh, NC 27603
 
before you can move the cdrom to another lpard you need to delete for the losing AIX system ,the run cfgmgr on the gining AIX system
 
Here is what we are doing:
Type the following command on the partition which will lost the cdrom:
$ rmdev -Rdl `odmget -qname=\`odmget -qname=cd0 CuDv |grep parent |cut -d'"' -f 2\` CuDv |grep parent |cut -d'"' -f 2`

Then, go on the HMC and click on the partition wich will own the cdrom. And Click MOve adapter resource.

Then, go on a terminal on the partition which owns the cd and type:
$ cfgmgr

That's all folks
 
At first the cdrom have to be "desired" (not required) by all partitions
example if you want to move cdrom from partition P1 to partition P2 :
On P1 :
#lsdev -Cc cdrom (note the scsi adress ex : 06-08)
#lsdev -C | grep 06-08 (note the scsi controller ex : sisscsia1)
#lsslot -c slot (look for sisscsia1 et note the pci# ex : pci6)
#rmdev -Rdl pci6

On the hmc console move the cdrom from P1 to P2 with the dlpar option

On P2 type cfgmgr to get the cdrom device.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top