- 最后登录
- 2017-9-1
- 在线时间
- 19 小时
- 威望
- 42
- 金钱
- 450
- 注册时间
- 2012-1-10
- 阅读权限
- 10
- 帖子
- 26
- 精华
- 1
- 积分
- 42
- UID
- 163
|
9#
发表于 2012-1-11 18:33:26
续楼上
#
# su - oracle
$ id
uid=301(oracle) gid=301(oinstall) groups=302(dba)
$
$ cd /u01/app/oracle/product/10.2.0/crs/bin
$ pwd
/u01/app/oracle/product/10.2.0/crs/bin
$
$ cluvfy stage -post crsinst -n all -verbose
Performing post-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "pzdb2"
Destination Node Reachable?
------------------------------------ ------------------------
pzdb1 yes
pzdb2 yes
Result: Node reachability check passed from node "pzdb2".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
pzdb2 passed
pzdb1 passed
Result: User equivalence check passed for user "oracle".
Checking Cluster manager integrity...
Checking CSS daemon...
Node Name Status
------------------------------------ ------------------------
pzdb2 running
pzdb1 running
Result: Daemon status check passed for "CSS daemon".
Cluster manager integrity check passed.
Checking cluster integrity...
Node Name
------------------------------------
pzdb1
pzdb2
Cluster integrity check passed
Checking OCR integrity...
Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations.
Uniqueness check for OCR device passed.
Checking the version of OCR...
OCR of correct Version "2" exists.
Checking data integrity of OCR...
Data integrity check for OCR passed.
OCR integrity check passed.
Checking CRS integrity...
Checking daemon liveness...
Check: Liveness for "CRS daemon"
Node Name Running
------------------------------------ ------------------------
pzdb2 yes
pzdb1 yes
Result: Liveness check passed for "CRS daemon".
Checking daemon liveness...
Check: Liveness for "CSS daemon"
Node Name Running
------------------------------------ ------------------------
pzdb2 yes
pzdb1 yes
Result: Liveness check passed for "CSS daemon".
Checking daemon liveness...
Check: Liveness for "EVM daemon"
Node Name Running
------------------------------------ ------------------------
pzdb2 yes
pzdb1 yes
Result: Liveness check passed for "EVM daemon".
Liveness of all the daemons
Node Name CRS daemon CSS daemon EVM daemon
------------ ------------------------ ------------------------ ----------
pzdb2 yes yes yes
pzdb1 yes yes yes
Checking CRS health...
Check: Health of CRS
Node Name CRS OK?
------------------------------------ ------------------------
pzdb2 yes
pzdb1 yes
Result: CRS health check passed.
CRS integrity check passed.
Checking node application existence...
Checking existence of VIP node application
Node Name Required Status Comment
------------ ------------------------ ------------------------ ----------
pzdb2 yes exists passed
pzdb1 yes exists passed
Result: Check passed.
Checking existence of ONS node application
Node Name Required Status Comment
------------ ------------------------ ------------------------ ----------
pzdb2 no exists passed
pzdb1 no exists passed
Result: Check passed.
Checking existence of GSD node application
Node Name Required Status Comment
------------ ------------------------ ------------------------ ----------
pzdb2 no exists passed
pzdb1 no exists passed
Result: Check passed.
Post-check for cluster services setup was successful.
$
$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE pzdb1
ora....B1.lsnr application ONLINE ONLINE pzdb1
ora.pzdb1.gsd application ONLINE ONLINE pzdb1
ora.pzdb1.ons application ONLINE ONLINE pzdb1
ora.pzdb1.vip application ONLINE ONLINE pzdb1
ora....SM2.asm application ONLINE ONLINE pzdb2
ora....B2.lsnr application ONLINE ONLINE pzdb2
ora.pzdb2.gsd application ONLINE ONLINE pzdb2
ora.pzdb2.ons application ONLINE ONLINE pzdb2
ora.pzdb2.vip application ONLINE ONLINE pzdb2
ora.sjpz.db application ONLINE ONLINE pzdb2
ora....z1.inst application ONLINE ONLINE pzdb1
ora....z2.inst application ONLINE ONLINE pzdb2
$ crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
$ hostname
pzdb2
$ cat /etc/hosts
# @(#)47 1.2 src/bos/usr/sbin/netstart/hosts, cmdnet, bos61D, d2007_49A2 10/1/07 13:57:52
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos61D src/bos/usr/sbin/netstart/hosts 1.2
#
# Licensed Materials - Property of IBM
#
# COPYRIGHT International Business Machines Corp. 1985,1989
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: TCPIP hosts
#
# FUNCTIONS: loopback
#
# ORIGINS: 26 27
#
# (C) COPYRIGHT International Business Machines Corp. 1985, 1989
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# /etc/hosts
#
# This file contains the hostnames and their address for hosts in the
# network. This file is used to resolve a hostname into an Internet
# address.
#
# At minimum, this file must contain the name and address for each
# device defined for TCP in your /etc/net file. It may also contain
# entries for well-known (reserved) names such as timeserver
# and printserver as well as any other host name and address.
#
# The format of this file is:
# Internet Address Hostname # Comments
# Internet Address can be either IPv4 or IPv6 address.
# Items are separated by any number of blanks and/or tabs. A '#'
# indicates the beginning of a comment; characters up to the end of the
# line are not interpreted by routines which search this file. Blank
# lines are allowed.
# Internet Address Hostname # Comments
# 192.9.200.1 net0sample # ethernet name/address
# 128.100.0.1 token0sample # token ring name/address
# 10.2.0.2 x25sample # x.25 name/address
# 2000:1:1:1:209:6bff:feee:2b7f ipv6sample # ipv6 name/address
127.0.0.1 loopback localhost # loopback (lo0) name/address
10.172.121.230 pzdb1
10.172.121.231 pzdb1vip
192.168.100.230 pzdb1prv
10.172.121.232 pzdb2
10.172.121.233 pzdb2vip
192.168.100.232 pzdb2prv
$
$ ifconfig -a
en8: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 10.172.121.232 netmask 0xffffffe0 broadcast 10.172.121.255
inet 10.172.121.233 netmask 0xffffff00 broadcast 10.172.121.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en9: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.100.232 netmask 0xffffff00 broadcast 192.168.100.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
$
$ oifcfg getif
en8 10.172.121.224 global public
en9 192.168.100.0 global cluster_interconnect
$ |
|