11.2.0.3 RAC 全過程--6.Configure ASM
1.Install oracleasm packages
[root@swhygzhoudb01]#rpm -qa | grep oracleasm
[root@swhygzhoudb01]#rpm -qa | grep oracleasm
oracleasm-support-2.1.7-1.el5.i386.rpm
oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm
oracleasmlib-2.0.4-1.el5.i386.rpm
[root@swhygzhoudb01]#rpm -Uvh oracleasm*
[root@swhygzhoudb01 packages]# rpm -ivh oracleasm-support-2.1.7-1.el5.i386.rpm
warning: oracleasm-support-2.1.7-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [100%]
oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm
oracleasmlib-2.0.4-1.el5.i386.rpm
[root@swhygzhoudb01]#rpm -Uvh oracleasm*
[root@swhygzhoudb01 packages]# rpm -ivh oracleasm-support-2.1.7-1.el5.i386.rpm
warning: oracleasm-support-2.1.7-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [100%]
[root@swhygzhoudb01 packages]# rpm -ivh oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm
warning: oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasm-2.6.18-164.el########################################### [100%]
warning: oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasm-2.6.18-164.el########################################### [100%]
[root@swhygzhoudb01 packages]# rpm -ivh oracleasmlib-2.0.4-1.el5.i386.rpm
warning: oracleasmlib-2.0.4-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasmlib ########################################### [100%]
warning: oracleasmlib-2.0.4-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasmlib ########################################### [100%]
2.Configure ASMLib
If using user and group separation for the installation (as shown in this guide), the ASMLib driver interface owner is grid and the group to own the driver interface is asmdba (oracle and grid are both members of this group). These groups were created in section 2.1. If a more simplistic installation using only the Oracle user is performed, the owner will be oracle and the group owner will be dba.
[root@rac001 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
[root@rac001 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM librarydriver. The following questions will determine whether the driver is loaded on boot and what permissions it will have. The current values will be shown in brackets ('[]'). Hitting without typing an answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
3.Using ASMLib create ASM Disks
# /usr/sbin/oracleasm createdisk OCR_VOTE01 /dev/sdb1
# /usr/sbin/oracleasm createdisk OCR_VOTE02 /dev/sdc1
# /usr/sbin/oracleasm createdisk OCR_VOTE03 /dev/sdd1
# /usr/sbin/oracleasm createdisk ASM_DATA01 /dev/sde1
# /usr/sbin/oracleasm createdisk ASM_DATA02 /dev/sdf1
# /usr/sbin/oracleasm createdisk ASM_DATA03 /dev/sdg1
# /usr/sbin/oracleasm createdisk ASM_FRA01 /dev/sdh1
# /usr/sbin/oracleasm createdisk OCR_VOTE02 /dev/sdc1
# /usr/sbin/oracleasm createdisk OCR_VOTE03 /dev/sdd1
# /usr/sbin/oracleasm createdisk ASM_DATA01 /dev/sde1
# /usr/sbin/oracleasm createdisk ASM_DATA02 /dev/sdf1
# /usr/sbin/oracleasm createdisk ASM_DATA03 /dev/sdg1
# /usr/sbin/oracleasm createdisk ASM_FRA01 /dev/sdh1
/usr/sbin/oracleasm scandisks
/usr/sbin/oracleasm listisks
/usr/sbin/oracleasm listisks
4.Share ASM Disks
config.version = "8"
virtualHW.version = "4"
numvcpus = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "3000"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "RAC01.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.present = "FALSE"
Ethernet0.present = "TRUE"
displayName = "ygzhou01"
guestOS = "redhat"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
virtualHW.version = "4"
numvcpus = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "3000"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "RAC01.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.present = "FALSE"
Ethernet0.present = "TRUE"
displayName = "ygzhou01"
guestOS = "redhat"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
scsi0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d b2 e8 2d 75 7c 9c-f0 f1 fc 0e 32 d9 5a 37"
uuid.bios = "56 4d b2 e8 2d 75 7c 9c-f0 f1 fc 0e 32 d9 5a 37"
ethernet0.generatedAddress = "00:0c:29:d9:5a:37"
ethernet0.generatedAddressOffset = "0"
ethernet0.addressType = "generated"
uuid.location = "56 4d b2 e8 2d 75 7c 9c-f0 f1 fc 0e 32 d9 5a 37"
uuid.bios = "56 4d b2 e8 2d 75 7c 9c-f0 f1 fc 0e 32 d9 5a 37"
ethernet0.generatedAddress = "00:0c:29:d9:5a:37"
ethernet0.generatedAddressOffset = "0"
scsi1.present = "TRUE"
scsi1:1.present = "TRUE"
scsi1:1.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM01.vmdk"
scsi1:1.mode = "independent-persistent"
scsi1:2.present = "TRUE"
scsi1:2.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM02.vmdk"
scsi1:2.mode = "independent-persistent"
scsi1:3.present = "TRUE"
scsi1:3.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM03.vmdk"
scsi1:3.mode = "independent-persistent"
scsi1:4.present = "TRUE"
scsi1:4.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM04.vmdk"
scsi1:4.mode = "independent-persistent"
scsi1:5.present = "TRUE"
scsi1:5.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM05.vmdk"
scsi1:5.mode = "independent-persistent"
scsi1:1.present = "TRUE"
scsi1:1.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM01.vmdk"
scsi1:1.mode = "independent-persistent"
scsi1:2.present = "TRUE"
scsi1:2.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM02.vmdk"
scsi1:2.mode = "independent-persistent"
scsi1:3.present = "TRUE"
scsi1:3.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM03.vmdk"
scsi1:3.mode = "independent-persistent"
scsi1:4.present = "TRUE"
scsi1:4.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM04.vmdk"
scsi1:4.mode = "independent-persistent"
scsi1:5.present = "TRUE"
scsi1:5.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM05.vmdk"
scsi1:5.mode = "independent-persistent"
scsi1:6.present = "TRUE"
scsi1:6.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM06.vmdk"
scsi1:6.mode = "independent-persistent"
scsi1:6.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM06.vmdk"
scsi1:6.mode = "independent-persistent"
scsi1:7.present = "TRUE"
scsi1:7.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM07.vmdk"
scsi1:7.mode = "independent-persistent"
scsi1:7.fileName = "E:\WHDBA\RACDB\RACDBASM\ASM07.vmdk"
scsi1:7.mode = "independent-persistent"
scsi1.virtualDev = "lsilogic"
Ethernet1.present = "TRUE"
Ethernet1.present = "TRUE"
scsi1:1.redo = ""
scsi1:2.redo = ""
scsi1:3.redo = ""
scsi1:4.redo = ""
scsi1:5.redo = ""
scsi1:6.redo = ""
scsi1:7.redo = ""
ethernet1.addressType = "generated"
ethernet1.generatedAddress = "00:0c:29:d9:5a:41"
ethernet1.generatedAddressOffset = "10"
scsi1:2.redo = ""
scsi1:3.redo = ""
scsi1:4.redo = ""
scsi1:5.redo = ""
scsi1:6.redo = ""
scsi1:7.redo = ""
ethernet1.addressType = "generated"
ethernet1.generatedAddress = "00:0c:29:d9:5a:41"
ethernet1.generatedAddressOffset = "10"
####################################################
##### Need To add ######
####################################################
disk.locking = "false"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"
scsi1:1.deviceType = "disk"
scsi1:2.deviceType = "disk"
scsi1:3.deviceType = "disk"
scsi1:4.deviceType = "disk"
scsi1:5.deviceType = "disk"
scsi1:6.deviceType = "disk"
scsi1:7.deviceType = "disk"
##### Need To add ######
####################################################
disk.locking = "false"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"
scsi1:1.deviceType = "disk"
scsi1:2.deviceType = "disk"
scsi1:3.deviceType = "disk"
scsi1:4.deviceType = "disk"
scsi1:5.deviceType = "disk"
scsi1:6.deviceType = "disk"
scsi1:7.deviceType = "disk"
workingDir = "."
ide1:0.startConnected = "FALSE"
ide1:0.autodetect = "TRUE"
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24867586/viewspace-730991/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在青雲上部署oracle rac全過程Oracle
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- goldengate + asm + racGoASM
- RAC+ASM+DATAGUARDASM
- Oracle ASM Rebalance執行過程OracleASM
- 【RAC】asm_diskgroups 引數ASM
- ORACLE RAC 11.2.0.4 ASM加盤導致叢集重啟之ASM sga設定過小OracleASM
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- RAC+DG(asm單例項)ASM單例
- ORACLE RAC TO RAC DG搭建過程中可能遇到的問題Oracle
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- RAC和ASM環境下打patchASM
- SAP Commerce Cloud ASM 模組的登入過程CloudASM
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- Hydro OJ搭建全過程
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- MapReduce 執行全過程解析
- 107-全過程部署fabc
- 頁面載入全過程
- 【ASM】RAC19C因引數設定不當,asm無法啟動ASM
- RAC之grid叢集安裝及ASM磁碟組配置ASM
- Overview of Oracle Flex ASM In Oracle 19c RAC-20220111ViewOracleFlexASM
- gigapath部署以及微調全過程
- LLM本地部署全過程記錄
- 記憶體訪問全過程記憶體
- Oracle 19c RAC打補丁過程避坑指南Oracle
- Linux 6.9 加盤後的Oracle 12c ASM DiskGroup配置過程LinuxOracleASM
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- 虛擬機器搭建rac ASM盤啟動失敗虛擬機ASM
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- RAC節點啟動失敗--ASM無法連線ASM
- oracle RAC+DG 擴容ASM和表空間(Linux)OracleASMLinux
- 坑爹的Oracle 11.2.0.3Oracle
- Ubuntu 16.04 安裝 MySQL 8.0 全過程UbuntuMySql
- Linux TCP/IP協議棧全過程LinuxTCP協議
- 【Elasticsearch學習】文件搜尋全過程Elasticsearch
- redhat 5.4下安裝MYSQL全過程RedhatMySql
- 理解 Android 程式啟動之全過程Android
- innobackupex命令備份全過程圖解圖解