Since Oracle11.2, ASM is not only a disk group, but also a volume manager called ADVM (asmdynamicvolumemanager ). ADVM provides you with volume management services and standard disk device drivers. With ADVM, you can create one or more volumes in the volume group. Each volume corresponds to a device file in the operating system.
Since Oracle11.2, ASM is not only a disk group, but also a volume manager called ADVM (asm dynamic volume manager ). ADVM provides you with volume management services and standard disk device drivers. With ADVM, you can create one or more volumes in the volume group. Each volume corresponds to a device file in the operating system.
Since Oracle11.2, ASM is not only a disk group, but also a volume manager called ADVM (asm dynamic volume manager ). ADVM provides you with volume management services and standard disk device drivers. With ADVM, you can create one or more volumes in the volume group. Each volume corresponds to a device file in the operating system. These volumes can be dynamically expanded, like a volume in an operating system or a volume created using a third-party software, an application can also perform read/write operations on the data in an ADVM volume.
You can create an ACFS File System in an ADVM volume. ACFS is a cross-platform and Scalable Cluster File System. multiple nodes can access files in asfs at the same time. ACFS not only serves as the installation path for oracle database software, but also stores warning files and tracking files in the database, as well as files such as videos, sounds, images, and texts.
But when installing rac on CentOS5.8, we found that ADVM/ACFS is not supported on centos-release-5-8.el5.centos
This is because the oracle software imposes restrictions on the system version. The solution is as follows:
The following error is reported:
[Root @ rac1 ~] #/Opt/app/grid/bin/acfsload start-s
ADVM/ACFS is not supported on centos-release-5-8.el5.centos
1. Backup of the file to be modified. Both nodes must be created.
[Root @ rac1 ~] # Cd/opt/app/grid/lib
[Root @ rac1 lib] # cp-p osds_acfslib.pm osds_acfslib.pm.orig
2. Modify the file osds_acfslib.pm.
Replace
If ($ release = ~ /Enterprise-release-5/) |
($ Release = ~ /Redhat-release-5 /))
With
If ($ release = ~ /Enterprise-release-5/) |
($ Release = ~ /Redhat-release-5/) |
($ Release = ~ /Centos-release-5 /))
3. Place modules supporting ADVM and acfs in the system module Directory.
[Root @ rac1 ~] # Mkdir/lib/modules/2.6.18-348.12.1.el5/extra/usm
[Root @ rac1 ~] # Cd? /U01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2. 6.18-8. el5-x86_64/bin/
[Root @ rac1 bin] # cp * ko/lib/modules/2.6.18-348.12.1.el5/extra/usm/
4. Install the ADVM/ACFS driver
[Root @ rac1 ~] # Cd/opt/app/grid/bin
[Root @ rac1 bin] #./acfsdriverstate-orahome/opt/app/grid version
Acfsdriverstate: ACFS-9129: ADVM/ACFS not installed
The installation method described on the Internet cannot be installed. Try the following installation method:
[Root @ rac1 ~] # Cd/opt/app/grid/bin
[Root @ rac1 bin] #./acfsroot install
CRS-10001: ACFS-9300: ADVM/ACFS distribution files found.
CRS-10001: ACFS-9307: Installing requested ADVM/ACFS software.
CRS-10001: ACFS-9308: Loading installed ADVM/ACFS drivers.
CRS-10001: ACFS-9321: Creating udev for ADVM/ACFS.
CRS-10001: ACFS-9323: Creating module dependencies-this may take some time.
CRS-10001: ACFS-9327: Verifying ADVM/ACFS devices.
CRS-10001: ACFS-9309: ADVM/ACFS installation correctness verified.
The installation is successful.
5. Start the service
[Root @ rac1 ~] #/Opt/app/grid/bin/acfsload start-s
[Root @ rac2 ~] #/Opt/app/grid/bin/acfsload start-s
6. Check whether the related driver is successfully loaded by the kernel on all nodes.
[Root @ rac1 ~] # Lsmod | grep oracle
Oracleacfs 877320 4
Oracleadvm 221760 8
Oracleoks 276880 2 oracleacfs, oracleadvm
Oracleasm 84136 1
Source: http://blog.csdn.net/miyatang/article/details/6652642
Address: ADVM/ACFS is not supported on centos-release-5-, thanks to the original author to share.