Veritas-bu

[Veritas-bu] S77netbackup on 3.4.x

2002-10-09 16:13:29
Subject: [Veritas-bu] S77netbackup on 3.4.x
From: trosamond AT uslec DOT com (Rosamond, Travis)
Date: Wed, 9 Oct 2002 16:13:29 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C26FD0.550ACC6E
Content-Type: text/plain;
        charset="iso-8859-1"

Yes we had the same problem. 

I can't remember the fix so I will just send the script (sign of old age).

You can use the file and diff it.



-----Original Message-----
From: Fabbro, Andrew P [mailto:Fabbro.Andrew AT cnf DOT com]
Sent: Wednesday, October 09, 2002 1:59 PM
To: 'Veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] S77netbackup on 3.4.x


Does anyone else have a problem with /etc/rc2.d/S77netbackup (the
Veritas-supplied Netbackup startup script) not working properly?  

The script invokes initbprd.  On my master, bpdbm and bpsched start, but
bprd dies with:
        bprd[481]: Cannot contact NetBackup bpdbm. Terminating.

After a reboot, bpdbm and bpsched are running, but bprd is not.  When I
manually start bprd at that point, all is well.  However, the purpose of
startup scripts is to save admins from having to manually start services
every time a system reboot ;)  

Anyone else?  Any solutions before I start hacking S77netbackup?

--
 Drew Fabbro, USG [fabbro.andrew AT cnf DOT com]
 Desk: 503-450-3374    Cell: 503-701-0369
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


------_=_NextPart_000_01C26FD0.550ACC6E
Content-Type: application/octet-stream;
        name="S77"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="S77"

#!/bin/sh=0A=
# $Header: S77netbackup.sh,v 1.8 2000/04/18 14:26:05 raa Stab $=0A=
#=0A=
#bcpyrght=0A=
#***********************************************************************=
****=0A=
#* $VRTScprght:  Copyright 1993 - 2000 VERITAS Software Corporation, =
All Rights =0A=
Reserved  $ *=0A=
#***********************************************************************=
****=0A=
#ecpyrght=0A=
#=0A=
# S77netbackup.sh=0A=
#=0A=
# This is a sample script that can be copied to the correct system =
startup=0A=
# directory (e.g./etc/rc2.d) to automatically start the NetBackup =
request=0A=
# daemon at system initiation.=0A=
# It also starts the Media Manager device daemon (ltid).=0A=
#=0A=
# Note - when the Media Manager device daemon (ltid) is started, it =
automaticall=0A=
y=0A=
# starts the Media Manager volume daemon (/usr/openv/volmgr/bin/vmd) =
and robotic=0A=
# daemons as required.=0A=
=0A=
VMPS=3D/usr/openv/volmgr/bin/vmps=0A=
LTID=3D/usr/openv/volmgr/bin/ltid =0A=
BPRD=3D/usr/openv/netbackup/bin/initbprd=0A=
=0A=
TMPF=3D/tmp/active_ovVM_processes=0A=
/bin/rm -f $TMPF=0A=
$VMPS > $TMPF=0A=
=0A=
if [ -f "$LTID" ]=0A=
then=0A=
        ltid=3D`grep ltid $TMPF`=0A=
        # Don't start ltid if already started by HSM startup script.=0A=
        if test Y"$ltid" =3D Y=0A=
        then=0A=
                $LTID=0A=
                echo "Media Manager daemons started." > /dev/console=0A=
        fi=0A=
else=0A=
        echo "Media Manager daemons not started." > /dev/console=0A=
fi=0A=
=0A=
/bin/rm -f $TMPF=0A=
=0A=
if [ -f "$BPRD" ]=0A=
then=0A=
        $BPRD=0A=
        echo "NetBackup request daemon started." > /dev/console=0A=
else=0A=
        echo "NetBackup request daemon not started." > /dev/console=0A=
fi=0A=
=0A=
exit 0=0A=
=0A=

------_=_NextPart_000_01C26FD0.550ACC6E--

<Prev in Thread] Current Thread [Next in Thread>