DG环境搭建需求,因此安装与主库相同的软件版本

1.主库软件版本10.2.0.5.12

2dg环境提供的是全新的10.2.0.4.0

3.安装步骤,安装10.2.0.5 静默安装

psu安装10.2.0.5.12

  1. 前期准备:
  2. 生产环境
  3. SQL>select * from dba_registry_history;
  4. ACTION_TIME ACTION NAMESPACE VERSION ID BUNDL COMMENTS
  5. ----------------------------------- --------------- ---------- ---------- ---------- ----- -------------------------
  6. -SEP- 09.05.16.192055 PM VIEW RECOMPILE view recompilation
  7. -SEP- 09.05.16.206264 PM UPGRADE SERVER 10.2.0.5. Upgraded from 10.2.0.4.
  8. -SEP- 09.15.20.187048 PM APPLY SERVER 10.2.0.5 PSU PSU 10.2.0.5.
  9.  
  10. [oracle@qisdb OPatch]$ ./opatch lsinventory
  11. Oracle Database 10g 10.2.0.1.
  12. Oracle Database 10g Release Patch Set 10.2.0.4.
  13. Oracle Database 10g Release Patch Set 10.2.0.5.
  14. Patch : applied on Fri Sep :: HKT
  15. Unique Patch ID:
  16.  
  17. dg环境
  18. [oracle@qisdbdg OPatch]$ ./opatch lsinventory
  19. OPatch version : 10.2.0.4.
  20. OUI version : 10.2.0.4.
  21. Oracle Database 10g 10.2.0.1.
  22. Oracle Database 10g Release Patch Set 10.2.0.4.
  23.  
  24. 下载ORALCE 介质 10.2.0.5 软件包,及补丁包 ,pus 10.2.0.5. psu
  25. 补丁程序8202632: 10.2.0.5 PATCH SET FOR ORACLE DATABASE SERVER
  26. 10g Release (10.2.0.5) Patch Set for Linux x86-
  27.  
  28. 第一步. 安装10.2.0. psu
  29. [oracle@qisdbdg soft]$ unzip p8202632_10205_Linux-x86-.zip
  30.  
  31. )阅读 README
  32. Oracle Universal Installer Version Requirements
  33. This is not a complete software distribution. You must install it in an existing Oracle Database 10g (10.2..x) installation.
  34. 需要实现安装10.2.0.x版本的oracle软件
  35. 9.2 Installing the Oracle Database 10g Patch Set Noninteractively
  36. To install the Oracle Database 10g patch set noninteractively:
  37. .Copy the response file template provided in the response directory where you unpacked the patch set archive file.
  38. .Edit the values for all fields labeled as <Value Required> as described by the comments and examples in the template.
  39. Note:
  40. For Oracle RAC installations, make sure the CLUSTER_NODES variable specifies all of the nodes used in the original Oracle RAC installation.
  41. .To run Oracle Universal Installer, enter a command similar to the following, where response_file is the full path to the response file that you edited:
  42. $ ./runInstaller -silent -responseFile response_file
  43. .After the installation, run the $ORACLE_HOME/root.sh script as the root user. If you are applying the patch set to an Oracle RAC installation, then run the root.sh script on each node of the cluster.
  44. Note:
  45. If you are applying this patch set to an Oracle Clusterware installation, then complete all the steps in the CRS_home/install/readme.txt file. You must run this script as the root user on all nodes.
  46.  
  47. --查询信息
  48. /oracle/oraInventory/ContentsXML
  49. [oracle@qisdbdg ContentsXML]$ cat inventory.xml
  50. <HOME NAME="OraDb10g_home1"
  51. [oracle@qisdbdg ContentsXML]$ id oracle
  52. uid=(oracle) gid=(dba) groups=(dba)
  53. [oracle@qisdbdg ContentsXML]$ echo $ORACLE_HOME
  54. /oracle/product/10.2.
  55.  
  56. 可以阅读/oracle/soft/Disk1/response,上传解压后response目录下的响应文件patchset.rsp
  57. # Specify whether user doesn't want to configure Security Updates.
  58. # The value for this variable should be true if you don't want to configure
  59. # Security Updates, false otherwise.
  60. # The value can be either true or false. If left blank it will be assumed
  61. # to be false.
  62. # Example : DECLINE_SECURITY_UPDATES=false
  63.  
  64. [oracle@qisdbdg response]$ pwd
  65. /oracle/soft/Disk1/response
  66. [oracle@qisdbdg response]$ vi patchset.rsp
  67. 配置rsp文件
  68. UNIX_GROUP_NAME="dba"
  69. FROM_LOCATION="/oracle/soft/Disk1/stage/products.xml"
  70. ORACLE_HOME="/oracle/product/10.2.0/"
  71. ORACLE_HOME_NAME="OraDb10g_home1"
  72. MYORACLESUPPORT_USERNAME=""
  73. MYORACLESUPPORT_PASSWORD=""
  74. DECLINE_SECURITY_UPDATES=true
  75.  
  76. 升级软件
  77. $ ./runInstaller -silent -responseFile /oracle/soft/Disk1/response/patchset.rsp
  78.  
  79. --最开始自己写了个rsp响应文件,一直提示如下报错,后续直接编辑oracle 提供的响应文件进行调用安装通过。
  80. SEVERE:Values for the following variables could not be obtained from the command line or response file(s):
  81. ORACLE_HOME(OracleHome),
  82. ORACLE_HOME_NAME(OracleHomeName)
  83.  
  84. 参考
  85. http://blog.itpub.net/11590946/viewspace-1086257/
  86. https://blog.csdn.net/csdn909034/article/details/100321430
  87.  
  88. [oracle@qisdbdg Disk1]$ ./runInstaller -silent -responseFile /oracle/soft/Disk1/response/patchset.rsp
  89. Starting Oracle Universal Installer...
  90. Checking installer requirements...
  91. Checking operating system version: must be redhat-, SuSE-, SuSE-, redhat-, redhat-, redhat-, UnitedLinux-1.0, asianux-, asianux-, asianux-, enterprise-, enterprise- or SuSE- Passed
  92. All installer requirements met.
  93. Loading Product Information
  94. .................................................................................................................. % Done.
  95. Starting execution of Prerequisites...
  96. Total No of checks:
  97. Performing check for CertifiedVersions
  98. Checking operating system requirements ...
  99. Expected result: One of redhat-,redhat-,redhat-,redhat-,SuSE-,SuSE-,SuSE-,asianux-,asianux-,asianux-
  100. Actual Result: redhat-
  101. Check complete. The overall result of this check is: Passed
  102. Check complete: Passed
  103. =======================================================================
  104. Performing check for Packages
  105. Checking operating system package requirements ...
  106. Checking for make-3.81; found make-:3.81-.el5. Passed
  107. Checking for binutils-2.17.50.0.; found binutils-2.17.50.0.-.el5. Passed
  108. Checking for gcc-4.1.; found gcc-4.1.-.el5. Passed
  109. Checking for libaio-0.3.; found libaio-0.3.-3.2. Passed
  110. Checking for libstdc++-4.1.; found libstdc++-4.1.-.el5. Passed
  111. Check complete. The overall result of this check is: Passed
  112. Check complete: Passed
  113. =======================================================================
  114. Performing check for Kernel
  115. Checking kernel parameters
  116. Checking for semmsl=; found semmsl=. Passed
  117. Checking for semmns=; found semmns=. Passed
  118. Checking for semopm=; found semopm=. Passed
  119. Checking for semmni=; found semmni=. Passed
  120. Checking for shmmax=; found shmmax=. Passed
  121. Checking for shmmni=; found shmmni=. Passed
  122. Checking for shmall=; found shmall=. Passed
  123. Checking for file-max=; found file-max=. Failed <<<<
  124. Checking for VERSION=2.6.; found VERSION=2.6.-.el5. Passed
  125. Checking for ip_local_port_range= - ; found ip_local_port_range= - . Failed <<<<
  126. Checking for rmem_default=; found rmem_default=. Failed <<<<
  127. Checking for rmem_max=; found rmem_max=. Failed <<<<
  128. Checking for wmem_default=; found wmem_default=. Passed
  129. Checking for wmem_max=; found wmem_max=. Passed
  130. Check complete. The overall result of this check is: Failed <<<<
  131. Check complete: Failed <<<<
  132. Problem: The kernel parameters do not meet the minimum requirements (see above).
  133. Recommendation: Perform operating system specific instructions to update the kernel parameters.
  134. =======================================================================
  135. Performing check for GLIBC
  136. Checking Recommended glibc version
  137. Expected result: ATLEAST=2.5- NOT_EQUALS=2.5-
  138. Actual Result: 2.5-
  139. Check complete. The overall result of this check is: Passed
  140. Check complete: Passed
  141. =======================================================================
  142. Performing check for TotalMemory
  143. Checking physical memory requirements ...
  144. Expected result: 922MB
  145. Actual Result: 16048MB
  146. Check complete. The overall result of this check is: Passed
  147. Check complete: Passed
  148. =======================================================================
  149. Performing check for SwapSpace
  150. Checking available swap space requirements ...
  151. Expected result: 12036MB
  152. Actual Result: 9983MB
  153. Check complete. The overall result of this check is: Failed <<<<
  154. Check complete: Failed <<<<
  155. Problem: The system does not have the required swap space.
  156. Recommendation: Make more swap space available to perform the install.
  157. =======================================================================
  158. Performing check for checkToInstallCCR
  159. Checking the Components installed in Oracle Home
  160. Check complete. The overall result of this check is: Passed
  161. Check complete: Passed
  162. =======================================================================
  163. Performing check for CompatibilityChecks
  164. Checking for Oracle Home incompatibilities ...
  165. Check complete. The overall result of this check is: Passed
  166. Check complete: Passed
  167. =======================================================================
  168. PrereqChecks complete
  169. Analyzing dependencies
  170. ...................................................................................................... % Done.
  171. -----------------------------------------------------------------------------
  172. Summary
  173. Global Settings
  174. Source: /oracle/soft/Disk1/stage/products.xml
  175. Oracle Home: /oracle/product/10.2. (OraDb10g_home1)
  176. Product Languages
  177. English
  178. Space Requirements
  179. / Required 139MB (includes 54MB temporary) : Available .53GB
  180. New Installations ( products)
  181. Oracle interMedia Annotator 10.2.0.5.
  182. Enterprise Manager Minimal Integration 10.2.0.5.
  183. Parser Generator Required Support Files 10.2.0.5.
  184. Buildtools Common Files 10.2.0.5.
  185. Oracle UIX 2.2.24.6.
  186. Bali Share 1.1.19.0.
  187. Upgrades ( products)
  188. Oracle Notification Service Patch 10.2.0.5.
  189. Database Configuration and Upgrade Assistants Patch 10.2.0.5.
  190. Character Set Migration Utility Patch 10.2.0.5.
  191. Oracle Database 10g Patch 10.2.0.5.
  192. Oracle JDBC/OCI Instant Client Patch 10.2.0.5.
  193. Oracle Database 10g Patch 10.2.0.5.
  194. Enterprise Manager plugin Common Files Patch 10.2.0.5.
  195. SQL*Plus 10.2.0.5.
  196. HAS Common Files Patch 10.2.0.5.
  197. HAS Files for DB Patch 10.2.0.5.
  198. Oracle Java Client Patch 10.2.0.5.
  199. Oracle JVM Patch 10.2.0.5.
  200. Oracle Internet Directory Client Patch 10.2.0.5.
  201. iSQL*Plus 10.2.0.5.
  202. Oracle Advanced Security Patch 10.2.0.5.
  203. Oracle Net Patch 10.2.0.5.
  204. Oracle Net Listener Patch 10.2.0.5.
  205. Oracle Wallet Manager Patch 10.2.0.5.
  206. Precompiler Common Files Patch 10.2.0.5.
  207. Secure Socket Layer Patch 10.2.0.5.
  208. Oracle ODBC Driver Patch 10.2.0.5.
  209. Oracle OLAP Patch 10.2.0.5.
  210. Oracle OLAP API Patch 10.2.0.5.
  211. OLAP SQL Scripts Patch 10.2.0.5.
  212. Oracle interMedia Client Option Patch 10.2.0.5.
  213. Oracle Database 10g interMedia Files Patch 10.2.0.5.
  214. Oracle interMedia Patch 10.2.0.5.
  215. PL/SQL Embedded Gateway Patch 10.2.0.5.
  216. Oracle XML Development Kit Patch 10.2.0.5.
  217. Oracle Text Patch 10.2.0.5.
  218. Oracle Clusterware RDBMS Files Patch 10.2.0.5.
  219. Database SQL Scripts Patch 10.2.0.5.
  220. Oracle Data Mining RDBMS Files Patch 10.2.0.5.
  221. Generic Connectivity Common Files Patch 10.2.0.5.
  222. Oracle Net Required Support Files Patch 10.2.0.5.
  223. Oracle Starter Database Patch 10.2.0.5.
  224. Sample Schema Data Patch 10.2.0.5.
  225. Oracle interMedia Locator RDBMS Files Patch 10.2.0.5.
  226. Oracle Call Interface (OCI) Patch 10.2.0.5.
  227. Oracle OLAP RDBMS Files Patch 10.2.0.5.
  228. PL/SQL 10.2.0.5.
  229. Oracle Recovery Manager Patch 10.2.0.5.
  230. Oracle Database Utilities Patch 10.2.0.5.
  231. Oracle interMedia Locator Patch 10.2.0.5.
  232. XML Parser for Java Patch 10.2.0.5.
  233. Assistant Common Files Patch 10.2.0.5.
  234. Oracle JDBC Thin Driver for JDK 1.2 Patch 10.2.0.5.
  235. Oracle JDBC Thin Driver for JDK 1.4 Patch 10.2.0.5.
  236. Oracle interMedia Java Advanced Imaging Patch 10.2.0.5.
  237. SQLJ Runtime Patch 10.2.0.5.
  238. XML Parser for Oracle JVM Patch 10.2.0.5.
  239. Enterprise Manager Agent DB 10.2.0.5.
  240. Enterprise Manager Baseline 10.2.0.5.
  241. Oracle Enterprise Manager Console DB 10.2.0.5.
  242. XDK Required Support Files Patch 10.2.0.5.
  243. Agent Required Support Files Patch 10.2.0.5.
  244. DBJAVA Required Support Files Patch 10.2.0.5.
  245. LDAP Required Support Files Patch 10.2.0.5.
  246. Precompiler Required Support Files Patch 10.2.0.5.
  247. Oracle RAC Required Support Files-HAS Patch 10.2.0.5.
  248. RDBMS Required Support Files for Instant Client Patch 10.2.0.5.
  249. RDBMS Required Support Files Patch 10.2.0.5.
  250. SQL*Plus Required Support Files Patch 10.2.0.5.
  251. SSL Required Support Files for InstantClient Patch 10.2.0.5.
  252. Installation Common Files Patch 10.2.0.5.
  253. Oracle Globalization Support Patch 10.2.0.5.
  254. Oracle Core Required Support Files Patch 10.2.0.5.
  255. Platform Required Support Files 10.2.0.5.
  256. Oracle Message Gateway Common Files Patch 10.2.0.5.
  257. Enterprise Manager Agent Core Patch 10.2.0.5.0a
  258. Enterprise Manager Common Core Patch 10.2.0.5.0a
  259. Enterprise Manager Repository Core patch 10.2.0.5.0a
  260. Oracle Containers for Java 10.2.0.5.
  261. Enterprise Manager Repository DB 10.2.0.5.
  262. Oracle LDAP administration patch 10.2.0.5.
  263. Oracle Required Support Files bit Patch 10.2.0.5.
  264. JDBC Common Files 10.2.0.5.
  265. Database Workspace Manager 10.2.0.5.
  266. Oracle Real Application Testing 10.2.0.5.
  267. Oracle Configuration Manager 10.3.2.1.
  268. Oracle Universal Installer 10.2.0.5.
  269. Oracle One-Off Patch Installer 10.2.0.4.
  270. Installer SDK Component 10.2.0.5.
  271. Sun JDK 1.4.2.14.
  272. Already Installed ( products)
  273. Oracle Notification Service 10.1.0.3.
  274. Database Configuration and Upgrade Assistants 10.2.0.1.
  275. Character Set Migration Utility 10.2.0.1.
  276. Oracle Database 10g 10.2.0.1.
  277. Oracle JDBC/OCI Instant Client 10.2.0.1.
  278. Oracle Database 10g 10.2.0.1.
  279. Enterprise Manager plugin Common Files 10.2.0.1.
  280. SQL*Plus 10.2.0.1.
  281. HAS Common Files 10.2.0.1.
  282. HAS Files for DB 10.2.0.1.
  283. Oracle Java Client 10.2.0.1.
  284. Oracle JVM 10.2.0.1.
  285. Oracle Internet Directory Client 10.2.0.1.
  286. iSQL*Plus 10.2.0.1.
  287. Oracle Advanced Security 10.2.0.1.
  288. Oracle Net 10.2.0.1.
  289. Oracle Net Listener 10.2.0.1.
  290. Oracle Wallet Manager 10.2.0.1.
  291. Precompiler Common Files 10.2.0.1.
  292. Secure Socket Layer 10.2.0.1.
  293. Oracle ODBC Driver 10.2.0.1.
  294. Oracle OLAP 10.2.0.1.
  295. Oracle OLAP API 10.2.0.1.
  296. OLAP SQL Scripts 10.2.0.1.
  297. Oracle interMedia Client Option 10.2.0.1.
  298. Oracle Database 10g interMedia Files 10.2.0.1.
  299. Oracle interMedia 10.2.0.1.
  300. PL/SQL Embedded Gateway 10.2.0.1.
  301. Oracle XML Development Kit 10.2.0.1.
  302. Oracle Text 10.2.0.1.
  303. Oracle Clusterware RDBMS Files 10.2.0.1.
  304. Database SQL Scripts 10.2.0.1.
  305. Oracle Data Mining RDBMS Files 10.2.0.1.
  306. Generic Connectivity Common Files 10.2.0.1.
  307. Oracle Net Required Support Files 10.2.0.1.
  308. Oracle Starter Database 10.2.0.1.
  309. Sample Schema Data 10.2.0.1.
  310. Oracle interMedia Locator RDBMS Files 10.2.0.1.
  311. Oracle Call Interface (OCI) 10.2.0.1.
  312. Oracle OLAP RDBMS Files 10.2.0.1.
  313. PL/SQL 10.2.0.1.
  314. Oracle Recovery Manager 10.2.0.1.
  315. Oracle Database Utilities 10.2.0.1.
  316. Oracle interMedia Locator 10.2.0.1.
  317. XML Parser for Java 10.2.0.1.
  318. Assistant Common Files 10.2.0.1.
  319. Oracle JDBC Thin Driver for JDK 1.2 10.2.0.1.
  320. Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.
  321. Oracle interMedia Java Advanced Imaging 10.2.0.1.
  322. SQLJ Runtime 10.2.0.1.
  323. XML Parser for Oracle JVM 10.2.0.1.
  324. Enterprise Manager Agent DB 10.2.0.1.
  325. Enterprise Manager Baseline 10.2.0.1.
  326. Oracle Enterprise Manager Console DB 10.2.0.1.
  327. XDK Required Support Files 10.2.0.1.
  328. Agent Required Support Files 10.2.0.1.
  329. DBJAVA Required Support Files 10.2.0.1.
  330. LDAP Required Support Files 10.2.0.1.
  331. Precompiler Required Support Files 10.2.0.1.
  332. Oracle RAC Required Support Files-HAS 10.2.0.1.
  333. RDBMS Required Support Files for Instant Client 10.2.0.1.
  334. RDBMS Required Support Files 10.2.0.1.
  335. SQL*Plus Required Support Files 10.2.0.1.
  336. SSL Required Support Files for InstantClient 10.2.0.1.
  337. Installation Common Files 10.2.0.1.
  338. Oracle Globalization Support 10.2.0.1.
  339. Oracle Core Required Support Files 10.2.0.1.
  340. Platform Required Support Files 10.2.0.1.
  341. Oracle Message Gateway Common Files 10.2.0.1.
  342. Enterprise Manager Agent Core 10.2.0.1.
  343. Enterprise Manager Common Files 10.2.0.1.
  344. Enterprise Manager Repository Core 10.2.0.1.
  345. Oracle Containers for Java 10.2.0.1.
  346. Enterprise Manager Repository DB 10.2.0.1.
  347. Oracle LDAP administration 10.2.0.1.
  348. Oracle Required Support Files bit 10.2.0.0.
  349. JDBC Common Files 10.2.0.1.
  350. Database Workspace Manager 10.2.0.1.
  351. Oracle interMedia Annotator 10.2.0.1.
  352. Enterprise Manager Minimal Integration 10.2.0.1.
  353. Parser Generator Required Support Files 10.2.0.1.
  354. Buildtools Common Files 10.2.0.1.
  355. Oracle UIX 2.1.22.0.
  356. Bali Share 1.1.18.0.
  357. Java Runtime Environment 1.4.2.14.
  358. -----------------------------------------------------------------------------
  359. Deinstall in progress (Thursday, November , :: AM CST)
  360. ............................................................... % Done.
  361. ............................................................... % Done.
  362. ............................................................... % Done.
  363. ............................................................... % Done.
  364. ............................................................... % Done.
  365. ............................................................... % Done.
  366. ............................................................... % Done.
  367. ............................................................... % Done.
  368. .................................. % Done.
  369.  
  370. Deinstall successful
  371.  
  372. Installation in progress (Thursday, November , :: AM CST)
  373. ............................................................... % Done.
  374. ............................................................... % Done.
  375. ............................................................... % Done.
  376. ............................................................... % Done.
  377. ............................................................... % Done.
  378. .............................................................. % Done.
  379. Install successful
  380.  
  381. Linking in progress (Thursday, November , :: AM CST)
  382. ... % Done.
  383. Link successful
  384.  
  385. Setup in progress (Thursday, November , :: AM CST)
  386. .......... % Done.
  387. Setup successful
  388.  
  389. End of install phases.(Thursday, November , :: AM CST)
  390. WARNING:
  391. The following configuration scripts need to be executed as the "root" user.
  392. #!/bin/sh
  393. #Root script to run
  394. /oracle/product/10.2./root.sh
  395. To execute the configuration scripts:
  396. . Open a terminal window
  397. . Log in as "root"
  398. . Run the scripts
  399.  
  400. The installation of Oracle Database 10g Release Patch Set was successful.
  401. Please check '/oracle/oraInventory/logs/silentInstall2019-11-28_11-07-51AM.log' for more details.
  402.  
  403. --
  404. Performing check for Kernel
  405. Checking kernel parameters
  406. Checking for semmsl=; found semmsl=. Passed
  407. Checking for semmns=; found semmns=. Passed
  408. Checking for semopm=; found semopm=. Passed
  409. Checking for semmni=; found semmni=. Passed
  410. Checking for shmmax=; found shmmax=. Passed
  411. Checking for shmmni=; found shmmni=. Passed
  412. Checking for shmall=; found shmall=. Passed
  413. Checking for file-max=; found file-max=. Failed <<<<
  414. Checking for VERSION=2.6.; found VERSION=2.6.-.el5. Passed
  415. Checking for ip_local_port_range= - ; found ip_local_port_range= - . Failed <<<<
  416. Checking for rmem_default=; found rmem_default=. Failed <<<<
  417. Checking for rmem_max=; found rmem_max=. Failed <<<<
  418. Checking for wmem_default=; found wmem_default=. Passed
  419. Checking for wmem_max=; found wmem_max=. Passed
  420. Check complete. The overall result of this check is: Failed <<<<
  421. Check complete: Failed <<<<
  422. Problem: The kernel parameters do not meet the minimum requirements (see above).
  423. Recommendation: Perform operating system specific instructions to update the kernel parameters.
  424.  
  425. #cat /etc/sysctl.conf
  426. kernel.shmmni=
  427. kernel.sem=
  428. fs.file-max=
  429. net.ipv4.ip_local_port_range=
  430. net.core.rmem_default=
  431. net.core.rmem_max=
  432. net.core.wmem_default=
  433. net.core.wmem_max=
  434.  
  435. 根据oracle 提供的建议值,进行调整修改
  436. 当前生效 执行
  437. /sbin/sysctl -p
  438. /sbin/sysctl -a --查看所有参数,验证
  439.  
  440. [root@qisdbdg soft]# /sbin/sysctl -a |grep -E "file-max|ip_local_port_range|rmem_default|rmem_max"
  441. net.ipv4.ip_local_port_range =
  442. net.core.rmem_default =
  443. net.core.rmem_max =
  444. fs.file-max =
  445.  
  446. ===================================================================================================
  447. 第二步. 10.2.0.5. psu安装
  448.  
  449. 阅读README
  450. 前提条件
  451. 要安装PSU 10.2.0.5.12补丁程序,Oracle主目录必须已安装10.2.0..0数据库。随后的PSU修补程序可以安装在Oracle Database 10.2.0.5.0上,也可以安装在第5个数字版本低于所安装版本的任何PSU上。
  452. 2.1 OPatch实用程序
  453. 您必须使用OPatch 10.2 10.2.0.5.0或更高版本来应用此补丁。Oracle建议您使用最新发行的OPatch 10.2,可以通过选择10.2.0..0版本从My Oracle Support补丁6880880下载该补丁。
  454. [oracle@qisdbdg OPatch]$ ./opatch version
  455. Invoking OPatch 10.2.0.4.
  456. OPatch Version: 10.2.0.4.
  457. OPatch succeeded.
  458. [oracle@qisdbdg OPatch]$ ./opatch lsinventory
  459. OPatch version : 10.2.0.4.
  460. Oracle Database 10g 10.2.0.1.
  461. Oracle Database 10g Release Patch Set 10.2.0.4.
  462. Oracle Database 10g Release Patch Set 10.2.0.5.
  463.  
  464. -- 274526.1
  465. [oracle@qisdbdg soft]$ unzip p6880880_102000_Linux-x86-.zip
  466. [oracle@qisdbdg 10.2.]$ mv OPatch OPatch_20191128.bak
  467. [oracle@qisdbdg soft]$ mv OPatch /oracle/product/10.2./.
  468. [oracle@qisdbdg OPatch]$ ./opatch version
  469. Invoking OPatch 10.2.0.5.
  470. OPatch Version: 10.2.0.5.
  471. OPatch succeeded.
  472.  
  473. .2补丁安装
  474. Set your current directory to the directory where the patch is located and then run the OPatch utility by entering the following commands:
  475. [oracle@qisdbdg soft]$ unzip p16619894_10205_Linux-x86-.zip
  476. [oracle@qisdbdg soft]$ cd
  477. /oracle/product/10.2./OPatch/opatch apply
  478. You have not provided an email address for notification of security issues. 回车跳过输入接收的email地址
  479. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:y 安全提示,yes 继续
  480. Is the local system ready for patching? [y|n] y 是否准备好了,yes
  481. ApplySession adding interim patch '' to inventory
  482. Verifying the update...
  483. Inventory check OK: Patch ID is registered in Oracle Home inventory with proper meta-data.
  484. Files check OK: Files from Patch ID are present in Oracle Home.
  485. The local system has been patched and can be restarted.
  486. OPatch succeeded.
  487.  
  488. [oracle@qisdbdg OPatch]$ ./opatch lsinventory
  489. Oracle Database 10g 10.2.0.1.
  490. Oracle Database 10g Release Patch Set 10.2.0.4.
  491. Oracle Database 10g Release Patch Set 10.2.0.5.
  492. Patch : applied on Thu Nov :: CST
  493. Unique Patch ID:

