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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 11.2.0.3 RAC 全過程--7.NTP ServerServer
- 11.2.0.3 RAC 全過程--8.Oracle RAC ssh ConfigureOracle
- Oracle RAC+ASM 關閉全過程OracleASM
- 11.2.0.3 RAC 全過程--1.Redhat configureRedhat
- 11.2.0.3 RAC 全過程--2.Check rpm packagesPackage
- 11.2.0.3 RAC 全過程--3.Kernel Configure
- SUSE 11.1 安裝ORACLE 11.2.0.3 ASM非RAC雙機過程紀要OracleASM
- 11.2.0.3 RAC 全過程--5.Configure user equivalence .bash_pfileUI
- RAC 11.2.0.3 ASM管理 (一) 引數ASM
- 11gR2 RAC ASM啟動過程ASM
- 安裝ORACLE 11.2.0.3 ASM for AIX HA (Non-RAC)OracleASMAI
- 在青雲上部署oracle rac全過程Oracle
- RHEL5.4+openfiler2.3+oracle11g rac+asm叢集資料庫配置全過程OracleASM資料庫
- 用虛擬機器做RAC的全過程虛擬機
- ORACLE 11.2.0.3配置ASMOracleASM
- oracle 11.2.0.3 rac資料庫線上新增ASM儲存空間Oracle資料庫ASM
- Oracle10g RAC for Linux配置全過程(zt)OracleLinux
- 整理:RAC搭建過程
- Oracle 11.2.0.3 管理ASM例項OracleASM
- Oracle 11.2.0.3管理ASM例項OracleASM
- RAC 11.2.0.3 修改 Public IP
- RAC 11.2.0.3 修改VIP地址
- Oracle ASM Rebalance執行過程OracleASM
- oracle rac vip 漂移過程Oracle
- 搭建Physical ADG 11.2.0.3 for RAC
- RAC 11.2.0.3 SACN與DNS配置DNS
- RAC 11.2.0.3 維護命令 (二)
- RAC 11.2.0.3 維護命令 (一)
- RAC 11.2.0.3 管理OLR檔案
- RAC 11.2.0.3 管理OCR檔案
- 設定autotrace全過程
- Hydro OJ搭建全過程
- 變更oracle 11.2.0.3 rac sga手工管理為sga及pga全自動管理Oracle
- OEL5.6+oracle11.2.0.3+ASM安裝OracleASM
- RMAN Duplicate Database From RAC ASM To RAC ASM [ID 461479.1]DatabaseASM
- 使用KFOD模擬ASM DISK DISCOVERY過程ASM
- MapReduce 執行全過程解析
- 頁面載入全過程