Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Oracle Tutorial: How to check Oracle RAC is setup correctly and ready for use

There are several things you can check to ensure that Oracle RAC is set up correctly and ready for importing a .dmp file:

  1. Verify that all the nodes in the RAC cluster are up and running: You can use the crsctl stat res -t command to check the status of all the resources managed by Oracle Clusterware, including the RAC database, listeners, and VIPs.
  2. Check the status of the RAC database: You can use the srvctl status database -d <database_name> command to check the status of the RAC database, where <database_name> is the name of the RAC database.
  3. Ensure that the RAC database is in ARCHIVELOG mode: Before importing a .dmp file, you should ensure that the RAC database is in ARCHIVELOG mode. You can use the archive log list command to verify that the database is in ARCHIVELOG mode.
  4. Check the amount of free space on the disk: You should ensure that there is enough free space on the disk where you plan to import the .dmp file. You can use the df -h command to check the amount of free space on the disk.
  5. Ensure that the RAC database has the necessary tablespaces: Before importing the .dmp file, you should ensure that the RAC database has the necessary tablespaces for the data being imported. You can use the select tablespace_name from dba_tablespaces; command to verify that the necessary tablespaces exist.
  6. Verify that the RAC database has the required privileges: Before importing the .dmp file, you should ensure that the RAC database has the necessary privileges for the user importing the .dmp file. You can use the select * from dba_sys_privs where grantee='<user>'; command to verify that the required privileges exist for the user.

By verifying these things, you can ensure that Oracle RAC is set up correctly and ready for importing a .dmp file.


$ crsctl stat res -t
$ srvctl status database -d <database_name>
$ archive log list
$ select tablespace_name from dba_tablespaces;
$ select * from dba_sys_privs where grantee='<user>';

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x