![](http://1.bp.blogspot.com/-_6OWqNQPgOM/Xi6NGWvr-rI/AAAAAAAASUs/uczu_NvtQw0Nc6bnJ75Mcpq6qMbkJvexgCLcBGAsYHQ/s1600/real_application_custer_18c.png)
This tutorial will walk you through the steps to set up a two nodes rac cluster using oracle grid infrastructure 18.3 as well as oracle database 18.3 on CentOS or RHEL 7 server. These instruction can also be applied if you are running Fedora or Oracle Linux 7 server.
Prerequisite
- You will need two CentOS/RHEL 7 servers either (physical or virtual) machines with minimum 8GB of memory and two network interface.
- Must have root user privileges.
- A working DNS server.
Environment
You should document everything before going into actual deployment:![](http://1.bp.blogspot.com/-Bv6HqLdGLKw/XirJbOf11cI/AAAAAAAASNA/MwYyFtvx7oMJLHgfckSq8R9OHXxc290dgCLcBGAsYHQ/s1600/environment.png)
You need to create (HOST-A) record of your SCAN in your DNS server like below:
![](http://3.bp.blogspot.com/-MR2G15RPHbs/XirjTszVdbI/AAAAAAAASOE/r9eipmNZBt0DuNWkwvWMsXeUsUbarUiVQCLcBGAsYHQ/s1600/SCAN.png)
1. Configuring SELinux
Log in to your first node, in our case (pdbserver1) and edit /etc/selinux/config file, replace SELINUX=enforcing parameter to SELINUX=permissiveSave and close file when you are done.
2. Disabling Firewall
You also need to stop and disable firewalld service if it is running, with below command:3. Set Timezone
Make sure timezone is correctly set on your servers. If it is not already, then you must set correct timezone with below command by replacing Asia/Karachi with yours:It is recommended to sync your servers clock with locally or publicly available NTP server like below:
4. Set Hostname
You can set hostname of your servers like below by replacing red highlighted with you actual server name.Edit your server's /etc/hosts file and add your nodes like below:
on pdbserver1:
![](http://1.bp.blogspot.com/-gcTGpZV45HI/Xi-yifn2BQI/AAAAAAAASU4/XBG6D6cXjac4tSzDwNXsO88jKnJL8LFTACLcBGAsYHQ/s1600/etc_hosts_1.png)
on pdbserver2:
![](http://1.bp.blogspot.com/-XdF-oq33tFs/Xi-yt-bta3I/AAAAAAAASU8/FPKs7kZsubg0T3JcGCLhOPE6RyLXpV6DACLcBGAsYHQ/s1600/etc_hosts_2.png)
5. Adding EPEL Repository
It is recommended to add extra packages for enterprise Linux repository so that you can easily find and install required packages using yum package manager:6. Adding Oracle Repository
Since, we are installing oracle grid infrastructure and database on CentOS/RHEL 7 server, we need to install some of the important packages from oracle Linux repository:Add below contents in it:
Save and close file when you are finished.
7. Installing Prerequisites
These are the important and required packages you need to install on your Linux servers. Type the below command to install these packages all together:You will also need to install oracleasm in order to configure your shared storage for oracle grid infrastructure:
Now you need to create password for oracle user like below:
8. Configuring OracleASM
At this point, you need to configure oracleasm on all of the servers with root user privileges like below:Enter the user oracle and group dba when it prompts like the output shown in below image
![](http://1.bp.blogspot.com/-tbUH3MlMQNA/XirbLo_h7cI/AAAAAAAASNM/T-HDvSHQ7O0iKyoxx2ZG3pT6-_3opzT2ACLcBGAsYHQ/s1600/oracleasm_configure.png)
Now type the below command to load oracleasm driver:
This will show you the output like below:
![](http://1.bp.blogspot.com/-3EuIEIrk8LM/XirbL4nKSaI/AAAAAAAASNQ/C-lo7QUxmj8H5QlcGEoAcfZl1ooqvEOyQCLcBGAsYHQ/s1600/oracleasm_init.png)
When you are finished from step 1 to 8 on each node in your environment, you can proceed to next step.
9. Creating Disk Group
For this guide we are using openfiler as our ISCSI shared storage and we have already configured it using iscsiadm command as well as created raw disks using fdisk on our servers.Now, log in to your first node (pdbserver1) with root user and create disk group like below:
Type below commands to scan disk groups:
You will see the similar output like below:
![](http://1.bp.blogspot.com/-ND325Fw_GTc/XireAA1cdLI/AAAAAAAASNc/WtY_JGn1_4Ean2NEdDHY1GN-yQkiu5ulACLcBGAsYHQ/s1600/oracleasm_createdisk.png)
Since this the shared storage so we will just execute below command to scan disk groups on the remaining nodes, in our case (pdbserver2) with root user. If you have more then two nodes in your environment, just type below command one by one.
10. Configuring Shell Environment
Its time to create environment variables on all of the nodes one by one. Log in with oracle user or you can switch from root user session to oracle directly with below command:Now, you need to edit default .bash_profile of oracle user like below:
Add below contents at the end of the file but make sure you replace red highlighted with yours:
Save and close file when you are done.
Again, create grid_env file like below:
Add below contents in it:
Save and close file when you are finished.
Now create db_env file like below"
Add below contents in it:
Save and close file when you are done.
Now, make grid_env and db_env executable with below command:
Before proceeding to next step, make sure you have performed all of the above steps on each node. We are just preparing two nodes cluster, so the environment variables on our servers are as shown in image below.
bash_profile on pdbserver1
![](http://1.bp.blogspot.com/-l3sg5H35e9c/Xi5iaA0w-WI/AAAAAAAASQc/DCtdJTEJcTs3fktAZImUsxF5S4eezdDsgCLcBGAsYHQ/s1600/bash_profile-1.png)
bash_profile on pdbserver2:
![](http://1.bp.blogspot.com/-Z-kUsAe9_0Y/Xi5iqI91DNI/AAAAAAAASQk/DPAg_UbRQjY-vUeM_NgO_CcGwZcLqAxXgCLcBGAsYHQ/s1600/bash_profile-2.png)
db_env on pdbserver1:
![](http://1.bp.blogspot.com/-uOfxkwEzGOw/Xi5jBSaYSHI/AAAAAAAASQw/1upEPZvkW7kucUCdxVTlJJGs6fyyOBydACLcBGAsYHQ/s1600/db_env-1.png)
db_env on pdbserver2:
![](http://1.bp.blogspot.com/-S1RBgiCkJEA/Xi5i2NgmvJI/AAAAAAAASQo/YX7f3c-4u644OORA8zd_K9ILJs7nf7qMQCLcBGAsYHQ/s1600/db_env-2.png)
grid_env on pdbserver1:
![](http://1.bp.blogspot.com/-FOKKEgS2rLc/Xi5jKQ2cz1I/AAAAAAAASQ8/0rgOWtLlLyIbDblLCaw2rIuAWJ7RDmlCACLcBGAsYHQ/s1600/grid_env-2.png)
grid_env on pdbserver2:
![](http://1.bp.blogspot.com/-XMEtdDMnEOg/Xi5jKYCJ0wI/AAAAAAAASQ4/6vFhB_HaoxkeSENyNQ16suXocZPtDpINgCLcBGAsYHQ/s1600/grid_env-1.png)
11. Creating Oracle Base
With root user privileges, create these directories under /u01 on each node and set appropriate permission like blow:Now log in with oracle user on your first node and extract grid setup under /u01/app/product/18.0.0.0.0/grid directory like below:
At this point, you need to install cvuqdisk rpm package from grid setup directory with root user on each node like below:
When you are done installing cvuqdisk rpm package on each node, proceed to next step of grid installation.
12. Installing Oracle Grid 18c
We will run graphical installation, if you wish you can go for silent installation as well. Log in to your first node with oracle user and run grid setup like below:Since this our first grid infrastructure installation so keep the default on below screen click Next,
![](http://1.bp.blogspot.com/-9FhZID2kEFM/XirhBj5CpnI/AAAAAAAASNo/OCx7js-ItFIcu7XqELMG5BJYFp7R4O9JwCLcBGAsYHQ/s1600/configuration_option.png)
{Configure an Oracle Standalone Cluster} and click Next
![](http://1.bp.blogspot.com/-g-KcuWfcRPg/XirheeozveI/AAAAAAAASNw/g3_VwmyJlmgPOcHd__T0WpX2EwE6JdyygCLcBGAsYHQ/s1600/cluster_configuration.png)
Enter Cluster Name, SCAN Name and keep the SCAN Port default.
Click Next
![](http://1.bp.blogspot.com/-RR0jX1ZRM8M/Xirh5H8JDMI/AAAAAAAASN4/e894skT6xpY8AJUE4tIwk-1dpIvS_LojACLcBGAsYHQ/s1600/grid_plug_and_play.png)
Click Add to add second node then click SSH connectivity, enter oracle user password in OS Password box then click Setup
![](http://1.bp.blogspot.com/-_Zym5j3r5Pw/XirjuB9eFXI/AAAAAAAASOM/joXIDaer4Pky9wLhpjpYYQ8iEMbMVDgdQCLcBGAsYHQ/s1600/cluster_node_information.png)
This will bring you screen like below which says passwordless ssh connectivity for oracle user is established successfully across the servers.
Click OK
![](http://1.bp.blogspot.com/-Ol4embRtlSM/XirjvIu5LWI/AAAAAAAASOc/ajIC3dBeeL4QUGy8gD4PP0MjXEIKcuXRgCLcBGAsYHQ/s1600/ssh_connection_established.png)
Click Next
![](http://1.bp.blogspot.com/-_Zym5j3r5Pw/XirjuB9eFXI/AAAAAAAASOM/joXIDaer4Pky9wLhpjpYYQ8iEMbMVDgdQCLcBGAsYHQ/s1600/cluster_node_information.png)
Ensure that it shows correct network interfaces against its use for, then click Next.
![](http://1.bp.blogspot.com/-2J5XjtyVc7I/XirjvBoJ9KI/AAAAAAAASOg/oYSYlK6N_Gw06t5PNWvD75R5uHbOnJd-wCLcBGAsYHQ/s1600/network_interface_usage.png)
We are using iscsi shared storage as we have already configured using oracleasm earlier, so we will go for first option on below screen.
![](http://1.bp.blogspot.com/-z57t_xsTO9Y/XirjvorIeYI/AAAAAAAASOk/SxKNGz4IUSQxJWz7HNpeZMh2HQcB9i0BACLcBGAsYHQ/s1600/storage_option.png)
Click No then Next
![](http://1.bp.blogspot.com/-HwgoQ-tVblE/Xirju0TeccI/AAAAAAAASOY/DhrUwm5U4G0AdrKNTQfT0DnZoGuNGr3zQCLcBGAsYHQ/s1600/grid_infrastructure_management.png)
Click External in Redundancy then click Change Discovery Path and enter/dev/oracleasm/disks in the box to retrieve disk groups.
Click Next.
![](http://1.bp.blogspot.com/-UT09DYIVdx8/XirjuFb9ExI/AAAAAAAASOU/i2wmZGKvmaQZ7gSK4RdP3VU4dzG1Ct8xACLcBGAsYHQ/s1600/create_asm_disk_group.png)
Click {Use same password for these accounts}, Specify Password then Confirm Password click Next.
![](http://1.bp.blogspot.com/-pwSXbg43bQ4/XiroSPlAuVI/AAAAAAAASO8/TfbbD9t8KloXkKV9DrN9yOQmcS15krTmwCLcBGAsYHQ/s1600/asm_password.png)
Click Next.
![](http://1.bp.blogspot.com/-q6itsZCqf5s/XiroSZHYytI/AAAAAAAASPA/O-dXMJEZAy8sLnOSdMD-xaTiXbIrGEbRQCLcBGAsYHQ/s1600/failure_isolation.png)
Click Next.
![](http://1.bp.blogspot.com/-0XmHZdVq2FM/XiroTbgIzTI/AAAAAAAASPM/l2rxZLYuqZ4HStmh2mJP6ivXjdYyiQDZgCLcBGAsYHQ/s1600/management_option.png)
Keep the default and click Next.
![](http://1.bp.blogspot.com/-pahqURcGjEU/XiroTshSu3I/AAAAAAAASPQ/AvjKs0McXKMVCh2XX_hVP-H5t---LnZOQCLcBGAsYHQ/s1600/operating_system_group.png)
Click Yes on below warning box.
![](http://1.bp.blogspot.com/-zM-nEgKTqH0/XiroT24zJeI/AAAAAAAASPU/b6NO7BOu-kg29TgysSE7dnqrZ7WXHWznwCLcBGAsYHQ/s1600/osasm_group.png)
Click Next
![](http://1.bp.blogspot.com/-lZR7WvqBj6M/XiroS8b_MEI/AAAAAAAASPI/xv_vKn0C6ek15uLoN70yW4PQGgu1wVtwQCLcBGAsYHQ/s1600/installation_location.png)
Click Next.
![](http://1.bp.blogspot.com/-KeNKLaZVnrA/XiroSYVtxxI/AAAAAAAASPE/V3CJvjU3cvoWAN-0rqmZmwf4kqkV6mTVQCLcBGAsYHQ/s1600/create_inventory.png)
Click Next.
![](http://1.bp.blogspot.com/-EQLCN_wBdVo/XiroUd4n8AI/AAAAAAAASPY/MW7tUJSVi9wzip_6EniVJrcCI8r94qAXACLcBGAsYHQ/s1600/root_script_execution.png)
Verify everything then click Install.
![](http://1.bp.blogspot.com/-Ig0rLrlRQ4Y/XiroUizkICI/AAAAAAAASPc/uqmnokgq29MQ64Slg2nlXFXtCinuNtyRQCLcBGAsYHQ/s1600/summary.png)
Installation progress screen will prompts you for root scripts execution.
![](http://1.bp.blogspot.com/-ydcPsoftb-M/XirrWu1OjuI/AAAAAAAASP0/xYHHqqUMb1AbfXo2OBlGbLkZEIMvlfHRgCLcBGAsYHQ/s1600/executing_root_script-1.png)
Stop here and go back to your servers, log in with root user and execute these root scripts one by one on each node but on primary node first.
![](http://1.bp.blogspot.com/-ryoJNCJmw1k/XirsCaWpu6I/AAAAAAAASP8/FSrElxU9ZcogCi2awaZKc4KxQCg4gdu-wCLcBGAsYHQ/s1600/executing_root_script.png)
When you are done with root scripts execution on each node, come back to installation screen and click OK on root script prompt. Now, it will take few minutes to complete remaining installation stages.
![](http://1.bp.blogspot.com/-hSp1DNOFTCA/XirssZ-m6RI/AAAAAAAASQI/A1BzX3yq7Fg7Of2WnPgrESCGi-nRJ26EwCLcBGAsYHQ/s1600/install_product-1.png)
Click Close.
![](http://1.bp.blogspot.com/-YuyST7VTmak/XirtoraGy1I/AAAAAAAASQQ/OfosCHaUbmwAMxpcIjQQK7TxX3tlW7NnQCLcBGAsYHQ/s1600/finish.png)
At this stage, your oracle grid infrastructure installation is completed successfully.
13. Installing Oracle Database 18c
Log in to your first node with root user and extract database under /u01/app/oracle/product/18.0.0.0.0/dbhome_1 location like below.
Again, we will run graphical installation, if you wish you can go for silent installation.Type below command to run graphical installation of database 18c
Choose {Set Up Software Only} click Next.
![](http://1.bp.blogspot.com/-VDflT9sBfYo/Xi5oLUfIhtI/AAAAAAAASRw/_NmDK8T-L94oh68GILflemVb-tidC9FcACLcBGAsYHQ/s1600/database_configuration_option.png)
On the below screen, select {Oracle Real Application Clusters database installation} click Next
![](http://1.bp.blogspot.com/-BRhmX0sXZx8/Xi5nkEeRt-I/AAAAAAAASRM/MrRTXxWICDkOCYUlKd0QDdlGmD_Vj9qNQCLcBGAsYHQ/s1600/database_installation_option.png)
Click Next.
![](http://1.bp.blogspot.com/-hdl86zlDrJQ/Xi5oGY5V5JI/AAAAAAAASRo/itxLnTBtG-AvoHDYkkBedWUDHgztfFQkwCLcBGAsYHQ/s1600/database_nodes_selection.png)
Select {Enterprise Edition} click Next
![](http://1.bp.blogspot.com/-6ihrZsWAnF8/Xi5oFIQb3oI/AAAAAAAASRU/ve9WIoLnMJAmsNVwktvsrC0QDvWWo-DYACLcBGAsYHQ/s1600/database_edition.png)
Click Next.
![](http://1.bp.blogspot.com/-9ppYy0yKCiM/Xi5oGH1_olI/AAAAAAAASRg/pk6qGanjWjIE-uGP3Kvf9b7KnJ9QWRQOACLcBGAsYHQ/s1600/database_installation_location.png)
Keep the default and click Next.
![](http://1.bp.blogspot.com/-CZ-PHd1MoMk/Xi5oGeVQc0I/AAAAAAAASRk/qVRvODnaPCgAVU2Py3RCK_2KWc4NIwFCgCLcBGAsYHQ/s1600/database_operating_system_group.png)
After prerequisites checks, if all goes well, setup will bring you below summary screen.
Click Install.
![](http://1.bp.blogspot.com/-wgVRvww_4QQ/Xi5oG80JiGI/AAAAAAAASRs/u5a_RtT4iYEthMjYfJw1523_OKufoUt7ACLcBGAsYHQ/s1600/database_summary.png)
When it says, execute root scripts, stop right there and go back to your first node execute root scripts and then on other nodes as well. Once you are finished executing root scripts, come back to installer screen and click OK
![](http://1.bp.blogspot.com/-qNOhovTvEes/Xi5oFSlZfWI/AAAAAAAASRY/Rh2QBuPz8FAkmEctXAIvdT3rnZJf7svdACLcBGAsYHQ/s1600/database_executing_root_script.png)
Click Close to finish setup.
![](http://1.bp.blogspot.com/-wOKZuTIt5L8/Xi5oFehzIRI/AAAAAAAASRc/No1_CLdTP7IcMXsW60Hh-6ENuihVvwmOACLcBGAsYHQ/s1600/database_finish_install.png)
Well, at this stage your database installation has been successful.
14. Creating a Database
Type blow command to set appropriate permission on each node with root user:When you are finished with the above, log in to your first node with oracle user and start database creation wizard like below:
Type dbca to run database creation wizard:
Choose {Create a database} click Next
![](http://1.bp.blogspot.com/-5igCZEGFQbI/Xi5thj_h2gI/AAAAAAAASSU/yAbtLU0E6-Qzm2yMxqJa-wEiSDTh6AjkQCLcBGAsYHQ/s1600/create_database.png)
Select {Advanced configuration} click Next
![](http://1.bp.blogspot.com/-jkfi08d_fRs/Xi5tiji-5oI/AAAAAAAASSc/Gvq8s9b1AFgBhs35i12nYy2fvUq65rKoACLcBGAsYHQ/s1600/database_creation_mode.png)
Click Next
![](http://1.bp.blogspot.com/-adGudAPb75o/Xi5tjg4NtVI/AAAAAAAASSs/pr6guzDq-sUOvIG1IS_y4g4sL0-PDApqQCLcBGAsYHQ/s1600/database_deployment_type.png)
Click Next
![](http://1.bp.blogspot.com/-md_b-9iPpLc/Xi5tkgjvikI/AAAAAAAASS4/7wMv4ZeRFJQNVmrSoHJfBla1SwCzme3CwCLcBGAsYHQ/s1600/database_nodes_selection_1.png)
Provide {Fast Recovery Area Size} according to your environment and click Next.
![](http://1.bp.blogspot.com/-70RW6miGCW0/Xi5tkAa2kRI/AAAAAAAASSw/ZtJkRsiLP2sIvTdPkjZc6MKBx1Ze_Rz6QCLcBGAsYHQ/s1600/database_fast_recovery_option.png)
Leave un-ticked and click Next
![](http://1.bp.blogspot.com/-NzWBwdaPHaM/Xi5tiAV9CUI/AAAAAAAASSY/tHXsMfO-iBErGNVupdP6zHZREk-8yJB8QCLcBGAsYHQ/s1600/data_valut_option.png)
Set {Processes} according to your requirement and click Next.
![](http://1.bp.blogspot.com/-OMR6oUEfJb8/Xi5tg95kpFI/AAAAAAAASSQ/AiVjTlGuBygDKYAhiDUJ3-lSV0AvQ7nPgCLcBGAsYHQ/s1600/configuration_option_sizing.png)
Specify the management options and click Next.
![](http://1.bp.blogspot.com/-5e-cXmIIfks/Xi5tkfL10QI/AAAAAAAASS0/wKKTl4GuDy4djJWOByga8bFbl6jb4OUEQCLcBGAsYHQ/s1600/database_management_option.png)
Select {Use the same administrative password for all users} and enter the password.
Click Next.
![](http://1.bp.blogspot.com/-F_rhYIiN624/Xi5tlC1ABmI/AAAAAAAASTA/WIWGkED5wUcCgkbIPlhZktMHj7ZktdCWwCLcBGAsYHQ/s1600/database_user_credentials.png)
Select {Create database} then click {Generate database creation scripts} and keep the default path.
Click { All Initialization Parameters}
![](http://1.bp.blogspot.com/-awJcn4qC0BU/Xi5ti4yDz0I/AAAAAAAASSg/9bPRsGo-eHMZs58RI0CMlVOlEJj3l9zewCLcBGAsYHQ/s1600/database_creation_option.png)
Make sure {db_name}, {db_unique_name},{db_domain} and {sessions} are ticked to Include in spfile
When you done, close this window screen.
![](http://1.bp.blogspot.com/-PlX8uZqsOI4/Xi5tllwgy9I/AAAAAAAASTE/xQUUF5WdC7s2-oYtuOeQuHu7RBSD6iVjACLcBGAsYHQ/s1600/storage_related_parameters.png)
Click Next.
It will take a moment to perform Prerequisites Checks.
![](http://1.bp.blogspot.com/-q8P1ZRH9Cx0/Xi5tk8a06HI/AAAAAAAASS8/2wjneH-pCnY0PM4v2m4SAPxdpDzaEa-qgCLcBGAsYHQ/s1600/database_prerequisites_checks.png)
If all goes well with prerequisites checks, you will see the below summary screen.
Click Finish to start database creation process.
![](http://1.bp.blogspot.com/-U9tSEl0EYrU/Xi5tjT-0T3I/AAAAAAAASSo/pw6dMoFI9AM0zj0rd0rvSFi8YaA8BkKhwCLcBGAsYHQ/s1600/database_creation_summary.png)
Database creation process has begun.
![](http://1.bp.blogspot.com/-wfS180DC2zs/Xi5tjNJOISI/AAAAAAAASSk/TdaBRsG2ip8aWuMZAAVG3j-_ooVJYhfKgCLcBGAsYHQ/s1600/database_creation_progress.png)
When its done, click Close to finish the database creation wizard.
15. Verifying RAC and Database Status
At this stage, your database creation has been successful. Now log in with oracle user on your first node and type below command to verify your RAC cluster and database status.To verify RAC (Real Application Cluster) status, type below command:
![](http://1.bp.blogspot.com/-ualsnlh0RP8/Xi5_hHBzdUI/AAAAAAAASTk/_CrfHYmJXwk-Fo0xempVLRq6f-vXRVCvwCLcBGAsYHQ/s1600/rac_cluster_status.png)
To verify database status:
![](http://1.bp.blogspot.com/-xuHzIzAsCIc/Xi5_2qDS3UI/AAAAAAAASTs/f2wzaOztUNEYXeVh3oG-Z0cJ1kWzZwsJgCLcBGAsYHQ/s1600/rac_database_status.png)
Type below command to verify database configuration in rac.
![](http://1.bp.blogspot.com/-X7sogCk51NM/Xi6AeHcRHgI/AAAAAAAAST8/wfD4PRy8bxM7RyOjGzCW_O_lWcGMhhRkgCLcBGAsYHQ/s1600/rac_database_status-1.png)
Type below command on SQL prompt:
![](http://1.bp.blogspot.com/-tiI4L9YUmb4/Xi6AIwtThPI/AAAAAAAAST0/LyOhUOJ-gxwwJ1akX6s1l_NhHA9E6MvPwCLcBGAsYHQ/s1600/rac_database_status-2.png)
16. Startup and Shutdown
In this step, we will show you how to start or shutdown your cluster and database whenever you required to.Log in to any of the node with root user and type the below command to shutdown database first:
You can verify the database status whether it is stopped or not:
![](http://1.bp.blogspot.com/-sfVaMWpVEAg/Xi6D3_wEeHI/AAAAAAAASUI/7_50FXRCl1sS9AWQMborVvb__1Ma5V53QCLcBGAsYHQ/s1600/srvctl_stop_database.png)
When the database stopped successfully, you can initiate below command to stop real application cluster:
The output similar to like below shows that real application cluster has been stopped.
![](http://1.bp.blogspot.com/-rI2WEVw6EQg/Xi6GAH0uZhI/AAAAAAAASUU/4b3YFYzEZicbrWMyUreUQ7_pbuqErtwIwCLcBGAsYHQ/s1600/crsctl_stop_cluster.png)
Top bring back the cluster online, log to any of the node with root user and type the below command:
The output similar to like below shows that cluster is now online:
![](http://1.bp.blogspot.com/-nJ025shiTo8/Xi6HjYLLOEI/AAAAAAAASUg/j2EGgUntP_wCUptbKqPQZxS6A9EVjVmEQCLcBGAsYHQ/s1600/crsctl_start_cluster.png)
Now, you can type below command to start database as well: