LinuxQuestions.org
Visit Jeremy's Blog.
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 02-11-2005, 10:17 AM   #1
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
NIM backup with Oracle 9


We have Oracle 9 installed on several different servers which we backup on a weekly basis through NIM. Problem with the backup is that I've had to add the oracle file system to the excludes for rootvg so it won't be backed up. If the FS is included in the back up the backup will always fail.

At first I thought it might be because there were open files, but it fails even if oracle is not running. I've checked the file size limits, which are set to -1.

I'm stumped and need to find a good way of backing up the server and include oracle in the backup.

Anyone seen this before?
 
Old 02-11-2005, 10:44 AM   #2
abyss
Member
 
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113

Rep: Reputation: 16
loose,

Are you talking about the Oracle data files or $ORACLE home?

We normally create a separate VG for apps so that this stuff isn't in rootvg, and yet another VG for the data files, but obviously telling you that isn't helping you with your current issue.

I'm just thinking out loud on this next part. Not too familiar with NIM, but I'm guessing it's using the AIX backup command for the backups? You can't use tar, for example, with the Oracle data files because they are too large. To maintain POSIX compliance they have limited tar in this way and only support the backup command for files this large.
 
Old 02-11-2005, 10:54 AM   #3
abyss
Member
 
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113

Rep: Reputation: 16
As a follow up to that....

If you're using mksysb to do the backups via NIM, it matters what version of AIX you're running.

Older AIX versions used the tar command in the mksysb script. As I mentioned above, tar is no good for large Oracle data files. If I remember correctly, files over 2GB in size are not supported for tar.

Newer versions of AIX use the "backup" command in the mksysb script, which would work for the Oracle data files.

We do something similar to the Tivoli concept of disk staging. Every night we copy out the Oracle data files to external storage arrays (IBM FastT) and then run the tape backups from those copies with something like this in cron:

30 4 * * 2,3,4,5,6 find /oraclebackup -print | backup -if /dev/rmt0 -q 1>/tmp/baklog 2>/tmp/bakprob

Don't know if this helps at all, but I'm just throwing some things out there.
 
Old 02-11-2005, 10:55 AM   #4
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Original Poster
Rep: Reputation: 31
Its the oracle binaries that I was having a problem with.

Figured it out shortly after posting. The backup was going over 2GB in size. I created a new filesystem that is large file enabled and moved everything over there. It seems to be working right now.
 
Old 02-12-2005, 03:05 PM   #5
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Question

Are you doing online backups or offlinie backups (shutting down the Orcle 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
Nim Mksysb lonaj AIX 2 04-05-2010 03:50 AM
NIM MAster setup need help touny AIX 1 08-22-2005 03:18 PM
rs6000 ready to fail...no tape drive and no time to make nim server elsewhere! zepplin611 AIX 11 02-17-2005 03:30 PM
oracle backup reaky Linux - General 0 05-05-2004 05:30 AM
How to mirror rootvg using NIM joshunix AIX 1 01-13-2004 06:18 AM

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

All times are GMT -5. The time now is 01:45 AM.

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