Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=710... Commit: 7106e41ced6b5d82a50cbca9e5c0e73ac99b1638 Parent: 5a67bbf795db62d9b20179f96b0ad17066cae4cd Author: Shane Bradley sbradley@redhat.com AuthorDate: Tue Oct 25 17:52:26 2011 -0400 Committer: Lon Hohberger lhh@redhat.com CommitterDate: Tue Oct 25 18:02:37 2011 -0400
resource-agents: orainstance.sh: Fix temporary variables
This patch helps avoid log file name collisions when multiple instances are started or stopped at the same time.
Resolves: rhbz#744283
Signed-off-by: Lon Hohberger lhh@redhat.com --- rgmanager/src/resources/orainstance.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rgmanager/src/resources/orainstance.sh b/rgmanager/src/resources/orainstance.sh index ca80f32..6f2ff15 100755 --- a/rgmanager/src/resources/orainstance.sh +++ b/rgmanager/src/resources/orainstance.sh @@ -81,7 +81,7 @@ start_db() { declare -i rv
tmpfile=/tmp/$SCRIPT-start.$$ - logfile=/tmp/$SCRIPT-start.log + logfile=/tmp/$SCRIPT-start.log.$$
# Set up our sqlplus script. Basically, we're trying to # capture output in the hopes that it's useful in the case @@ -127,7 +127,7 @@ stop_db() { declare -i rv
tmpfile=/tmp/$SCRIPT-stop.$$ - logfile=/tmp/$SCRIPT-stop.log + logfile=/tmp/$SCRIPT-stop.log.$$
ora_procname="ora_${DB_PROCNAMES}_${ORACLE_SID}" status $ora_procname
cluster-commits@lists.stg.fedorahosted.org