InfoScale™ 9.0 SmartIO for Solid-State Drives Solutions Guide - Solaris

Last Published:
Product(s): InfoScale & Storage Foundation (9.0)
Platform: Solaris
  1. Introducing SFHA Solutions SmartIO
    1.  
      About SmartIO for solid-state drives
    2.  
      About SmartIO in an SFHA environment
    3.  
      About SmartIO in an Active/Active cluster environment
    4. About SmartIO in the Solaris virtualized environments
      1.  
        Performing live migration between LDOMs in the SmartIO environment
    5.  
      About the SmartIO caching profiler tool
  2. Using the SmartIO feature: use cases
    1. About SmartIO read caching for applications running on VxVM volumes
      1.  
        Required configuration for SmartIO read caching for VxVM volumes
      2.  
        Automatic caching for VxVM volumes
      3.  
        Setting up SmartIO read caching for VxVM volumes
      4.  
        Verifying the VxVM cache area and monitoring the caching
    2. About SmartIO read caching for applications running on VxFS file systems
      1.  
        Required configuration for SmartIO read caching for a VxFS file system
      2.  
        Automatic caching for VxFS file systems
      3.  
        Setting up SmartIO read caching for VxFS file systems
      4.  
        Verifying the VxFS cache area and monitoring the caching
      5.  
        Customizing the caching behavior
    3. About SmartIO caching on SSD devices exported by FSS
      1.  
        Status of cache areas when nodes leave or join the cluster
      2.  
        Setting up cache areas using SSDs exported by FSS
    4. About SmartIO write-back caching for applications running on VxFS file systems
      1.  
        Required configuration for SmartIO write-back caching for a VxFS file system
      2.  
        Setting up SmartIO write-back caching for VxFS file systems
      3.  
        Verifying the VxFS cache area and monitoring the caching (writeback mode)
    5. About multiple SmartIO cache areas for read and write-back caching on VxFS file systems
      1.  
        About the smartiocache option
      2.  
        Converting VxFS cache areas from one type to another
      3.  
        Setting up multiple cache areas on a system
      4.  
        Verifying the VxFS cache areas
    6. About SmartIO caching for Oracle databases on VxFS file systems
      1.  
        Prerequisites and configuration for using the SmartIO plug-in for Oracle
      2.  
        Setting default SmartIO caching policies for a database running on a VxFS file system
      3.  
        Setting SmartIO caching policies for database objects
      4.  
        Pinning and unpinning database objects
      5.  
        Enabling and disabling caching for the database
      6.  
        Listing cache policy details for the database
      7.  
        Listing cache statistics for the database
    7. About SmartIO caching for databases on VxVM volumes
      1.  
        Applying a SmartIO database caching template for a VxVM volume
  3. Administering SmartIO
    1.  
      Creating a cache area
    2.  
      Displaying information about a cache area
    3. Enabling or disabling caching for a data object
      1.  
        Enabling or disabling caching for a file system
      2.  
        Enabling or disabling caching for a data volume
    4.  
      Adding a device to the cache area
    5.  
      Pausing caching from a volume to a cache area
    6.  
      Removing a device from the cache area
    7.  
      Destroying a cache area
    8.  
      Setting the attributes of the VxVM cache area
    9.  
      Setting or changing the caching mode for a VxFS cache area
    10.  
      Flushing dirty data from a writeback cache area
    11.  
      Tuning the writeback caching
    12. Viewing the SmartIO cache statistics
      1.  
        Viewing the detailed caching stats for a VxVM cache area
      2.  
        Viewing the detailed caching stats for a VxFS cache area
  4. Troubleshooting and error handling
    1. Support for a persistent or 'warm' VxVM cache
      1.  
        Primary volume failure with a stale cache could cause possible data corruption
      2.  
        Migrating a cache during HA failover is not supported
    2.  
      Cache area is lost after a disk failure (3158482)
    3.  
      Cache is not online after a reboot
    4.  
      Recovering the write-back cache after a node failure
  5. Appendix A. Command reference
    1.  
      SmartIO command reference

About SmartIO write-back caching for applications running on VxFS file systems

InfoScale Storage and InfoScale Enterprise supports write-back caching on solid-state drives (SSDs) for applications running on Veritas File System (VxFS) file systems. In this scenario, application reads and writes are satisfied from the cache whenever possible.

Note:

SmartIO write-back caching is not currently supported in SF Oracle RAC environments.

SmartIO provides write caching in the writeback mode. In writeback mode, an application write returns success after the data is written to the SmartIO cache, which is usually on an SSD. At a later time, SmartIO flushes the cache, which writes the dirty data to the disk. Write-back caching expects to improve the latencies of synchronous user data writes. Write order fidelity is not guaranteed while flushing the dirty data to the disk.

Write-back caching is superset of read caching. When write-back caching is enabled, read caching is implicitly enabled. Reads are satisfied from the cache if possible, and the file system transparently loads file data into the cache. Both read and write-back caching may be enabled for the same file at the same time.

The writeback caching mode gives good performance for writes, but also means that the disk copy may not always be up to date. If a cache device fails, a file that is cached in writeback mode may not be completely present on the disk. SmartIO has a mechanism to flush the data from the cache device when the device comes back online. Storage Foundation Cluster File System High Availability (SFCFSHA) provides additional protection from data loss with cache reflection.

In the case of SFCFSHA, when writeback mode caching is enabled, SmartIO mirrors the write-back data at the file system level to the other node's SSD cache. This behavior, called cache reflection, prevents loss of write-back data if a node fails. If a node fails, the other node flushes the mirrored dirty data of the lost node as part of reconfiguration. Cache reflection ensures that write-back data is not lost even if a node fails with pending dirty data.

In the case of local mount, if there is no cache mirror, the disk copy of the file can be incomplete or stale if the node fails.

After write-back caching is enabled on the mount point, the qualified synchronous writes in that file system are cached. SmartIO determines if a write qualifies for write-back caching, using criteria such as the following:

  • The write request must be PAGESIZE aligned (multiple of 8k). For Oracle redo logs, the writes use the redo log block size, which cannot be changed to 8k. Therefore, redo log writes are not cached in the write-back cache.

  • The write request is not greater than 2MB.

  • The file on which the writes are happening is not mmapped

  • The writeback mode caching is not explicitly disabled by the administrator.

You can also customize which data is cached, by adding advisory information to assist the SmartIO feature in making those determinations.