zl程序教程

您现在的位置是:首页 >  工具

当前栏目

srvctl命令_srvctl命令

命令 SRVCTL
2023-06-13 09:13:39 时间

大家好,又见面了,我是你们的朋友全栈君。

添加删除 ASM
Command: srvctl add asm [-l lsnr_name] [-p spfile] [-d asm_diskstring]
Command: srvctl remove asm -l [-f]
Example: srvctl add asm -l LISTENER_ASM01 -p +diskg_data/spfile.ora
Example: srvctl remove asm -l LISTENER_ASM01 -f
启动停止 ASM
Command: srvctl start asm [-n node_name] [-o start_options]
Example: srvctl start asm -n lnxrac1
Command: srvctl stop asm [-n node_name] [-o stop_options] [-f]
Example: srvctl stop asm -n lnxrac1 -f
检查状态
Command: srvctl status asm [-n node_name] [-a]
Example: srvctl status asm -n lnxrac1 -a
启用/禁用
Command: srvctl enable asm [-n node_name]
Example: srvctl enable asm -n lnxrac1
Command: srvctl disable asm [-n node_name]
Example: srvctl disable asm -n lnxrac1
配置
Command: srvctl config asm [-a]
Example: srvctl config asm -a
修改 ASM 参数
Command: srvctl modify asm [-n node_name] [-l listener_name] [-d asm_diskstring] [-p spfile_path]
Example: srvctl modify asm -l listener01
设置/取消 ASM 环境
Example: srvctl getenv asm
Example: srvctl setenv asm -t LANG=en
Example: srvctl unsetenv asm -t CLASSPATH

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/194941.html原文链接:https://javaforall.cn