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 May 23rd, 2007
mihha's Avatar
mihha Offline
Junior Member
 
Join Date: May 2007
Posts: 3
Unhappy VIOS and CD drive sharing

Hi people!


Here is my problem.

I have 2 defined and installed VIOS servers and 4 defined LPARs (AIX will be installed in them).

I have 1 VIOS up and running with one SEA Ethernet and 5 virtual SCSI adapters configured.

On vhost0 I have virtual CD drive defined (mkvdev -vdev cd0 -vadapter vhost0 -dev vcd).

One LPAR with AIX is up and running. It has CD drive access through vcd in VIOS 1.

1. I need to start VIOS 2 and boot 1 LPAR through it. How can I tell that LPAR to use CD? I can't define virtual CD with 'mkvdev' command because cd0 device is in 'Defined' state and I don't know how to put it in 'Available' state?

2. In VIOS 2 I accidently deleted cd0 and ide0 devices. How can I define them back?

3. In VIOS 1 I have connection to external storage (IBM DS4800). I have hdisk2 with reserve_policy=single_path and already I made virtual disk device with mkvdev command. One active LPAR is booted from this disk and already some applications are installed on it. I need to define the same disk in VIOS 2 but I keep getting the error that device is busy (because reserve_policy attribute set in VIOS 1). How can I change reserve_policy attribute without destroying data on physical disk?

I know that I have lot of questions but I really need to resolve those issues so I can finish this installation already.

Thank you in advance!

Last edited by mihha; May 23rd, 2007 at 13:17. Reason: added some more info
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 May 23rd, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: VIOS and CD drive sharing

1. I would not share a CD drive like this - its for hdisk devices. The CD drive is probably owned by VIO one and therefore not available for VIO 2. A hardware adapter can only be owned by one LPAR at a time.

To move the CD drive around you need to enable the Dynamic LPARING and mark the CDROM adapter (usually called other mass storage device) as desired - not required, and then you can move it around as needed.

What you should do is set up a NIM server and use it to install all the other LPARS that way you don't need to keep moving the CD around.


2. cfgdev if they are still attached to the VIO, but in your config it looks like the cd drive is allocated to VIO1

3. You'll need to break tha allocation to the LPAR and then deallocte the hdisk from both VIO servers and then reallocated it (break the persistent reserve). Once its back - before you allocate the disk back to the LPAR you need to do chdev -dev hdisk2 -attr reserve_policy=no_reserve, but do it twice - the second time with -perm

You can also use this:
FRED=`lsdev -type disk | grep MPIO | awk '{print $1}'`
for i in $FRED
do
chdev -dev $i -attr reserve_policy=no_reserve pv=yes
chdev -dev $i -attr reserve_policy=no_reserve -perm
done

If you don't touch the LUN on the DS4800 the data will be fine.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
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 May 24th, 2007
mihha's Avatar
mihha Offline
Junior Member
 
Join Date: May 2007
Posts: 3
Smile Re: VIOS and CD drive sharing

Ross,

thank you very much for a quick reply. I will try what you suggest and let you know the result.
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
VIOS woes - help appreciated d3vnull IBM PowerVM Editions 2 June 20th, 2007 13:04
Installing a VIOS on NetApp using Fibre Channel ketse IBM PowerVM Editions 14 May 24th, 2007 16:03
HACMP Cluster on VIOS cdelgadop IBM PowerVM Editions 3 March 22nd, 2007 11:22
EMC Disk Array Utilities, "Navisphere Agent/CLI" on VIOs rainmystic IBM PowerVM Editions 2 August 11th, 2006 15:32
EMC Disk Array Utilities, "Navisphere Agent/CLI" on VIOs rainmystic IBM PowerVM Editions 0 August 3rd, 2006 15:12



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