Академический Документы
Профессиональный Документы
Культура Документы
10
Copyright 2008, Oracle. All rights reserved.
Objectives
After completing this lesson, you should be able to: Collect Oracle Clusterware diagnostic files Use Cluster Verify
10 - 2
Always make sure that your nodes have exactly the same system time to:
Facilitate log information analysis Ensure accurate results when reading GV$ views Avoid untimely instance evictions
10 - 3
log
log
<hostname>
<hostname>
crsd
cssd
evmd
racg
client
client
racg
racgeut alert<nodename>.log
racgevtf
racgmain
racgeut
racgimon racgmain
racgmdb
10 - 4
# # # # #
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 export ORA_CRS_HOME=/u01/crs1020 export ORACLE_BASE= =/u01/app/oracle cd $ORA_CRS_HOME/bin ./diagcollection.pl -collect
10 - 5
To verify that you have a well-formed cluster for Oracle Clusterware and RAC:
Installation Configuration Operation
Full stack verification Nonintrusive verification Diagnostic mode seeks to establish a reason for the failure of any verification task. Easy-to-use interface:
Stage commands Component commands
10 - 6 Copyright 2008, Oracle. All rights reserved.
-pre dbcfg
Configures RAC DB
-pre crsinst
Installs CRS
-pre cfs
Sets up OCFS (OPT)
-post crsinst
-post cfs
User sets up the hardware, network, & storage
-post hwos
10 - 7
An individual subsystem or a module of the RAC cluster is known as a component in CVU. The availability and integrity of a cluster component can be verified. Components can be simple like a specific storage device, or complex like the Oracle Clusterware stack:
Space availability Shared storage accessibility Node connectivity Cluster File System integrity Oracle Clusterware integrity Cluster integrity Administrative privileges Peer compatibility System requirements
$ cluvfy comp -list
10 - 8
Oracle Home:
$ORACLE_HOME/bin/cluvfy
10 - 9 Copyright 2008, Oracle. All rights reserved.
CV_DESTLOC:
The workarea on local as well as remote nodes
CV_JDKHOME:
The location for JDK 1.4.2 or later package
10 - 10
$ cat cvu_config # Configuration file for CVU # Version: 011405 # #CV_NODE_ALL= CV_RAW_CHECK_ENABLED=TRUE CV_ASSUME_DISTID=Taroon #CV_XCHK_FOR_SSH_ENABLED=TRUE #ORACLE_SRVM_REMOTESHELL=/usr/bin/ssh #ORACLE_SRVM_REMOTECOPY=/usr/bin/scp
10 - 11 Copyright 2008, Oracle. All rights reserved.
10 - 12
$ cluvfy comp sys -n node1,node2 -p crs -verbose $ cluvfy comp ssa -n all -s /dev/sda1 $ cluvfy comp space -n all -l /home/product -z 5G $ cluvfy comp nodereach -n node2 -srcnode node1
1 2 3 4
$ cluvfy comp nodecon -n node1,node2 i eth0 -verbose 5 $ cluvfy comp admprv -n all -o user_equiv -verbose $ cluvfy comp nodeapp -n all -verbose $ cluvfy comp peer -n all verbose | more
6 7 8
10 - 13
10 - 14
Summary
In this lesson, you should have learned how to: Collect Oracle Clusterware diagnostic files Use Cluster Verify
10 - 16
This practice covers the following topics: Identifying Oracle Clusterware log files Fixing voting disk corruptions
10 - 17
10 - 18