Sie sind auf Seite 1von 58

gns(dhcp+dns)

oracle gns gns


tafgns dhcp dns gns

dns

gns vip scanip dns


scan_domain gns
gns
Pro Oracle Database 11g RAC on Linux page 386
The Grid Plug And Play (GPnP) daemon: This daemon maintains the Grid Plug and
Play profile and coordinates distribution of updates across all nodes in the cluster.
This helps ensure that all nodes have the current profile. The Grid Plug and Play
profile essentially contains sufficient information to start Clusterware. In previous
versions, this information could be stored directly in the OCR. However, in Oracle
11gR2, the OCR can optionally be stored in ASM, which means sufficient
configuration information must be available to start ASM and to access the OCR.
(The GPNP daemon is sometimes referred to by the initials, GPNPD).

The Grid Interprocess Communication (GIPC) daemon: This daemon is new in


Oracle 11gR2. The daemon process is gipcd, and it supports Grid Infrastructure

Communication. Although this daemon is created when High Availability Services


stack is started, GIPC has no functionality in this release. There are plans to
activate GIPC in a future release.

The multicast DNS (mDNS) service: This service manages name resolution and
service discovery within the cluster. It resolves DNS requests on behalf of the Grid
Naming Service (GNS). A separate daemon is created within the High Availability
Services stack to support multicast DNS.

The Grid Naming Service (GNS): This service performs name resolution within the
cluster. It is implemented by the gnsd daemon, and it provides a gateway between
the cluster mDNS service and the external DNS servers.

dns
linux
zone ha-scan.grid.orcl.com {
type forward;
forward only ;
forwarders {192.168.100.185 port 53 ;};
}

windows2003

gns-vip


scan

gns-vip

dhcp

[oracle@oel1 grid]$ ./runcluvfy.sh stage -pre crsinst -n oel1,oel2 -fxup


verbose

Pre-check for cluster services setup was successful.


hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1
localhost
192.168.100.210 oel1.orcl.com
oel1
192.168.10.210 oel1-priv.orcl.com
oel1-priv
192.168.100.211 oel2.orcl.com
oel2
192.168.10.211 oel2-priv.orcl.com

dns

oel2-priv

[oracle@oel2 ~]$ strings


/etc/resolv.conf search
grid.dexs.com
nameserver 192.168.100.200
[oracle@oel2 ~]$ nslookup gns-vip.grid.orcl.com
Server:
192.168.100.200
Address:
192.168.100.200#53
Name:
gns-vip.grid.orcl.com
Address: 192.168.100.185

[oracle@oel2 ~]$
ll /dev/raw total 0
crw------- 1 oracle oinstall 162, 1 May 17
15:10 raw1 crw------- 1 oracle oinstall 162,
2 May 17 15:10 raw2 crw------- 1 oracle
oinstall 162, 3 May 17 15:10 raw3
crw------- 1 oracle oinstall 162, 4 May 17
15:10 raw4 crw------- 1 oracle oinstall 162,
5 May 17 15:10 raw5

scan name

root

oel1:orainstRoot.sh----->oel2:orainstRoot.sh------->oel1:root.sh----->oel2:root.sh
[root@oel1 ~]#
/u01/app/oraInventory/orainstRoot.sh
Changing permissions
of /u01/app/oraInventory. Adding read,write
permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

[root@oel1 ~]# /u01/app/11.2.0/grid/root.sh

[root@oel2 ~]# /u01/app/11.2.0/grid/root.sh

ok


[oracle@oel1 ~]$ crsctl stat res -t
-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
------------------------------------------------------------------------------- Local Resources
-------------------------------------------------------------------------------ora.DATA.dg
ONLINE ONLINE
oel1
ONLINE ONLINE
oel2
ora.LISTENER.
ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2

ONLINE
Started
ONLINE
Started

ONLINE

oel1

ONLINE

oel2

ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2

lsnr ora.asm

ora.eons

ora.gsd

ora.net1.netw OFFLINE OFFLINE


OFFLINE OFFLINE
ork

ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2
oel1
oel2

ONLINE ONLINE
oel1
ONLINE ONLINE
oel2
------------------------------------------------------------------------------- Cluster Resources
------------------------------------------------------------------------------- ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
oel2
ora.LISTENER_SCAN2.lsnr
1
ONLINE ONLINE
oel1 ora.LISTENER_SCAN3.lsnr
1
ONLINE ONLINE
oel1
ora.gn
1
ONLINE ONLINE
oel1
s
ora.ons

ora.gns.vip
1

ONLINE

ONLINE

oel1

ora.oc4j
1
OFFLINE
ora.oel1.vip
1
ONLINE
oel1 ora.oel2.vip
1
ONLINE
oel2 ora.scan1.vip
1
ONLINE
oel2 ora.scan2.vip
1
ONLINE
oel1 ora.scan3.vip
1
ONLINE

OFFLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE

oel1

ip

vip*2
gns_vip*1
scan_vip*3
6 ip

ora.gns ora.gns.vip Cluster Resources


failover

dns

C:\Users\dex>nslookup ha-scan.grid.orcl.com
: UnKnown
Address: 192.168.100.200
:
:
ha-scan.grid.orcl.com
Addresses: 192.168.100.222
192.168.100.221

192.168.100.228

C:\Users\dex>nslookup ha-scan.grid.orcl.com
: UnKnown
Address: 192.168.100.200
:
:
ha-scan.grid.orcl.com
Addresses: 192.168.100.222
192.168.100.228
192.168.100.221

lsnr
C:\Users\dex>tnsping ha-scan.grid.orcl.com
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 17-MAY2012 16:07:37
Copyright (c) 1997, 2010, Oracle.

All rights reserved.

Used parameter fles:


D:\apps\work\db\oracle11g\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.
ora
Used EZCONNECT adapter to resolve the alias
Attempting
to
contact
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168
.100.222)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)
(HOST=192.168.100.221)(PORT=1521))(ADDR ESS=(PROTOCOL=TCP)
(HOST=192.168.100.228)(PORT=1521)))
OK (20 msec)
scan 11gr2 crsctl srvctl

crs_statcrs_startcrs_stop
[oracle@oel1 ~]$ srvctl config scan
SCAN name: ha-scan.grid.orcl.com, Network:
1/192.168.100.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /192.168.100.221/192.168.100.221
SCAN VIP name: scan2, IP: /192.168.100.222/192.168.100.222
SCAN VIP name: scan3, IP: /192.168.100.228/192.168.100.228

[oracle@oel1 ~]$ srvctl status scan


SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node oel2
SCAN VIP scan2 is enabled

SCAN VIP scan2 is running on node oel1


SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node oel1

[oracle@oel1 ~]$ lsnrctl stat LISTENER_SCAN2


LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 17-MAY-2012 16:52:03
Copyright (c) 1991, 2009, Oracle.

All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)
(KEY=LISTENER_SCAN2))) STATUS of the LISTENER
-----------------------Alias
LISTENER_SCAN2
Version
TNSLSNR for Linux: Version 11.2.0.1.0 Production
Start Date
17-MAY-2012 15:51:24
Uptime
0 days 1 hr. 0 min. 39 sec
Trace Level
off
Security
ON: Local OS Authentication
SNMP
OFF
Listener Parameter File
/u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File
/u01/app/oracle/diag/tnslsnr/oel1/listener_scan2/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)
(KEY=LISTENER_SCAN2)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)
(HOST=192.168.100.222)(PORT=1521)))
The listener supports no services
The command completed successfully

without
gns
gns dns scan_listener
/etc/hosts /etc/hosts
10g scan_vip

