1.srvctl命令用法查询
用法: srvctl []
命令: enable|disable|start|stop|relocate|status|add|remove|modify|getenv|setSEO靠我env|unsetenv|config
对象: database|instance|service|nodeapps|asm|listener
有关各个命令和对象的详细帮助, 请使用: srvctlSEO靠我 -h
2.有关srvctl的详细用法
用法: srvctl [-V]用法: srvctl add database -d -o [-m ] [-p ] [-A /netmask] [-r {PRIMARY | PHSEO靠我YSICAL_STANDBY | LOGICAL_STANDBY}] [-s] [-n ] [-y {AUTOMATIC | MANUAL}]
用法: srvctl add instance -d -i -nSEO靠我
用法: srvctl add service -d -s -r “” [-a “”] [-P ]
用法: srvctl add service -d -s -u {-r “” | -a “”}
用法: srvctlSEO靠我 add nodeapps -n -o -A /netmask[/if1[|if2|…]]
用法: srvctl add asm -n <node_name> -i <asm_inst_name> -o <oSEO靠我racle_home> [-p <spfile>]用法: srvctl config database
用法: srvctl config database -d [-a] [-t]
用法: srvctl SEO靠我config service -d [-s ] [-a] [-S ]
用法: srvctl config nodeapps -n [-a] [-g] [-o] [-s] [-l]
用法: srvctl confiSEO靠我g asm -n
用法: srvctl config listener -n <node_name>用法: srvctl disable database -d
用法: srvctl disable inSEO靠我stance -d -i “”
用法: srvctl disable service -d -s “” [-i ]
用法: srvctl disable asm -n <node_name> [-i <instSEO靠我_name>]用法: srvctl enable database -d
用法: srvctl enable instance -d -i “”
用法: srvctl enable service -d -sSEO靠我 “” [-i ]
用法: srvctl enable asm -n <node_name> [-i <inst_name>]用法: srvctl getenv database -d [-t “”]
用法:SEO靠我 srvctl getenv instance -d -i [-t “”]
用法: srvctl getenv service -d -s [-t “”]
用法: srvctl getenv nodeapps -SEO靠我n <node_name> [-t “<name_list>”]用法: srvctl modify database -d [-n
用法: srvctl modify instance -d -i -n
用法: srvcSEO靠我tl modify instance -d -i {-s | -r}
用法: srvctl modify service -d -s -i -t [-f]
用法: srvctl modify service -d -s -SEO靠我i -r [-f]
用法: srvctl modify service -d -s -n -i [-a ] [-f]
用法: srvctl modify asm -n <node_name> -i <asm_insSEO靠我t_name> [-o <oracle_home>] [-p <spfile>]用法: srvctl relocate service -d <name> -s <service_name> -i <SEO靠我old_inst_name> -t <new_inst_name> [-f]
用法: srvctl remove database -d [-f]
用法: srvctl remove instance -dSEO靠我 -i [-f]
用法: srvctl remove service -d -s [-i ] [-f]
用法: srvctl remove nodeapps -n “” [-f]
用法: srvctl remove SEO靠我asm -n <node_name> [-i <asm_inst_name>] [-f]用法: srvctl setenv database -d {-t =[,=,…] | -T =}
用法: srvctlSEO靠我 setenv instance -d [-i ] {-t “=[,=,…]” | -T “=”}
用法: srvctl setenv service -d [-s ] {-t “=[,=,…]” | -T “SEO靠我=”}
用法: srvctl setenv nodeapps -n <node_name> {-t “<name>=<val>[,<name>=<val>,…]” | -T “<name>=<val>”SEO靠我}用法: srvctl start database -d [-o ] [-c | -q]
用法: srvctl start instance -d -i “” [-o ] [-c | -q]
用法: srvctl SEO靠我start service -d [-s “” [-i ]] [-o ] [-c | -q]
用法: srvctl start nodeapps -n
用法: srvctl start asm -n [-i ] [-SEO靠我o] [-c | -q]
用法: srvctl start listener -n <node_name> [-l <lsnr_name_list>]用法: srvctl status database SEO靠我-d [-f] [-v] [-S ]
用法: srvctl status instance -d -i “” [-f] [-v] [-S ]
用法: srvctl status service -d [-s “”]SEO靠我 [-f] [-v] [-S]
用法: srvctl status nodeapps -n
用法: srvctl status asm -n <node_name>用法: srvctl stop dataSEO靠我base -d [-o ] [-c | -q]
用法: srvctl stop instance -d -i “” [-o ] [-c | -q]
用法: srvctl stop service -d [-s “” [SEO靠我-i]] [-c | -q] [-f]
用法: srvctl stop nodeapps -n
用法: srvctl stop asm -n [-i ] [-o ] [-c | -q]
用法: srvctl stopSEO靠我 listener -n <node_name> [-l <lsnr_name_list>]用法: srvctl unsetenv database -d -t “”
用法: srvctl unsetenSEO靠我v instance -d [-i ] -t “”
用法: srvctl unsetenv service -d [-s ] -t “”
用法: srvctl unsetenv nodeapps -n <nodeSEO靠我_name> -t “<name_list>”网站备案号:浙ICP备17034767号-2