'rac1' CRS-2673: Attempting to stop 'ora.
oc4j' on
'rac1'
Oracle 11gR2 Real Application Clusters(RAC)
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac1'
CRS-2673: Attempting to stop '[Link]' on 'rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'rac1'
[root@RAC1 oracle]# ps -ef | grep grid
root 5829 4513 0 08:53 pts/0 [Link] grep grid
[root@RAC1 oracle]# ps -ef | grep oracle
root 4316 2285 0 08:38 ? [Link] sshd: oracle [priv]
oracle 4318 4316 0 08:38 ? [Link] sshd: oracle@pts/0
oracle 4319 4318 0 08:38 pts/0 [Link] -bash
root 5834 4513 0 08:53 pts/0 [Link] grep oracle
- Starting cluster
[root@RAC1 oracle]# crsctl start cluster -all
CRS-2672: Attempting to start '[Link]' on 'rac1'
CRS-2672: Attempting to start '[Link]' on 'rac2'
CRS-2676: Start of '[Link]' on 'rac2' succeeded
CRS-2672: Attempting to start '[Link]' on 'rac2'
CRS-2672: Attempting to start '[Link]' on 'rac2'
CRS-2676: Start of '[Link]' on 'rac2' succeeded
CRS-2676: Start of '[Link]' on 'rac1' succeeded
CRS-2672: Attempting to start '[Link]' on 'rac1'
CRS-2672: Attempting to start '[Link]' on 'rac1'
CRS-2676: Start of '[Link]' on 'rac1' succeeded
[root@RAC1 oracle]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
Oracle 11gR2 Real Application Clusters(RAC)
- deleting services
$ srvctl status service -d RACDB -s SERVICE2
Service SERVICE2 is running on instance(s) RACDB2
$ srvctl stop service -d RACDB -s SERVICE2
$ srvctl config service -d RACDB -s SERVICE2
Service name: SERVICE2
Service is enabled
Server pool: RACDB_SERVICE2
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: SESSION
Failover method: BASIC
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: RACDB2
Available instances: RACDB1
$ srvctl remove service -d RACDB -s SERVICE2
$srvctl status service -d RACDB -s SERVICE2
PRCR-1001 : Resource [Link] does not exist
- Modifying services
$ srvctl config service -d RACDB -s SERVICE2
Service name: SERVICE2
Service is enabled
Server pool: RACDB_SERVICE2
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
Oracle 11gR2 Real Application Clusters(RAC)
TAF failover delay: 0
Connection Load
Balancing Goal:
LONG Runtime
Load Balancing
Goal: NONE TAF
policy specification:
NONE
Edition:
Preferred
instances
: RACDB2
Available
instances
: RACDB1
$srvctl modify service -d RACDB -s SERVICE2 -P BASIC -m basic -e session
$ srvctlconfig service -d
RACDB -s
SERVICE2
Service name:
SERVICE2
Service is enabled
Server
pool:
RACDB_SE
RVICE2
Cardinality
:1
Dis
co
nn
ect
:
fal
se
Se
rvi
ce
rol
e:
PR
IM
AR
Y
Management
policy:
AUTOMATIC
DTP
transaction:
false
AQ
HA
notific
ations
: false
Failov
er
type:
SESSI
ON
Failov
er
meth
od:
BASIC
TAF
failov
er
retrie
s: 0
TAF
failov
er
delay:
0
Connection Load
Balancing Goal:
LONG Runtime
Load Balancing
Goal: NONE TAF
policy specification:
BASIC
Edition:
Preferred
instances
: RACDB2
Available
instances
: RACDB1
[oracle@RAC1 ~]$ srvctl modify service -d RACDB -s ALL -i
RACDB1 -a RACDB2 -n [oracle@RAC1 ~]$
[oracle@RAC1 ~]$ srvctl config
service -d RACDB -s ALL Service
name: ALL
Servi
ce is
enab
led
Serv
er
pool:
RAC
DB_
ALL
Card
inalit
y: 1
Disc
onne
ct:
false
Servi
ce
role:
PRI
MAR
Y
Management
policy:
AUTOMATIC
DTP
transaction:
false
AQ HA notifications: false Failover type: NONE Failover method: NONE TAF failover retries: 0