单实例dg软件从10.2.0.4版本安装至10.2.0.5.12的更多相关文章

  1. Oracle - 给rac创建单实例dg,并做主从切换

    一.概述 本文将介绍如何给rac搭建单节点的dg,以及如何对其进行角色转换.预先具备的知识(rac搭建,单实例-单实例dg搭建) 二.实验环境介绍 主库rac(已安装rac,并已有数据库orcl)ra ...

  2. oracle 单实例DG(搭建篇一)

    一,介绍 lodding... 二,安装前环境配置 01,依赖包的安装: yum install binutils-* yum install compat-libstdc++-* yum insta ...

  3. Oracle_lhr_CentOS 7.3 ECS上搭建RAC 18c+单实例DG+EMCC+DG的FSFO快速故障转移配置

    Oracle_lhr_CentOS 7.3  ECS上搭建RAC 18c+单实例DG+EMCC+DG的FSFO快速故障转移配置 [大型连续免费公开课]Oracle 18c rac+dg+13.3的em ...

  4. oracle rac切换到单实例DG后OGG的处理

    在RAC切换到单实例DG后,将OGG目录复制过去,在使用alter extract ext_name,begin now的时候报错 2016-04-10 11:27:03 WARNING OGG-01 ...

  5. 【转帖】sysbench使用教程(包含ubuntu自带的0.4版本、0.5版本和最新的1.0版本)

    sysbench使用教程(包含ubuntu自带的0.4版本.0.5版本和最新的1.0版本) 2018年08月10日 09:54:42 cxin917 阅读数 429   版权声明:本文为博主原创文章, ...

  6. oracle rac搭建单实例DG步骤(阅读全篇后再做)

    环境介绍 主库: 主机名 rac01 rac02 实体IP 10.206.132.232 10.206.132.233 私有IP 192.168.56.12 192.168.56.13 虚拟IP 10 ...

  7. oracle rac与单实例DG切换

    1.主库查看状态(RAC库) SQL> select database_role,switchover_status from v$database; DATABASE_ROLE SWITCHO ...

  8. _00024 尼娜抹微笑伊拉克_云计算ClouderaManager以及CHD5.1.0群集部署安装文档V1.0

    笔者博文:妳那伊抹微笑 itdog8 地址链接 : http://www.itdog8.com(个人链接) 博客地址:http://blog.csdn.net/u012185296 博文标题:_000 ...

  9. 近期Windows 10 RedStone 2 Insider版本安装进度停留在百分之23、24解决方案

    近期安装Windows 10 RedStone 2的14965.14971会出现停留在23%或者24%的现象,解决办法是拔掉扩展的SD卡再重新安装.

