SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


assignstorageivmiqstor
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

assignstorageivmiqstor [2013/02/25 20:47] (current)
sjoerd created
Line 1: Line 1:
 += Assign Storage to IVM From IQstor =
  
 +IVM storage has to be MPIO or has to be part of a volume group, as in, it need a PVID, a Physical Volume Identifier. If those requirements are not met you cannot assign storage to a LPAR in IVM. Since we also boot from the IQstor it's not possible to install the MPIO software from IQstor, booting is not supported and will fail (we tried, it won't work). So MPIO is not an option, so the only solution is to create a PVID for the hdisks.
 +
 += Create PVID For HDisk =
 +First, go into normal command mode:
 +<​code>​
 +$ oem_setup_env
 +</​code>​
 +
 +List current physical volumes:
 +<​code>​
 +# lspv
 +hdisk0 ​         000a447aa92d7d0a ​                   rootvg ​         active
 +hdisk1 ​         none                                None
 +hdisk2 ​         000a447ab395ffe2 ​                   None
 +hdisk3 ​         none                                None
 +</​code>​
 +
 +Discover new physical volumes:
 +<​code>​
 +# cfgmgr
 +# lspv
 +hdisk0 ​         000a447aa92d7d0a ​                   rootvg ​         active
 +hdisk1 ​         none                                None
 +hdisk2 ​         000a447ab395ffe2 ​                   None
 +hdisk3 ​         none                                None
 +hdisk4 ​         none                                None
 +hdisk5 ​         none                                None
 +</​code>​
 +
 +Create a volume group (this will create a PVID for the disk) and then remove the volume group:
 +<​code>​
 +# mkvg -y testvg hdisk4
 +0516-1254 mkvg: Changing the PVID in the ODM.
 +testvg
 +# lspv
 +hdisk0 ​         000a447aa92d7d0a ​                   rootvg ​         active
 +hdisk1 ​         none                                None
 +hdisk2 ​         000a447ab395ffe2 ​                   None
 +hdisk3 ​         none                                None
 +hdisk4 ​         000a447ac234793d ​                   testvg ​         active
 +hdisk5 ​         none                                None
 +# reducevg testvg hdisk4
 +ldeletepv: Volume Group deleted since it contains no physical volumes.
 +</​code>​
 +
 +Now the disk has a PVID:
 +<​code>​
 +# lspv
 +hdisk0 ​         000a447aa92d7d0a ​                   rootvg ​         active
 +hdisk1 ​         none                                None
 +hdisk2 ​         000a447ab395ffe2 ​                   None
 +hdisk3 ​         none                                None
 +hdisk4 ​         000a447ac234793d ​                   None
 +hdisk5 ​         none                                None
 +</​code>​
 +
 +{{tag>​storage aix}}
assignstorageivmiqstor.txt ยท Last modified: 2013/02/25 20:47 by sjoerd