ASM is an outstanding new feature in Oracle Database 10 Gb. It provides file system, logical volume manager, software RAID and other services in a platform-independent manner. ASM can strip and mirror disks, so as to add or remove disks and automatically balance I/O when the database is loaded to delete "hot spots ". It also supports direct and asynchronous I/O and uses the Oracle Data Manager API introduced in Oracle9i (simplified I/O system call interface); ASM is not a common file system, it can only be used for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by using the Oracle file management feature), or manually created and named by the DBA. Because the operating system cannot access the files stored in ASM, the only way to perform backup and recovery operations on the Database Using ASM files is through the recovery Manager (RMAN ); ASM is implemented as a separate Oracle instance and can be accessed only by other databases at runtime. On Linux, you can use ASM only when you run the OCSSD service (which is installed by default by the General Oracle installer. ASM requires a small amount of memory: 64 MB for most systems-from Baidu encyclopedia
Today, the Automatic Storage Management (ASM) technology is configured with Oracle10g_R2 in a virtual environment. I feel that oracle technology is very profound and profound. I will learn more carefully in the future. The configuration process is as follows:
Environment Introduction:
Physical server environment: WIN7 Professional Edition 32-bit, 3G memory, VMware7.0 work station
Virtual Operating System: CentOS 4.8 64-bit, 1 GB memory, four virtual hard disks, used for ASM, 60 GB in size, the operation is as follows:
Http://ftp.tcc.edu.tw/Linux/CentOS/4.8/isos/x86_64/ (Oracle10g does not support Red Hat 5, so the Centos4.8 system, supporting yum installation package)
Database Software Version: Oracle10g_R2 64-bit, as shown below:
Http://www.oracle.com/technetwork/database/database10g/downloads/index.html
I. Install Oracle10G software. For this part, refer to the quick installation documentation in the manual.
2. download and install the ASM software. Pay attention to the relationship with the operating system version.
[Root @ mongoasm ~] # Cd/usr/local/src/
[Root @ mongoasm src] # uname-r
2.6.9-89.EL
[Root @ mongoasm src] # cat download.txt // For convenience, you can write the address to a text file and download it with the wget command.
Http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel4/amd64/2.1.3/oracleasm-support-2.1.3-1.el4.x86_64.rpm
Http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el4.x86_64.rpm
Http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel4/amd64/2.0.5/2.6.9-89.EL/oracleasm-2.6.9-89.ELxenU-2.0.5-1.el4.x86_64.rpm
Http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel4/amd64/2.0.5/2.6.9-89.EL/oracleasm-2.6.9-89.ELsmp-2.0.5-1.el4.x86_64.rpm
Http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel4/amd64/2.0.5/2.6.9-89.EL/oracleasm-2.6.9-89.ELlargesmp-2.0.5-1.el4.x86_64.rpm
Http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel4/amd64/2.0.5/2.6.9-89.EL/oracleasm-2.6.9-89.EL-debuginfo-2.0.5-1.el4.x86_64.rpm
Http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel4/amd64/2.0.5/2.6.9-89.EL/oracleasm-2.6.9-89.EL-2.0.5-1.el4.x86_64.rpm
[Root @ mongoasm src] # wget-I download.txt
[Root @ brief ASM src] # rpm-Uvh oracleasm * // install the ASM software package. If there is dependency, use yum to install the dependent package
Warning: oracleasm-2.6.9-89.EL-2.0.5-1.el4.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ######################################## ### [100%]
1: oracleasm-support ##################################### ###### [14%]
2: oracleasm-2.6.9-89.ELxe ####################################### #### [29%]
3: oracleasm-2.6.9-89.EL ####################################### #### [43%]
4: oracleasm-2.6.9-89.EL-d ####################################### #### [57%]
5: oracleasm-2.6.9-89.ELla ####################################### #### [71%]
6: oracleasm-2.6.9-89.ELsm ####################################### #### [86%]
7: oracleasmlib ####################################### #### [100%]