日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

oracle启动crs要多久,ORACLE RAC crs 无法启动

發(fā)布時間:2024/9/19 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle启动crs要多久,ORACLE RAC crs 无法启动 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

OS:

ORACLE LINUX 5.7

DB:

11.2.0.3

RAC:YES

故障:

1、兩節(jié)點RAC,節(jié)點分別為linuxdb1、linuxdb2,其中節(jié)點linuxdb2服務器出現故障,無法啟動

2、只啟動節(jié)點linuxdb1即可,然后供測試部門使用

3、crsctl無法啟動報錯:CRS-1714:Unable to discover any voting files

#crsctl start cluster -n linuxdb1

CRS-2672: Attempting to start 'ora.cssd' on 'linuxdb1'

CRS-2672: Attempting to start 'ora.diskmon' on 'linuxdb1'

CRS-2676: Start of 'ora.diskmon' on 'linuxdb1' succeeded

CRS-2674: Start of 'ora.cssd' on 'linuxdb1' failed

CRS-2679: Attempting to clean 'ora.cssd' on 'linuxdb1'

CRS-2681: Clean of 'ora.cssd' on 'linuxdb1' succeeded

CRS-4000: Command Start failed, or completed with errors.

查看日志:

[cssd(1934)]CRS-1714:Unable to discover any voting files, retrying

discovery in 15 seconds; Details at (:CSSNM00070:) in

/u01/app/11.2.0/grid/log/linuxdb1/cssd/ocssd.log

2014-02-12 07:57:03.698

[/u01/app/11.2.0/grid/bin/cssdagent(1920)]CRS-5818:Aborted command

'start' for resource 'ora.cssd'. Details at (:CRSAGF00113:)

{0:52:6} in

/u01/app/11.2.0/grid/log/linuxdb1/agent/ohasd/oracssdagent_root/oracssdagent_root.log.

2014-02-12 07:57:03.699

[cssd(1934)]CRS-1656:The CSS daemon is terminating due to a fatal

error; Details at (:CSSSC00012:) in

/u01/app/11.2.0/grid/log/linuxdb1/cssd/ocssd.log

2014-02-12 07:57:03.699

[cssd(1934)]CRS-1603:CSSD on node linuxdb1 shutdown by user.

2014-02-12 07:57:05.492

[cssd(1934)]CRS-1714:Unable to discover any voting files, retrying

discovery in 15 seconds; Details at (:CSSNM00070:) in

/u01/app/11.2.0/grid/log/linuxdb1/cssd/ocssd.log

2014-02-12 07:57:09.753

[ohasd(6518)]CRS-2765:Resource 'ora.cssdmonitor' has failed on

server 'linuxdb1'.

2014-02-12 07:57:21.551

[cssd(2113)]CRS-1713:CSSD daemon is started in clustered mode

2014-02-12 07:57:21.676

[cssd(2113)]CRS-1714:Unable to discover any voting files, retrying

discovery in 15 seconds; Details at (:CSSNM00070:) in

/u01/app/11.2.0/grid/log/linuxdb1/cssd/ocssd.log

2014-02-12 07:57:36.694

[cssd(2113)]CRS-1714:Unable to discover any voting files, retrying

discovery in 15 seconds; Details at (:CSSNM00070:) in

/u01/app/11.2.0/grid/log/linuxdb1/cssd/ocssd.log

2014-02-12 07:57:51.713

[cssd(2113)]CRS-1714:Unable to discover any voting files, retrying

discovery in 15 seconds; Details at (:CSSNM00070:) in

/u01/app/11.2.0/grid/log/linuxdb1/cssd/ocssd.log

2014-02-12 07:58:06.732

[cssd(2113)]CRS-1714:Unable to discover any voting files, retrying

discovery in 15 seconds; Details at (:CSSNM00070:) in

/u01/app/11.2.0/grid/log/linuxdb1/cssd/ocssd.log

查看多路徑和asmlib狀態(tài):

/etc/init.d/oracleasm listdisks一切正常

查看磁盤信息:

#fdisk -l

Disk /dev/sdb: 2199.0

GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sdb1 1 267350 2147483647+ ee EFI GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The

util fdisk doesn't support GPT. Use GNU Parted.

WARNING: The size of this disk is 2.2 TB (2199023255552

bytes).

DOS partition table format can not be used on drives for

volumes

larger than 2.2 TB (2199023255040 bytes). Use parted(1) and

GUID

partition table format (GPT).

Disk /dev/sdc: 2199.0

GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sdc1 1 267350 2147483647+ ee EFI GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The

util fdisk doesn't support GPT. Use GNU Parted.

WARNING: The size of this disk is 2.2 TB (2199023255552

bytes).

DOS partition table format can not be used on drives for

volumes

larger than 2.2 TB (2199023255040 bytes). Use parted(1) and

GUID

partition table format (GPT).

Disk /dev/sdd: 2199.0

GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sdd1 1 267350 2147483647+ ee EFI GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The

util fdisk doesn't support GPT. Use GNU Parted.

WARNING: The size of this disk is 2.2 TB (2199023255552

bytes).

DOS partition table format can not be used on drives for

volumes

larger than 2.2 TB (2199023255040 bytes). Use parted(1) and

GUID

partition table format (GPT).

Disk /dev/sde: 2199.0

GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sde1 1 267350 2147483647+ ee EFI GPT

查看oracleasm信息:

# This is a configuration file for automatic loading of the

Oracle

# Automatic Storage Management library kernel driver. It is

generated

# By running /etc/init.d/oracleasm configure. Please use that

method

# to modify this file

#

# ORACLEASM_ENABELED: 'true' means to load the driver on

boot.

ORACLEASM_ENABLED=true

# ORACLEASM_UID: Default user owning the /dev/oracleasm mount

point.

ORACLEASM_UID=grid

# ORACLEASM_GID: Default group owning the /dev/oracleasm mount

point.

ORACLEASM_GID=asmadmin

# ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on

boot.

ORACLEASM_SCANBOOT=true

# ORACLEASM_SCANORDER: Matching patterns to order disk

scanning

ORACLEASM_SCANORDER="multipath sd"

# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from

scan

ORACLEASM_SCANEXCLUDE="sdf sdg

sdh sdi"

* fdisk -l 的信息與oracleasm的磁盤信息不符

fdisk -l的磁盤為sdb sdc sdd sde

將ORACLEASM_SCANEXCLUDE="sdf sdg

sdh sdi" -> ORACLEASM_SCANEXCLUDE="sdb sdc sdd sde"

重啟crs,OK

檢查狀態(tài):

$ srvctl status asm

$ srvctl status instance -d devdb -i devdb1

$ srvctl status database -d devdb

節(jié)點linuxdb1連接數據庫一切正常。

總結

以上是生活随笔為你收集整理的oracle启动crs要多久,ORACLE RAC crs 无法启动的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。