使用KFOD模擬ASM DISK DISCOVERY過程
KFOD(Kernel Files Osm Disk)用來從作業系統層面模擬disk discovery。該工具可以從$GRID_HOME/bin目錄(或者是老版本的ASM_HOME/bin目錄)下找到。
注意:
1).KFOD也會在安裝時使用(透過OUI,DBCA或者ASMCA),為了執行disk discovery。
2).在失敗安裝的情況下(例如,$GRID_HOME/bin不存在),KFOD能在stage資料夾下找到:/grid/stage/ext/bin/,同時需要設定LD_LIBRARY_PATH到/grid/stage/ext/lib
1.KFOD幫助資訊:
[root@rhel1 ~]# su - grid
[grid@rhel1 ~]$ which kfod
/u01/app/11.2.0/grid/bin/kfod
[grid@rhel1 ~]$ kfod -help
_asm_a/llow_only_raw_disks KFOD allow only raw devices [_asm_allow_only_raw_disks=TRUE/(FALSE)]
_asm_l/ibraries ASM Libraries[_asm_libraries=lib1,lib2,...]
_asms/id ASM Instance[_asmsid=sid]
a/sm_diskstring ASM Diskstring [asm_diskstring=discoverystring, discoverystring ...]
c/luster KFOD cluster [cluster=TRUE/(FALSE)]
db/_unique_name db_unique_name for ASM instance[db_unique_name=dbname]
di/sks Disks to discover [disks=raw,asm,all]
ds/cvgroup Include group name [dscvgroup=TRUE/(FALSE)]
g/roup Disks in diskgroup [group=diskgroup]
h/ostlist hostlist[hostlist=host1,host2,...]
metadata_a/usize AU Size for Metadata Size Calculation
metadata_c/lients Client Count for Metadata Size Calculation
metadata_d/isks Disk Count for Metadata Size Calculation
metadata_n/odes Node Count for Metadata Size Calculation
metadata_r/edundancy Redundancy for Metadata Size Calculation
n/ohdr KFOD header suppression [nohdr=TRUE/(FALSE)]
o/p KFOD options type [OP=DISKS/CANDIDATES/MISSING/GROUPS/INSTS/VERSION/CLIENTS/RM/RMVERS/DFLTDSTR/GPNPDSTR/METADATA/ALL]
p/file ASM parameter file [pfile=parameterfile]
s/tatus Include disk header status [status=TRUE/(FALSE)]
v/erbose KFOD verbose errors [verbose=TRUE/(FALSE)]
2.使用kfod例子:
[grid@rhel1 ~]$ kfod status=TRUE asm_diskstring='/dev/raw/raw*' disks=all
--------------------------------------------------------------------------------
Disk Size Header Path User Group
================================================================================
1: 2047 Mb MEMBER /dev/raw/raw1 grid oinstall
2: 2047 Mb MEMBER /dev/raw/raw3 grid oinstall
--------------------------------------------------------------------------------
ORACLE_SID ORACLE_HOME
================================================================================
+ASM2 /u01/app/11.2.0/grid
參考文章:《ASM tools used by Support : KFOD, KFED, AMDU (文件 ID 1485597.1)》
--end--
注意:
1).KFOD也會在安裝時使用(透過OUI,DBCA或者ASMCA),為了執行disk discovery。
2).在失敗安裝的情況下(例如,$GRID_HOME/bin不存在),KFOD能在stage資料夾下找到:
1.KFOD幫助資訊:
[root@rhel1 ~]# su - grid
[grid@rhel1 ~]$ which kfod
/u01/app/11.2.0/grid/bin/kfod
[grid@rhel1 ~]$ kfod -help
_asm_a/llow_only_raw_disks KFOD allow only raw devices [_asm_allow_only_raw_disks=TRUE/(FALSE)]
_asm_l/ibraries ASM Libraries[_asm_libraries=lib1,lib2,...]
_asms/id ASM Instance[_asmsid=sid]
a/sm_diskstring ASM Diskstring [asm_diskstring=discoverystring, discoverystring ...]
c/luster KFOD cluster [cluster=TRUE/(FALSE)]
db/_unique_name db_unique_name for ASM instance[db_unique_name=dbname]
di/sks Disks to discover [disks=raw,asm,all]
ds/cvgroup Include group name [dscvgroup=TRUE/(FALSE)]
g/roup Disks in diskgroup [group=diskgroup]
h/ostlist hostlist[hostlist=host1,host2,...]
metadata_a/usize AU Size for Metadata Size Calculation
metadata_c/lients Client Count for Metadata Size Calculation
metadata_d/isks Disk Count for Metadata Size Calculation
metadata_n/odes Node Count for Metadata Size Calculation
metadata_r/edundancy Redundancy for Metadata Size Calculation
n/ohdr KFOD header suppression [nohdr=TRUE/(FALSE)]
o/p KFOD options type [OP=DISKS/CANDIDATES/MISSING/GROUPS/INSTS/VERSION/CLIENTS/RM/RMVERS/DFLTDSTR/GPNPDSTR/METADATA/ALL]
p/file ASM parameter file [pfile=parameterfile]
s/tatus Include disk header status [status=TRUE/(FALSE)]
v/erbose KFOD verbose errors [verbose=TRUE/(FALSE)]
2.使用kfod例子:
[grid@rhel1 ~]$ kfod status=TRUE asm_diskstring='/dev/raw/raw*' disks=all
--------------------------------------------------------------------------------
Disk Size Header Path User Group
================================================================================
1: 2047 Mb MEMBER /dev/raw/raw1 grid oinstall
2: 2047 Mb MEMBER /dev/raw/raw3 grid oinstall
--------------------------------------------------------------------------------
ORACLE_SID ORACLE_HOME
================================================================================
+ASM2 /u01/app/11.2.0/grid
參考文章:《ASM tools used by Support : KFOD, KFED, AMDU (文件 ID 1485597.1)》
--end--
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-1141948/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Java模擬賽跑過程Java
- drop asm disk、撤銷drop asm diskASM
- 阻塞(block)過程模擬與分析!BloC
- 手工建立ASM Disk Groups、為 ASM Disk Groups 新增 diskASM
- Asm disk managerASM
- 利用kfod工具檢視asm磁碟組資訊ASM
- JavaScript進階之模擬new Object()過程JavaScriptObject
- JavaScript進階之模擬new Object過程JavaScriptObject
- Oracle ASM Disk DirectoryOracleASM
- Oracle ASM Disk PartnerOracleASM
- ASM Disk Group TemplateASM
- 小車側方位停車過程的動態模擬matlab模擬Matlab
- ASM管理命令列三工具:KFOD、KFED和AMDUASM命令列
- Windows 下使用檔案模擬磁碟配置ASM磁碟組WindowsASM
- SLM——模擬過程與資料管理平臺
- ASM: Device is already labeled for ASM diskASMdev
- 使用dbms_advisor模擬表碎片化及解決過程
- Oracle ASM Disk HeaderOracleASMHeader
- Oracle ASM spfile in a disk groupOracleASM
- ASM tools used by Support : KFOD, KFED, AMDU (Doc ID 1485597.1)ASM
- ASM管理命令列三工具:KFOD、KFED和AMDU(上)ASM命令列
- ASM管理命令列三工具:KFOD、KFED和AMDU(下)ASM命令列
- 程式模擬tomcat伺服器執行過程Tomcat伺服器
- dd模擬asm磁碟容災測試ASM
- Oracle ASM Disk Used Space DirectoryOracleASM
- Oracle ASM ACFS disk group rebalanceOracleASM
- Oracle ASM Disk Group AttributesOracleASM
- ASM DISK HEADER CORRUPTION & REPAIRASMHeaderAI
- ASM Normal需要3個disk ?ASMORM
- asm disk 的結構(1)ASM
- Oracle 使用BBED 檢視 ASM Disk Header 內容OracleASMHeader
- DG中模擬備庫斷檔並恢復過程
- oracleasm createdisk ASM: Device is already labeled for ASM diskOracleASMdev
- Oracle ASM Rebalance執行過程OracleASM
- ASM 翻譯系列第十彈:ASM Internal ASM DISK headerASMHeader
- linux下如何使用raw device來建立管理asm diskLinuxdevASM
- Using ASMLIB Management ASM DiskASM
- [Oracle Script] ASM Disk Groups UsedOracleASM