⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 4upgrade.htm

📁 Debian中文参考手册,系统介绍了Debian系统
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<P>  <PRE CLASS="CE2"><A NAME="10083"></A>$ pfsctl<A NAME="10084"></A>PFSCTL&gt; pfsboot<A NAME="10119"></A></PRE>  <LI CLASS="LA2" TYPE="a"><A NAME="10095"></A>Check the <CODE>$ORACLE_HOME/pfs/setup/PFS_Setup.log</CODE> file for messages. Messages that begin with <CODE>ORA-</CODE> and <CODE>PFS-</CODE> might help you resolve any problems you encounter. <P></UL></OL><A NAME="10187"></A><!--TOC=h1-"10187"--><H2 CLASS="H1"><FONT FACE="Arial, Helvetica, sans-serif" COLOR="#330099"> Upgrading from Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard Release 9.0.1.<EM CLASS="Italic">x</EM> and Oracle Parallel Fail Safe 8.1.7.2</FONT></H2><!--/TOC=h1--><A NAME="10191"></A><P CLASS="BP">This section describes how to upgrade to Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard Release 2 (9.2.0.1.0) if you currently use any of the following releases:</P><UL CLASS="LB1"><LI CLASS="LB1" TYPE="DISC"><A NAME="10198"></A>Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard Release 9.0.1.3<P><LI CLASS="LB1" TYPE="DISC"><A NAME="10202"></A>Oracle Parallel Fail Safe 8.1.7.2<P></UL><A NAME="10207"></A><P CLASS="BP">Perform the following steps:</P><OL CLASS="LN1" TYPE="1"><LI CLASS="LN1" TYPE="1" VALUE="1"><A NAME="10357"></A>Back up all Oracle configuration files. <P><A NAME="10686"></A><P CLASS="BP1">Remember to back up files in the <CODE>$ORACLE_HOME/network</CODE> and <CODE>$ORACLE_HOME/dbs</CODE> directories. If you perform OFA compliant installations, also make backups as follows: </P><OL CLASS="LA2" TYPE="a"><LI CLASS="LA2" TYPE="a" VALUE="1"><A NAME="10358"></A>Back up and remove all user-specific files by removing the following directories:<P>   <PRE CLASS="CE2"><A NAME="10694"></A>$ORACLE_HOME/pfs<A NAME="10695"></A>$ORACLE_BASE/admin/<EM CLASS="Italic">DB_NAME</EM>/pfs<A NAME="10696"></A>$ORACLE_BASE/admin/<EM CLASS="Italic">DB_NAME</EM>/pfile<A NAME="10697"></A>$ORACLE_BASE/admin/<EM CLASS="Italic">DB_NAME</EM>/network<A NAME="10363"></A></PRE>   <LI CLASS="LA2" TYPE="a"><A NAME="10364"></A>Back up the Oracle Service configuration file as follows:<P>  <PRE CLASS="CE2"><A NAME="10365"></A>$ cd $ORACLE_HOME/pfs/setup/conf <A NAME="10366"></A>$ cp $ORACLE_SERVICE.conf $ORACLE_SERVICE.conf.BACKUP92010<A NAME="10369"></A></PRE>  </OL><LI CLASS="LN1" TYPE="1" VALUE="2"><A NAME="10355"></A>Use the <CODE>pfsctl</CODE> utility to stop the Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard or Oracle Parallel Fail Safe software:<P> <OL CLASS="LA2" TYPE="a"><LI CLASS="LA2" TYPE="a" VALUE="1"><A NAME="10223"></A>Ensure that the following environment variables are set correctly:<P></OL><UL CLASS="LB2"><LI CLASS="LB2" TYPE="DISC"><A NAME="10224"></A>ORACLE_SERVICE<P><LI CLASS="LB2" TYPE="DISC"><A NAME="10225"></A>PFS_HOME<P><LI CLASS="LB2" TYPE="DISC"><A NAME="10226"></A>DB_NAME<P><LI CLASS="LA2" TYPE="a"><A NAME="10230"></A>Stop the Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard software:<P>  <PRE CLASS="CE2"><A NAME="10231"></A>$ pfsctl<A NAME="10232"></A>PFSCTL&gt; pfshalt<A NAME="10233"></A></PRE>  </UL><LI CLASS="LN1" TYPE="1" VALUE="3"><A NAME="10236"></A>Use the <CODE>pfssetup</CODE> utility to delete the old Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard Pack files:<P> <OL CLASS="LA2" TYPE="a"><LI CLASS="LA2" TYPE="a" VALUE="1"><A NAME="10238"></A>Run the <CODE>pfssetup</CODE> utility:<P>   <PRE CLASS="CE2"><A NAME="10239"></A>$ pfssetup<A NAME="10240"></A></PRE>   <LI CLASS="LA2" TYPE="a"><A NAME="10241"></A>Choose option 6 - All the files<P><LI CLASS="LA2" TYPE="a"><A NAME="10242"></A>Choose option 4 - Deinstall<P><A NAME="10370"></A><P CLASS="BP2">Note that this step does not remove the software files.</P> <LI CLASS="LA2" TYPE="a"><A NAME="10243"></A>Log in as the <CODE>root</CODE> user.<P><LI CLASS="LA2" TYPE="a"><A NAME="10244"></A>Run the <CODE>deletepacks</CODE> command to de-register the packs from the cluster framework:<P>  <PRE CLASS="CE2"><A NAME="10245"></A># cd $ORACLE_HOME/pfs/setup<A NAME="10246"></A># ./deletepacks<A NAME="10247"></A></PRE>  </OL><LI CLASS="LN1" TYPE="1" VALUE="4"><A NAME="10248"></A>Upgrade the Oracle Server to Oracle9<EM CLASS="Italic">i </EM>release 9.2.0.1. Following the instructions for migrating the Oracle Database in the Oracle9<EM CLASS="Italic">i </EM>Migration documentation. This step installs the Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard files.<P><LI CLASS="LN1" TYPE="1" VALUE="5"><A NAME="10249"></A>Test the Real Applications Clusters environment:<P> <OL CLASS="LA2" TYPE="a"><LI CLASS="LA2" TYPE="a" VALUE="1"><A NAME="10250"></A>Boot both nodes into cluster mode.<P><LI CLASS="LA2" TYPE="a"><A NAME="10251"></A>Run Real Applications Clusters on both nodes.<P></OL><A NAME="10252"></A><P CLASS="BP1">Make sure that Real Applications Clusters  and associated databases operate correctly independently of Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard before continuing.</P><LI CLASS="LN1" TYPE="1" VALUE="6"><A NAME="10270"></A>Configure Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard:<P> <OL CLASS="LA2" TYPE="a"><LI CLASS="LA2" TYPE="a" VALUE="1"><A NAME="10271"></A>Shut down both instances.<P><LI CLASS="LA2" TYPE="a"><A NAME="10272"></A>Copy the <CODE>savsetup.dat</CODE> file to <CODE>$ORACLE_SERVICE.conf</CODE>:<P>  <PRE CLASS="CE2"><A NAME="10273"></A>$ cd $ORACLE_HOME/pfs/setup/conf<A NAME="10274"></A>$ cp savsetup.dat $ORACLE_SERVICE.conf<A NAME="10275"></A></PRE>  <LI CLASS="LA2" TYPE="a"><A NAME="10276"></A>Update the <CODE>$ORACLE_SERVICE.conf</CODE> file using the configuration information from the <CODE>$ORACLE_SERVICE.conf.BACKUP92010</CODE> file you saved in step one.<P><LI CLASS="LA2" TYPE="a"><A NAME="10277"></A>Run the <CODE>pfssetup</CODE> utility:<P>  <PRE CLASS="CE2"><A NAME="10278"></A>$ pfssetup<A NAME="10279"></A></PRE>  <LI CLASS="LA2" TYPE="a"><A NAME="10280"></A>Choose option 6 - All the files<P><LI CLASS="LA2" TYPE="a"><A NAME="10281"></A>Choose option 1 - Generate Only<P><LI CLASS="LA2" TYPE="a"><A NAME="10282"></A>Choose option 6 - All the files<P><LI CLASS="LA2" TYPE="a"><A NAME="10283"></A>Choose option 2 - Deploy Only<P><LI CLASS="LA2" TYPE="a"><A NAME="10284"></A>Log in as the <CODE>root</CODE> user.<P><LI CLASS="LA2" TYPE="a"><A NAME="10285"></A>Run the <CODE>createpacks</CODE> command to register the packs from the cluster framework:<P>  <PRE CLASS="CE2"><A NAME="10286"></A># cd $ORACLE_HOME/pfs/setup<A NAME="10287"></A># ./createpacks<A NAME="10288"></A></PRE>  </OL><LI CLASS="LN1" TYPE="1" VALUE="7"><A NAME="10289"></A>Complete the installation:<P> <OL CLASS="LA2" TYPE="a"><LI CLASS="LA2" TYPE="a" VALUE="1"><A NAME="10290"></A>Modify the appropriate database initialization (<CODE>init.ora</CODE>) files to include the required Real Application Clusters Guard parameters as described in <A HREF="3postins.htm#153">Chapter&nbsp;3</a>.<P><LI CLASS="LA2" TYPE="a"><A NAME="10294"></A>Update the Real Application Clusters Guard generated <CODE>listener.ora</CODE> and <CODE>tnsnames.ora</CODE> files as described in <A HREF="3postins.htm#153">Chapter&nbsp;3</a>.<P><LI CLASS="LA2" TYPE="a"><A NAME="10298"></A>Test the Real Application Clusters environment, again, by running Real Applications Clusters and testing that the database is operating correctly.<P><LI CLASS="LA2" TYPE="a"><A NAME="10299"></A>Ensure that the following environment variables are set correctly:<P></OL><UL CLASS="LB2"><LI CLASS="LB2" TYPE="DISC"><A NAME="10300"></A>ORACLE_SERVICE<P><LI CLASS="LB2" TYPE="DISC"><A NAME="10301"></A>PFS_HOME<P><LI CLASS="LB2" TYPE="DISC"><A NAME="10302"></A>DB_NAME<P><LI CLASS="LA2" TYPE="a"><A NAME="10306"></A>Start the Oracle9<EM CLASS="Italic">i</EM> Real Application Clusters Guard software:<P>  <PRE CLASS="CE2"><A NAME="10307"></A>$ pfsctl<A NAME="10308"></A>PFSCTL&gt; pfsboot<A NAME="10309"></A></PRE>  <LI CLASS="LA2" TYPE="a"><A NAME="10310"></A>Check the <CODE>$ORACLE_HOME/pfs/setup/PFS_Setup.log</CODE> file for messages. Messages that begin with <CODE>ORA-</CODE> and <CODE>PFS-</CODE> might help you resolve any problems you encounter. <P></UL></OL><A NAME="10398"></A><!--TOC=h1-"10398"--><H2 CLASS="H1"><FONT FACE="Arial, Helvetica, sans-serif" COLOR="#330099"> Troubleshooting Tips</FONT></H2><!--/TOC=h1--><A NAME="10449"></A><P CLASS="BP">Consider the following points while troubleshooting an upgrade problem:</P><UL CLASS="LB1"><LI CLASS="LB1" TYPE="DISC"><A NAME="10401"></A>The following message might appear if the  <CODE>$ORACLE_HOME/pfs/setup/output/$ORACLE_SERVICE/packs</CODE> directory is not empty:<P>    <PRE CLASS="CE1"><A NAME="10406"></A>Alert: could not generate file properly - Packs files<A NAME="10458"></A></PRE>    <LI CLASS="LB1" TYPE="DISC"><A NAME="10408"></A>When performing an OFA compliant installation, user-specific configuration files might conflict with the new Real Application Clusters Guard files. Back up and remove these file to ensure a sucessful upgrade.<P><LI CLASS="LB1" TYPE="DISC"><A NAME="10486"></A>If the <CODE>pfshalt</CODE> or <CODE>haltone</CODE> commands fail while using the <CODE>pfsctl</CODE> utility, consider the following:<P><UL CLASS="LD2"><LI CLASS="LD2" TYPE="CIRCLE"><A NAME="10497"></A>Check the associated Real Application Clusters Guard log files, Oracle log files, network log files, and system log files for errors.<P><LI CLASS="LD2" TYPE="CIRCLE"><A NAME="10510"></A>Check the Real Application Clusters Guard Pack state using the <CODE>scstat</CODE> command. If a Real Application Clusters Guard is in a STOP_FAILED state,  investigate and correct the error before clearing the STOP_FAILED state and restarting the pack.<P></UL><A NAME="10521"></A><P CLASS="BP1">The following conditions might put the Real Application Clusters Guard in a STOP_FAILED state:</P><UL CLASS="LD2"><LI CLASS="LD2" TYPE="CIRCLE"><A NAME="10536"></A>The Oracle instance cannot be stopped.<P><LI CLASS="LD2" TYPE="CIRCLE"><A NAME="10546"></A>The relocatable IP cannot be disabled.<P><LI CLASS="LD2" TYPE="CIRCLE"><A NAME="10547"></A>A timeout occurs.<P></UL><A NAME="10556"></A><P CLASS="BP1">After correcting the condition and clearing the STOP_FAILED state, run the the <CODE>pfshalt</CODE> or <CODE>haltone</CODE> command again. These commands ensure that the system clears any processes, shared memory segments or other resources.</P><A NAME="10570"></A><P CLASS="BP1">For information on clearing the STOP_FAILED flag, refer to the section "Administering Data-Service Resources" in the Sun Cluster 3.0 U1 Data Services, Installation and Configuration Guide.</P></UL><!-- Start Footer --></DIV><DIV CLASS="OUTD"><HR><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"><TR><TD VALIGN="BOTTOM" WIDTH="33%"><TABLE CELLSPACING="0" CELLPADDING="0"><TR><TD ALIGN="CENTER"><A HREF="3postins.htm"><IMG SRC="../Support/gifs/larrow.gif" ALT="Go to previous page" BORDER="0" HEIGHT="30" WIDTH="30"></A></TD><TD ALIGN="CENTER"><A HREF="append_a.htm"><IMG SRC="../Support/gifs/rarrow.gif" ALT="Go to next page" BORDER="0" HEIGHT="30" WIDTH="30"></A></TD>    </TR></TABLE></TD><TD ALIGN="CENTER" WIDTH="34%"><A HREF="../Support/html/cpyr.htm"><IMG SRC="../Support/gifs/oracle.gif" ALT="Oracle" BORDER="0"><BR><FONT SIZE="-2">Copyright &copy; 1996&#044; 2002 Oracle Corporation.</FONT></A><BR><FONT SIZE="-2">All Rights Reserved.</FONT></TD><TD VALIGN="BOTTOM" ALIGN="RIGHT" WIDTH="33%"> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="144"><TR><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="25%"></TD><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="25%"><A HREF="../index.htm"><IMG SRC="../Support/gifs/bookicon.gif" ALT="Go To Product List" BORDER="0" HEIGHT="30" WIDTH="30"><BR><FONT SIZE="-2">Product</FONT></A></TD><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="25%"><A HREF="toc.htm"><IMG SRC="../Support/gifs/conticon.gif" ALT="Go To Table Of Contents" BORDER="0" HEIGHT="30"WIDTH="30"><BR><FONT SIZE="-2">Contents</FONT></A></TD><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="25%"><A HREF="index.htm"><IMG SRC="../Support/gifs/indxicon.gif" ALT="Go To Index" BORDER="0" HEIGHT="30"WIDTH="30"><BR><FONT SIZE="-2">Index</FONT></A></TD></TR></TABLE></TD></TR></TABLE>  </DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -