gamesofesire系列游戏一样的网站有哪些

升级步骤:
(1)&&&&备份数据库
(2)&&&&运行patchset,升级oracle&软件
(3)&&&&准备新的ORACLE_HOME
(4)&&&&运行dbua&或者脚本升级实例
(5)&&&&检查升级后的版本信息和无效对象
备份数据库
升级数据库是一个十分危险的事情,在生产库上,升级之前最好做一个全库的备份,以便在升级失败时可以还原数据库。
停掉所有与这个数据库相关的业务系统,如中间件。确定没有业务在运行。在数据库正常关闭后,还需要备份Oracle主目录,目的还是为了升级失败时,能够还原出数据库软件到升级前的版本。备份如下:tar&-xcvf&oracle11201_bak.tar.gz&$ORACLE_BASE。
我这里是测试环境,就不进行备份,如果是生产环境,切记要先备份,后操作。
如果是In-Place&Upgrade,同时备份一下整个ORACLE_HOME目录。&如果升级有问题,还可以还原回来。
重点是如下目录:
ORACLE_HOME/dbs
ORACLE_HOME/network/admin
ORACLE_HOME/hostname_dbname
ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_hostname_dbname
chmod&777&p040_Linux-x86-64_*&p040_Linux-x86-64.zip&p000_Linux-x86-64.zip&
一、原始状态
SQL&set&linesize&150
SQL&set&pagesize&9999
SQL&&col&comp_name&format&a40
SQL&&SELECT&COMP_NAME,&VERSION,&STATUS&FROM&SYS.DBA_REGISTRY;
关闭监听、关闭数据实例
二、把所有补丁软件都拷贝到/tmp,补丁包一共7个,只需要前2个就成
解压:unzip&p040_Linux-x86-64_1of7.zip&-d&/tmp&&&&unzip&p040_Linux-x86-64_2of7.zip&-d&/tmp
cd&/tmp/database
运行Patchset&的runInstaller
注意这里,我们选择第三个选项,skip&software&update,因为我们的patchset已经下载过了,如果选择第二个选项,会遇到如下错误,
INS-20704&Thelocation&provided&is&not&in&the&expected&directory&structure
Oracle&给的解决方式是用如下命令来执行:
./runInstaller&?downloadUpdates
但是这个命令需要收费的Metalink帐号。&MOS&的相关文档:
How&To&Download&The&Latest&Updates&AndPatches&Using&11.2.0.2&OUI&[ID&]
Error:&INS-20704&While&Installing&11.2.0.2with&&Use&pre-downloaded&software&updates&&Option&[ID&]
这里要注意,我们之前讲过11gR2的Patchset&可以直接用来安装。在这个界面就可以选择操作类型,这个功能比较方便,从而也导致patchset&越来越大,我们这里选择upgrade&an&existing&database。
注意这里的安装位置,我之前的安装目录是11.2.0,我新目录是11.2.0.4&即将oracle&安装到其他位置,这样可以减少宕机时间,也是oracle&推荐的方法。
执行到76%的时候弹出如下窗口:
下面就是一个配置监听的过程
随后就是&会自动调用DBUA&来升级我们的实例(1---7步)
三、然后,再修改oracle用户的.bash_profile
ORACLE_HOME=$ORACLE_BASE/product/11.2.0.4/db_1
然后source&~/.bash_profile
四、查看&cat&/etc/oratab&&&【内容应该是新目录】
五、登录查看,升级后版本
[oracle@DB200&~]$&sqlplus&/&as&sysdba
SQL*Plus:&Release&11.2.0.1.0&Production&on&Mon&May&25&22:00:21&2015
Copyright&(c)&,&Oracle.&&All&rights&reserved.
Connected&to:
Oracle&Database&11g&Enterprise&Edition&Release&11.2.0.4.0&-&64bit&Production
With&the&Partitioning,&OLAP,&Data&Mining&and&Real&Application&Testing&options
六、11.2.0.4.0升级到11.2.0.4.3(打patch,关闭实例与监听)
到/tmp找到p040_Linux-x86-64.zip
unzip&p040_Linux-x86-64.zip
$ORACLE_HOME/OPatch/opatch&apply&&
1.&Oracle&Home&&&&&&&:&/u01/app/oracle/product/11g&&
2.&Central&Inventory&:&/u01/app/oraInventory&&
3.&&&&from&&&&&&&&&&&:&/u01/app/oracle/product/11g/oraInst.loc&&
4.&OPatch&version&&&&:&11.2.0.3.5&&
5.&OUI&version&&&&&&&:&11.2.0.4.0&&
6.&Log&file&location&:&/u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch_03-10-08AM_1.log&&
报错了&&找到日志/u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch_03-10-08AM_1.log
提示要打补丁得升级opatch(p000_Linux-x86-64.zip&总是最新的opatch)
oracle用户执行
mv&$ORACLE_HOME/OPatch/&$ORACLE_HOME/OPatch.bak
oracle用户执行
unzip&/tmp/p000_Linux-x86-64.zip&-d&$ORACLE_HOME/
然后再执行opatch应用&
$ORACLE_HOME/OPatch/opatch&apply
1.&Oracle&Interim&Patch&Installer&version&11.2.0.3.6&&
2.&Copyright&(c)&2013,&Oracle&Corporation.&&All&rights&reserved.&&
5.&Oracle&Home&&&&&&&:&/u01/app/oracle/product/11g&&
6.&Central&Inventory&:&/u01/app/oraInventory&&
7.&&&&from&&&&&&&&&&&:&/u01/app/oracle/product/11g/oraInst.loc&&
8.&OPatch&version&&&&:&11.2.0.3.6&&
9.&OUI&version&&&&&&&:&11.2.0.4.0&&
10.&Log&file&location&:&/u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch_03-10-08AM_1.log&&
12.&Verifying&environment&and&performing&prerequisite&checks...&&
13.&OPatch&continues&with&these&patches:&&&031668&&&&
15.&Do&you&want&to&proceed?&[y|n]&&
17.&User&Responded&with:&Y&&
18.&All&checks&passed.&&
19.&Provide&your&email&address&to&be&informed&of&security&issues,&install&and&&
20.&initiate&Oracle&Configuration&Manager.&Easier&for&you&if&you&use&your&My&&
21.&Oracle&Support&Email&address/User&Name.&&
22.&Visit&/support/policies.html&for&details.&&
23.&Email&address/User&Name:&&&
25.&You&have&not&provided&an&email&address&for&notification&of&security&issues.&&
26.&Do&you&wish&to&remain&uninformed&of&security&issues&([Y]es,&[N]o)&[N]:&&y&&
30.&Please&shutdown&Oracle&instances&running&out&of&this&ORACLE_HOME&on&the&local&system.&&
31.&(Oracle&Home&=&'/u01/app/oracle/product/11g')&&
34.&Is&the&local&system&ready&for&patching?&[y|n]&&
36.&User&Responded&with:&Y&&
37.&Backing&up&files...&&
38.&Applying&sub-patch&''&to&OH&'/u01/app/oracle/product/11g'&&
40.&Patching&component&oracle.rdbms,&11.2.0.4.0...&&
42.&Patching&component&oracle.rdbms.rsf,&11.2.0.4.0...&&
44.&Patching&component&oracle.sdo,&11.2.0.4.0...&&
46.&Patching&component&oracle.sysman.agent,&10.2.0.4.5...&&
48.&Patching&component&oracle.xdk,&11.2.0.4.0...&&
50.&Patching&component&oracle.rdbms.dbscripts,&11.2.0.4.0...&&
52.&Patching&component&oracle.sdo.locator,&11.2.0.4.0...&&
54.&Patching&component&oracle.nlsrtl.rsf,&11.2.0.4.0...&&
56.&Patching&component&oracle.xdk.rsf,&11.2.0.4.0...&&
58.&Patching&component&oracle.rdbms.rman,&11.2.0.4.0...&&
60.&Verifying&the&update...&&
61.&Applying&sub-patch&''&to&OH&'/u01/app/oracle/product/11g'&&
63.&Patching&component&oracle.rdbms,&11.2.0.4.0...&&
65.&Patching&component&oracle.rdbms.rsf,&11.2.0.4.0...&&
67.&Patching&component&oracle.ldap.rsf,&11.2.0.4.0...&&
69.&Patching&component&oracle.rdbms.crs,&11.2.0.4.0...&&
71.&Patching&component&mon,&11.2.0.4.0...&&
73.&Patching&component&oracle.ldap.rsf.ic,&11.2.0.4.0...&&
75.&Patching&component&oracle.rdbms.deconfig,&11.2.0.4.0...&&
77.&Patching&component&oracle.rdbms.dbscripts,&11.2.0.4.0...&&
79.&Patching&component&oracle.rdbms.rman,&11.2.0.4.0...&&
81.&Verifying&the&update...&&
83.&OPatch&found&the&word&&warning&&in&the&stderr&of&the&make&command.&&
84.&Please&look&at&this&stderr.&You&can&re-run&this&make&command.&&
85.&Stderr&output:&&
86.&ins_emagent.mk:113:&warning:&overriding&commands&for&target&`nmosudo'&&
87.&ins_emagent.mk:52:&warning:&ignoring&old&commands&for&target&`nmosudo'&&
88.&/u01/app/oracle/product/11g/sysman/lib/ins_emagent.mk:113:&warning:&overriding&commands&for&target&`nmosudo'&&
89.&/u01/app/oracle/product/11g/sysman/lib/ins_emagent.mk:52:&warning:&ignoring&old&commands&for&target&`nmosudo'&&
92.&Composite&patch&&successfully&applied.&&
93.&OPatch&Session&completed&with&warnings.&&
94.&Log&file&location:&/u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch_03-10-08AM_1.log&&
96.&OPatch&completed&with&warnings.&&
98.&有2个警告,查了说明&&
99.&Warnings&may&be&returned&during&the&re-link&phase&of&.&These&warnings&may&be&ignored.&&
100.&warning:&overriding&commands&for&target&`nmosudo'&&
101.&warning:&ignoring&old&commands&for&target&`nmosudo'&&
1.&cd&$ORACLE_HOME/rdbms/admin&
2.&&sqlplus&/nolog&&
3.&SQL&&conn&/&as&sysdba
4.&SQL&&STARTUP&&
5.&SQL&&@catbundle.sql&psu&apply
6.&SQL&&QUIT&&
补丁升级检查
ACTION_TIME&&&||'----'||&
ACTION&&&&&&&&||'----'||&
NAMESPACE&&&&&||'----'||&
VERSION&&&&&&&||'----'||&
ID&&&&&&&&&&&&||'----'||&
BUNDLE_SERIES&||'----'||&
COMMENTS&&
from&dba_registry_&&&&&或者&&cd&$ORACLE_HOME/OPatch/
1.&[oracle@primary&11g]$&./opatch&lsinventory
2.&Oracle&Interim&Patch&Installer&version&11.2.0.3.6&&
3.&Copyright&(c)&2013,&Oracle&Corporation.&&All&rights&reserved.&&
6.&Oracle&Home&&&&&&&:&/u01/app/oracle/product/11g&&
7.&Central&Inventory&:&/u01/app/oraInventory&&
8.&&&&from&&&&&&&&&&&:&/u01/app/oracle/product/11g/oraInst.loc&&
9.&OPatch&version&&&&:&11.2.0.3.6&&
10.&OUI&version&&&&&&&:&11.2.0.4.0&&
11.&Log&file&location&:&/u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch_03-30-26AM_1.log&&
13.&Lsinventory&Output&file&location&:&/u01/app/oracle/product/11g/cfgtoollogs/opatch/lsinv/lsinventory_03-30-26AM.txt&&
15.&--------------------------------------------------------------------------------&&
16.&Installed&Top-level&Products&(1):&&&
18.&Oracle&Database&11g&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&11.2.0.4.0&&
19.&There&are&1&product(s)&installed&in&this&Oracle&Home.&&
22.&Interim&patches&(1)&:&&
24.&Patch&&&&&&&:&applied&on&Wed&Jun&11&03:12:47&CST&2014&&
25.&Unique&Patch&ID:&&&&
26.&Patch&description:&&&Database&Patch&Set&Update&:&11.2.0.4.2&()&&&
27.&&&&Created&on&20&Feb&:58&hrs&PST8PDT&&
28.&Sub-patch&&;&&Database&Patch&Set&Update&:&11.2.0.4.1&()&&&
29.&&&&Bugs&fixed:&&
30.&&&&&&614227&&
31.&&&&&&364795&&
32.&&&&&&761775&&
33.&&&&&&043574&&
34.&&&&&&239687&&
35.&&&&&&811456&&
36.&&&&&&866822&&
37.&&&&&&944971&&
38.&&&&&&180763&&
39.&&&&&&875449&&
40.&&&&&&031668&&
41.&&&&&&943711&&
42.&&&&&&618694&&
43.&&&&&&716305&&
47.&--------------------------------------------------------------------------------&&
49.&OPatch&succeeded. &&&&&
最后开启监听这是个机器人猖狂的时代,请输一下验证码,证明咱是正常人~当前位置:
>>>黑板上有11个1,22个2,33个3,44个4,做以下操作:每次擦掉3个不..
黑板上有11个1,22个2,33个3,44个4,做以下操作:每次擦掉3个不同的数字,并且把没擦掉的第四种数字多写2个.例如:某次操作擦掉1个1,1个2,1个3,那就在写上2个4,经过若干次操作后,黑板上只剩下3个数字,而且无法继续进行操作,那么最后剩下的三个数字的乘积是______.
题型:填空题难度:中档来源:不详
本题列表推理如下:最后剩下了2个2,一个3,它们的积是:2×2×3=12;故答案为:12.
马上分享给同学
据魔方格专家权威分析,试题“黑板上有11个1,22个2,33个3,44个4,做以下操作:每次擦掉3个不..”主要考查你对&&&&等考点的理解。关于这些考点的“档案”如下:
现在没空?点击收藏,以后再看。
因为篇幅有限,只列出部分考点,详细请访问。
发现相似题
与“黑板上有11个1,22个2,33个3,44个4,做以下操作:每次擦掉3个不..”考查相似的试题有:
933185932931931662933846934007934217

我要回帖

更多关于 gamesofesire换了网址 的文章

 

随机推荐