srvctl 控制 asm

添加删除 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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值