Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old April 20th, 2007
TheDogBoy's Avatar
TheDogBoy Offline
Member
 
Join Date: January 2007
Posts: 63
lpar physical resource cdrom

I have a HMC with 1 system p 505 attached with 3 lpars. I just defined a new Linux lpar and I was wondering what the process would be to move or redirect the physical cdrom attached to the VIO lpar to the Linux lpar so I can load redhat.

regards
__________________
TheDogBoy
"Te Digna Sequere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old April 20th, 2007
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 313
Send a message via MSN to cdelgadop
Re: lpar physical resource cdrom

Hi

First you need to identify the cdrom device as well as the SCSI or IDE adapter
this one is attached to.

In VIOS there's the rmdev command you can use for this task, please see man rmdev at padmin session and you will see that rmdev has a -recursive flag you can use to remove the adapter and children (in this case the cdrom is one children).

I used to issue the oem_setup_env to get into AIX and use the following commands to delete the cdrom:

lsslot -c slot

U7879.001.DQD0TU0-P1-T15 Logical I/O Slot pci12 ide0


this mean that the ide0 adapter on T15 (cdrom location in p570 server) is connected to the pci12 slot.

padmin@bmvios01 /home/padmin >lsdev -Cc cdrom
cd0 Available 0C-08-00 IDE DVD-ROM Drive
cd1 Available 0C-08-01 IDE DVD-ROM Drive
padmin@bmvios01 /home/padmin >lsdev -C | grep 0C-08
cd0 Available 0C-08-00 IDE DVD-ROM Drive
cd1 Available 0C-08-01 IDE DVD-ROM Drive
ide0 Available 0C-08 ATA/IDE Controller Device
padmin@bmvios01 /home/padmin >


then you can run rmdev:

rmdev -Rdl pci12

this will unconfigure all childrens of pic12 which are cd0, cd1, ide0, and pci12 itself.

Then using the HMC options you can move or delete the T15 slot and use it for your linux lpar.

Hope this helps
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old April 23rd, 2007
TheDogBoy's Avatar
TheDogBoy Offline
Member
 
Join Date: January 2007
Posts: 63
Re: lpar physical resource cdrom

well I have don all that but how does the Linu lpar attach to the cdram drive? I activate my Linux lpar in sms mode but the only boot device that is presented to the lpar is the ethernet adapter..
__________________
TheDogBoy
"Te Digna Sequere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old April 23rd, 2007
Sentinel's Avatar
Sentinel Offline
Junior Member
 
Join Date: September 2006
Location: Kyiv, Ukraine
Posts: 7
Re: lpar physical resource cdrom

Quote:
Originally Posted by TheDogBoy
well I have don all that but how does the Linu lpar attach to the cdram drive? I activate my Linux lpar in sms mode but the only boot device that is presented to the lpar is the ethernet adapter..
Assign "Other mass storage controller" as desired for this LPAR.
Remove "Other mass storage controller" from any LPAR that currently using it.

After Linux LPAR activation there will be cd-rom available in this LPAR.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old April 23rd, 2007
TheDogBoy's Avatar
TheDogBoy Offline
Member
 
Join Date: January 2007
Posts: 63
Re: lpar physical resource cdrom

I did all the steps to present a cd rom to my linux lpar but my lpar did not see the cdrom until i rebooted my 505 server. Now I can see the cd rom but I need to present the lpar with a virtual hard drive so linux can be written to it.

I did a mklv lv02 -t ext3 diskvg 10G that worked then a mkvdev -vdev -lv02 -vadapter vhost1 and that worked I did a lsmap -all an saw my lv02 mapped to vhost1 but my lpar does not see the virtual hard drive. I placed my Linux lv02 in the same volume group (diskvg) as my AIX master nim lv01. Is that ok? I am not using rootvg for my drive mapping assignments. All my drive mappings are in diskvg..
__________________
TheDogBoy
"Te Digna Sequere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old April 26th, 2007
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 313
Send a message via MSN to cdelgadop
Re: lpar physical resource cdrom

Hi

I think you need to install DLPAR support for Linux OS.

Dynamic logical partitioning for Linux on POWER

Hope this helps
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old April 26th, 2007
TheDogBoy's Avatar
TheDogBoy Offline
Member
 
Join Date: January 2007
Posts: 63
Re: lpar physical resource cdrom

Ok I have a 7310CR# HMC 6.1.1 and a 9115505 AIX 5.3 w/APV and 4 lpars. 1-VIO 1-NIM Master 1-AIX 1-Linux.

Now I just created the Linux lpar and I need to load RHEL ver5 on that lpar. I assigned a physical scsi conection and created my virtual connection but for me to get the cdrom seen by the Linux lpar I had to power down my managed server and power up again. Once I did that I had a cdrom seen by mt linux lpar.
When I started to load Linux I found that I also needed to give my Linux partition a hard drive,(my bad). So I created lv and mapped it to my Linux Partition configured a scsi client in the Linux profile to the VIO SCSI host mapped it to my Linux lpar, but when i activated my Linux lpar I could not see my virtual scsi hard drive. I powered down the linux lpar and shut down the vio and activated only the Linux lpar and my virtual scsi connection was seen....I'm such a newbie..Now without the vio running when i try to load the OS I get kernel panics. I think I am having some filesystem issues..I wanted to rmlv and start the lv process over but I cannot when do a rmlv -f lv02 I get a error unable to perform task because either the lv is open and needs to be closed or a filesystem is open. I can do s lslv lv02 and see that the lv is active and i do not know how to close an lv...
__________________
TheDogBoy
"Te Digna Sequere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX 5.3 undefine a cdrom device TheDogBoy AIX for POWER Systems 2 June 19th, 2007 18:12
how to add a virtual disk to a lpar? Melih IBM PowerVM Editions 6 May 24th, 2007 09:16
The System Resource Controller Daemon TheDogBoy AIX for POWER Systems 2 March 29th, 2007 08:57
Change Entitlement of an inactive LPAR bcarlson IBM PowerVM Editions 10 March 6th, 2007 13:16
Memory overhead in an LPAR environment FASherman IBM PowerVM Editions 1 August 1st, 2006 21:17



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50