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 August 22nd, 2007
HessIBM's Avatar
HessIBM Offline
Junior Member
 
Join Date: January 2007
Location: New Jersey
Posts: 15
How to add disk to VIO/client LPAR

Hello everyone, I just have a quick question about adding disk to my existing VIO/Client LPARs. Server is a 9113-550, with two VIO servers and two client LPARs. Currently, the server has only 4 physical harddrives. I am going to add 4 more physical drives to the server. I need to allocate more space to rootvg on the two client LPARs. How do I go about doing this? Here is an lsdev -virtual snapshot from 1 of the two VIO servers:

$ lsdev -virtual
name status description
ent2 Available Virtual I/O Ethernet Adapter (l-lan)
ent3 Available Virtual I/O Ethernet Adapter (l-lan)
vhost0 Available Virtual SCSI Server Adapter
vhost1 Available Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
sappa1rootvg Available Virtual Target Device - Logical Volume
sappa2rootvg Available Virtual Target Device - Logical Volume
ent4 Available Shared Ethernet Adapter
ent5 Available Shared Ethernet Adapter

Any help anyone could provide would be most appreciated. If you need any more information from me to help provide a solution please let me know.

Thanks.

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 August 22nd, 2007
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 313
Send a message via MSN to cdelgadop
Re: How to add disk to VIO/client LPAR

Hi

First attach the new disks to the VIOS lpar. I'm assuming you're about to use the second 4-pack of internal disks so it's supposed that your p550 has a PCI SCSI adapter (could be a 5702) in the rear connected to the second backplane that allows using the below 4-pack and this slot is active in the VISO LPAR and configured. If so, then you need to go to the AIX enviroment in your VIOS by running:

oem_setup_env

and then run the following secuence of diag program:

diag->Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)->Hot Plug Task-> SCSI and SCSI RAID Hot Plug Manager

In the "SCSI and SCSI RAID HOT PLUG MANAGER " you can list and attach the new disks to the server without actually reboot. Once configured, you can check this by running lsdev commands, you can exit form AIX and get into VIOS enviroment. Maybe you will need to run:

cfgdev -l vio0

in order for the vio0 device to configure the new disk. Again check this by running lsdev commands. Once new disks are config'd you can start running the procedure to create mapping and virtual devices on the VIOS server and assign to the different clients.

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 August 22nd, 2007
HessIBM's Avatar
HessIBM Offline
Junior Member
 
Join Date: January 2007
Location: New Jersey
Posts: 15
Re: How to add disk to VIO/client LPAR

Thanks very much for the information. I knew how to get the drives physically in the server using the hot swap. My question was more geared towards what to do after they were in. But once I got the drives in, and the server attempted to configure the scsi device they attached to..I received the following error:

Method error (etc/methods/cfgdisk -l hdiskX)
0514-086 Cannot perform the requested function because the specified device is not supported on this platform.

Upon further investigation, it turns out that this server has two 300GB 10K drives and two 73GB 10K drives. The drives that were purchased were 73GB 15K drives. I think this is a "no-no".

So it really turns out that we don't need these drives at all...we have plenty of space sitting on the server already.

I see from my VIO server that I have 250GB free. I need to increase the size of rootvg on my client LPARS, how can I do this using this free space that is shown on my VIO server but not shown on my client LPAR?

Sorry for the long post...I appreciate the help.
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 August 22nd, 2007
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 313
Send a message via MSN to cdelgadop
Re: How to add disk to VIO/client LPAR

Hi

It's your VIOS using Virtual SCSI Server Adapters mapped to Logical Volumes or storage pools or whole raw disks?.

If using Logical Volumes you can increase using the extendlv command at VIOS command level, then run

cfgdev -l vio0

and then in the AIX client you can run:

chvg -g <VGname>

you should then see the VG size increased.

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
  #5  
Old August 22nd, 2007
HessIBM's Avatar
HessIBM Offline
Junior Member
 
Join Date: January 2007
Location: New Jersey
Posts: 15
Re: How to add disk to VIO/client LPAR

Here are the lsmap -all results from both of my VIO servers. I believe this indicates we are doing Vscsi adapters mapped to LVs:

VIO1:

$ lsmap -all
SVSA Physloc Client Partition
--------------- -------------------------------------------- -----------------
vhost0 U9113.550.10CED2F-V1-C110 0x00000002
VTD sappa1rootvg
LUN 0x8100000000000000
Backing device sappa1_rootvg
Physloc
SVSA Physloc Client Partition
--------------- -------------------------------------------- -----------------
vhost1 U9113.550.10CED2F-V1-C120 0x00000003
VTD sappa2rootvg
LUN 0x8100000000000000
Backing device sappa2_rootvg
Physloc

