tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: kcriss () dwd ! state ! in ! us (Kevin Criss)
To: tru64-unix-managers
Subject: NSR: savepnpc what am I doing wrong?
Date: Fri, 26 Feb 1999 14:18:48 +0000	[thread overview]
Message-ID: <96079036515967.tru64-unix-managers.marc@archive.invalid> (raw)

     savepnpc: will execute a script at the beginning of a backup job-group 
     and it will also execute a script at the end of a backup job-group.
     
     (* savepnpc in a nutshell *)
     http://www.adcomp.ch/cluhelp/appb37.htm#50217
     
     We are trying to shut down our Oracle database before we start the 
     backup, we want to backup the system, then we want to bring up the 
     Oracle database.
     
     We are backing up three clients, in each client's Backup Command 
     atttribute I have entered the phrase "savepnpc"
     
     
     These are my scripts:
     
     /usr/var/nsr/res/Alpha123-backup.res
     type: savepnpc;
     precmd: "/usr/local/bin/ora-stopt";
     pstcmd: "/usr/local/bin/ora-start";
     timeout: "12:00pm";
     
     
     /usr/local/bin/ora-stop
     #
     # Shut down the oracle database
     #
     cd /sbin/init.d
     sh oracle stop
     
     /usr/local/bin/ora-start
     # 
     # Start up the oracle database
     #
     cd /sbin/init.d
     sh oracle start
     
     
     [Q] What am I doing wrong?  The oracle database does not come down 
     automatically, I am not even sure my scripts are being executed.
     
     
     - Thanks
       Kevin Criss

                 reply	other threads:[~1999-02-26 14:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox