Backup for HW Mirrored Disks


 
Thread Tools Search this Thread
Operating Systems Solaris Backup for HW Mirrored Disks
# 1  
Old 03-03-2009
Backup for HW Mirrored Disks

We use SW mirroring (RAID1) using SVM for our SUN servers (which we OEM to end clients with our application on). When I need to make a tape backup for the server (disk), I disable mirroring and perform backup of the entire disk to tape using ufsdump. This process requires an outage and sensitive as there is no room for mistakes. It is relatively complicated to other engineers/clients to do this and support SW mirroring using SVM on regular basis (as experienced in the last few years supporting this). So I decided to got for HW mirroring using raidctl which seems to be more straight forward and reliable. However, I am exploring option to make tape backup strategy for the whole disk with minimum outage and relatively easy steps/procedure. I can think of FLAR to tape... but can anyone suggest something based on experience that is reliable and easier to do?

Last edited by StarSol; 03-03-2009 at 07:39 PM..
# 2  
Old 03-04-2009
I would appreciate it if you can refer me to way or some documents about that... maybe Sun doc
# 3  
Old 03-05-2009
I have a preference not to use raidctl to be honest - it removed any flexibility for you to temporarily use that disk in the event that you need to.
We regularly make FLAR archives of system mirrored under SVM without having to split the mirrors.
Your other option, although can be costly, is to invest in a proper backup strategy and use something like NBU or Solstice Backup (Legato Networker).

As to using HW mirrored disks - the OS does not see them as individual disks so just treat them as a single disk for the purposes of backups.
# 4  
Old 03-05-2009
Since you are on Solaris, use fssnap and ufsdump on the snapshot. That would be partition by partitiion, not whole disk. You could set up a script that handles it, put it in an adm directory (I use /usr/local/adm/backup), and then just run that script. Set up permissions so only your engineering logins have access to it.

I've used svm in the past, but with my new T5220's, I'm using raidctl for the mirroring of the root drives. My script for doing backups works fine. Amanda also works well using the same tools. However, it sounded like your situation is more of a one off thing when you are distributing systems.

If you are running realtime processes (like ntpd), you need to stop those before doing fssnap and then start them up again. That can be incorporated in the script as well.
# 5  
Old 03-06-2009
Another reason that made change to raidctl is using and implementing LDoms. I found it a bit complicated maintaining the server with SVM and LDoms. I had to come up with different strategies to make it work (since Sun only provides very simple and basic examples). So I moved to raidctl to get rid of one of the complication factors (i.e. SVM). Costly options are not an option now under the current financial circumstances. FLAR is also an option if it would allow me to make a full backup of the disk. I found a lot of material about FLAR, but can you point me to something that talks about full disk image?

choogendyk, I am also using T5220 (and T2000). Can you share your script so I do not have to re-invent the wheel? Smilie With regards to our business model, we install our application on Sun servers and sell them to our clients (OEM the HW); so we are responsible for the support. Since we partition the disks according to the application needs and manage mirroring, we have to come up with the backup strategy as well. In your case, you bring root partition down to make the backup, right? If that is the case, this means service outage in my case.
# 6  
Old 03-06-2009
Actually, no, I don't bring down the system to make the backup. That's the point of the fssnap. It reduces your exposure for changes to just the time it takes to make the snapshot rather than the time it takes to do the ufsdump.

I'll see if I can get a clean copy of my script, a bit of documentation, and an example config file up on the web this weekend, and then drop some links here. The script is several pages long, and the latest changes I made were to accommodate Solaris 10, using smf rather than init.d to stop and start ntpd.
# 7  
Old 03-09-2009
Thanks, I am not very familiar with fssnap; I am searching for material about it. Thanks in advance for providing the script.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Backup root disks

Hi all! Please I would appreciate some inputs on the following: I have inherited a SUN BLADE chassis with 6 T6320 server modules, in which there is only 1 root disk in all of them. I need to do a backup of the root disk in case those disk crash. But there is no backup device attached to it.... (6 Replies)
Discussion started by: fretagi
6 Replies

2. AIX

rootvg mirrored

I want to increase the size of /tmp by 1GB I know that the command is chfs -a size=+1G /tmp But the rootvg is mirrored and when I do a lsvg -p rootvg, I could see 2 disks. Will there be any impact if I increase the size of /tmp when the rootvg is mirrored ? Please advise. (1 Reply)
Discussion started by: newtoaixos
1 Replies

3. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

4. Solaris

Are my disks mirrored ?

# metastat d1: Mirror Submirror 0: d11 State: Okay Submirror 1: d12 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 14582208 blocks (7.0 GB) d11: Submirror of d1 State: Okay Size: 14582208 blocks... (2 Replies)
Discussion started by: Exposure
2 Replies

5. HP-UX

To identify if local disks are mirrored

Hello All, Am trynig to identify if the local HD's on our BL860 (running 11v3) are indeed mirrored to each other. Cheers, Cameron (3 Replies)
Discussion started by: Cameron
3 Replies

6. HP-UX

[Solved] How to determine that you have 2 disks mirrored ?

hi every body i want to know which command tell me more detailes to know the 2 disks mirrored or not ? in group like vg00 (5 Replies)
Discussion started by: maxim42
5 Replies

7. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

8. Solaris

Creating an image of a mirrored disks

Hi guys, I havent done this before but iam trying to create an image of a mirrorred drive. Correct me if iam wrong, but when i have two disks setup in raid configuration and have them mirrored in solaris. It then defines at one entity. How would i create a "flar" image of that one entity... (3 Replies)
Discussion started by: tlee
3 Replies

9. AIX

Mirrored disk.....

How do I know, which all disks are mirrored? any command? Bala (7 Replies)
Discussion started by: balaji_prk
7 Replies

10. AIX

checking to see if logical disks are mirrored.

I have AIX 5.1 I ran these commands and was not able to see what disk were mirrored to what. I thought this is what I should do? lslv -m rd |more lslv -m db |more I get a error stating that it can't find or in the device configuation databse. Is there another way to look? I have a physcal... (1 Reply)
Discussion started by: rocker40
1 Replies
Login or Register to Ask a Question