2025年srvctl命令_srvctl命令

srvctl命令_srvctl命令添加删除 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

添加删除 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
编程小号
上一篇 2025-08-27 21:27
下一篇 2025-07-13 10:33

相关推荐

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