Making the caching settings persistent across mounts in SFHA environment

By default, the Cached ODM settings are not persistent across mounts. You can make the settings persistent by addng them to odmadm configuration files.

To make the caching setting persistent across mounts

  1. Cachemap settings can be added to /etc/vx/odmadm:
    setcachemap data/read_data_header=cache
    setcachemap all/datapump=cache,readahead
    
  2. The cachemap is local on each node. To keep the cachemap consistent in a cluster, the contents of /etc/vx/odmadm must be the same on each node.
  3. Per-file settings can be manually added to the lost+found/odmadm file in the file system.

    For example, to disable caching for oradata/file1 each time the filesystem is mounted, enter the following in the lost+found/odmadm file in the file system.

    setcachefile oradata/file1=off

    The per-file settings in lost+found/odmadm file may also be managed using Cached ODM Manager. The file should not be edited manually while using the Cached ODM Manager.

    See Enabling and disabling Cached ODM on data files by using Cached ODM Advisor in SFHA environment.