VIO2:

$ lsmap -all
SVSA Physloc Client Partition I
--------------- -------------------------------------------- ------------------
vhost0 U9113.550.10CED2F-V4-C210 0x00000002
VTD sappa1rootvg
LUN 0x8100000000000000
Backing device sappa1_rootvg
Physloc
SVSA Physloc Client Partition I
--------------- -------------------------------------------- ------------------
vhost1 U9113.550.10CED2F-V4-C220 0x00000003
VTD sappa2rootvg
LUN 0x8100000000000000
Backing device sappa2_rootvg
Physloc

Is this indicative of a VSCSI to LV mapping?

If so then all I need to do if I want to increase the rootvg on sappa1 is

extendlv sappa1_rootvg [SIZE] HDISK#? on VIO server

cfgdev -l vio0 on VIO server (is the last part of this command static or does it depend on what my vio server is named)

now do I perform the chvg -g [VG] command from the AIX prompt on VIO server or on the client 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
  #6  
Old August 22nd, 2007
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 313
Send a message via MSN to cdelgadop
Re: How to add disk to VIO/client LPAR

Hi

please post the output of:

lsvg

from VISO enviroment. Then

lsvg -lv for each VG
__________________
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 August 22nd, 2007
HessIBM's Avatar
HessIBM Offline
Junior Member
 
Join Date: January 2007
Location: New Jersey
Posts: 15
Re: How to add disk to VIO/client LPAR

from VIO1

$ lsvg
rootvg
$ lsvg -lv rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 1 2 2 open/syncd N/A
paging00 paging 2 4 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 1 2 2 open/syncd /
hd2 jfs2 4 8 2 open/syncd /usr
hd9var jfs2 2 4 2 open/syncd /var
hd3 jfs2 4 8 2 open/syncd /tmp
hd1 jfs2 20 40 2 open/syncd /home
hd10opt jfs2 1 2 2 open/syncd /opt
lg_dumplv sysdump 2 2 1 open/syncd N/A
sappa1_rootvg jfs 60 60 1 open/syncd N/A
sappa2_rootvg jfs 60 60 1 open/syncd N/A

from VIO2:

$ lsvg
rootvg
$ lsvg -lv rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 1 2 2 open/syncd N/A
paging00 paging 2 4 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 1 2 2 open/syncd /
hd2 jfs2 4 8 2 open/syncd /usr
hd9var jfs2 2 4 2 open/syncd /var
hd3 jfs2 4 8 2 open/syncd /tmp
hd1 jfs2 20 40 2 open/syncd /home
hd10opt jfs2 1 2 2 open/syncd /opt
lg_dumplv sysdump 2 2 1 open/syncd N/A
sappa1_rootvg jfs 60 60 1 open/syncd N/A
sappa2_rootvg jfs 60 60 1 open/syncd N/A
$
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old August 22nd, 2007
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 313
Send a message via MSN to cdelgadop
Re: How to add disk to VIO/client LPAR

Hi

As you can see there are two logical volumes LVs (sappa1_rootvg and sappa2_rootvg) and those are mapped to the Virtual SCSI server adapters (vhost0 and vhost1) which in turn are the Virtual SCSI client adapters for each client. So if you issue the ommand:

extendlv <LVNAME> <Size in Logical Partitions> <Disk_where you want to grow>

Once this operation is OK. You can go to the client LPAR and from root issue:

getconf DISK_SIZE /dev/hdiskXX

Where hdiskXX is the virtual disk from the VIOS Server. This command below will show the size of the disk. The issue:

cfgmgr

Then

lsvg <VGNAME>

where VGNAME is the Volume group whose disks you want to increase.

chvg -g <VGNAME>

Check that more free space is available.

In fact the disk size should be larger.

Hope this helps

Question: Do you have backups of mksysb and data right ???




__________________
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
  #9  
Old August 22nd, 2007
HessIBM's Avatar
HessIBM Offline
Junior Member
 
Join Date: January 2007
Location: New Jersey
Posts: 15
Re: How to add disk to VIO/client LPAR

Thank you very much. I have recent mksysbs of the LPARs. I also have backups of the VIO servers from when I upgraded the IOSlevel for daylight savings time changes. Thanks again for all the help, i will be sure to let u know how I make out
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old August 22nd, 2007
HessIBM's Avatar
HessIBM Offline
Junior Member
 
Join Date: January 2007
Location: New Jersey
Posts: 15
Re: How to add disk to VIO/client LPAR

the man page for chvg -g says that resizing of rootvg is not supported, this is exactly what I am trying to do????
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



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