联系:手机/微信(+86 17813235971) QQ(107644445)
标题:利用createGoldImage 创建 19.11(含202104patch)完整版db和grid
作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]
最近实施了一套19c rac并且打上patch 32545008(GI Update 202104)和32399816(OJVM Update 202104),通过createGoldImage 创建了安装程序,直接使用该zip包即可安装含gi/db(含ojvm) 2021年4月的patch
[oracle@dzbl1 ~]$ $ORACLE_HOME/runInstaller -createGoldImage -silent -destinationLocation /tmp/soft_img Launching Oracle Database Setup Wizard... Successfully Setup Software. Gold Image location: /tmp/soft_img/db_home_2021-05-20_09-05-40PM.zip [oracle@dzbl1 ~]$ exit logout [root@dzbl1 ~]# su - grid Last login: Thu May 20 20:57:05 CST 2021 [grid@dzbl1 ~]$ ./gridSetup.sh -createGoldImage -silent -destinationLocation /tmp/soft_img -bash: ./gridSetup.sh: No such file or directory [grid@dzbl1 ~]$ $ORACLE_HOME/gridSetup.sh -createGoldImage -silent -destinationLocation /tmp/soft_img Launching Oracle Grid Infrastructure Setup Wizard... Successfully Setup Software. Gold Image location: /tmp/soft_img/grid_home_2021-05-20_09-13-58PM.zip [grid@dzbl1 ~]$ md5sum /tmp/soft_img/grid_home_2021-05-20_09-13-58PM.zip 7cefb1be8ead8250435d5a95785d1239 /tmp/soft_img/grid_home_2021-05-20_09-13-58PM.zip [grid@dzbl1 ~]$ md5sum /tmp/soft_img/db_home_2021-05-20_09-05-40PM.zip 325841792c44f168c524b440440773b0 /tmp/soft_img/db_home_2021-05-20_09-05-40PM.zip [grid@dzbl1 ~]$ opatch lspatches 32585572;DBWLM RELEASE UPDATE 19.0.0.0.0 (32585572) 32584670;TOMCAT RELEASE UPDATE 19.0.0.0.0 (32584670) 32579761;OCW RELEASE UPDATE 19.11.0.0.0 (32579761) 32576499;ACFS RELEASE UPDATE 19.11.0.0.0 (32576499) 32545013;Database Release Update : 19.11.0.0.210420 (32545013) OPatch succeeded. [grid@dzbl1 ~]$ su - oracle Password: Last login: Thu May 20 21:04:33 CST 2021 on pts/1 [oracle@dzbl1 ~]$ opatch lspatches 32399816;OJVM RELEASE UPDATE: 19.11.0.0.210420 (32399816) 32579761;OCW RELEASE UPDATE 19.11.0.0.0 (32579761) 32545013;Database Release Update : 19.11.0.0.210420 (32545013) OPatch succeeded. [oracle@dzbl1 ~]$ ls -l /tmp/soft_img/ total 9225956 -rw-r--r-- 1 oracle oinstall 4268265132 May 20 21:13 db_home_2021-05-20_09-05-40PM.zip -rw-r--r-- 1 grid oinstall 5179109549 May 20 21:21 grid_home_2021-05-20_09-13-58PM.zip [oracle@dzbl1 ~]$
下载到win,并且按照oracle官方命名方式进程重命名,并且md5验证,确定文件完整性
C:\Users\XFF>CertUtil -hashfile E:\vm_shared\LINUX.X64_1911000_grid_home.zip md5 MD5 的 E:\vm_shared\LINUX.X64_1911000_grid_home.zip 哈希: 7cefb1be8ead8250435d5a95785d1239 CertUtil: -hashfile 命令成功完成。 C:\Users\XFF>CertUtil -hashfile E:\vm_shared\LINUX.X64_1911000_db_home.zip md5 MD5 的 E:\vm_shared\LINUX.X64_1911000_db_home.zip 哈希: 325841792c44f168c524b440440773b0 CertUtil: -hashfile 命令成功完成。
通过此类方法,可以自己制作19c含patch版本的安装介质