数据库集群常用命令
 
Usage: srvctl config database  (获取数据库配置信息)
 
Usage:srvctl config database -d <name> [-a] [-t]
         srvctl config database -d (查看数据库配置信息)
 
Usage: srvctl start nodeapps -n <node_name>
          srvctl start nodeapps -n ods1 (启动数据库节点1服务)
 
Usage: srvctl start asm -n <node_name> [-i <asm_inst_name>] [-o <start_options>]
          srvctl start asm -n ods1 -i asm1  (启动节点1asm实例)
 
Usage:srvctl start database -d <name> [-o <start_options>]
         srvctl start database -d DWTH  (启动所用节点DWTH数据库) 
 
Usage: srvctl start instance -d <name> -i "<inst_name_list>" [-o <start_options>]
          srvctl start instance -d DWTH -i DWTH1  (启动DWTH数据库实例1)
      
Usage: srvctl start listener -n <node_name> [-l <lsnr_name_list>]
          srvctl start listener -n ods1 -l lsnrc1 (启动节点1监听)
 
Usage: srvctl stop listener -n <node_name> [-l <lsnr_name_list>]
          srvctl stop listener -n ods1 -l lsnrc1 (停止节点1监听)
 
Usage: srvctl stop instance -d <name> -i "<inst_name_list>" [-o <stop_options>]
          srvctl stop instance -d DWTH -i DWTH1 (停止DWTH数据库实例1)
 
Usage: srvctl stop database -d <name> [-o <stop_options>]
          srvctl stop database -d DWTH  (停止所用节点DWTH数据库)
 
Usage: srvctl stop asm -n <node_name> [-i <asm_inst_name>] [-o <stop_options>]
          srvctl stop asm -n ods1 -i asm1  (停止节点1asm实例)
 
Usage: srvctl stop nodeapps -n <node_name> [-r]
          srvctl start nodeapps -n ods1 (停止数据库节点1服务)