For some maintenance activity, if RAC servers need to be rebooted then the steps are:
1. Check the status of all the services
[oracle@naikh] cd $CRS_HOME/bin
[oracle@naikh] crs_stat -t
2. Stop the database
[oracle@naikh] srvctl stop database -d orcl
3. Stop nodeapps
[oracle@naikh] srvctl stop nodeapps hostname1
[oracle@naikh] srvctl stop nodeapps hostname2
4. Reboot the servers
Ask System admin to reboot the both the servers
5. Once the server is up check the status of all the services
[oracle@naikh] cd $CRS_HOME/bin
[oracle@naikh] crs_stat -t
6. Start the nodeapps if not automatically started.
[oracle@naikh] srvctl start nodeapps hostname1
[oracle@naikh] srvctl start nodeapps hostname2
7. Start the database if not automatically started.
[oracle@naikh] srvctl start database -d orcl
8. Make sure all the services are active
[oracle@naikh] cd $CRS_HOME/bin
[oracle@naikh] crs_stat -t
Showing posts with label RAC. Show all posts
Showing posts with label RAC. Show all posts
Sunday, April 5, 2009
Sunday, August 26, 2007
Managing RAC Instances
1. Status of all RAC instaces
[oracle@naikh] srvctl status database -d testdb
2. Start all RAC instances
[oracle@naikh] srvctl start database -d testdb
3. Startup one RAC instance
[oracle@naikh] srvctl start instance -d testdb -i testdb1
4. Shutdown one RAC instance
[oracle@naikh] srvctl stop instance -d testdb -i testdb1
More info: Using srvctl to Manage your 10g RAC Database
[oracle@naikh] srvctl status database -d testdb
2. Start all RAC instances
[oracle@naikh] srvctl start database -d testdb
3. Startup one RAC instance
[oracle@naikh] srvctl start instance -d testdb -i testdb1
4. Shutdown one RAC instance
[oracle@naikh] srvctl stop instance -d testdb -i testdb1
More info: Using srvctl to Manage your 10g RAC Database
Subscribe to:
Posts (Atom)