Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3493365
  • 博文数量: 738
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7745
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(738)

文章存档

2023年(75)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客

分类: Oracle

2021-09-09 09:58:26



  1. SRVCTL command for ASM

  2. To add/remove the ASM

  3.     Command: srvctl add asm [-l lsnr_name] [-p spfile] [-d asm_diskstring]
  4.     Command: srvctl remove asm -l [-f]
  5.     Example: srvctl add asm -l LISTENER_ASM01 -p +diskg_data/spfile.ora
  6.     Example: srvctl remove asm -l LISTENER_ASM01 -f
  7. To start/stop the ASM

  8.     Command: srvctl start asm [-n node_name] [-o start_options]
  9.     Example: srvctl start asm -n lnxrac1
  10.     Command: srvctl stop asm [-n node_name] [-o stop_options] [-f]
  11.     Example: srvctl stop asm -n lnxrac1 -f
  12. To check the status of the ASM

  13.     Command: srvctl status asm [-n node_name] [-a]
  14.     Example: srvctl status asm -n lnxrac1 -a
  15. To enable/disable ASM

  16.     Command: srvctl enable asm [-n node_name]
  17.     Example: srvctl enable asm -n lnxrac1
  18.     Command: srvctl disable asm [-n node_name]
  19.     Example: srvctl disable asm -n lnxrac1
  20. To configure the ASM

  21.     Command: srvctl config asm [-a]
  22.     Example: srvctl config asm -a
  23. To modify the ASM parameters

  24.     Command: srvctl modify asm [-n node_name] [-l listener_name] [-d asm_diskstring] [-p spfile_path]
  25.     Example: srvctl modify asm -l listener01
  26. To get/set/unset the environment of ASM

  27.     Example: srvctl getenv asm
  28.     Example: srvctl setenv asm -t LANG=en
  29.     Example: srvctl unsetenv asm -t CLASSPATH


参考

  1. https://db.geeksinsight.com/tools-scripts/srvctl-command-for-asm/

阅读(844) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~