From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079038515995.tru64-unix-managers.marc@archive.invalid> From: kcriss () dwd ! state ! in ! us (Kevin Criss) Date: Mon, 29 Mar 1999 16:28:14 +0000 To: tru64-unix-managers Subject: NSR: savepnpc - Continued, what am I doing wrong now? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079038515995 [Q] What are we doing wrong now? Below you will find our group resource file. The goal is to shutdown the Oracle8 databases before the backup job begins. Below you will find the savepnpc group resource file that we expirement with. /nsr/res/Alpha123-backup.res type: savepnpc; precmd: "/usr/bin/sh /sbin/init.d/oracle stop", "/bin/sleep 60"; pstcmd: "/usr/bin/sh /sbin/init.d/oracle start", "/bin/sleep 60"; timeout: "12:00pm"; Diagnostics produced after running this group would indicate the pre-command is executing once for each save set instead of "AS ADVERTISED" once for each client in the backup group. There are (3) clients in the backup group. He are sample diagnostics of what we are getting. --- Unsuccessful Save Sets --- * alpha1.dwd.state.in.us:/ 1 retry attempted * alpha1.dwd.state.in.us:/ past first iffi set * alpha1.dwd.state.in.us:/ LOG config * alpha1.dwd.state.in.us:/ /sbin/init.d/oracle: touch: not found * alpha1.dwd.state.in.us:/ Test of stop begins here * alpha1.dwd.state.in.us:/ /sbin/init.d/oracle: date: not found * alpha1.dwd.state.in.us:/ stopping V2 listner * alpha1.dwd.state.in.us:/ stopping Oracle database * alpha1.dwd.state.in.us:/ /sbin/init.d/oracle: su: not found * alpha1.dwd.state.in.us:/usr /sbin/init.d/oracle: touch: not found * alpha1.dwd.state.in.us:/usr Test of stop begins here * alpha1.dwd.state.in.us:/usr /sbin/init.d/oracle: date: not found * alpha1.dwd.state.in.us:/usr stopping V2 listner * alpha1.dwd.state.in.us:/usr stopping Oracle database * alpha1.dwd.state.in.us:/usr /sbin/init.d/oracle: su: not found * alpha1.dwd.state.in.us:/a1u00 /sbin/init.d/oracle: touch: not found * alpha1.dwd.state.in.us:/a1u00 Test of stop begins here * alpha1.dwd.state.in.us:/a1u00 /sbin/init.d/oracle: date: not found * alpha1.dwd.state.in.us:/a1u00 stopping V2 listner * alpha1.dwd.state.in.us:/a1u00 stopping Oracle database * alpha1.dwd.state.in.us:/a1u00 /sbin/init.d/oracle: su: not found . . . etc. etc. etc. for each save set of all (3) clients ---------------------------------------------------------------------- Additional Info follows: All thre clients run NSR 5.2, under Digitial UNIX 4.0E with no patch kits applied. Plus each client has two network interface cards configured with the host names for these containing either mixed case letters and/or hyphens. I.E. alpha1, alpha1-nsr, alpha2, alpha2-nsr, alpha3, alpha3-nsr. Also we are not using the Business Suite module for Oracle8 even though the licenses packs were purchased, enabled and authorized through NSR. We don't because our DBA's figure why do hot on the fly backups when we have the time at night for cold offline backups. - Thanks Kevin Criss