Veritas Storage Foundation 5.1 SP1: Storage and Availability Management for Oracle (5900-1504, April 2011)

To enable unconditional caching on a file
Enable unconditional caching on the file /mnt1/file1:
# /opt/VRTS/bin/odmadm setcachefile /mnt1/file1=on
With this command, ODM caches all reads from file1.
To disable caching on a file
Disable caching on the file /mnt1/file1:
# /opt/VRTS/bin/odmadm setcachefile /mnt1/file1=off
With this command, ODM does not cache reads from file1.
To check on the current cache advisory settings for a file
Check the current cache advisory settings of the files /mnt1/file1 and
/mnt2/file2:
# /opt/VRTS/bin/odmadm getcachefile /mnt1/file1 /mnt2/file2
/mnt1/file1,ON
/mnt2/file2,OFF
To reset all files to the default cache advisory
Reset all files to the default cache advisory:
# /opt/VRTS/bin/odmadm resetcachefiles mountpoint
Tuning Cached ODM settings via the cachemap
You can use the odmadm setcachemap command to configure the cachemap. The
cachemap maps file type and I/O type combinations to caching advisories. ODM
uses the cachemap for all files that have the default conditional cache setting.
Such files are those for which caching has not been turned on or off by the odmadm
setcachefile command.
See the odmadm(1M) manual page.
By default, the cachemap is empty, but you can add caching advisories by using
the odmadm setcachemap command.
77Improving database performance with Veritas Cached Oracle Disk Manager
Configuring Cached ODM