LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 08-03-2016, 03:23 PM   #1
cbriscoejr
Member
 
Registered: Sep 2004
Location: Baltimore, Md
Distribution: Red Hat
Posts: 60

Rep: Reputation: 15
Migrate SAN on an AIX 5.3 server from CISCO switch to Brocade


I need to migrate SAN on an AIX 5.3 server from CISCO switch to Brocade

I am trying to determine the steps needed and will appreciate your response

1) verify firmware is compatible between server and Brocade storage switch
2) shutdown Oracle DB
3) varyoffvg
4) switch cables from CISCO to BROCADE
5) ensure SAN connectivity and AIX can see SAN
6) varyonvg
7) start Oracle DB
8) validate DB
 
Old 08-03-2016, 05:17 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
If you have 2 or more fiber ports providing multipathing on the server side you might be able to move one leg at a time to avoid or minimize having your DB down.

You don't say what the back end storage is or what multipathing you're using (if any).
 
1 members found this post helpful.
Old 08-04-2016, 04:06 AM   #3
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi there,

How do you plan on testing the connectivity after the cabling change?

I'm not sure whether AIX will recognize the disks as being the same devices (hdisks) after the cabling change. My approach would be to remove the disks from the OS first (before moving the cables), with "rmdev". After moving the cables, run "cfgmgr" to detect the disks again.

If you can elaborate on the back end storage, number of paths & multipath drivers as MensaWater requested, we can try and help further.

Good luck!
 
1 members found this post helpful.
Old 08-04-2016, 08:49 AM   #4
cbriscoejr
Member
 
Registered: Sep 2004
Location: Baltimore, Md
Distribution: Red Hat
Posts: 60

Original Poster
Rep: Reputation: 15
Thumbs up EVA 8100 - 2 cards 4 paths

Thank you for your responses.

The disk is EVA 8100. There are 2 FC cards each with 2 ports. I am not able to give any other information at this time until I am able to work with the storage admin and the AIX admin. I will update further soon.
 
Old 08-04-2016, 11:01 AM   #5
cbriscoejr
Member
 
Registered: Sep 2004
Location: Baltimore, Md
Distribution: Red Hat
Posts: 60

Original Poster
Rep: Reputation: 15
Update

There are 4 FC cards as stated earlier but they are all single path.

2 are connected to the older Cisco which is being decommissioned and they are the SAN disk connections
2 are connected to the brocade fabric and were used for connection to a tape library which is not in use any more but are still zoned

That being said what would it take to use the brocade FC cards for the disk connectivity?


1) shutdown Oracle DB
2) varyoffvg
3) Zone to EVA 8100
4) ????????????????
5) varyonvg
6) start Oracle DB
7) validate DB
 
Old 08-04-2016, 01:50 PM   #6
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi,

Without knowing whether a multipath tool is in use, my take would be:

1) verify firmware is compatible between server and Brocade storage switch
2) verify firmware is compatible between EVA and Brocade storage switch
3) shutdown Oracle DB
4) varyoffvg
5) exportvg
6) Remove the hdisks (rmdev -dl hdiskX)
7) switch cables from CISCO to BROCADE
8) Run "cfgmgr"
9) Check that the disks are available (lspv), and check paths if applicable (lspath)
10) importvg
11) varyonvg
12) start Oracle DB
13) validate DB

I hope this helps.
 
1 members found this post helpful.
Old 08-04-2016, 03:08 PM   #7
cbriscoejr
Member
 
Registered: Sep 2004
Location: Baltimore, Md
Distribution: Red Hat
Posts: 60

Original Poster
Rep: Reputation: 15
Multipath question

Based on this output from the command -- lspath -H -l hdisk10

Does this mean multipath and if so how does that factor into the steps you outlined?


status name parent

Enabled hdisk10 fscsi2
Enabled hdisk10 fscsi2
Enabled hdisk10 fscsi2
Enabled hdisk10 fscsi3
Enabled hdisk10 fscsi3
Enabled hdisk10 fscsi3
Enabled hdisk10 fscsi3
Enabled hdisk10 fscsi3
 
Old 08-05-2016, 04:48 AM   #8
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi,

