10gr2

28

description

10gr2 installation

Transcript of 10gr2

Page 1: 10gr2
Page 2: 10gr2
Page 3: 10gr2
Page 4: 10gr2
Page 5: 10gr2
Page 6: 10gr2
Page 7: 10gr2
Page 8: 10gr2
Page 9: 10gr2
Page 10: 10gr2
Page 11: 10gr2
Page 12: 10gr2
Page 13: 10gr2
Page 14: 10gr2
Page 15: 10gr2

Rac2:

[root@rac2 oradata]# /u01/app/oracle/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oracle/oraInventory to 770.

Changing groupname of /u01/app/oracle/oraInventory to oinstall.

The execution of the script is complete

[root@rac2 oradata]# /u01/crs/oracle/product/10.2.0/crs/root.sh

WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/crs/oracle/product' is not owned by root

WARNING: directory '/u01/crs/oracle' is not owned by root

WARNING: directory '/u01/crs' is not owned by root

WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured

/etc/oracle does not exist. Creating it now.

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/crs/oracle/product' is not owned by root

WARNING: directory '/u01/crs/oracle' is not owned by root

WARNING: directory '/u01/crs' is not owned by root

WARNING: directory '/u01' is not owned by root

assigning default hostname rac1 for node 1.

Page 16: 10gr2

assigning default hostname rac2 for node 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node <nodenumber>: <nodename> <private interconnect name> <hostname>

node 1: rac1 rac1-priv rac1

node 2: rac2 rac2-priv rac2

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

Now formatting voting device: /dev/raw/raw2

Format of 1 voting devices complete.

Startup will be queued to init within 90 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

rac2

CSS is inactive on these nodes.

rac1

Local node checking complete.

Run root.sh on remaining nodes to start CRS daemons.

[root@rac2 oradata]#

Page 17: 10gr2

Rac1:

[root@rac1 dev]# /u01/app/oracle/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oracle/oraInventory to 770.

Changing groupname of /u01/app/oracle/oraInventory to oinstall.

The execution of the script is complete

[root@rac1 dev]# /u01/crs/oracle/product/10.2.0/crs/root.sh

[root@rac1 dev]# /u01/crs/oracle/product/10.2.0/crs/root.sh

WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/crs/oracle/product' is not owned by root

WARNING: directory '/u01/crs/oracle' is not owned by root

WARNING: directory '/u01/crs' is not owned by root

WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured

/etc/oracle does not exist. Creating it now.

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/crs/oracle/product' is not owned by root

WARNING: directory '/u01/crs/oracle' is not owned by root

WARNING: directory '/u01/crs' is not owned by root

WARNING: directory '/u01' is not owned by root

clscfg: EXISTING configuration version 3 detected.

Page 18: 10gr2

clscfg: version 3 is 10G Release 2.

assigning default hostname rac1 for node 1.

assigning default hostname rac2 for node 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node <nodenumber>: <nodename> <private interconnect name> <hostname>

node 1: rac1 rac1-priv rac1

node 2: rac2 rac2-priv rac2

clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 90 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

rac1

rac2

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Page 19: 10gr2

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

Creating VIP application resource on (2) nodes...

Creating GSD application resource on (2) nodes...

Creating ONS application resource on (2) nodes...

Starting VIP application resource on (2) nodes...

Starting GSD application resource on (2) nodes...

Starting ONS application resource on (2) nodes1:CRS-0215: Could not start resource 'ora.rac1.ons'.

Check the log file "/u01/crs/oracle/product/10.2.0/crs/log/rac1/racg/ora.rac1.ons.log" for more details

.1:CRS-0215: Could not start resource 'ora.rac2.ons'.

Check the log file "/u01/crs/oracle/product/10.2.0/crs/log/rac2/racg/ora.rac2.ons.log" for more details

..

Done.

Page 20: 10gr2
Page 21: 10gr2

Output generated from configuration assistant "Oracle Notification Server Configuration Assistant":

Command = /u01/crs/oracle/product/10.2.0/crs/bin/racgons add_config rac1.localdomain:6200 rac2.localdomain:6200

Configuration assistant "Oracle Notification Server Configuration Assistant" succeeded

-----------------------------------------------------------------------------

Output generated from configuration assistant "Oracle Private Interconnect Configuration Assistant":

Command = /u01/crs/oracle/product/10.2.0/crs/bin/oifcfg setif -global eth0/3.235.76.0:public eth1/192.168.76.0:cluster_interconnect

Configuration assistant "Oracle Private Interconnect Configuration Assistant" succeeded

-----------------------------------------------------------------------------

Output generated from configuration assistant "Oracle Cluster Verification Utility":

Command = /u01/crs/oracle/product/10.2.0/crs/bin/cluvfy stage -post crsinst -n rac1,rac2

Performing post-checks for cluster services setup

Checking node reachability...

Node reachability check passed from node "rac1".

Checking user equivalence...

User equivalence check passed for user "oracle".

Checking Cluster manager integrity...

Page 22: 10gr2

Checking CSS daemon...

Daemon status check passed for "CSS daemon".

Cluster manager integrity check passed.

Checking cluster integrity...

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.

Page 23: 10gr2

OCR integrity check passed.

Checking CRS integrity...

Checking daemon liveness...

Liveness check passed for "CRS daemon".

Checking daemon liveness...

Liveness check passed for "CSS daemon".

Checking daemon liveness...

Liveness check passed for "EVM daemon".

Checking CRS health...

CRS health check passed.

CRS integrity check passed.

Checking node application existence...

Checking existence of VIP node application (required)

Check passed.

Checking existence of ONS node application (optional)

Page 24: 10gr2

Check passed.

Checking existence of GSD node application (optional)

Check passed.

Post-check for cluster services setup was successful.

Configuration assistant "Oracle Cluster Verification Utility" succeeded

-----------------------------------------------------------------------------

The "/u01/crs/oracle/product/10.2.0/crs/cfgtoollogs/configToolAllCommands" script contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------

Page 25: 10gr2
Page 26: 10gr2

[root@rac1 ~]# srvctl start nodeapps -n rac2

CRS-0210: Could not find resource ora.rac2.LISTENER_RAC2.lsnr.

[root@rac1 ~]# crs_stat -t

Name Type Target State Host

------------------------------------------------------------

ora.rac1.gsd application ONLINE ONLINE rac1

ora.rac1.ons application ONLINE OFFLINE

ora.rac1.vip application ONLINE ONLINE rac1

ora.rac2.gsd application ONLINE ONLINE rac2

ora.rac2.ons application ONLINE ONLINE rac2

ora.rac2.vip application ONLINE ONLINE rac2

[root@rac1 ~]# srvctl start nodeapps -n rac1

CRS-0210: Could not find resource ora.rac1.LISTENER_RAC1.lsnr.

[root@rac1 ~]# crs_stat -t

Name Type Target State Host

------------------------------------------------------------

ora.rac1.gsd application ONLINE ONLINE rac1

ora.rac1.ons application ONLINE ONLINE rac1

ora.rac1.vip application ONLINE ONLINE rac1

ora.rac2.gsd application ONLINE ONLINE rac2

ora.rac2.ons application ONLINE ONLINE rac2

ora.rac2.vip application ONLINE ONLINE rac2

[root@rac1 ~]#

Page 27: 10gr2