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

Verifying the VxVM cache area and monitoring the caching

After the SmartIO feature is configured, you can verify that the cache area is present and that caching is occurring.

To verify and monitor the cache area

  1. Use the following command to display information about the cache areas on the system.
    # sfcache list -l
    Cachearea: sfcachearea_1
    Assoc Type: AUTO
    Type: VxVM
    Size: 30.00g
    Cacheline Size: 64.00k
    Memory Size: 16.00m
    State: ONLINE
    Layout: CONCAT
    Number of Columns: 0
    
    ASSOCIATED DATA OBJECTS:
    
    Volume: testdg/testvol1
    Size: 500.00g
    State: ENABLED
    Kstate: ENABLED
    Caching Mode: read
    
    Volume: testdg/testvol2
    Size: 500.00g
    State: ENABLED
    Kstate: ENABLED
    Caching Mode: read

    See Displaying information about a cache area.

  2. Use the following command to display information about a specific cache area.
    # sfcache list sfcachearea_1 
    Cachearea: sfcachearea_1
    Assoc Type: AUTO
    Type: VxVM
    Size: 30.00g
    Cacheline Size: 64.00k
    Memory Size: 16.00m
    State: ONLINE
    Layout: CONCAT
    Number of Columns: 0
    
    ASSOCIATED DATA OBJECTS:
    
    ASSOC DATAOBJECT NAME   CACHING-MODE  STATE    KSTATE
    testdg/testvol1         read          ENABLED  ENABLED
    testdg/testvol2         read          ENABLED  ENABLED

    See Viewing the SmartIO cache statistics .

  3. To see statistics on the cache usage, use the following command:
    # sfcache stat sfcachearea_1
                                    HIT RATIO    ART(Hit)ms   ART(Miss)ms   BYTES
    NAME                     %CACHE RD    WR     RD    WR     RD     WR     RD     WR
    TYPE: VxVM
    sfcachearea_1            13.43  91.24 94.20  0.142 0.819  0.414  0.798  15.31g 4.21g
    
    ASSOCIATED DATA OBJECTS:
    testdg/testvol1          6.10   90.00 96.00  0.141 0.459  0.348  0.448  6.77g  1.89g
    testdg/testvol2          7.32   91.00 92.00  0.143 1.179  0.480  1.149  8.54g  2.31g
  4. Use the following command to display information about the usage of exported SSDs by other nodes in the cluster. Run the command on the node for which you want to see the existing cache areas.

    Note:

    Private cache areas of other nodes are not listed.

    # sfcache list --all
    Hostname : sys1
    NAME              TYPE   SIZE       ASSOC-TYPE  STATE   FSTYPE   DEVICE
    sfcachearea_1     VxVM   10.00g     AUTO        ONLINE    -      ibm_f90-0_0
    sfcachearea_3     VxFS   10.00g     AUTO        ONLINE  reserve  ibm_f90-0_0
    
    Hostname : sys2
    NAME              TYPE   SIZE       ASSOC-TYPE  STATE   FSTYPE   DEVICE
    sfcachearea_4     VxFS   20.00g     AUTO        ONLINE  reserve  ibm_f90-0_0
    sfcachearea_5     VxVM   25.00g     AUTO        ONLINE     -     ibm_f90-0_0
    
    Hostname : sys3
    NAME              TYPE   SIZE       ASSOC-TYPE  STATE   FSTYPE   DEVICE
    sfcachearea_2     VxFS   10.00g     AUTO        ONLINE  reserve  ibm_f90-0_0