hosts
hosts
[root@oel1 ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1
localhost
192.168.100.210 oel1.dex.com
oel1
192.168.10.210 oel1-priv.dex.com
oel1-priv
192.168.100.212 oel1-vip.dex.com
oel1-vip

192.168.100.211 oel2.dex.com
oel2
192.168.10.211 oel2-priv.dex.com
192.168.100.213 oel2-vip.dex.com

oel2-priv
oel2-vip

192.168.100.220 ha-scan.dex.com ha-scan

[oracle@oel1 grid]$ ./runcluvfy.sh stage -pre crsinst -n oel1,oel2 -fxup


verbose
Pre-check for cluster services setup was successful.
[oracle@oel1 grid]$ ls
-l /dev/raw total 0
crw------- 1 oracle oinstall 162, 1 May 19
14:36 raw1 crw------- 1 oracle oinstall 162,
2 May 19 14:36 raw2 crw------- 1 oracle
oinstall 162, 3 May 19 14:36 raw3
crw------- 1 oracle oinstall 162, 4 May 19
14:36 raw4
crw------- 1 oracle oinstall 162, 5 May 19
14:36 raw5

host ha-scan

[root@oel1 ~]#
/u01/app/oraInventory/orainstRoot.sh
Changing permissions
of /u01/app/oraInventory. Adding read,write
permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

[root@oel2 ~]#
/u01/app/oraInventory/orainstRoot.sh
Changing permissions
of /u01/app/oraInventory. Adding read,write
permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

[root@oel1 ~]# /u01/app/11.2.0/grid/root.sh

[root@oel2 ~]# /u01/app/11.2.0/grid/root.sh


ok

vi /u01/app/oraInventory/logs/installActions2012-05-19_02-56-24PM.log
INFO: Checking Single Client Access Name (SCAN)...

INFO: Checking name resolution setup for


"ha-scan"... INFO: ERROR:
INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name
"ha-scan"
INFO: ERROR:
INFO: PRVF-4657 : Name resolution setup check for "ha-scan" (IP address:
192.168.100.220)
failed
INFO: ERROR:
INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN
name "ha-scan" INFO: Verification of SCAN VIP and Listener setup
failed
hosts dns or gns
ping scan vip

[oracle@oel1 bin]$ ping ha-scan


PING ha-scan.dex.com (192.168.100.220) 56(84) bytes of data.
64 bytes from ha-scan.dex.com (192.168.100.220): icmp_seq=1 ttl=64
time=0.021 ms
[root@oel2 ~]# ping ha-scan
PING ha-scan.dex.com (192.168.100.220) 56(84) bytes of data.
64 bytes from ha-scan.dex.com (192.168.100.220): icmp_seq=1 ttl=64
time=2.37 ms

next

[oracle@oel1 bin]$ crsctl stat res -t


-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
------------------------------------------------------------------------------- Local Resources
-------------------------------------------------------------------------------ora.DATA.dg
ONLINE ONLINE
oel1
ONLINE ONLINE
oel2
ora.LISTENER.
ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2

ONLINE
Started
ONLINE
Started

ONLINE

oel1

ONLINE

oel2

ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2

lsnr ora.asm

ora.eons

ora.gsd

ora.net1.netw OFFLINE OFFLINE


OFFLINE OFFLINE
ork

ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2
oel1
oel2

ONLINE ONLINE
oel1
ONLINE ONLINE
oel2
------------------------------------------------------------------------------- Cluster Resources
-------------------------------------------------------------------------------ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
oel1 ora.oc4j
1
OFFLINE OFFLINE
ora.oel1.vip
1
ONLINE ONLINE
oel1 ora.oel2.vip
1
ONLINE ONLINE
oel2
ora.ons

ora.scan1.vip
1
ONLINE

ONLINE

oel1

scan1 vip

[root@oel1 bin]# ./ocrconfg -manualbackup


oel1
2012/05/
19
/
u01/app/11.2.0/grid/cdata/ha/backup_20120519_1

15:53:05

[root@oel1 bin]# ./ocrconfg -showbackup


PROT-24: Auto backups for the Oracle Cluster Registry are not available
oel1
2012/05/19
15:53:05
/u01/app/11.2.0/grid/cdata/ha/backup_20120519_155305.ocr

C:\Users\dex>tnsping 192.168.100.220:1521
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 19-MAY2012 16:05:59
Copyright (c) 1997, 2010, Oracle.

All rights reserved.

Used parameter fles:


D:\apps\work\db\oracle11g\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.
ora
Used EZCONNECT adapter to resolve the alias
Attempting
to
contact
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168
.100.220)
(PORT=1521))) OK
(100 msec)

gns
dns dhcp

dhcp

hosts
vip scanvip
vi /etc/hosts
Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1
localhost
192.168.100.210 oel1.dex.com
oel1
192.168.10.210 oel1-priv.dex.com
oel1-priv

192.168.100.211 oel2.dex.com
oel2
192.168.10.211 oel2-priv.dex.com
dns
vi /etc/resolv.conf
search grid.dex.com
nameserver
192.168.100.200

oel2-priv

[root@oel1 bin]# nslookup gns-vip.grid.dex.com


Server:
192.168.100.200
Address:
192.168.100.200#53
Name:
gns-vip.grid.dex.com
Address: 192.168.100.123

gns
root
[root@oel1 bin]# ./srvctl add gns -i 192.168.100.123 -d grid.dex.com

network
11.2.0.2
srvctl modify network -w dhcp
network ip
scan orarootagent dhcp

vip scan_vip
[root@oel1 bin]# ./crsctl modify resource ora.net1.network -attr
"USR_ORA_AUTO=dhcp"

scan
[root@oel1 bin]# ./srvctl stop scan_listener
[root@oel1 bin]# ./srvctl remove scan f
[root@oel1 bin]# ./srvctl remove scan_listener f
[root@oel1 bin]# ./srvctl add scan -n hascan.grid.dex.com
[root@oel1
bin]#
./srvctl
confg scan
SCAN
name:
ha-scan.grid.dex.com,
1/192.168.100.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: <not
assigned> SCAN VIP name:
scan2, IP: <not assigned> SCAN
VIP name: scan3, IP: <not
assigned>

[root@oel1 bin]# ./crsctl stop cluster all

Network:

[root@oel1 bin]# ./crsctl start cluster -all


[oracle@oel1 ~]$ srvctl confg scan
SCAN name: ha-scan.grid.dex.com, Network:
1/192.168.100.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /192.168.100.221/192.168.100.221
SCAN VIP name: scan2, IP: /192.168.100.222/192.168.100.222
SCAN VIP name: scan3, IP: /192.168.100.228/192.168.100.228

vip
./srvctl stop listener
./srvctl stop vip -n oel1
./srvctl stop vip -n oel2
./srvctl
./srvctl
./srvctl
./srvctl

stop nodeapps f
remove nodeapps -f
add nodeapps -S 192.168.100.0/255.255.255.0/eth0 -l 6100 -r 6200
confg nodeapps

[root@oel1 bin]# ./crsctl stop cluster all


[root@oel1 bin]# ./crsctl start cluster -all

[oracle@oel1 admin]$ crsctl stat res -t


-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
------------------------------------------------------------------------------- Local Resources
------------------------------------------------------------------------------- ora.DATA.dg
ONLINE
ONLINE
oel1
ONLINE
ONLINE
oel2
ora.LISTENER.lsnr

ONLINE

ora.net1.netw

ork ora.ons

OFFLINE OFFLINE
OFFLINE OFFLINE
ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2
oel1
oel2

ONLINE ONLINE
oel1
ONLINE ONLINE
oel2
------------------------------------------------------------------------------- Cluster Resources
------------------------------------------------------------------------------- ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
oel2 ora.LISTENER_SCAN2.lsnr
1
ONLINE ONLINE
oel1 ora.LISTENER_SCAN3.lsnr
1
ONLINE ONLINE
oel1
ora.gn
1
ONLINE ONLINE
oel1
s
ora.gns.vip
1
ONLINE
oel1 ora.oc4j
1
OFFLINE
ora.oel1.vip
1
ONLINE
oel1 ora.oel2.vip
1
ONLINE
oel2 ora.scan1.vip
1
ONLINE
oel2 ora.scan2.vip
1
ONLINE
oel1 ora.scan3.vip
1
ONLINE

ONLINE
OFFLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE

oel1

dns 192.168.100.200
C:\Users\dex>tnsping ha-scan.grid.dex.com
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 19-MAY2012 22:30:30
Copyright (c) 1997, 2010, Oracle.

All rights reserved.

Used parameter fles:


D:\apps\work\db\oracle11g\product\11.2.0\dbhome_1\NETWORK\ADMI
N\sqlnet.ora

Used EZCONNECT adapter to resolve the alias


Attempting
to
contact
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168
.100.221)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)
(HOST=192.168.100.222)(PORT=1521))(ADDR ESS=(PROTOCOL=TCP)
(HOST=192.168.100.228)(PORT=1521)))
OK (100 msec)
ok

gns

[root@oel2 bin]# ./ocrconfg -manualbackup


oel1
2012/05/18
/
u01/app/11.2.0/grid/cdata/ha/backup_20120518_1

15:16:
33

oel1
2012/05/18
/
u01/app/11.2.0/grid/cdata/ha/backup_20120518_1

15:16:
24

oel1
2012/05/18
/
u01/app/11.2.0/grid/cdata/ha/backup_20120518_1

15:16:
19

scan scan_listener
[root@oel1 bin]# ./srvctl stop scan_listener
[root@oel1 bin]# ./srvctl stop scan

scan scan_listener
[root@oel1 bin]# ./srvctl remove scan_listener
Remove scan listener? (y/[n])
y [root@oel1 bin]# ./srvctl
remove scan Remove the
scan? (y/[n]) y

gns
[root@oel1 bin]# ./srvctl stop
gns [root@oel1 bin]# ./srvctl
remove gns Remove GNS? (y/
[n]) y

host
[root@oel1 bin]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1
localhost
192.168.100.210 oel1.dex.com
oel1
192.168.10.210 oel1-priv.dex.com
oel1-priv
192.168.100.110 oel1-vip.dex.com
oel1-vip

192.168.100.211 oel2.dex.com
oel2
192.168.10.211 oel2-priv.dex.com
192.168.100.111 oel2-vip.dex.com

192.168.100.12

oel2-priv
oel2-vip

ha-scan.dex.com ha-scan

network
[root@oel1 bin]# ./crsctl modify resource ora.net1.network -attr
"USR_ORA_AUTO= " [root@oel1 bin]# ./crsctl stat res
ora.net1.network -p
USR_ORA_AUTO=

scan
[root@oel1 bin]# ./srvctl add scan -n ha-scan.dex.com
[root@oel1 bin]# ./srvctl add scan_listener

vip
[root@oel1 bin]# ./srvctl modify nodeapps -n oel1 -A oel1vip/255.255.255.0/eth0
[root@oel1 bin]# ./srvctl modify nodeapps -n oel2 -A oel2vip/255.255.255.0/eth0

[root@oel1 bin]# ./crsctl stop cluster all


[root@oel1 bin]# ./crsctl start cluster -all

[root@oel1 bin]# ./crsctl stat res -t


-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
------------------------------------------------------------------------------- Local Resources
-------------------------------------------------------------------------------ora.DATA.dg
ONLINE ONLINE
oel1
ONLINE ONLINE
oel2
ora.LISTENER.
ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2

ONLINE
Started
ONLINE
Started

ONLINE

oel1

ONLINE

oel2

ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2

lsnr ora.asm

ora.eons

ora.gsd

ora.net1.netw OFFLINE OFFLINE


OFFLINE OFFLINE
ork

ONLINE
ONLINE

ONLINE
ONLINE

oel1
oel2
oel1
oel2

ONLINE ONLINE
oel1
ONLINE ONLINE
oel2
------------------------------------------------------------------------------- Cluster Resources
------------------------------------------------------------------------------- ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
oel2
ora.ons

ora.oc4j
1
OFFLINE
ora.oel1.vip
1
ONLINE
oel1 ora.oel2.vip
1
ONLINE
oel2 ora.scan1.vip
1
ONLINE

OFFLINE
ONLINE
ONLINE
ONLINE

oel2

C:\Users\dex>tnsping 192.168.100.12
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 19-MAY2012 22:54:33
Copyright (c) 1997, 2010, Oracle.

All rights reserved.

Used parameter fles:


D:\apps\work\db\oracle11g\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.
ora
Used EZCONNECT adapter to resolve the alias
Attempting
to
contact
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168
.100.12)
(PORT=1521))) OK
(20 msec)
C:\Users\dex>

gns oel1:root.sh
Running Oracle 11g root.sh script...
The following environment variables
are set as: ORACLE_OWNER=
oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:

Copying dbhome to
/usr/local/bin ... Copying
oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...

Creating /etc/oratab fle...


Entries will be added to the /etc/oratab fle as
needed by Database Confguration Assistant
when a database is created Finished running
generic part of root.sh script.
Now product-specifc root actions will be performed.
2012-05-17 15:44:40: Parsing the host name
2012-05-17 15:44:40: Checking for super user privileges
2012-05-17 15:44:40: User has super user privileges
Using confguration parameter fle:
/u01/app/11.2.0/grid/crs/install/crsconfg_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root',
privgrp 'root'.. Operation successful.
root wallet
root
wallet
cert root cert
export peer
wallet
profle reader
wallet pa wallet
peer wallet keys
pa wallet keys
peer cert
request pa
cert request
peer cert
pa cert
peer root cert TP
profle reader root cert TP
pa root cert
TP peer pa
cert TP pa
peer cert TP
profle reader pa cert
TP profle reader peer
cert TP peer user cert
pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has
been started. ohasd is starting
acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:

acfsroot:
ACFS-9302:
No
installation
found
at
/u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5uekx86_64/bin.

fles

CRS-2672: Attempting to start 'ora.gipcd'


on 'oel1' CRS-2672: Attempting to start
'ora.mdnsd' on 'oel1' CRS-2676: Start of
'ora.gipcd' on 'oel1' succeeded CRS2676: Start of 'ora.mdnsd' on 'oel1'
succeeded CRS-2672: Attempting to start
'ora.gpnpd' on 'oel1' CRS-2676: Start of
'ora.gpnpd' on 'oel1' succeeded
CRS-2672:
Attempting
to
start
'ora.cssdmonitor' on 'oel1' CRS-2676: Start of
'ora.cssdmonitor' on 'oel1' succeeded CRS2672: Attempting to start 'ora.cssd' on 'oel1'
CRS-2672: Attempting to start 'ora.diskmon' on 'oel1'
CRS-2676: Start of 'ora.diskmon' on 'oel1' succeeded
CRS-2676: Start of 'ora.cssd' on 'oel1'
succeeded CRS-2672: Attempting to
start 'ora.ctssd' on 'oel1' CRS-2676:
Start of 'ora.ctssd' on 'oel1' succeeded
ASM created and started successfully.
DiskGroup DATA created successfully.
clscfg: -install mode specifed
Successfully accumulated necessary
OCR keys. Creating OCR keys for user
'root', privgrp 'root'.. Operation
successful.
CRS-2672:
Attempting
to
start
'ora.crsd' on 'oel1' CRS-2676: Start of
'ora.crsd' on 'oel1' succeeded CRS4256: Updating the profile
Successful addition of voting disk
24afba413a1f4fb3bf34bf375d6db0ba. Successfully
replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting fle(s) successfully replaced
## STATE
File Universal Id
File Name Disk group
-- ----------------------------- --------1. ONLINE
24afba413a1f4fb3bf34bf375d6db0ba
(/dev/raw/raw1) [DATA] Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd'
on 'oel1' CRS-2677: Stop of 'ora.crsd' on
'oel1' succeeded CRS-2673: Attempting
to stop 'ora.asm' on 'oel1' CRS-2677:

Stop of 'ora.asm' on 'oel1' succeeded


CRS-2673: Attempting to stop
'ora.ctssd' on 'oel1' CRS-2677: Stop of
'ora.ctssd' on 'oel1' succeeded

CRS-2673:
Attempting
to
stop
'ora.cssdmonitor' on 'oel1' CRS-2677: Stop of
'ora.cssdmonitor' on 'oel1' succeeded CRS2673: Attempting to stop 'ora.cssd' on 'oel1'
CRS-2677: Stop of 'ora.cssd' on 'oel1'
succeeded
CRS-2673: Attempting to stop 'ora.gpnpd'
on 'oel1' CRS-2677: Stop of 'ora.gpnpd'
on 'oel1' succeeded CRS-2673:
Attempting to stop 'ora.gipcd' on 'oel1'
CRS-2677: Stop of 'ora.gipcd' on 'oel1'
succeeded CRS-2673: Attempting to stop
'ora.mdnsd' on 'oel1' CRS-2677: Stop of
'ora.mdnsd' on 'oel1' succeeded CRS2672: Attempting to start 'ora.mdnsd' on
'oel1' CRS-2676: Start of 'ora.mdnsd' on
'oel1' succeeded CRS-2672: Attempting
to start 'ora.gipcd' on 'oel1' CRS-2676:
Start of 'ora.gipcd' on 'oel1' succeeded
CRS-2672: Attempting to start
'ora.gpnpd' on 'oel1' CRS-2676: Start of
'ora.gpnpd' on 'oel1' succeeded
CRS-2672:
Attempting
to
start
'ora.cssdmonitor' on 'oel1' CRS-2676: Start of
'ora.cssdmonitor' on 'oel1' succeeded CRS2672: Attempting to start 'ora.cssd' on 'oel1'
CRS-2672:
Attempting
to
start
'ora.diskmon' on 'oel1' CRS-2676: Start of
'ora.diskmon' on 'oel1' succeeded CRS2676: Start of 'ora.cssd' on 'oel1'
succeeded
CRS-2672: Attempting to start
'ora.ctssd' on 'oel1' CRS-2676: Start of
'ora.ctssd' on 'oel1' succeeded CRS2672: Attempting to start 'ora.asm' on
'oel1' CRS-2676: Start of 'ora.asm' on
'oel1' succeeded CRS-2672: Attempting
oel1
2012/05/
15:51:27
17
/
u01/app/11.2.0/grid/cdata/oel1/backup_20120517_1
55127.olr
Preparing packages for
installation... cvuqdisk-1.0.71
Confgure Oracle Grid Infrastructure for a Cluster ...
succeeded
Checking swap space: must be greater than 500 MB.
Actual 4083 MB
Passed

The inventory pointer is located at /etc/oraInst.loc


The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.