The steps I proposed will work with or without multipathing.

With multipathing (which you seem to have based on the lspath output), you can most likely avoid the downtime by:

- removing the paths through one adapter (for example fscsi2)
- moving that cable to the new switch
- running cfgmgr to add the new path
- check that you have 2 paths again, with lspath
- repeat for fscsi3

As an aside, you might want to reconsider the paths to the disks. The current paths seem unbalanced (3 through one adapter and 5 through the other)?
 
1 members found this post helpful.
Old 08-05-2016, 07:36 AM   #9
cbriscoejr
Member
 
Registered: Sep 2004
Location: Baltimore, Md
Distribution: Red Hat
Posts: 60

Original Poster
Rep: Reputation: 15
Thumbs up Thank you for your assistance

Thank you for your assistance on this cliffordw and MensaWater. I believe our customer is more comfortable with scheduling down time for this activity. These are the steps needed with our multipath environment? One last question, when running cfgmgr will the multipath be done automatically or is there a step (mkpath) needed for that?

1) verify firmware is compatible between server and Brocade storage switch
2) verify firmware is compatible between EVA and Brocade storage switch
3) shutdown Oracle DB
4) varyoffvg
5) exportvg
6) Remove the hdisks (rmdev -dl hdiskX)
7) switch cables from CISCO to BROCADE
8) Run "cfgmgr"
9) Check that the disks are available (lspv), and check paths if applicable (lspath)
10) importvg
11) varyonvg
12) start Oracle DB
13) validate DB
 
Old 08-08-2016, 09:47 AM   #10
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi,

Sorry for the late reply. "cfgmgr" will configure all the paths it finds, no "mkpath" required.
 
1 members found this post helpful.
Old 08-10-2016, 02:02 PM   #11
cbriscoejr
Member
 
Registered: Sep 2004
Location: Baltimore, Md
Distribution: Red Hat
Posts: 60

Original Poster
Rep: Reputation: 15
Thumbs up Thank you again

I really appreciate your assistance. I have enough now to create a POA for migrating AIX 5.3 P5 Plus server from Cisco to Brocade SAN switch
 
Old 08-14-2016, 12:54 PM   #12
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 123

Rep: Reputation: 33
FYI - while rmdev -ld hdiskX will not hurt, it is probably unnecessary. Even the exportvg maybe unnecessary.

Basically, all that is changing is the path variables (in the ODM) and AIX follows a value in he VGDA (the so-called pvid)).

While a very different technology we used to have an exercise for AIX admin class where a local (SCSI) disk would be powered down (rmdev -l hdiskX, no -d) the disk moved to a new SCSI location (new cabinet or just a new slot) and then mkdev -l hdiskX (rather than cfgmgr) and AIX would find the disk in the new location.

In this case - mkdev -l hdiskX might not find a specific disk in new fabric - but cfgmgr - which scans all available ports and paths, should. What I have seen several times is an existing LUN being scheduled to a new zone and being rediscovered as a the same hdisk.

In short, as long as the zoning is setup properly (assuming that is also changing) it should be very simple.

More important should be the discussion about getting updated to AIX 6.1 (at least). Although there may be VAR issues (do not support application X with AIX 6.1 - but then, are they supporting application X at all?)
 
Old 08-25-2016, 06:01 AM   #13
Yordan
Member
 
Registered: Nov 2004
Posts: 57

Rep: Reputation: 15
By the way, you could simply connect to the new switch and type "cfgmgr", you will see the disks available through a new path and missing on the old path. Even no need to stop the database!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bonding between Cisco switch and debian server David7660 Linux - Networking 5 01-08-2015 02:51 AM
Brocade switch Config Backup vamsi_k Linux - Networking 2 04-05-2013 09:00 AM
ok network problem with the cisco e3200 router and cisco se2800 switch to ps3 linux/unix87 Linux - Hardware 0 03-07-2012 06:04 PM
Can no longer connect to san device when san switch changed rew25 Linux - Hardware 2 09-07-2010 08:28 AM
Emulex FC - Brocade switches - Hitachi SAN - multipath Rimmon Linux - Enterprise 1 06-30-2004 11:44 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration