Migration of SUN OS SPARC from EMC to DELL FIBER

Project move Fiber Attached Luns from EMC CX3-80 to Dell Compellent CT-SC8000

I have a lot of fiber attached LUNS on SUN OS…  (SPARC)
I need help are instructions on migrating the LUNS over to the Dell compollent.
We need to minimize downtime.

I was thinking, plugging one part of the hba to the emc\switch and the other to the dell\switch.
But since I don’t know solaris at all, I need lots of help/pointers.
So please be as descriptive as possible.

Also have a few windows cluster disk too that need migrated.. However my most worries lye in the Sun OS
LVL 5
IndyrbAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pepe2323Commented:
Hi

Are you able to have both luns ( emc and Dell ) at the same time ?

what kind of filesystems are u using ?

one way to do this is, map the new luns while you have old ones ( emc) and just perform a tar that move all info with the exact rights

One thing you need ton consider is that while you are running the tar you need to have apps down .

Other way if you are using ZFS , you can make a mirror with the new luns; one face with the EMC luns and the second face with DEll luns, wait untill both are sync and break the mirror removing the emc lun.

Those are some ideas  how to do it.

i hope this helps
0
IndyrbAuthor Commented:
Thanks for your response to this question, and the other I posted. A lot of things going on and I am trying to pick up all the pieces without having any experience with SUn, Solaris, etc...

So the first question is on the HBA there appears to be two ports... port one goes to switch A and port two goes to Switch B, both fiber switches are brocade and the hookup to the EMC...

So I was wondering if you could take port two and hook it up to the Compellent switch and zone and etc... So then it could see both compellent and EMC luns...

So to answer your question about filesystem being used, I don't know... I know that its a SPARC SunOs system.. how can I check.... sorry for my ignorance, I am just now learning, so any step by steps for this whole process would be greatly appreciated.....

Another thing I heard is that there are essential three servers. ServerA, ServerB and ServerC

Server A has SunOs with Oracle DB and etc. mount points to EMC luns... The same thing is true for ServerC but with a different DB..... Sometime and somehow during the night, it detaches the LUNS from the EMC, and connects to ServerB and does some kind of backup... someone used the terms partial or something, not sure. hopefully you can identify with this...

So with the move, if you did SERVER A, we have to consider the process of attaching and detaching luns, and wince this is somehow a backup process, can we just have it attach to the compellent, where are tasks and processes held on the SunOS servers.

Then can you explain Tar and ZFS,
All my exp is in windows, so thanks for all your help in advance.. and patience...
You are awesome : )

Ooooh.. Server A is 24x7x365, but they saiud we can schedule an outage on sunday.
Server B is the backup and attachment of luns from server A and server C somehow.
0
Pepe2323Commented:
Hi

Here are my comments:

-- you posted ---
So the first question is on the HBA there appears to be two ports... port one goes to switch A and port two goes to Switch B, both fiber switches are brocade and the hookup to the EMC...

So I was wondering if you could take port two and hook it up to the Compellent switch and zone and etc... So then it could see both compellent and EMC luns...

-------

Yes you will lose a path doing that,

--- you posted ---------

So to answer your question about filesystem being used, I don't know... I know that its a SPARC SunOs system.. how can I check.... sorry for my ignorance, I am just now learning, so any step by steps for this whole process would be greatly appreciated.....

---------------------

post me the output of the following command

df -h or df -k all depends of you solaris version


---- you posted ------

Server A has SunOs with Oracle DB and etc. mount points to EMC luns... The same thing is true for ServerC but with a different DB..... Sometime and somehow during the night, it detaches the LUNS from the EMC, and connects to ServerB and does some kind of backup... someone used the terms partial or something, not sure. hopefully you can identify with this...
-----------------

This sounds to me like you have some kind of  lun replication and in order to avoid stop Server A it only sync the lun and mount it on server B to perform backups, perhaps you have bcv (Business continuance volume)

If you have lun replication you use server B to clon info to the new san, this only will make you downtime be shorter

----------- you posted --------


