SRVCTL 实例
[root@uworadb1 root]# su - oracle
[oracle@uworadb1 9.2.0]$ srvctl config --Check registered Database
oradb
[oracle@uworadb1 9.2.0]$ srvctl start database -d oradb --Startup all registered instances
[oracle@uworadb1 9.2.0]$ srvctl start instance -d oradb -i oradb1 --Startup single instance oradb1
[oracle@uworadb1 9.2.0]$ srvctl start instance -d oradb -i oradb2 --Startup single instance oradb2
[oracle@uworadb1 9.2.0]$ srvctl start instance -d oradb -i oradb1 [-o nomount|mount|open]
--Startup instance to specifice option
[oracle@uworadb1 9.2.0]$ srvctl stop database -d oradb --Stop all registered instances
[oracle@uworadb1 9.2.0]$ srvctl stop instance -d oradb -i oradb1 --Stop insance oradb1 of normal
[oracle@uworadb1 9.2.0]$ srvctl stop instance -d oradb -i oradb1 [-o immediate|abort]
--stop instance of specifice option
[root@uworadb1 root]# su - oracle
[oracle@uworadb1 9.2.0]$ srvctl config --Check registered Database
oradb
[oracle@uworadb1 9.2.0]$ srvctl start database -d oradb --Startup all registered instances
[oracle@uworadb1 9.2.0]$ srvctl start instance -d oradb -i oradb1 --Startup single instance oradb1
[oracle@uworadb1 9.2.0]$ srvctl start instance -d oradb -i oradb2 --Startup single instance oradb2
[oracle@uworadb1 9.2.0]$ srvctl start instance -d oradb -i oradb1 [-o nomount|mount|open]
--Startup instance to specifice option
[oracle@uworadb1 9.2.0]$ srvctl stop database -d oradb --Stop all registered instances
[oracle@uworadb1 9.2.0]$ srvctl stop instance -d oradb -i oradb1 --Stop insance oradb1 of normal
[oracle@uworadb1 9.2.0]$ srvctl stop instance -d oradb -i oradb1 [-o immediate|abort]
--stop instance of specifice option
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29987/viewspace-51975/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29987/viewspace-51975/