您好,登錄后才能下訂單哦!
安裝grid時,執行rootsh腳本報錯如下:
Adding Clusterware entries to inittab
USM driver install actions failed
/u01/app/11.2.0/grid/perl/bin/perl-I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install/u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
查看mos發現為一個bug,ROOT.SH OR ACFSROOT INSTALL,FAILS: ACFS-9109: SLES11 SP3。分別在節點1與節點2上打補丁。
unzip p17475946_112040_Linux-x86-64.zip
grid@jason2:/u01/app/11.2.0/grid/OPatch>./opatch napply -oh /u01/app/11.2.0/grid -local /mnt/17475946
Oracle Interim Patch Installer version11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
from :/u01/app/11.2.0/grid/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location :/u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch3015-05-15_09-04-45AM_1.log
Verifying environment and performingprerequisite checks...
OPatch continues with these patches: 17475946
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances runningout of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/11.2.0/grid')
Is the local system ready for patching?[y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '17475946' to OH'/u01/app/11.2.0/grid'
Patching component oracle.usm,11.2.0.4.0...
Verifying the update...
Patch 17475946 successfully applied.
Log file location:/u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch3015-05-15_09-04-45AM_1.log
OPatch succeeded.
grid@jason2:/u01/app/11.2.0/grid/OPatch>
Crsctl執行關閉時報錯。
jason1:/u01/app/11.2.0/grid/bin# ./crsctl stop crs
CRS-2791: Starting shutdownof Oracle High AvailabilityServices-managed resources on 'jason1'
CRS-2673: Attempting to stop'ora.crsd' on 'jason1'
CRS-2790: Starting shutdownof Cluster Ready Services-managedresources on 'jason1'
CRS-2673: Attempting to stop'ora.OCR.dg' on 'jason1'
CRS-2673: Attempting to stop'ora.registry.acfs' on 'jason1'
CRS-2673: Attempting to stop'ora.oracle.db' on 'jason1'
CRS-2673: Attempting to stop'ora.LISTENER_SCAN1.lsnr' on'jason1'
CRS-2673: Attempting to stop'ora.cvu' on 'jason1'
CRS-2673: Attempting to stop'ora.LISTENER.lsnr' on 'jason1'
CRS-2673: Attempting to stop'ora.oc4j' on 'jason1'
CRS-2677: Stop of 'ora.LISTENER.lsnr'on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.jason1.vip' on 'jason1'
CRS-2677: Stop of 'ora.cvu'on 'jason1' succeeded
CRS-2672: Attempting to start'ora.cvu' on 'jason2'
CRS-2677: Stop of'ora.LISTENER_SCAN1.lsnr' on 'jason1'succeeded
CRS-2673: Attempting to stop'ora.scan1.vip' on 'jason1'
CRS-2677: Stop of'ora.jason1.vip' on 'jason1' succeeded
CRS-2672: Attempting to start'ora.jason1.vip' on 'jason2'
CRS-2676: Start of 'ora.cvu'on 'jason2' succeeded
CRS-2677: Stop of 'ora.scan1.vip'on 'jason1' succeeded
CRS-2672: Attempting to start'ora.scan1.vip' on 'jason2'
CRS-2677: Stop of'ora.oracle.db' on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.DATA.dg' on 'jason1'
CRS-2673: Attempting to stop'ora.FRA.dg' on 'jason1'
CRS-2677: Stop of'ora.registry.acfs' on 'jason1' succeeded
CRS-2676: Start of'ora.jason1.vip' on 'jason2' succeeded
CRS-2676: Start of'ora.scan1.vip' on 'jason2' succeeded
CRS-2672: Attempting to start'ora.LISTENER_SCAN1.lsnr' on'jason2'
CRS-2677: Stop of'ora.OCR.dg' on 'jason1' succeeded
CRS-2677: Stop of'ora.FRA.dg' on 'jason1' succeeded
CRS-2677: Stop of'ora.DATA.dg' on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.asm' on 'jason1'
CRS-2676: Start of'ora.LISTENER_SCAN1.lsnr' on 'jason2'succeeded
CRS-2677: Stop of 'ora.asm'on 'jason1' succeeded
CRS-2677: Stop of 'ora.oc4j'on 'jason1' succeeded
CRS-2672: Attempting to start'ora.oc4j' on 'jason2'
CRS-2676: Start of 'ora.oc4j'on 'jason2' succeeded
CRS-2673: Attempting to stop'ora.ons' on 'jason1'
CRS-2677: Stop of 'ora.ons'on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.net1.network' on 'jason1'
CRS-2677: Stop of'ora.net1.network' on 'jason1' succeeded
CRS-2792: Shutdown of ClusterReady Services-managed resourceson 'jason1' has completed
CRS-2677: Stop of 'ora.crsd'on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.crf' on 'jason1'
CRS-2673: Attempting to stop'ora.ctssd' on 'jason1'
CRS-2673: Attempting to stop'ora.evmd' on 'jason1'
CRS-2673: Attempting to stop'ora.asm' on 'jason1'
CRS-2673: Attempting to stop'ora.mdnsd' on 'jason1'
CRS-2673: Attempting to stop'ora.drivers.acfs' on 'jason1'
CRS-2677: Stop of 'ora.crf'on 'jason1' succeeded
CRS-2677: Stop of 'ora.evmd'on 'jason1' succeeded
CRS-2677: Stop of 'ora.mdnsd'on 'jason1' succeeded
CRS-2677: Stop of 'ora.ctssd'on 'jason1' succeeded
CRS-5022: Stop of resource"ora.drivers.acfs" failed:current state is "UNKNOWN"
CRS-2675: Stop of'ora.drivers.acfs' on 'jason1' failed
CRS-2677: Stop of 'ora.asm'on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.cluster_interconnect.haip' on'jason1'
CRS-2677: Stop of'ora.cluster_interconnect.haip' on 'jason1'succeeded
CRS-2673: Attempting to stop'ora.cssd' on 'jason1'
CRS-2677: Stop of 'ora.cssd'on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.gipcd' on 'jason1'
CRS-2677: Stop of 'ora.gipcd'on 'jason1' succeeded
CRS-2673: Attempting to stop'ora.gpnpd' on 'jason1'
CRS-2677: Stop of 'ora.gpnpd'on 'jason1' succeeded
CRS-2799: Failed toshut down resource 'ora.drivers.acfs' on 'jason1'
CRS-2795: Shutdownof Oracle High Availability Services-managedresources on 'jason1' has failed
CRS-4687: Shutdowncommand has completed with errors.
CRS-4000: CommandStop failed, or completed with errors.
jason1:/u01/app/11.2.0/grid/bin#
查看crs日志發現每次關閉時否有如下日志存在
CRS-10001:07-Jan-16 23:23ACFS-9118: oracleacfs.ko driver in use - cannot unload
證明每次在關閉資源ora.drivers.acfs時,還有程序在使用該模塊導致關閉失敗。查看MOS內容如下:
SLES: 11.2.0.3 "crsctl stop crs" Fails to Stop ora.drivers.acfs With CRS-2675 (文檔 ID 1417294.1) |
In this Document APPLIES TO: SYMPTOMS11.2.0.3 Grid Infrastructure on Suse Linux, "crsctl stop crs" or "crsctl stop crs -f" fails: · "crsctl stop crs" or "crsctl stop crs -f" output CRS-2675: Stop of 'ora.drivers.acfs' on 'racnode1' failed · $GRID_HOME/log/<node>/alert<node>.log [client(4936)]CRS-10001:01-Feb-12 12:35 ACFS-9290: Waiting for ASM to shutdown. · "$GRID_HOME/bin/acfsload stop" output .. · $GRID_HOME/log/<node>/agent/ohasd/orarootagent_root/orarootagent_root.log 2012-02-15 09:44:43.219: [ AGFW][2097063696] {0:0:36062} Agent received the message: RESOURCE_STOP[ora.drivers.acfs 1 1] ID 4099:217493 CAUSEThe issue was investigated in bug 13726093 and it's closed as OS issue SOLUTION
The temporary workaround is to disable the resource if ACFS is not needed. To disable: # $GRID_HOME/bin/acfsroot disable
ora.registry.acfs
Note: It's known that multipath daemon may open /dev/ofsctl: lsof /dev/ofsctl Adding ofsctl to multipath blacklist solves the issue.
REFERENCESBUG:13606669 - CRSCTL STOP CLUSTERWARE FAILS TO STOP, ACFS-9118 |
因本實例中使用multipath綁定硬盤作為ASM磁盤,故multipath服務打開/dev/ofsctl設備,所以導致ora.drivers.acfs失敗,最終整個關閉命令完成帶有錯誤。根據提示在multipath配置文件中設置
blacklist{
devnode "^sda"
devnode "ofsctl"
}
設置后,再次重試關閉命令問題解決。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。