Then can you explain Tar and ZFS,
All my exp is in windows, so thanks for all your help in advance.. and patience...
You are awesome : )
-----------------------------

tar can copy all information with all permissons

let says you  emc  file system is mounted there /u01
when you have your dell lun zoned to the solaris and file system created you will have to mount it, example /u01_new

to migrate all info, first you must stop app or DB  you muts schedule a downtime during that time

let make an example how to migrate info

cd /u01
tar cvf - *|( cd /u01_new; tar vfx -)
 
and other option is use cpio is kind of similar as tar

Become an administrator.
Change to the appropriate directory.

# cd filesystem1

Copy the directory tree from filesystem1 to filesystem2 by using a combination of the find and cpio commands.

# find . -print -depth | cpio -pdm filesystem2
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

IndyrbAuthor Commented:
I didn't ignore this, and will get the post and results asap.. just had issues arise that took my attention and priorty. revisiting question soon. Thanks for patieance, and response.
0
IndyrbAuthor Commented:
For datacollection is there any scripts or commands that need to be run on each of the solaris boxes first?

Config, San, Lun, WWPN, mount points? EMC stuff, cronjobs, fracture copies, software installed? etc.

Remember I am a complete Solaris/Unix newbie.. my skill set is very limited, and expertise revolves around windows, vmware and etc.
So pardon my ignorance, and if the questions seem rudimentary. I am  just trying to understand better, and provide more details in documentation for reference and or audits when asked. CCM

Thanks for your help in advance.  

We have about 6 SPAR Solaris servers that need to be migrated from EMC to DELL..
We need to minimize downtime and impact.
3 Servers are kinda meshed together with cron jobs that do fracture copies and mount and dismount luns... I am not a sh script expert either.... So I dont know all the details of how and what it performs, but it looks like server A and Server B both dismount luns on EMC and copy to Server C.... I am sure there are some custom EMC commands, but we need this to work with Dell compollent too.


I am trying to brack this out into steps for servers,, this is kinda overview, but can you provide you comments of anything I am missing, commands to run and etc.

Perform full backup of the servers the day before changes begin

I believe we have netbackup on this server, anyone know how to kick off a backup job within solaris or via mediaserver? what if Server is not listed but has netbackup software, how do you manually backup

Shut down all running applications and databases
               
Is there a certain order services need shutdown for oracle – command – verification – what commands and ect, also how can you detect what else is installed on these servers?

Unmount all Luns connected to the server

I am guessing this is the umount command… How can you verify which are mounted luns, and which are regular mount folders on physical disk… Or which ones are FC to SAN, what commands.

Comment out all EMC mountpoints in /etc/vfstab
Shutdown Server


Does step 3 -5 need done to install new HBAs to the system, and do we need to install anddition HBA, or can second port on single card be used to connect to DELL -- and if so do we need to unmount and uncomment --- why is this listed, precuation?

Install new HBA/s and configure for connectivity to the Compellent

Do we need two cards, or could we use on path on same HBA… just one going to EMC and one to compellent

Boot server with boot –r (reconfigure)
What does this do, and What commands or config needs altered?

Verify EMC LUNs and uncomment out entries in /etc/vfstab

Not sure why we unmounted and uncommented out EMC luns to install second HBA – can you ellobarate.

Test connectivity by creating a test Lun viewable to the server
Verify I/O functionality to new LUNs

I assume this “TEST LUN” is the new Compellent
Can you tell me process of configuring FC in solaris, connecting to switch\SAN, and by SAN admin assign/create luns.

Migration DAY:
Completion time: 4 hours (Allow 4 hours for copy time)
Perform full backup of the servers the day before changes begin

Shut down all running applications and databases
               
Map LUNs from Compellent Storage

I assume this is zoning the switch, SAN, and FC cards together… then creating the LUNs.. any naming convention recommendation, or how to zone and etc to compellent

Compared to old mount points and any size increase or decrease needed?

Create mountpoints and newfs / mount new LUNs

What is the process of creating mount points, and setting new fs.. how can you detect which fs and which is best

Copy data from existing Luns to the new Luns and point Application and databases to new Luns
What command is used for this, and is there error handling and verification?

Setup Backup for the new Luns and perform a restore

I get why we are setting up new backup jobs to include new mount points, but what are we restoring?  Didn’t we do a copy from LUN to LUN

Unmount Old Luns and validate functionality

I assume it’s the umount command – how can you tell which mount points go to just EMC… and do you need to reconfigure HBAs or anything so volumes don’t reshowup

Remove old Luns from the server and slate for deletion

Setup Solaris mpxio and reboot server

I take mpxio is multipathing,, how is this done, what commands…. Does it need dell software or native solaris? What is best practice config

Modify /etc/vfstab file to reflect new configuration
what is the vfstab file and what does it do? is this only file needed updated?

Do we comment out EMC again, or delete them in its entirety.
And add dell compellent luns

Test reboot of Server


I assume this is around the same process for all the other Oracle/Solaris systems.
But one thing to note is that there are chron jobs that do fracture copies
From SERVER A and SERVER b to SERVER with disconnecting and reconnecting.
I dont know all details...

Should we perform all three of these servers in the same day, then editing the scripts to new luns and mount points.
Or are we doing one system a day, and how will this work when SERVER A is on  DELL and SERVER C is on EMC, since I think it uses some emc scripting.

We need the normal shell script and cronjobs to function perfectly during and after migration.

Also how can you tell what is installed on a Solaris server compared to windows.
I want to make sure we have everything covered… I know we are doing a copy of LUN to LUN, but for future reference too.

Anything else to consider?
Like I said, newbie and Solaris, and newbie at Sh scripting.
0
DavidPresidentCommented:
Well, to be frank, you have a heck of a lot of questions and any expert worth their salt wouldn't begin to tell you what to do with this little amount of information.   The other red flag is that since you don't have a working understanding of ZFS, shell scripting, or basic SAN 101 then there is too much room for error or misinterpretations.

Don't take this the wrong way, no doubt your skills are elsewhere .. but your pretty much asking for a surgeon to walk you through an operation when you can't even describe the patient's condition, let alone what organ(s) are broken or have to be taken out.

In this situation best thing you can do is pay somebody who is qualified to work out a plan and describe your options then do it.  start with the vendor who sold you the Dell equipment and ask what a few days of consulting time will cost.
0
arnoldCommented:
I believe dell would provide on-site support to bring in LUNs from their SAN to your system

Depending on your SUN server, adding an HBA might be a better approach to provide for a transition without impacting existing functionality/performance.

Do you have server functional documentation?

LUNs presented can be used in several ways that would require a top to bottom going through the system.

EMC has a SAN copy feature, there might be a similar option for the dell SAN.

The complexity of the migration depends on many things. Is the EMC being retired right now, or is the new SAN is just an option to add a resource to transition over time?

Before migration attempts, you should take the time to familiarize yourself with the current operation of the system and the applications running on it.

This way should your firm decide to go with a consultant, you an work long side to acquire additional info.

Will you be managing/maintaining this system/setup going forward?
0
DavidPresidentCommented:
P.S. It is fibre, not fiber in the context of your question.   Avoid any vendor / expert who uses "fiber" or "fiber channel" like the plague.   They aren't qualified to help you.
0
Joseph GanSystem AdminCommented:
For your reference, I have done a similar data migration from IBM SAN to HP EVA online with no downtime. Below were basic steps:

In our case both SANs were connected on the same switches, this was simple that we don't need extra HPA cards and connections.

First need to setup new zones for the second SAN on the switches, once done, the server should be able to find and configure the new LUNs dynamically by using "cfgadm -al" command,

Secondly you need to partition the new LUNs to be the same disk sizes as the current disks.

Last but not least, following my article to move the file system one by one:

http://www.experts-exchange.com/OS/Unix/Solaris/A_2547-Moving-a-Solaris-File-System-to-Another-Partition-Dynamically.html

As other experts said, without good experience in Solaris and SAN, everything can go wrong. Execution each steps with extreme care will be my advice.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.