RAC 11.2.0.3 ASM管理 (一) 引數
1,檢視當前的asm磁碟組
SQL> show parameter asm_diskgroups
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskgroups string DATA, ARCH
2,asm_diskstring限制ASM掃描的磁碟。在安裝grid軟體時預設的目錄為 ASM_DISKSTRING= ‘/dev/raw/*’
* 號為萬用字元,表示/dev/raw/下所有的磁碟裝置。如果只包含其中的部分磁碟裝置可以用以下格式限定:
ASM_DISKSTRING=‘/dev/asm-diskb,/dev/asm-diskc,/dev/asm-diskd'
可以透過以下命令來更改
grid@node1 ~]$ sqlplus / as sysasm
SQL> alter system set asm_diskstring='/dev/asm-disk*';
System altered.
SQL> select name,path from v$asm_disk;
NAME PATH
------------------------------ --------------------------------------------------
/dev/asm-diski
/dev/asm-diskd
/dev/asm-diskb
/dev/asm-diskc
/dev/asm-diskf
/dev/asm-diskg
/dev/asm-diske
/dev/asm-diskh
[grid@node1 ~]$ ls -l /dev/asm-disk*
brw-rw---- 1 grid asmadmin 8, 16 Jul 15 00:09 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 8, 32 Jul 14 15:21 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 8, 48 Jul 15 00:09 /dev/asm-diskd
brw-rw---- 1 grid asmadmin 8, 64 Jul 15 00:09 /dev/asm-diske
brw-rw---- 1 grid asmadmin 8, 80 Jul 15 00:09 /dev/asm-diskf
brw-rw---- 1 grid asmadmin 8, 96 Jul 15 00:08 /dev/asm-diskg
brw-rw---- 1 grid asmadmin 8, 112 Jul 15 00:09 /dev/asm-diskh
brw-rw---- 1 grid asmadmin 8, 128 Jul 15 00:05 /dev/asm-diski
ASM_DISKSTRING預設引數為空字串
SQL> show parameter asm_diskstring
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskstring string
如果使用了ASMLib,ASM_DISKSTRING通常的設定為
ASM_DISKSTRING=‘ORCL:* ‘
3,ASM的診斷目錄
[grid@node2 ~]$ adrci
ADRCI: Release 11.2.0.3.0 - Production on Tue Jul 15 00:23:31 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
ADR base = "/g01/grid/app/11.2.0/grid/log"
adrci> show homes
ADR Homes:
diag/asmcmd/user_root/node2
diag/tnslsnr/node2/listener
diag/tnslsnr/node2/listener_scan1
diag/asm/+asm/+ASM2
SQL> show parameter asm_diskgroups
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskgroups string DATA, ARCH
2,asm_diskstring限制ASM掃描的磁碟。在安裝grid軟體時預設的目錄為 ASM_DISKSTRING= ‘/dev/raw/*’
* 號為萬用字元,表示/dev/raw/下所有的磁碟裝置。如果只包含其中的部分磁碟裝置可以用以下格式限定:
ASM_DISKSTRING=‘/dev/asm-diskb,/dev/asm-diskc,/dev/asm-diskd'
可以透過以下命令來更改
grid@node1 ~]$ sqlplus / as sysasm
SQL> alter system set asm_diskstring='/dev/asm-disk*';
System altered.
SQL> select name,path from v$asm_disk;
NAME PATH
------------------------------ --------------------------------------------------
/dev/asm-diski
/dev/asm-diskd
/dev/asm-diskb
/dev/asm-diskc
/dev/asm-diskf
/dev/asm-diskg
/dev/asm-diske
/dev/asm-diskh
[grid@node1 ~]$ ls -l /dev/asm-disk*
brw-rw---- 1 grid asmadmin 8, 16 Jul 15 00:09 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 8, 32 Jul 14 15:21 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 8, 48 Jul 15 00:09 /dev/asm-diskd
brw-rw---- 1 grid asmadmin 8, 64 Jul 15 00:09 /dev/asm-diske
brw-rw---- 1 grid asmadmin 8, 80 Jul 15 00:09 /dev/asm-diskf
brw-rw---- 1 grid asmadmin 8, 96 Jul 15 00:08 /dev/asm-diskg
brw-rw---- 1 grid asmadmin 8, 112 Jul 15 00:09 /dev/asm-diskh
brw-rw---- 1 grid asmadmin 8, 128 Jul 15 00:05 /dev/asm-diski
ASM_DISKSTRING預設引數為空字串
SQL> show parameter asm_diskstring
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskstring string
如果使用了ASMLib,ASM_DISKSTRING通常的設定為
ASM_DISKSTRING=‘ORCL:* ‘
3,ASM的診斷目錄
[grid@node2 ~]$ adrci
ADRCI: Release 11.2.0.3.0 - Production on Tue Jul 15 00:23:31 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
ADR base = "/g01/grid/app/11.2.0/grid/log"
adrci> show homes
ADR Homes:
diag/asmcmd/user_root/node2
diag/tnslsnr/node2/listener
diag/tnslsnr/node2/listener_scan1
diag/asm/+asm/+ASM2
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1221509/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【RAC】asm_diskgroups 引數ASM
- 【ASM】RAC19C因引數設定不當,asm無法啟動ASM
- Oracle RAC引數檔案管理Oracle
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- goldengate + asm + racGoASM
- Oracle RAC一鍵部署004(RAC引數校驗)Oracle
- RAC+ASM+DATAGUARDASM
- Oracle RAC一鍵部署002(引數檢查)Oracle
- oracle rac 核心引數詳解Oracle
- RAC 修改引數DB_FILES
- ORA-15040: asm_diskstring引數 is incompleteASM
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- RAC+DG(asm單例項)ASM單例
- Oracle RAC修改引數檔案位置Oracle
- RAC和ASM環境下打patchASM
- 【TUNE_ORACLE】Oracle 19c RAC搭建番外篇之RAC引數配置參考(一)Oracle
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- ASM單例項安裝後,需要手動設定ASM的引數檔案ASM單例
- 【ASK_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(一)ASMFD簡介OracleASMFilter
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- Oracle RAC 重置db_recovery_file_dest_size引數Oracle
- ASM有自己的引數、密碼、alert、監聽檔案ASM密碼
- 【RAC】Oracle RAC12c+ srvctl操作命令變化(引數更嚴謹了)Oracle
- Oracle:PDB 引數管理Oracle
- Oracle 19c rac安裝,只能啟動一個節點的ASMOracleASM
- RAC之grid叢集安裝及ASM磁碟組配置ASM
- Overview of Oracle Flex ASM In Oracle 19c RAC-20220111ViewOracleFlexASM
- ORACLE RAC 11.2.0.4 ASM加盤導致叢集重啟之ASM sga設定過小OracleASM
- Oracle RAC Cache Fusion 系列八:Oracle RAC 分散式資源管理(一)Oracle分散式
- 【TUNE_ORACLE】Oracle 19c RAC搭建番外篇之RAC引數配置參考(四)Oracle
- 【TUNE_ORACLE】Oracle 19c RAC搭建番外篇之RAC引數配置參考(五)Oracle
- 【TUNE_ORACLE】Oracle 19c RAC搭建番外篇之RAC引數配置參考(三)Oracle
- 【TUNE_ORACLE】Oracle 19c RAC搭建番外篇之RAC引數配置參考(二)Oracle
- oracle RAC+DG 擴容ASM和表空間(Linux)OracleASMLinux
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- RAC節點啟動失敗--ASM無法連線ASM
- 虛擬機器搭建rac ASM盤啟動失敗虛擬機ASM
- Oracle RAC 環境 引數檔案的啟動順序Oracle