随机推荐

  1. 洛谷P3177 树上染色

    题目 一道非常好的树形DP. 状态:\(dp[u][n]\)为u的子树选n个黑点所能得到的收益最大值. 则最终的结果就是\(dp[root][k],\)\(root\)可以为任何值,为了方便,使\(r ...

  2. 原创:Spark中GraphX图运算pregel详解

    由于本人文字表达能力不足,还是多多以代码形式表述,首先展示测试代码,然后解释: package com.txq.spark.test import org.apache.spark.graphx.ut ...

  3. GoCN每日新闻(2019-10-18)

    GoCN每日新闻(2019-10-18) 在Go1.13使用Errors https://blog.golang.org/go1.13-errors Go的扁平化应用结构 https://www.ca ...

  4. 如何打开 win 10 内置应用

    gpedit.msc windows设置 安全设置 本地策略 安全选项 >> 用户账户控制:用于内置管理员账户的管理员批准模式:已启用

  5. SQL语句操作数据试题

    1.在SQL Server中,下列关于数据完整性的说法错误的是(). (选择一项) A:实体完整性要求表中的每一行数据都反映不同的试题,不能存在相同的数据行 B:域完整性是只给定列的输入有效性 C:在 ...

  6. mysql 组合聚集函数

    mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | t ...

  7. Predictive Analysis in Network Function Virtualization

    摘要 网络功能虚拟化(NFV)体系结构的最新部署获得了极大的关注.虚拟化虽然带来了诸如降低成本和简化网络功能部署之类的好处,但它增加了附加层,从而降低了较低层故障的透明度.为了改善虚拟网络功能(VNF ...

  8. 剑指offer:构建乘积数组

    题目描述: 给定一个数组A[0,1,...,n-1],请构建一个数组B[0,1,...,n-1],其中B中的元素B[i]=A[0]*A[1]*...*A[i-1]*A[i+1]*...*A[n-1]. ...

  9. Kali Linux之速会BEEF & XSS攻击

    beef 安装指南:https://github.com/beefproject/beef/wiki/Installation 升级ruby指南:https://www.cnblogs.com/waw ...

  10. Python之pandas读取mysql中文乱码问题

    # -*- coding: utf-8 -*- # author:baoshan import pandas as pd import pymysql config = { "host&qu ...