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 February 6th, 2007
Melih's Avatar
Melih Offline
Member
 
Join Date: October 2006
Posts: 31
how to add a virtual disk to a lpar?

how can i add a virtual disk (hdik0) using websm (hmc) to my lpar??

because, when i want to install AIX, i get the msg:

There are no disks available on this system..
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 February 6th, 2007
mshulman1980's Avatar
mshulman1980 Offline
Member
 
Join Date: October 2006
Posts: 38
Re: how to add a virtual disk to a lpar?

Please provide more information. Do you have VIO server running? If so, how many instances of it are there (usually 1 or 2). What kind of hardware are you running this on (P570, 595, 690, etc)
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 February 7th, 2007
Melih's Avatar
Melih Offline
Member
 
Join Date: October 2006
Posts: 31
Re: how to add a virtual disk to a lpar?

First of all, thank u for your help

i am running a p520

yes a vio server is alreade configure and supplied the other lpars with ressources...

what u mean with instances ? how can i find the 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
  #4  
Old February 7th, 2007
m_seger's Avatar
m_seger Offline
Junior Member
 
Join Date: October 2006
Location: St. Gallen, Switzerland
Posts: 12
Re: how to add a virtual disk to a lpar?

Well I guess if you are talking about virtual disk, you must have one VIO or
probably two VIO Servers

Well first of all check if you are using the newest level of VIO OS
on VIO:
$ ioslevel
1.3.0.1-FP-8.1
Check this level with IBM VIO Site:
IBM - VIOS download support

After that you have to create the virtual Adapters. For each disk you will
need a Server SCSI Adapter on the VIO and a Client SCSI Adapter on the
LPAR. Be sure to use cfgdev/cfgmgr so the Adapter will be available (they
also need to be dynamically added, if you have a running system), or
if you are not sure reboot the involved VIO and LPARs. After that you will
see a vhostx on the VIO Server and the LPAR (if the LPAR is already installed)

Now it is time to connect physical disk to our virtual Adapters.
This depends if you are using SAN attached Disk or local Disk.

Local Disk:
If there is local disk used, the disk has to be assigned to the VIO Servers

If you have an additional Disk, which you want to use for your LPARs
you have to create a VG.
on VIO:
mkvg –f –vg VG_NAME hdiskXX
VG_NAME could be "rootvg_clients"

Afterwards or if you are using the the same disk as for
the VIO OS you need to create an LV
on VIO:
mklv ( –mirror ) –lv LV_NAME VG_NAME 50G
LV_NAME could be "lv_rootvg_testlpar1"

No you can check your virtual SCSI Adapters on the VIO to find out which
one you want to use
on VIO:
lsdev –virtual
lsdev -slots

If you know which disk/LV you want to attach to which LPAR (vhost) use
following command
on VIO:
mkvdev –vdev LV_NAME/DISK –vadapter vhostX –dev HD_NAME
HD_NAME could be hdisk0_testlpar1

Now you can check if stuff is assigned correctly
lsdev –virtual
lsmap –vadapter vhostX

Now you should see the the disk on the LPAR (boot or cfgmgr)

with SAN Disks:
If you are using SAN Disk you have to install SDDPCM Drivers on your VIO

But first of all you need to check which Drivers are supported:
IBM - Support Matrix for Subsystem Device Driver, Subsystem Device Driver Path Control Module, and Subsystem Device Driver Device Specific Module

Drivers are found here:

IBM - Subsystem Device Driver Path Control Module (SDDPCM)

IBM - Host Attachment for SDDPCM on AIX

We are using a VICOM Storage Controllers which are emulating ESS Disk
so I installed following Drivers on my p5 VIOs:

SDDPCM 2.1.0.0 for AIX 5.3 ML
SDDPCM 2.1.2.0 for AIX 5.3 ML

Host Attachment for SDDPCM on AIX
devices.fcp.disk.ibm.mpio.rte

to install them you have to change to root
on VIO:
oem_setup_env

Now your Storage Guy can configure disk to the p5, these disks
should show up in the VIO Server after a cfgdev command is issued.
to see all the paths to your disks
on VIO:
lspath


No you can check your virtual SCSI Adapters on the VIO to find out which
one you want to use (they have to be assigned as in described in the local
disk part)
on VIO:
lsdev –virtual
lsdev -slots

If you know which disk/LV you want to attach to which LPAR (vhost) use
following command
on VIO:
mkvdev –vdev hdiskXX –vadapter vhostX –dev HD_NAME
HD_NAME could be hdisk0_testlpar1

Now you can check if stuff is assigned correctly
lsdev –virtual
lsmap –vadapter vhostX

Now you should see the the disk on the LPAR (boot or cfgmgr)


Note:
From the Performance point of view it would be better to assign only whole
disks to LPARs instead of Logical Volumes
__________________
-----------------------------------------
Goalies speak softly, but carry a big stick
-----------------------------------------
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 February 7th, 2007
m_seger's Avatar
m_seger Offline
Junior Member
 
Join Date: October 2006
Location: St. Gallen, Switzerland
Posts: 12
Re: how to add a virtual disk to a lpar?

I forgot if you are using local disk and have two VIO instances you create
on each VIO a Disk, these disks you have to mirror on the LPAR.

By the way check out these Documents:
IBM Redbooks | Partitioning Implementations for IBM eServer p5 Servers

IBM Redbooks | Advanced POWER Virtualization on IBM System p5

IBM Redbooks | IBM System p Advanced POWER Virtualization Best Practices
__________________
-----------------------------------------
Goalies speak softly, but carry a big stick
-----------------------------------------
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 February 7th, 2007
Melih's Avatar
Melih Offline
Member
 
Join Date: October 2006
Posts: 31
Re: how to add a virtual disk to a lpar?

thx u very much..

i am trying now... i hope i can do this...
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 May 24th, 2007
Melih's Avatar
Melih Offline
Member
 
Join Date: October 2006
Posts: 31
Re: how to add a virtual disk to a lpar?

thank u very much m_seger...

it was very helpfull..
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
VIO and TSM-Server bones IBM PowerVM Editions 3 March 11th, 2008 08:04
Virtual Disk Mirroring feb IBM PowerVM Editions 1 June 19th, 2007 07:34
SSA reset disk silvia AIX for POWER Systems 17 February 19th, 2007 16:15
vio server: san (2 mirror disk) some questions? Melih IBM PowerVM Editions 2 February 15th, 2007 13:01
NIM Restore to a Smaller Virtual Client CSCoutts IBM PowerVM Editions 2 October 25th, 2006 21:05



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