Veritas-bu

[Veritas-bu] Informix Agent

2001-05-03 04:06:03
Subject: [Veritas-bu] Informix Agent
From: vxback AT yahoo DOT com (van becker)
Date: Thu, 3 May 2001 01:06:03 -0700 (PDT)
Thanks Jim
Good Job!!!
Working great now.


--- Jim Horalek <jhoralek AT veritas DOT com> wrote:
> Van,
> 
> When you start a job such as "Full" below. It will
> start
> the "User Schedule" called Default-Policy.
> You will see one job "Full" and possibly more
> queued. These are controlled
> by BAR_MAX_BACKUP in onconfig.
> I usually set to the Number of tape drives.
> 
> 
> /usr/informix/bp.conf
> BPBACKUP_CLASS=informix_class       #This is the
> name of the Informix Class
> "you" created
> BPBACKUP_SCHED=Default-Policy         #This is the "User"
> Backup policy.
> We give you Default-Policy.
> BPBACKUP_SERVER=Master_Server_name
> CLIENT_READ_TIMEOUT=1800
> 
> In addition you must create a new schedule in your
> informix class.
> Call it Full.
> add your client
> add your schedule
> add your filelist
>    your filelist is the location of the script
>       
>
/usr/openv/netbackup/ext/db_ext/informix/scripts/backup_of_whole_database
> or
> wherever your
> scripts are.
> 
> The Default Policy Schedule is a "User Schedule".
> Don't restrict when it can
> run. Its called by
> the other schedules.
> 
> In your scripts you need the "informix server name"
> location of $INFORMIXDIR
> and onconfig file name
> 
> The script is looking for a class called
> Informix_etc which backups
> $INFORMXIXDIR/etc
> I usually comment out the section for backing this
> up.
>       #echo "bpbackup -c $INFX_ETC_CLASS
> $INFORMIXDIR/etc"
>       #/usr/openv/netbackup/bin/bpbackup -c
> $INFX_ETC_CLASS
> $INFORMIXDIR/etc
>       #BPBACKUP_STATUS=$?
> 
>       #if ["$BPBACKUP_STATUS" -ne 0]
>       #then
>       #       echo ""
>       #       echo "bpbackup of $INFORMIXDIR/etc returned
> $BPBACKUP_STATUS"
>       #fi
> 
> You can also create a incremental schedule using the
> same script.
> 
> In your onconfig
> DBSERVERNAME    myserv_shm  # you need the name of
> the informix server
> "above". 
> LTAPEDEV        /usr/informix/INFORMIX_LOGS/logfile
> #or to your location not
> "/dev/null"
> BAR_BSALIB_PATH /usr/lib/ibsad001.so #I found the
> default isn't found so
> specify it.
> BAR_MAX_BACKUP        2       #Set to the number of tape drives
> 
> Set Verbose = 9 in /usr/openv/netbackup/bp.conf
> mkdir /usr/openv/netbackup/logs/{infxbsa,bphdb}
> chmod 777 /usr/openv/netbackup/logs/{infxbsa,bphdb}
> Lot of info in here as to what's wrong.
> 
> The scripts are not cast in stone.
> The whole backup script uses onbar -b -w
> Some people prefer onbar -b. See your Onbar
> Backup/Restore Manual
> 
> The rootdbs and dbspace1 scripts may need to be
> changed if rootdbs and
> dbspace are called
> something else in your database.
> Don't forget to make the scripts 755 to execute.
> 
> -Jim
> 
> > -----Original Message-----
> > From: van becker [mailto:vxback AT yahoo DOT com]
> > Sent: Tuesday, May 01, 2001 10:37 AM
> > To: Jim Horalek
> > Subject: RE: [Veritas-bu] Informix Agent
> > 
> > 
> > Thanks for the reply.
> > 
> > I did have bp.conf reside in the informix home
> > directory instead of the INFORMIXDIR, and I did
> not
> > insert CLIENT_READ_TIMEOUT in the bp.conf file.
> > 
> > Our Informix DBA did something to create ONBAR or
> did
> > something where now the Informix can recognize the
> > tape drive. However, I still cannot save the
> database
> > files using the NBU. 
> > 
> > Following are the steps I took to install the
> Informix
> > agent
> > 1. Install Informix agent from CD (straight
> forward)
> > 2. created bp.conf file in /usr/informix (home
> dir)
> >    (may be I defined it wrong. Do you have an
> example
> > as how three variables s/b defined in the bp.conf
> > file?)
> > 3. symbolic link of .s0
> > 
> > Now, am I missing some steps?
> > 
> > 
> > 
> > 
> > --- Jim Horalek <jhoralek AT veritas DOT com> wrote:
> > > Van,
> > > 
> > > I've only worked on a with the Master and Client
> on
> > > the same machine.
> > > But I did find Informix bp.conf should reside in
> the
> > > informix home directory
> > > not the INFORMIXDIR. Veritas assumed home and
> > > INFORMIXDIR were the same
> > > location.
> > > All our agents work out of home. su - informix.
> > > Usually $HOME or
> > > /usr/informix.
> > > 
> > > Of course CLIENT_READ_TIMEOUT = 1800 in this
> bp.conf
> > > 
> > > Also I was forced to but CLIENT_READ_TIMEOUT =
> 1800
> > > in
> > > /usr/openv/netbackup/bp.conf
> > > I needed both. Since my master was the client I
> > > don't know if this was local
> > > to the client or a Master entry(However the
> System
> > > Admin guide says this
> > > should
> > > be on the Master or Media)
> > > 
> > > I also but a INFORMIX_HOME = /usr/informix in
> > > /usr/openv/netbackup/bp.conf
> > > on the
> > > client(Which also was the master). Backups ran
> > > without it though.
> > > 
> > > Let me know of your progress since.
> > > 
> > > -Jim
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: van becker [mailto:vxback AT yahoo DOT com]
> > > > Sent: Saturday, April 28, 2001 9:08 AM
> > > > To: Jim Horalek
> > > > Subject: RE: [Veritas-bu] Informix Agent
> > > > 
> > > > 
> > > > No.
> > > > I called Veritas support and the engineer was
> no
> > > help.
> > > > She basically read straight from the
> > > Troubleshooting
> > > > guide.
> > > > 
> > > > 
> > > > --- Jim Horalek <jhoralek AT veritas DOT com> wrote:
> > > > > Van,
> > > > > 
> > > > > Did you ever get this resolved?
> > > > > 
> > > > > Jim Horalek, MCSE
> > > > > Veritas Software
> > > > > jim.horalek AT veritas DOT com
> > > > > 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Informix Agent, van becker <=