In a RAC environment we can create services and run
these services on a specific RAC instance/node (or a set of instances/nodes).
This makes it possible for the applications to connect to specific instances. In
this article I would explain how we create a service and make it run on the
instance(s) of our choice, and make it automatically failover to another
instance/node if current instance node goes down.
Oracle Installation guides, Linux Administration tips for DBAs, Performance Tuning tips, Disaster Recovery, RMAN, Dataguard and ORA errors solutions.
No contents from my website can be published anywhere else without my permission. Test every solution before implementing in the production environment.
Friday, September 28, 2018
Sunday, September 23, 2018
How to Add and Remove database to CRS or Oracle Restart
In RAC or Oracle Restart environment we can use
“srvctl” command to add resources to CRS for automatic management of the
resources. In this article I would explain how we remove and add a database
resource to CRS in RAC environment. Same process can be used for single
instance database in Oracle Restart environment. These steps are needed to
be executed as RDBMS software owner “oracle”. Starting 12c, single letter
options (-d, -i, etc.) can still be used, but probably these would be made obsolete
in coming releases because full length option (-db, -instance etc.) have been
introduced and I will use these full length options here.
Wednesday, September 19, 2018
CRS-0245: User doesn't have enough privilege to perform the operation
Reason of CRS-0245 is
that you are executing “srvctl” command to perform a task that is not
authorized for current logged in user. For example, I was trying to remove a
RAC database from CRS using srvctl and I faced this error because I was executing
this command as “grid” user whereas I was supposed to execute this command as
“oracle” user that is RDBMS software owner.
Friday, September 7, 2018
PRKO-3141 : Database could not be removed because it was running
If we use “srvctl”
command to remove a database from CRS (in case of RAC) or Oracle Restart (in
case of single server GI installation), we might face this error if database is
currently running. To successfully
remove a database from CRS using srvctl, either shutdown the database (all
instances), or alternatively you can use “–f” (for versions bellow 12c) or “-force”
(for 12 and above) option.
Saturday, September 1, 2018
OEM Target Status Pending – OEM Metric Collection Error
Oracle Enterprise Manager Cloud Control is a
very handy tool to monitor database servers. Sometimes it happens that Cloud
Control does not show the actual status of a target. If status of your database
is either “Pending” or “Metric Collection Error”, you can try following trouble
shooting steps to resolve the problem. Similar steps may also be followed if
targets other than database targets face same issue.
Subscribe to:
Posts (Atom)
Popular Posts - All Times
-
This error means that you are trying to perform some operation in the database which requires encryption wallet to be open, but wallet is ...
-
Finding space usage of tablespaces and database is what many DBAs want to find. In this article I will explain how to find out space usage ...
-
ORA-01653: unable to extend table <SCHEMA_NAME>.<SEGMENT_NAME> by 8192 in tablespace <TABLESPACE_NAME> This error is q...
-
You may also want to see this article about the ORA-12899 which is returned if a value larger than column’s width is inserted in the col...
-
This document explains how to start and stop an Oracle cluster. To start and stop Grid Infrastructure services for a standalone installatio...
-
If database server CPU usage is showing 100%, or high 90%, DBA needs to find out which session is hogging the CPU(s) and take appropriate ...
-
If you want to know how we upgrade an 11g database to 12c using DBUA, click here . For upgrading 12.1.0.1 to 12.1.0.2 using DBUA, ...
-
By default AWR snapshot interval is set to 60 minutes and retention of snapshots is set to 8 days. For better and precise investigation of...
-
SWAP space recommendation from Oracle corp. for Oracle 11g Release 2 If RAM is between 1 GB and 2 GB, SAWP should be 1.5 times the s...
-
This article explains how to install a 2 nodes Oracle 12cR1 Real Application Cluster (RAC) on Oracle Linux 7. I did this installation on O...