現(xiàn)象描述
最近在搭建4套雙RAC準(zhǔn)備測試ADG時,所有RAC應(yīng)用完最新補丁后,使用“crsctl query crs softwarepatch”命令核查grid的補丁號,發(fā)現(xiàn)其中一套RAC的兩個節(jié)點的結(jié)果不一樣。
跟蹤排查
[root@node21 ~]# /u01/app/19.3.0/grid/bin/kfod op=patches
---------------
List of Patches
===============
29401763
29517247
29585399
32585572
33192793
33208107
33208123
33239955
[root@node21 ~]# /u01/app/19.3.0/grid/bin/kfod op=PATCHLVL
---------------
Current Patch level
===================
92621972
[root@node22 ~]# /u01/app/19.3.0/grid/bin/kfod op=patches
---------------
List of Patches
===============
29401763
29517242
29517247
29585399
32585572
33192793
33208107
33208123
33239955
[root@node22 ~]# /u01/app/19.3.0/grid/bin/kfod op=PATCHLVL
---------------
Current Patch level
===================
1237854203
對比發(fā)現(xiàn),原來節(jié)點2的ASM里記錄的opatch信息多了一條記錄:29517242,導(dǎo)致的兩個節(jié)點的GI補丁號不一致。
解決方案
19
loading the appropriate library for linux
patchgensh19.so loaded succesfully.
Note: Successfully commited, created .s file with apply and recover patches
mv -f /u01/app/19.3.0/grid/lib/libasmclntsh19.so /u01/app/19.3.0/grid/lib/libasmclntsh19.so.bak
/usr/bin/as /u01/app/19.3.0/grid/rdbms/lib/skgfpmi.s -o /u01/app/19.3.0/grid/rdbms/lib/skgfpmi.o
/usr/bin/ar r /u01/app/19.3.0/grid/lib/libasmclnt19.a /u01/app/19.3.0/grid/rdbms/lib/skgfpmi.o
/usr/bin/ar r /u01/app/19.3.0/grid/lib/libasmclntsh19.a /u01/app/19.3.0/grid/rdbms/lib/skgfpmi.o
rm -f /u01/app/19.3.0/grid/rdbms/lib/skgfpmi.o
rm -f /u01/app/19.3.0/grid/rdbms/lib/skgfpmi.s
make /u01/app/19.3.0/grid/lib/libasmclntsh19.so -f /u01/app/19.3.0/grid/rdbms/lib/ins_rdbms.mk
make[1]: Entering directory `/home/grid
rm -f /u01/app/19.3.0/grid/lib/libasmclntsh19.so
/u01/app/19.3.0/grid/bin/linkshlib /u01/app/19.3.0/grid/lib/libasmclntsh19.so /u01/app/19.3.0/grid/rdbms/lib/ins_rdbms.mk so ld_shlib LIBS
+ PATH=/bin:/usr/bin:/usr/ccs/bin
+ export PATH
+ lib=/u01/app/19.3.0/grid/lib/libasmclntsh19.so
+ makefile=/u01/app/19.3.0/grid/rdbms/lib/ins_rdbms.mk
+ so_ext=so
+ target=ld_shlib
++ basename /u01/app/19.3.0/grid/lib/libasmclntsh19.so .so
+ libname=libasmclntsh19
++ dirname /u01/app/19.3.0/grid/lib/libasmclntsh19.so
+ sodir=/u01/app/19.3.0/grid/lib
+ ardir=/u01/app/19.3.0/grid/lib/
+ [ var = ld_shlib ]
+ suffix=LIBS
+ var=
+ [ ! -f /u01/app/19.3.0/grid/lib/libasmclntsh19.a ]
+ [ != ]
+ make -f /u01/app/19.3.0/grid/rdbms/lib/ins_rdbms.mk ld_shlib _FULL_LIBNAME=/u01/app/19.3.0/grid/lib/libasmclntsh19.so _LIBNAME=libasmclntsh19 _LIBDIR=/u01/app/19.3.0/grid/lib/ _LIBNAME_LIBS=$(libasmcl
ntsh19LIBS) _LIBNAME_EXTRALIBS=$(libasmclntsh19EXTRALIBS)make[2]: Entering directory `/home/grid
/u01/app/19.3.0/grid/bin/orald -o /u01/app/19.3.0/grid/lib/libasmclntsh19.so -shared -z noexecstack -Wl,--disable-new-dtags -L/tmp/bootstraplib/ -L/u01/app/19.3.0/grid/lib/ -L/u01/app/19.3.0/grid/rdbms/l
ib/ -L/u01/app/19.3.0/grid/lib/stubs/ -Wl,--version-script=/u01/app/19.3.0/grid/rdbms/admin/libasmclntsh19.def -Wl,--whole-archive /u01/app/19.3.0/grid/lib/libasmclntsh19.a -Wl,--no-whole-archive `cat /u01/app/19.3.0/grid/lib/sysliblist` -Wl,-rpath,/u01/app/19.3.0/grid/lib -lm `cat /u01/app/19.3.0/grid/lib/sysliblist` -ldl -lm -L/u01/app/19.3.0/grid/lib -lircmake[2]: Leaving directory `/home/grid
make[1]: Leaving directory `/home/grid
make libasmclntsh19.so returned code 0
step3 在節(jié)點2執(zhí)行補丁應(yīng)用腳本。
/u01/app/19.3.0/grid/rdbms/install/rootadd_rdbms.sh
/u01/app/19.3.0/grid/crs/install/rootcrs.sh -postpatch
更多精彩干貨分享
點擊下方名片關(guān)注
IT那活兒
文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請注明本文地址:http://specialneedsforspecialkids.com/yun/129739.html
集成安裝之Oracle12C補丁升級數(shù)據(jù)字典更新報錯處理 img{ display:block; margin:0 auto !important; width:100%; } body{ width:75%; ...
摘要:在函數(shù)式編程中,異步操作修改全局變量等與函數(shù)外部環(huán)境發(fā)生的交互叫做副作用通常認(rèn)為這些操作是邪惡骯臟的,并且也是導(dǎo)致的源頭。 注:這篇是17年1月的文章,搬運自本人 blog... https://github.com/BuptStEve/... 零、前言 在上一篇中介紹了 Redux 的各項基礎(chǔ) api。接著一步一步地介紹如何與 React 進(jìn)行結(jié)合,并從引入過程中遇到的各個痛點引出 ...
閱讀 1346·2023-01-11 13:20
閱讀 1684·2023-01-11 13:20
閱讀 1132·2023-01-11 13:20
閱讀 1858·2023-01-11 13:20
閱讀 4099·2023-01-11 13:20
閱讀 2704·2023-01-11 13:20
閱讀 1385·2023-01-11 13:20
閱讀 3594·2023-01-11 13:20