Changing AIX LUN paths


 
Thread Tools Search this Thread
Operating Systems AIX Changing AIX LUN paths
# 1  
Old 03-17-2017
Changing AIX LUN paths

Hello,

Looking for some guidance to changing how an AIX 6.1 server sees its luns. Presently they're connected via 1GB iscsi but I want to change it to 4GB fiber channel. Anyone done this before and if so is it an easy step?

I'm thinking this can be done in this order:
  1. unmount the filesystems
  2. varyoffvg vg
  3. make the changes on the storage system (EMC)
  4. cfgmgr
  5. varyonvg vg
  6. mount the filesystems

I've never done this before so I'm hoping its that simple but IBM is never that simple.

Any help is much appreciated.

Last edited by rbatte1; 03-17-2017 at 12:32 PM.. Reason: Changed textual numbered list to formatted numbered list with LIST=1 tags
# 2  
Old 03-17-2017
Let me start by saying that I'm not an AIX specialist but I can help in the storage area. I haven't looked at your profile on this forum and you don't state your level of expertise. However, I am aware that EMC have issued very large "connectivity guides" for very many O/S's and this includes AIX.

Obviously we all acknowledge EMC's Copyright of this material but if you search the web for "EMC AIX Connectivity Guide" you can download the book in pdf format. I warn you that it's BIG!

Many years ago when I read the EMC Solaris Connectivity Guide I was parked beside a coffee machine for hours and hours but I learned loads. Perhaps you need to do something similar if you don't already know this stuff. I can't help you any more than that. AIX specialists on here should be able to help you more.

Good luck. Hope that helps.
# 3  
Old 03-17-2017
Thanks for your reply. I tried the menthod I listed and that didn't work. Turns out, AIX set the paths to each disk, since the disk is going over iSCSI, the disk attributes has the iSCSI target name in the connection so it didn't work.

I'll seek out the EMC connectivity guide and give that a go.

Thanks.

If anyone else has done this, I'd be interested in hearing.
# 4  
Old 03-17-2017
The LUN that AIX recognises will be based on the serial number it is presented with. I no longer have AIX available, but I think you can see it in the Z00 or Z01 line in lscfg -vl hdisk7 or whatever.

You should be able to add the new links in from the SAN and get wider output from lsvpcfg

If you can, then you can delete the old hdisks and remove the old SAN definitions. This way, you don't need to take them offline.
Obviously, don't start removing things until you are certian that the new hdisks (discovered with cfgmgr -S) are merged into the existing vpaths.

Make sure that you remove the old hdisks before you try to remove the LUN at the SAN end or you will get lots of hardware failure messages.


I hope that this helps.
Robin
# 5  
Old 03-17-2017
I use iSCSI with my VIOS. I then export those disks using vSCSI to the partitions.

As it is iSCSI - it is dependent on how your IP network connects.

Code:
iscsi0    192.168.90.53    3260 iqn.2004-04.com.qnap:ts-659:iscsi.x061.c806e6

My guess is that if you can change the IP network address from the 1GB network to the 4GB interface - just change those.

If that is a potential solution I, or someone else, can tell you how that can be done without taking anything "offline".

And, if you want to do it offline - it is not just taking all the filesystems offline (aka unmount) but also varyoffvg of the volume group, and then rmdev -l hdiskX (or rmdev -dl hdiskX).

And yes, if youvaryoffvg the volume group, you will probably use cfgmgr and varyonvg, and mount ... to bring everything online again.

So - what does the IP network look like?

My single 'link' to my NAS gives my 13 iscsi luns. An older, simpler, device had one lun per iscsi entry.

So, how the luns look|appear depend more on the device than on AIX - imho!

Hope this helps!
# 6  
Old 03-20-2017
Quote:
Originally Posted by bbbngowc
Hello,
I'm thinking this can be done in this order:
  1. unmount the filesystems
  2. varyoffvg vg
  3. make the changes on the storage system (EMC)
  4. cfgmgr
  5. varyonvg vg
  6. mount the filesystems
I don't know this side of EMC, but let's assume, that nothing will be changed on the underlying device during changing the connection type, then you need several additional steps:

-1. make backup
0. notice all PVIDs of all disks, you have
2.5. exportvg all volume groups, rmdev all the disks, you plan to change
4.5. make sure, that you see the same PVIDs on the new disks. If you don't - go back and doesn't try to do anything further.
5. importvg all the volume groups, you exported before.

It could be also good to notice VG major numbers. Sometimes they are useful.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

AIX server do not detect LUN from HP storage

ssssssssssss (0 Replies)
Discussion started by: sampathenjoy
0 Replies

2. Solaris

How to avoid seeing various paths to just one LUN?

Hi I have a server running solaris 10 in which the NetAppadmin has just presented one LUN of 200Gb, but when running: bash-3.2# format Searching for disks...done c3t500A09828DE3E799d1: configured with capacity of 199.94GB c3t500A09829DE3E799d1: configured with capacity of 199.94GB ... (5 Replies)
Discussion started by: fretagi
5 Replies

3. AIX

AIX help -reconnect EMC lun

we have an old AIX system with important data on an EMC LUN. the AIX server crashed and we had to rebuild it with the old AIX os 5.8. how do we reconnect the EMC LUN without losing the data? (15 Replies)
Discussion started by: jhudson12
15 Replies

4. AIX

Add new LUN in AIX

Hello all! I have not so much experience with AIX We have test p5 server. On server was deployed VIOS + 3 LPAR + AIX6.1 There is a test HACMP cluster of two nodes, the cluster is identical to production cluster (all clusters and hosts have been configured by specialist of integrator company and... (3 Replies)
Discussion started by: Ravil Khalilov
3 Replies

5. Solaris

Mpathadm showing no paths to 1 lun, others luns are fine

Hi, I've noticed that mpathadm states that one of our luns has no active paths: /dev/rdsk/c6t60000970000298700009533031324333d0s2 Total Path Count: 4 Operational Path Count: 4 /dev/rdsk/c6t60000970000298700009533031333037d0s2 ... (3 Replies)
Discussion started by: badoshi
3 Replies

6. AIX

Increase LUN size in AIX with VIOS and HACMP

Hello! I have this infraestructure: - 1 POWER7 with single VIOS on Site A. - 1 POWER6 with single VIOS on Site B. - 1 LPAR called NodeA as primary node for PowerHA 6.1 on Site A. - 1 LPAR called NodeB as secondary (cold) node for PowerHA 6.1 on SiteB. - 1 Storage DS4700 on Site A. - 1... (8 Replies)
Discussion started by: enzote
8 Replies

7. AIX

Mount a SAN LUN which contains clone copy - AIX 6.1

Hello Everyone, Can someone help me to mount a SAN hdisk which contains a clone data copy(san) of the remote server to the another machine. Both servers are running in AIX. Thanks in advance ! Regards, Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies

8. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

9. AIX

AIX not detecting LUN

Hello All, Really hoping someone can help. We have an AIX server connected to a Quantum SDLC sitting in front of an S10K library. The library has 3 logical partitions (two LTO4, one LTO3), so it requires 3 distinct medium changers. The SDLC presents the 3 luns (which are the medium... (1 Reply)
Discussion started by: jwholey
1 Replies

10. AIX

AIX vpath lun

Hi everyone, how can I check if I have LUNs in a server and the LUNīs vpath in AiX? thx (5 Replies)
Discussion started by: jcpetela
5 Replies
Login or Register to Ask a Question