vgHome
Disclaimer
Privacy Policy and Contacts
About Rootvg
vgBookmarks
old Bookmarks
vgForum
Recent Posts
Old Forums
vgGuides
AIX6
FAQ
HOWTO
Service Bulletins
QuickRef AIX 5.2
QuickRef AIX 5.2 - Help
vgNews
Select virtual disk, lpar hdisk pair on vio server
Home
Help
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
September 05, 2008, 06:52:43 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
ROOTVG
>
AIX
>
Virtualization
>
Select virtual disk, lpar hdisk pair on vio server
Pages: [
1
]
Go Down
Print
Author
Topic: Select virtual disk, lpar hdisk pair on vio server (Read 1254 times)
0 Members and 1 Guest are viewing this topic.
Michael
Administrator
Hero Member
Offline
Posts: 468
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #9 on:
May 04, 2008, 12:56:46 PM »
Systems being inherrited is nothing new. Whether it is from IBM, a business partner, or just whoever else was before you. History is dependent on goals and/or problems as people saw them then.
Before I can comment (as you wisely said no comment as well) I need some feedback on current plans and or problems. I still do not understand your goals - although I am beginning to understand some of your resources (i.e. a p570 (power6), or a p5-570 (power5)) and some SAN storage.
Without worrying about impact on current configuration: what are your goals and/or problems. In other words, what do want to achieve as system administrator or application administrator/owner.
Otherwise I can only list different methods to configure a POWER system but never really address your problem.
Logged
Toth
Full Member
Offline
Posts: 22
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #8 on:
May 04, 2008, 08:48:23 AM »
Hi Michael!
This system plan made by IBM support (no comment). Rootvg is on local machine, on disks of 570, mirroring by AIX 5.3 on lpars. Oracle, and WAS vg-s mirrored on storage with RAID5.
I'm just inherit this system from IBM. We have other VIO server, and those work finnest.
Thanks!
Toth
Logged
Michael
Administrator
Hero Member
Offline
Posts: 468
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #7 on:
May 02, 2008, 04:09:40 PM »
Basically, regardless of your choice of LVM mirroring, or MPIO to SAN based RAID/mirored storage, the first thing you will need is a dual VIOS setup.
As you are using only one VIO Server atm - at least that is how I understand your reply - you do not need two vhost/vclient adapter pairs for your storage. The LUN values are only unique to one vhostX adapter - as they are LUNs of that adapter, not of the VIO Server; not for the client.
As the material is a bit complex - I normally teach this as part of a 4 day course for VIO Best Practices, I shall not attempt to give a quick and dirty (or quick and easy) answer here.
This is a topic I have been working on. Graphics is hard - but I am getting better. And as those start shaping up I'll get the articles finished.
Logged
Toth
Full Member
Offline
Posts: 22
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #6 on:
April 30, 2008, 09:40:18 AM »
Hi!
Average/one lpar:
use 6/8 local diszk (small disks ~10G)
use 6/13 from IBM DS8100 (bigger disks 20-80 G)
Toth
Logged
Michael
Administrator
Hero Member
Offline
Posts: 468
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #5 on:
April 30, 2008, 09:32:47 AM »
1) Where is remote storage coming from? SAN (LUN), physical disks, or as logical volumes?
2) How many VIO partitions per managed system?
Logged
Toth
Full Member
Offline
Posts: 22
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #4 on:
April 30, 2008, 06:45:36 AM »
Hi!
We want to use 2 disk storage for remote disks..., but we got just one.
Thanks Your help!
Toth
Logged
Michael
Administrator
Hero Member
Offline
Posts: 468
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #3 on:
April 29, 2008, 05:32:41 PM »
Since you have two vscsi adapters (one on C4, one on C5) the LUN can be repeated.
This also means you have two vhost adapters on the VIO server - or - you are using dual VIO servers and lvm mirroring (perhaps).
If you have only one VIO server, you do not need a seperate VSCSI server/client adapter pair for each disk.
Logged
Toth
Full Member
Offline
Posts: 22
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #2 on:
April 29, 2008, 12:49:15 PM »
Thanks Michael!
This is the solution!
I tried with bad starting data:
on lpar:
# lscfg -v |grep disk
...
hdisk21 U9117.570.65031ED-V14-
C5
-T1-L870000000000 Virtual SCSI Disk Drive
...
hdisk20 U9117.570.65031ED-V14-
C4
-T1-L870000000000 Virtual SCSI Disk Drive
After it I try grep on lsmap -all, and I found more than one device with L87 Lun Id.
Thanks!
Toth
Logged
Michael
Administrator
Hero Member
Offline
Posts: 468
Re: Select virtual disk, lpar hdisk pair on vio server
«
Reply #1 on:
April 29, 2008, 11:51:17 AM »
Planning ahead helps a lot. When you create the vtscsi object you can add the -dev argument to give it a name that is meaningful to you: e.g. -dev lp10_hd3 (for lpar10, hdisk3).
However, if you are like me - and learn handy things like this after a large install - the commands you want to look at on the VIOS is
lsmap
and on the AIX partition is
lscfg
.
On my current system I have given the LP a descriptive name. Notice the LUN value. Also note the Client Partition ID.
$ lsmap -vadapter vhost0
SVSA Physloc Client Partition ID
vhost0 U9110.51A.0639B9D-V1-C11 0x00000002
VTD vtopt0
Status Available
LUN 0x8200000000000000
Backing device cd0
Physloc U788C.001.AAA4406-P1-D5
VTD vtscsi0
Status Available
LUN 0x8100000000000000
Backing device lp2vd1
Physloc
VTD vtscsi1
Status Available
LUN 0x8300000000000000
Backing device lp2cd2
Physloc
Connect to the Partition with ID #2 and run the following command:
# lscfg -v | grep V2 | grep L8
hdisk1 U9110.51A.0639B9D-V2-C2-T1-L830000000000 Virtual SCSI Disk Drive
cd0 U9110.51A.0639B9D-V2-C2-T1-L820000000000 Virtual SCSI Optical Served by VIO Server
hdisk0 U9110.51A.0639B9D-V2-C2-T1-L810000000000 Virtual SCSI Disk Drive
The grep for V2 is because the partition is #2, so it's physical location for virtual devices will always include V2-C (with the virtual slot number following the -C. In this case C2.). The added L8 is just to make the list smaller. You may actually want to skip that to see everything attached via the virtual i/o planer.
All that is left now ios to match up the LUN values L8* and you have your disks.
Hope this answers your question!
Michael
Logged
Toth
Full Member
Offline
Posts: 22
Select virtual disk, lpar hdisk pair on vio server
«
on:
April 28, 2008, 10:03:35 AM »
Hi!
How can select correct pairs between vio servers virtual disks and lpar hdisks?
If I want remove disk from lpar, I use rmdev -l hdisk* -d, and go to vio server, and I want to remove Virtual Target Device, but sometime not too easy select correct device, because Virtual Target Device name (with small differences) and size sometime same with others.
Thanks!
Tot
Logged
Pages: [
1
]
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
AIX
-----------------------------
=> Administration
=> Virtualization
=> Applications
=> HACMP
=> Security
=> AIX6 Implementation and Administration
-----------------------------
Hardware
-----------------------------
=> Power6
=> Power5
=> Power4
=> RS/6000 (Power III and earlier)
-----------------------------
Linux on POWER
-----------------------------
=> Planning and Installation
=> General
-----------------------------
Announcements
-----------------------------
=> Announcements
=> Discussion
Loading...
FastPath
New in AIX6
RBAC
Security
WPAR
Service Bulletins
InfoCenters
AIX 6.1
AIX 5.3
AIX 5.2
AIX 5.1
Hardware
PowerHA (HACMP)
Tivoli
src="http://e1.extreme-dm.com/s10.g?login=jootvg&j=n&jv=n" />
Terms of Use
and
Privacy and Security Policies
Copyright 2001-2008 Michael Felt and ROOTVG.NET