행위

"CRSCTL 명령어"의 두 판 사이의 차이

DB CAFE

(ocr /list 수동 백업)
(Voting Disk를 새로운 DistGroup으로 이동하기)
89번째 줄: 89번째 줄:
 
-- Check the status using below command
 
-- Check the status using below command
 
$GRID_HOME/bin/crsctl query css votedisk
 
$GRID_HOME/bin/crsctl query css votedisk
 +
</source>
 +
 +
=== 디스크 타임아웃 조회 ===
 +
* Disk timeout from node to voting disk(disktimeout)
 +
<source lang=sql>
 +
crsctl get css disktimeout
 +
 +
CRS-4678: Successful get disktimeout 200 for Cluster Synchronization Services.
 +
</source>
 +
 +
* Network latency in the node interconnect (Misscount)
 +
<source lang=sql>
 +
crsctl get css misscount
 +
 +
CRS-4678: Successful get misscount 30 for Cluster Synchronization Services.
 
</source>
 
</source>

2024년 7월 12일 (금) 01:26 판

thumb_up 추천메뉴 바로가기


1 crsctl 명령어[편집]

1.1 crs autorestart Enable/Disable[편집]

  • Run as root user
$GRID_HOME/bin/crsctl enable crs
CRS-4622: Oracle High Availability Services autostart is enabled.

$GRID_HOME/bin/crsctl disable crs
CRS-4621: Oracle High Availability Services autostart is disabled.

1.2 crs Stop/Start[편집]

-- stop crs ( run from root)
$GRID_HOME/bin/crsctl stop crs

-- start crs( run from root)
$GRID_HOME/bin/crsctl start crs

1.3 RAC에서 클러스터 명 찾기[편집]

$GRID_HOME/bin/cemutlo -n
-- or
$GRID_HOME/bin/olsnodes -c

1.4 voting disk 위치 조회[편집]

$GRID_HOME/bin/crsctl query css votedisk

1.5 OCR 위치 조회[편집]

$GRID_HOME/bin/ocrcheck

1.6 그리드 버전 조회[편집]

$GRID_HOME/bin/crsctl query crs softwareversion

1.7 클러스터 컴포넌트 상태 체크[편집]

$GRID_HOME/bin/crsctl stat res -t

$GRID_HOME/bin/crsctl check crs

$GRID_HOME/bin/crsctl check cssd

$GRID_HOME/bin/crsctl check crsd

$GRID_HOME/bin/crsctl check evmd

1.8 cluster_interconnect 상세조회[편집]

$GRID_HOME/bin/oifcfg getif

app-ipmp0 172.21.39.128 global public
loypredbib0 172.16.3.192 global cluster_interconnect
loypredbib1 172.16.4.0 global cluster_interconnect

select NAME,IP_ADDRESS from v$cluster_interconnects;

NAME IP_ADDRESS
--------------- ----------------
loypredbib0 172.16.3.193
loypredbib1 172.16.4.1

1.9 ocr /list 수동 백업[편집]

List down the backups of OCR

$GRID_HOME/bin/ocrconfig -showbackup

 

Take manual OCR backup

$GRID_HOME/bin/ocrconfig -manualbackup

1.10 Voting Disk를 새로운 DistGroup으로 이동하기[편집]

$GRID_HOME/bin/crsctl replace votedisk +NEW_DG

-- Check the status using below command
$GRID_HOME/bin/crsctl query css votedisk

1.11 디스크 타임아웃 조회[편집]

  • Disk timeout from node to voting disk(disktimeout)
crsctl get css disktimeout

CRS-4678: Successful get disktimeout 200 for Cluster Synchronization Services.
  • Network latency in the node interconnect (Misscount)
crsctl get css misscount

CRS-4678: Successful get misscount 30 for Cluster Synchronization Services.