Cluster 6.1 storage move


 
Thread Tools Search this Thread
Operating Systems AIX Cluster 6.1 storage move
# 1  
Old 07-05-2015
Cluster 6.1 storage move

HI AIX experts,

We have a 2-node cluster version 6.1. Running 7 oracle dbs. Everything is on symmetrix. We are going to have a storage migration from one array to another. There will be SRDF setup between two arrays. I will be getting all the luns from new array. I am just looking for the cluster steps for this migration to be successful. Can someone please share the overall steps to achieve this to avoid any corruption or cluster in consistent state and working properly.



Thanks a lot in advance...
# 2  
Old 07-05-2015
Quote:
Originally Posted by snchaudhari2
We have a 2-node cluster version 6.1. Running 7 oracle dbs. Everything is on symmetrix. We are going to have a storage migration from one array to another. There will be SRDF setup between two arrays. I will be getting all the luns from new array. I am just looking for the cluster steps for this migration to be successful. Can someone please share the overall steps to achieve this to avoid any corruption or cluster in consistent state and working properly.
You can do it with storage methods (SRDF), but i would do it with simple AIX means. This method will require no downtime at all, you can do everything during service time:

- Create new LUNs from the new storage equal in size to the set of disks you use now and let the "cfgmgr" run on both nodes.

- Then add the new disks to their pairwise counterparts on th active node ("extendvg") and use "mirrorvg" to set up a new mirror.

- When the disks are synced do a "importvg -L" (learning import) on the inactive node from the old disks.

- On the active node do a "unmirrorvg" and a "reducevg" to the old disks.

- On the inactive node do a "importvg -L" again, this time from the new disks. VG information is now consistent again.

- remove old disks from the configuration. Once you have them physically disconnected run "cfgmgr" again on both nodes.

Here is an example run: vg1 has 1 disk "hdisk1" (100G) from the old storage.

Create a new LUN from the new storage, which is 100G too. Run "cfgmgr" on both nodes. Say, the new disk is hdisk11.

Create the mirror: Notice that i postpone the syncing because this way i can sync several VGs at once and i can parallelize the syncing (see "-L" switch to "syncvg").

Code:
root@activenode # extendvg vg1 hdisk11
root@activenode # mirrorvg -s vg1 hdisk11
root@activenode # syncvg -P 32 -v vg1 &

Make configuration known on second node:

Code:
root@passivenode # importvg -L vg1 hdisk1

Remove original disk:

Code:
root@activenode # unmirrorvg vg1 hdisk1
root@activenode # reducevg vg1 hdisk1

Make final config known again on passive node:

Code:
root@passivenode # importvg -L vg1 hdisk1


I hope this helps.

bakunin
# 3  
Old 07-05-2015
Hi Bakunin, Thnx for detailed response.

The plan that our architect implemented in summary is :
shutdown the source servers,
replicate the old luns with new luns,
remove the old luns and allocate new luns.
Bring the servers up.


Here, I wanted to know how can I implement the cluster activities, I mean 1. what I will have to do before shutdown and 2. what after it came up with new luns.
# 4  
Old 07-06-2015
Quote:
Originally Posted by snchaudhari2
The plan that our architect implemented in summary is :
shutdown the source servers,
replicate the old luns with new luns,
remove the old luns and allocate new luns.
Bring the servers up.
The problem with this plan is:

1. the new LUNs will have different WWNs and therefore the volume group information of the system will not be consistent. Basically you will have to build the cluster resources anew.

2. You need a (complete) downtime to do this as your storage guy planned. What i described will need no downtime at all. To reconfigure all the VGs and RGs plan at least 1-2 hours (30 min to actually do it, 30-90 min in contingency) and you will not know if everything went well until you do an "extended verification and synchronisation". (Technically speaking, you will be creating new VGs, which just happen to have the same name as the old ones and you will build new ressource groups from them, which happen to have the same name as the old ones.)

I hope this helps.

bakunin
# 5  
Old 07-07-2015
Yes Bakunin, We do have downtime scheduled.

I don't think they will agree with OS level mirroring, there is too much data in TB which they are agree with SRDF to come through.
# 6  
Old 07-08-2015
find another architects! these I would personally pillory Smilie after the procedure you will receive new LUNs with the same PVIDs on the AIX. The best way in this case is to shutdown the cluster, remove volume groups from the cluster resource groups, export all volume groups to be synced, remove all disks which are in these volume groups from the system, de-zone the LUNs, let them (these funny guys which think they are architects) synchronize the storage, zone new LUNs to the server, configure them (cfgmgr and disk parameters if you need them), import volume groups, rediscover everthing on both sides of the cluster, update the cluster resource group definitions, start the cluster.

I hope, I didn't forget something very important, but from my point of view it is easier to kill the architects and save online time for your users. Implement the solution of bakunin - it is the right one! The only right solution.
This User Gave Thanks to agent.kgb For This Post:
# 7  
Old 07-08-2015
Quote:
Originally Posted by agent.kgb
Implement the solution of bakunin - it is the right one! The only right solution.
This is high praise from an expert. I will cherish that. The problem with the duplicate PVIDs didn't even cross my mind, but you are right: this is going to be a problem indeed. One more reason - if avoiding the bloodshed on the architects isn't convincing to thread-o/p enough. ;-)

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Linux

Move OS to storage disk

Hi We have RHEL 7.3 running from local disk and we want to move it to storage. I am unable to find any proper procedure to do this activity. Please help. (4 Replies)
Discussion started by: powerAIX
4 Replies

2. Red Hat

Storage Cluster ?

Hi I want the Sync file server together (at the moment) All server to a web server What can I do to update Joomla or WordPress files even when taken together are equal Databases together are replicated What is the solutions ? Thanks (2 Replies)
Discussion started by: mnnn
2 Replies

3. Solaris

Sun Cluster/Storage question

Hi Bros, I am a newbie to this cluster environment...my workplace is a mess of Sun solaris server, oracle database, Cisco switch, router, MS Server, Windows PC..so and so..now my boss ask me to come out with a procedure for maintenance of storage array in our sun cluster environment..I read few... (12 Replies)
Discussion started by: xavierantony
12 Replies

4. UNIX for Advanced & Expert Users

Any ideas how to accomplish this storage move?

We have a datacenter in another part of the country with about a 100Mb WAN between that datacenter and the local datacenter. The remoted datacenter has about 20TB of data on roughly 75 servers that all must be moved to this datacenter with minimal downtime. Please help me come up with the best way... (2 Replies)
Discussion started by: keelba
2 Replies

5. Filesystems, Disks and Memory

Veritas Storage Foundation basic and Core cluster solaris 10 release 7 install

After much hitting my head to the wall with this meesages root@crasher /workzone/dvd4_sfb-sol_x64]#./installer -verbose -installonly 5.0MP3 Installation Program Copyright (c) 2008 Symantec Corporation. All rights reserved. Symantec, the Symantec... (1 Reply)
Discussion started by: tristezo2k
1 Replies
Login or Register to Ask a Question