Sponsored Content
Full Discussion: Adding disk to my lpar
Operating Systems AIX Adding disk to my lpar Post 302967764 by bakunin on Sunday 28th of February 2016 04:46:10 AM
Old 02-28-2016
Quote:
Originally Posted by vax
hi all i have entered Aix environment 4 months had experienced in linux
hmm, your name suggests you know VMS too, LOL.

Quote:
Originally Posted by vax
now the problem is how can i add that disk to my lpar
There is no direct answer to this because it will depend on so many details of your setup (which you didn't describe in detail so far). I will try to give you an overview and you may want to ask details as we go along.

It is possible to put physical disks into POWER-systems and use these, but this is commonly only done for VIOS systems. All the other LPARs get disks usually from some external (SAN) storage. I will describe this here.

There are two common ways to attach external disks to an LPAR: vSCSI and NPIV. Both involve the VIOS and the most common setup is to use both: vSCSI for the boot disks (that is: rootvgs) of the LPARs and NPIV for the data/application disks.

vSCSI is the simplest method: first, on the VIOS a virtual SCSI adapter is created and then attached to the LPAR. Now it is possible to create virtual SCSI disks from SAN disks attached to the VIOS and attach these virtual SCSI disks to a certain LPAR/certain adapter. When the LPAR boots it sees this virtual disk as a SCSI-disk attached to a SCSI-adapter.

The advantage of doing it this way is that you can do everything you do with a real SCSI disk, including booting from it, from the LPAR. Still, because the gear the LPAR uses is in fact virtualised, you can still use LPM (Live Partition Mobility). The VIOS of the source- and target-machines (="Managed System") will move the virtualised adapters and disks around so that on the target-MS you have the LPAR running the same way you had it on the source-MS. On the downside the VIOS is involved a lot relatively in the handling and utilisation of the vSCSI disks and when you have much traffic on vSCSI-disks the VIOS needs an increasing amount of (processor and memory) resources.

This is why disks you do not need to boot from ("data disks") are commonly not vSCSI but NPIV: the VIOS only creates a virtual FC-adapter (the VIOS gets the physical FC-adapter attached) and exports that to the LPAR, which in turn uses it to connect to SAN LUNs directly. The LPAR needs to use the respective FC-driver (multipath for IBM storage, powermt for EMC, ...) to access the LUNs. The zoning gets a bit more complicated too, because the LUNs need to be zoned to the LPAR now. On the upside the VIOS is less involved and some limitations of SCSI do not apply.

There are a few redbooks from IBM about their virtualisation techniques which i suggest you download and read.

I hope this helps.

bakunin
These 2 Users Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

LPAR and vio disk mapping

We have a frame the uses 2 vios that assign disk storage to LPAR's. We have a LPAr with multiple disk and I want to know how do I tell which vio is serving the disk. For example the LPAr has hdisk 0, 1, 2, 3 all the same size. I want to know which vio is serving hdisk0, 1. (4 Replies)
Discussion started by: daveisme
4 Replies

2. AIX

Problem mapping LUN disk from VIOS to the LPAR

Hello guys, It would be so nice of you if someone can provide me with these informations. 1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Discussion started by: solaix14
3 Replies

3. AIX

VIO Backing Disk LPAR how to find which one ?

hello Folks, my vio: $ lsmap -all SVSA Physloc Client Partition ID --------------- -------------------------------------------- ------------------ vhost0 U9117.MMA.6534BE4-V2-C11 0x00000003 VTD ... (0 Replies)
Discussion started by: filosophizer
0 Replies

4. AIX

p595 LPAR no longer sees SAN boot disk

Hello, we have a wierd and urgent problem, with a few of our p595 LPARs running AIX 5.3. The LPARs ran AIX 5.3 TL 7 and booted off EMC SAN disks, using EMC Powerpath. Every boot we run "pprootdev on" and "pprootdev fix". We can issue "bosboot -a" and we can reboot the machines. Now, on two... (2 Replies)
Discussion started by: rwesterik
2 Replies

5. AIX

LPAR and AIX VIO Disk Mappring for Linux Clients

VIO Server is managing both AIX Clients and Linux Clients. For AIX Clients, we could do a disk mapping from slot numbers to VIO and also uname -L to determine the lparid and serial number frame its running on. From a Linux Client, How do I know which IBM frame its running on? Any command to... (4 Replies)
Discussion started by: rpangulu
4 Replies

6. AIX

Adding Virtual Adapter to LPAR

Hello, hopefully someone can help me out with this, I have created a virtual Ethernet adapter on the VIO but would like to add it to my new LPAR. On my VIO only my disk is mapped. $ lsmap -all SVSA Physloc Client Partition ID --------------- --------------------------------------------... (5 Replies)
Discussion started by: audis$
5 Replies

7. AIX

VIO and LPAR disk/fcs communications

:wall::wall::wall: 1. I have created an LPAR in the HMC. 2. I have allocated the storage from an Hitachi AMS2500 and assigned it to the host group. 3. I have zoned the LPAR and Storage on a Brocade 5100. (The zone sees the AMS) Next I activated the LPAR in the HMC, SMS mode for the mksysb... (3 Replies)
Discussion started by: Dallasguy7
3 Replies

8. AIX

VIOS: Extend virtual disk assigned to running lpar?

Hello, VIOS 2.2.1.4 using IVM. I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user. Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Discussion started by: j_aix
2 Replies

9. AIX

AIX lpar bad disk I/O performance - 4k per IO limitation ?

Hi Guys, I have fresh new installed VIO 2.2.3.70 on a p710, 3 physical SAS disks, rootvg on hdisk0 and 3 VIO clients through vscsi, AIX7.1tl4 AIX6.1tl9 RHEL6.5ppc, each lpar has its rootvg installed on a LV on datavg (hdisk2) mapped to vhost0,1,2 There is no vg on hdisk1, I use it for my... (1 Reply)
Discussion started by: frenchy59
1 Replies

10. AIX

LPAR cannot added disk

Dear All, I created a new partition through "Integrated Virtualization Manager" but there have an error when I added a new disk to the partition. The disk already created without any issue, Below error is to add the disk to the partition An error occured while modifying the assignments... (5 Replies)
Discussion started by: lckdanny
5 Replies
All times are GMT -4. The time now is 09:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy