Disclaimer

Friday 16 July 2021

root.sh Vs rootcrs.sh - RAC

 -------- ROOT-------

root.sh

It will create a /etc/oratab file. This is the file which we use to make an automatic Database shutdown and startup.

It Sets appropriate permission to the OCR base directory

It Creates the OCR backup and Network Socket directories.

It Modifies the ownership to 'root' user on the Oracle base and Cluster home filesystem.

It Configures the OCR and voting disks (only on the first node)

It Starts the Clusterware daemons.

It adds Clusterware daemons to the inittab file.

It Verifies whether the Clusterware is up on all nodes.

On the last node, initiates ./vipca in silent mode to configure node apps, such as GSD, VIP, and ONS for all the nodes.

It verifies the superuser privileges.

It Generates OCR keys for the 'root' user.

It Adds daemon information to the inittab file

Starts up the Oracle High Availability Service Daemon (OHASD) process.

Creates and configures an ASM instance and starts up the instance.

Creates required ASM disk groups, if ASM is being used to put OCR and voting files.

Starts up the Cluster Ready Service Daemon (CRSD) process

Creates the voting disk file.

It Puts the voting disk on the Voting disk if the ASM type is selected.

It Displays voting disk details

Stops and restarts a cluster stack and other cluster resources on the local node

Backs up the OCR to a default location

It Installs the cvuqdisk  package

It Updates the Oracle inventory file.

For more information about *ROOT.SH* the document below is useful for you:

What Are Root.sh And OrainstRoot.sh Scripts In A Standalone RDBMS Installation? (Doc ID 1493121.1)

------> This file is used in the FIRST *configuration* in both standalone environment and RAC environments.



------------   ROOTCRS ------------------

rootcrs.sh

-------> This file is used in the *deconfiguration* in RAC environments.


Also, rebuild RAC Clusterware.

Lock or unlock GI HOME

Deconfigure CRS on problematic node

To clean up a failed Grid Infrastructure installation. It specifically used if the "root.sh" script fails and you want to rewind and start again.

No comments:

Post a Comment

100 Oracle DBA Interview Questions and Answers

  Here are 100 tricky interview questions tailored for a Senior Oracle DBA role. These questions span a wide range of topics, including perf...