Veritas Storage Foundation 5.0 for Oracle RAC Configuration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008

Investigating I/O Performance for SG Oracle RAC: Storage Mapping
Oracle File Mapping (ORAMAP)
Chapter 6
130
1. Verify $ORACLE_HOME is ready for Oracle file mapping (ORAMAP):
# cd $ORACLE_HOME/rdbms/filemap/bin
# ls -l
-r-xr-x--- 1 root system 900616 Apr 08 19:16 fmputl
-r-sr-xr-x 1 root system 14614 Apr 08 19:16 fmputlhp
2. Confirm the following items and make the appropriate corrections:
root owns fmputlhp and the setud bit is set.
The permissions for fmputlhp are -r-sr-xr-x.
The permissions for fmputl are -r-xr-x---.
3. If any of these items is not set as specified, make the appropriate corrections.
Enabling Oracle File Mapping
To enable Oracle file mapping with the Veritas Storage Mapping option
1. Ensure that the file filemap.ora exists and contains a valid entry for the Veritas
mapping library for Oracle storage mapping.
# cd $ORACLE_HOME/rdbms/filemap/etc
# cat filemap.ora
For 64-bit Oracle, the filemap.ora file should contain the following setting:
•For PA
lib=VERITAS:/opt/VRTSdbed/lib/libvxoramap_64.so
•For IA
lib=VERITAS:/opt/VRTSdbed/lib/libvxoramap_64.sl
2. After verifying that the system is using the Veritas library for Oracle storage
mapping, set the file_mapping initialization parameter to true.
SQL> alter system set file_mapping=true;
The file_mapping initialization parameter is set to false by default. You do not
need to shut down the instance to set this parameter. Setting file_mapping=true
starts the FMON background process.
If you want storage mapping to be enabled whenever you start up an instance, set
the file_mapping initialization parameter to true in the init.ora file.
Accessing Dynamic Performance Views
To access dynamic performance views
1. Confirm that the Veritas mapping library for Oracle file mapping has been enabled:
SQL> select lib_idx idx, lib_name name, vendor_name vname, \
path_name path from v$map_library;
2. After storage mapping has been enabled, Oracle datafiles can be mapped using the
DBMS_STORAGE_MAP package.