<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic rman and cluster in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602541#M823009</link>
    <description>Hi friends!&lt;BR /&gt;I want to ask about Oracle offline backup&lt;BR /&gt;using rman, but in cluster environment.&lt;BR /&gt;&lt;BR /&gt;When I'm trying to stop DB for offline backup using rman,the package monitoring found this and moved/halted the package, where this DB is.&lt;BR /&gt;How I could stop the monitoring of the &lt;BR /&gt;services /oracle/ so I could stop/start&lt;BR /&gt;the DB with rman, without the halting of&lt;BR /&gt;package.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Stan</description>
    <pubDate>Fri, 12 Aug 2005 05:48:29 GMT</pubDate>
    <dc:creator>Stanimir</dc:creator>
    <dc:date>2005-08-12T05:48:29Z</dc:date>
    <item>
      <title>rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602541#M823009</link>
      <description>Hi friends!&lt;BR /&gt;I want to ask about Oracle offline backup&lt;BR /&gt;using rman, but in cluster environment.&lt;BR /&gt;&lt;BR /&gt;When I'm trying to stop DB for offline backup using rman,the package monitoring found this and moved/halted the package, where this DB is.&lt;BR /&gt;How I could stop the monitoring of the &lt;BR /&gt;services /oracle/ so I could stop/start&lt;BR /&gt;the DB with rman, without the halting of&lt;BR /&gt;package.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Stan</description>
      <pubDate>Fri, 12 Aug 2005 05:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602541#M823009</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2005-08-12T05:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602542#M823010</link>
      <description>If you're running a cluster shouldn't you really be doing hot backups?&lt;BR /&gt;&lt;BR /&gt;However if you want to shutdown the database without the cluster failing over, you can use a lock file.&lt;BR /&gt;&lt;BR /&gt;eg if before you run your backup you touch a file called /tmp/oraclebackup, then remove it when the backup is finished.  You can then change your cluster monitor scripts to only failover if this lock file does not exist.</description>
      <pubDate>Fri, 12 Aug 2005 05:53:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602542#M823010</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-08-12T05:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602543#M823011</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As Simon suggetion is the only best way to carry out your offline backup to avoid package to failover.&lt;BR /&gt;&lt;BR /&gt;Similar mechanism I used in one of the clustser solution like.&lt;BR /&gt;&lt;BR /&gt;while [ true ]&lt;BR /&gt;do&lt;BR /&gt;## Below if-then statement is included for Backup purpose &lt;BR /&gt;    if [ ! -f /opt/backup/.runtime ]&lt;BR /&gt;    then&lt;BR /&gt;    statment1;&lt;BR /&gt;    ....&lt;BR /&gt;    fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Where /opt/backup/.runtime is a flag file.&lt;BR /&gt;&lt;BR /&gt;There is abrupt way to halt the monitor service using command (not recommended)&lt;BR /&gt;  # cmhaltserv &lt;SERVICE_NAME&gt;&lt;BR /&gt;But, there is no way to start manually.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rajesh&lt;/SERVICE_NAME&gt;</description>
      <pubDate>Fri, 12 Aug 2005 06:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602543#M823011</guid>
      <dc:creator>Rajesh SB</dc:creator>
      <dc:date>2005-08-12T06:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602544#M823012</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;also allow me to add:&lt;BR /&gt;&lt;BR /&gt;With RMAN it is preferrable that you to an Online backup. No need to shutdown your database.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 07:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602544#M823012</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-08-12T07:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602545#M823013</link>
      <description>Thank you for your usefull replies. :)&lt;BR /&gt;So let me remark, that the monitoring of Oracle processes in doing by PIDs.&lt;BR /&gt;So if I stop/start the Oracle without &lt;BR /&gt;halting package, these PIDs will be changed and the monitoring script will check the&lt;BR /&gt;wrong array of PIDS. So is there any workarround? May be another changes of the monitoring script?</description>
      <pubDate>Fri, 12 Aug 2005 07:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602545#M823013</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2005-08-12T07:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602546#M823014</link>
      <description>If you're using HP's scripts for oracle startup / shutdown / monitoring and you need to be able to shutdown the database without failing over the package, modify the provided script.&lt;BR /&gt;&lt;BR /&gt;Replace the monitor_process with the below.  Once you do that, you just need to touch the file /var/tmp/${ORACLE_SID}_MAINT and monitoring is suspended until you remove it.&lt;BR /&gt;&lt;BR /&gt;function monitor_processes&lt;BR /&gt;{&lt;BR /&gt;    typeset -i n=0&lt;BR /&gt;    for i in ${MONITOR_PROCESSES[@]}&lt;BR /&gt;    do&lt;BR /&gt; MONITOR_PROCESSES_PID[$n]=`ps -fu oracle | awk '/'${i}$'/ { print $2 }'` #JAGad06432&lt;BR /&gt;        print "Monitored process = ${i}, pid = ${MONITOR_PROCESSES_PID[$n]}"&lt;BR /&gt;        if [[ ${MONITOR_PROCESSES_PID[$n]} = "" ]]&lt;BR /&gt;        then&lt;BR /&gt;            print "\n\n"&lt;BR /&gt;            ps -ef&lt;BR /&gt;            print "\n *** ${i} has failed at startup time.  Aborting Oracle. ***"&lt;BR /&gt;            set -m&lt;BR /&gt;            nohup ${0} fault &amp;amp;    # The script calls itself with the fault option.&lt;BR /&gt;            set +m&lt;BR /&gt;     sleep 999999&lt;BR /&gt;        fi&lt;BR /&gt;        (( n = n + 1 ))&lt;BR /&gt;    done&lt;BR /&gt;&lt;BR /&gt;    sleep ${MONITOR_INTERVAL}&lt;BR /&gt;&lt;BR /&gt;    while true&lt;BR /&gt;    do&lt;BR /&gt;      #&lt;BR /&gt;      # Added the following code to allow for the Oracle databases to be&lt;BR /&gt;      # taken down for maintenance without causing a package failure.&lt;BR /&gt;      #&lt;BR /&gt;      # To use, touch the file /var/tmp/${ORACLE_SID}_MAINT (where&lt;BR /&gt;      # ORACLE_SID is the SID of the database which is to have maintenance).&lt;BR /&gt;      #&lt;BR /&gt;      # To resume monitoring, remove this file.&lt;BR /&gt;      #&lt;BR /&gt;      # Added 9/11/2002 GLP&lt;BR /&gt;      #&lt;BR /&gt;&lt;BR /&gt;      if [ -f /var/tmp/${ORACLE_SID}_MAINT ]&lt;BR /&gt;      then&lt;BR /&gt;        print "Entering Maintenance mode at $(date)"&lt;BR /&gt;        while [ -f /var/tmp/${ORACLE_SID}_MAINT ]&lt;BR /&gt;        do&lt;BR /&gt;          print "Remove /var/tmp/${ORACLE_SID}_MAINT file to resume monitoring"&lt;BR /&gt;          sleep ${MONITOR_INTERVAL}&lt;BR /&gt;        done&lt;BR /&gt;        print "Exiting Maintenance mode at $(date)"&lt;BR /&gt;        #&lt;BR /&gt;        # Since Oracle could have been shutdown - the PIDs could have changed.&lt;BR /&gt;        # The next two statements will reevaluate the PIDs for monitoring.&lt;BR /&gt;        # Added 9/11/2002 GLP&lt;BR /&gt;        #&lt;BR /&gt;        typeset -i n=0&lt;BR /&gt;        for i in ${MONITOR_PROCESSES[@]}&lt;BR /&gt;        do&lt;BR /&gt;    MONITOR_PROCESSES_PID[$n]=`ps -fu oracle | awk '/'${i}$'/ { print $2 }'` #JAGad06432&lt;BR /&gt;           print "Monitored process = ${i}, pid = ${MONITOR_PROCESSES_PID[$n]}"&lt;BR /&gt;           if [[ ${MONITOR_PROCESSES_PID[$n]} = "" ]]&lt;BR /&gt;           then&lt;BR /&gt;               print "\n\n"&lt;BR /&gt;               ps -ef&lt;BR /&gt;               print "\n *** ${i} has failed at startup time.  Aborting Oracle. ***"&lt;BR /&gt;               set -m&lt;BR /&gt;               nohup ${0} fault &amp;amp;    # The script calls itself with the fault option.&lt;BR /&gt;               set +m&lt;BR /&gt;        sleep 999999&lt;BR /&gt;           fi&lt;BR /&gt;           (( n = n + 1 ))&lt;BR /&gt;        done&lt;BR /&gt;      fi&lt;BR /&gt;&lt;BR /&gt;      for i in ${MONITOR_PROCESSES_PID[@]}&lt;BR /&gt;      do&lt;BR /&gt;        kill -s 0 ${i} &amp;gt; /dev/null&lt;BR /&gt;        if [[ $? != 0 ]]&lt;BR /&gt;        then&lt;BR /&gt;           print "\n\n"&lt;BR /&gt;           ps -ef&lt;BR /&gt;           print "\n *** ${i} has failed.  Aborting Oracle. ***"&lt;BR /&gt;           set -m&lt;BR /&gt;           nohup ${0} fault &amp;amp;    # The script calls itself with the fault option.&lt;BR /&gt;           set +m&lt;BR /&gt;           sleep 999999&lt;BR /&gt;        fi&lt;BR /&gt;      done&lt;BR /&gt;      sleep ${MONITOR_INTERVAL}&lt;BR /&gt;    done</description>
      <pubDate>Fri, 12 Aug 2005 07:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602546#M823014</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-08-12T07:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602547#M823015</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My thought here to avoid PID changes.&lt;BR /&gt;Use the package monitoring script with flag check.&lt;BR /&gt;Though you are using RMAN, supports online backup, this you can use.&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;Just close the database and umount the database before start backup.&lt;BR /&gt;Post backup:&lt;BR /&gt;mount and open the database, it reduces the startup time of database.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;RAjesh  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 08:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602547#M823015</guid>
      <dc:creator>Rajesh SB</dc:creator>
      <dc:date>2005-08-12T08:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602548#M823016</link>
      <description>In cont..&lt;BR /&gt;&lt;BR /&gt;Instead full shutdown of Database, just &lt;BR /&gt;&lt;BR /&gt;&amp;gt; alter database close;&lt;BR /&gt;&amp;gt; alter database umount;&lt;BR /&gt;&lt;BR /&gt;wouldn't effect any running oracle pids/services.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;RAjesh</description>
      <pubDate>Fri, 12 Aug 2005 08:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602548#M823016</guid>
      <dc:creator>Rajesh SB</dc:creator>
      <dc:date>2005-08-12T08:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602549#M823017</link>
      <description>If your oracle startup/shutdown scripts can write the PIDs into /var/run/oracle.pid files then when you stop/start the PIDs will be correct in here, and your monitor script can reference these.</description>
      <pubDate>Fri, 12 Aug 2005 09:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602549#M823017</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-08-12T09:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: rman and cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602550#M823018</link>
      <description>In our environment the standard Oracle SG package used a file called /etc/cmcluster/[package_name]/monitor.&lt;BR /&gt;&lt;BR /&gt;If the file existed then the system didn't monitor the database (this is how we do maintenance, including cold back ups).&lt;BR /&gt;When finished just delete/rename the file.&lt;BR /&gt;&lt;BR /&gt;Check your package for this functionality, it may already be in there.</description>
      <pubDate>Fri, 12 Aug 2005 12:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rman-and-cluster/m-p/3602550#M823018</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-08-12T12:46:16Z</dc:date>
    </item>
  </channel>
</rss>