gns oel2:root.sh
[root@oel2 ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables
are set as: ORACLE_OWNER=
oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory:
[/usr/local/bin]: Copying dbhome to /usr/local/bin
...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...

Creating /etc/oratab fle...


Entries will be added to the /etc/oratab fle as
needed by Database Confguration Assistant
when a database is created Finished running
generic part of root.sh script.
Now product-specifc root actions will be performed.
2012-05-17 15:53:25: Parsing the host name
2012-05-17 15:53:25: Checking for super user privileges
2012-05-17 15:53:25: User has super user privileges
Using confguration parameter fle:
/u01/app/11.2.0/grid/crs/install/crsconfg_params
Creating trace directory
acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:
acfsroot:
ACFS-9302:
No
installation
files
found
at
/u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5uekx86_64/bin.
CRS-4402: The CSS daemon was started in exclusive mode but found an
active CSS daemon on node oel1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the
cluster
CRS-2672: Attempting to start
'ora.mdnsd' on 'oel2' CRS-2676: Start of
'ora.mdnsd' on 'oel2' succeeded CRS-

2672: Attempting to start 'ora.gipcd' on


'oel2' CRS-2676: Start of 'ora.gipcd' on
'oel2' succeeded

CRS-2672: Attempting to start


'ora.gpnpd' on 'oel2' CRS-2676: Start of
'ora.gpnpd' on 'oel2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on
'oel2'
CRS-2676: Start of 'ora.cssdmonitor' on 'oel2'
succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'oel2'
CRS-2672:
Attempting
to
start
'ora.diskmon' on 'oel2' CRS-2676: Start of
'ora.diskmon' on 'oel2' succeeded CRS2676: Start of 'ora.cssd' on 'oel2'
succeeded
CRS-2672: Attempting to start
'ora.ctssd' on 'oel2' CRS-2676: Start of
'ora.ctssd' on 'oel2' succeeded CRS2672: Attempting to start 'ora.asm' on
'oel2' CRS-2676: Start of 'ora.asm' on
15:56:23
oel2
2012/05/
17
/
u01/app/11.2.0/grid/cdata/oel2/backup_20120517_1
55623.olr
Preparing packages for
installation... cvuqdisk-1.0.71
Confgure Oracle Grid Infrastructure for a Cluster ...
succeeded
Checking swap space: must be greater
Actual 4093
Passed
thaninventory
500 MB. pointer is located at
MB
The
/etc/oraInst.loc
The inventory is located at
/u01/app/oraInventory
'UpdateNodeList' was successful.

host oel1:root.sh
Running Oracle 11g root.sh script...
The following environment variables
are set as: ORACLE_OWNER=
oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory:
[/usr/local/bin]: Copying dbhome to /usr/local/bin
...

Copying oraenv to /usr/local/bin ...


Copying coraenv to /usr/local/bin ...

Creating /etc/oratab fle...


Entries will be added to the /etc/oratab fle as
needed by Database Confguration Assistant
when a database is created Finished running
generic part of root.sh script.
Now product-specifc root actions will be performed.
2012-05-19 15:22:24: Parsing the host name
2012-05-19 15:22:24: Checking for super user privileges
2012-05-19 15:22:24: User has super user privileges
Using confguration parameter fle:
/u01/app/11.2.0/grid/crs/install/crsconfg_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root',
privgrp 'root'.. Operation successful.
root wallet
root
wallet
cert root cert
export peer
wallet
profle reader
wallet pa wallet
peer wallet
keys pa wallet
keys peer cert
request pa
cert request
peer cert
pa cert
peer root cert TP
profle reader root cert TP
pa root cert
TP peer pa
cert TP pa
peer cert TP
profle reader pa cert
TP profle reader peer
cert TP peer user cert
pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has
been started. ohasd is starting
acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:
acfsroot:
found

at

ACFS-9302:

No

installation

fles

/u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5uekx86_64/bin.
CRS-2672: Attempting to start 'ora.gipcd'
on 'oel1' CRS-2672: Attempting to start
'ora.mdnsd' on 'oel1' CRS-2676: Start of
'ora.gipcd' on 'oel1' succeeded CRS2676: Start of 'ora.mdnsd' on 'oel1'
succeeded CRS-2672: Attempting to start
'ora.gpnpd' on 'oel1' CRS-2676: Start of
'ora.gpnpd' on 'oel1' succeeded
CRS-2672:
Attempting
to
start
'ora.cssdmonitor' on 'oel1' CRS-2676: Start of
'ora.cssdmonitor' on 'oel1' succeeded CRS2672: Attempting to start 'ora.cssd' on 'oel1'
CRS-2672:
Attempting
to
start
'ora.diskmon' on 'oel1' CRS-2676: Start of
'ora.diskmon' on 'oel1' succeeded CRS2676: Start of 'ora.cssd' on 'oel1'
succeeded
CRS-2672:
Attempting
to
start
'ora.ctssd' on 'oel1'
CRS-2676: Start of 'ora.ctssd' on 'oel1'
succeeded
ASM created and started successfully.
DiskGroup DATA created successfully.
clscfg: -install mode specifed
Successfully accumulated necessary
OCR keys. Creating OCR keys for user
'root', privgrp 'root'.. Operation
successful.
CRS-2672: Attempting to start 'ora.crsd' on 'oel1'
CRS-2676: Start of 'ora.crsd' on 'oel1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk
50e83ca5f0614fb5bf803504ee9172f7. Successfully
replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting fle(s) successfully replaced
## STATE
File Universal Id
File Name Disk group
-- ----------------------------- --------1. ONLINE
50e83ca5f0614fb5bf803504ee9172f7
(/dev/raw/raw1) [DATA] Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'oel1'
CRS-2677: Stop of 'ora.crsd' on 'oel1'
succeeded CRS-2673: Attempting to
stop 'ora.asm' on 'oel1' CRS-2677: Stop
of 'ora.asm' on 'oel1' succeeded CRS-

2673: Attempting to stop 'ora.ctssd' on


'oel1' CRS-2677: Stop of 'ora.ctssd' on
'oel1' succeeded
CRS-2673: Attempting to stop
'ora.cssdmonitor' on 'oel1' CRS-2677: Stop of
'ora.cssdmonitor' on 'oel1' succeeded

CRS-2673: Attempting to stop 'ora.cssd'


on 'oel1' CRS-2677: Stop of 'ora.cssd' on
'oel1' succeeded CRS-2673: Attempting
to stop 'ora.gpnpd' on 'oel1' CRS-2677:
Stop of 'ora.gpnpd' on 'oel1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd'
on 'oel1' CRS-2677: Stop of 'ora.gipcd' on
'oel1' succeeded CRS-2673: Attempting
to stop 'ora.mdnsd' on 'oel1' CRS-2677:
Stop of 'ora.mdnsd' on 'oel1' succeeded
CRS-2672: Attempting to start
'ora.mdnsd' on 'oel1' CRS-2676: Start of
'ora.mdnsd' on 'oel1' succeeded CRS2672: Attempting to start 'ora.gipcd' on
'oel1' CRS-2676: Start of 'ora.gipcd' on
'oel1' succeeded CRS-2672: Attempting
to start 'ora.gpnpd' on 'oel1' CRS-2676:
Start of 'ora.gpnpd' on 'oel1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on
'oel1'
CRS-2676: Start of 'ora.cssdmonitor' on 'oel1'
succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'oel1'
CRS-2672:
Attempting
to
start
'ora.diskmon' on 'oel1' CRS-2676: Start of
'ora.diskmon' on 'oel1' succeeded CRS2676: Start of 'ora.cssd' on 'oel1'
succeeded
CRS-2672: Attempting to start
'ora.ctssd' on 'oel1' CRS-2676: Start of
'ora.ctssd' on 'oel1' succeeded CRS2672: Attempting to start 'ora.asm' on
'oel1' CRS-2676: Start of 'ora.asm' on
'oel1' succeeded CRS-2672: Attempting
to start 'ora.crsd' on 'oel1' CRS-2676:
oel1
2012/05/
15:27:54
19
/
u01/app/11.2.0/grid/cdata/oel1/backup_20120519_1
52754.olr
Preparing packages for
installation... cvuqdisk-1.0.71
Confgure Oracle Grid Infrastructure for a Cluster ...
succeeded
Checking swap space: must be greater than 500 MB.
Actual 4070 MB
Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory

'UpdateNodeList' was successful.

host oel2:root.sh
Running Oracle 11g root.sh script...
The following environment variables
are set as: ORACLE_OWNER=
oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory:
[/usr/local/bin]: Copying dbhome to /usr/local/bin
...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...

Creating /etc/oratab fle...


Entries will be added to the /etc/oratab fle as
needed by Database Confguration Assistant
when a database is created Finished running
generic part of root.sh script.
Now product-specifc root actions will be performed.
2012-05-19 15:28:41: Parsing the host name
2012-05-19 15:28:41: Checking for super user privileges
2012-05-19 15:28:41: User has super user privileges
Using confguration parameter fle:
/u01/app/11.2.0/grid/crs/install/crsconfg_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root',
privgrp 'root'.. Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has
been started. ohasd is starting

acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:


acfsroot:
ACFS-9302:
No
installation
found
at
/u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5uekx86_64/bin.

fles

CRS-4402: The CSS daemon was started in exclusive mode but found an
active CSS daemon on node oel1, number 1, and is terminating

An active cluster was found during exclusive startup, restarting to join the
cluster
CRS-2672: Attempting to start
'ora.mdnsd' on 'oel2' CRS-2676: Start of
'ora.mdnsd' on 'oel2' succeeded CRS2672: Attempting to start 'ora.gipcd' on
'oel2' CRS-2676: Start of 'ora.gipcd' on
'oel2' succeeded CRS-2672: Attempting
to start 'ora.gpnpd' on 'oel2' CRS-2676:
Start of 'ora.gpnpd' on 'oel2' succeeded
CRS-2672:
Attempting
to
start
'ora.cssdmonitor' on 'oel2' CRS-2676: Start of
'ora.cssdmonitor' on 'oel2' succeeded CRS2672: Attempting to start 'ora.cssd' on 'oel2'
CRS-2672:
Attempting
to
start
'ora.diskmon' on 'oel2' CRS-2676: Start of
'ora.diskmon' on 'oel2' succeeded CRS2676: Start of 'ora.cssd' on 'oel2'
succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'oel2'
CRS-2676: Start of 'ora.ctssd' on 'oel2'
succeeded CRS-2672: Attempting to start
'ora.asm' on 'oel2' CRS-2676: Start of
'ora.asm' on 'oel2' succeeded CRS-2672:
Attempting to start 'ora.crsd' on 'oel2'
CRS-2676: Start of 'ora.crsd' on 'oel2'
succeeded CRS-2672: Attempting to start
'ora.evmd' on 'oel2' CRS-2676: Start of
'ora.evmd'
on 'oel2' succeeded
oel2
2012/05/
19
/
u01/app/11.2.0/grid/cdata/oel2/backup_20120519_1
Preparing packages for installation...
cvuqdisk-1.0.7-1
Confgure Oracle Grid Infrastructure for a Cluster ...
succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...

Checking swap space: must be greater


than
500 MB. pointer is located at
The inventory
/etc/oraInst.loc
The inventory is located at
/u01/app/oraInventory
'UpdateNodeList' was successful.

Actual 4094
MB

15:31:25

Passed


Good luck

Das könnte Ihnen auch gefallen