The following sections explain Data ONTAP space reservation and describe how to configure SnapManager for SQL fractional space reservation policies:
This section summarizes space reservation and fractional space reservation as supported by Data ONTAP 7.1 or higher. For more detailed information about these features, see the Data ONTAP Block Access Management Guide for iSCSI and FCP for release 7.1 or higher.
When you create a LUN on a storage system volume, Data ONTAP reserves enough space in the traditional or flexible volume so that write operations to those LUNs do not fail due to lack of disk space on the storage system. Other operations, such as making a Snapshot copy or creating new LUNs, can occur only if there is enough available unreserved space. These operations are restricted from using reserved space.
SnapDrive creates and manages LUNs with space reservation enabled. That is, additional space on the storage system volume is automatically reserved for overwriting blocks that belong to a LUN. By default, this additional space is equal to 100 percent of the total size of all space-reserved LUNs in the storage system volume.
If space reservation is disabled, write operations to a LUN might fail due to insufficient disk space in the storage system volume; consequently, the host application might terminate, report I/O errors, or exhibit unexpected behavior.
With fractional space reservation, the amount of space reserved for overwrites is set to less than 100 percent of the total size of all space-reserved LUNs in a traditional volume or a flexible volume that has the guarantee option set to volume rather than file. The space that is preallocated for space reservation is reduced to that percentage. Fractional space reservation is generally used for volumes with LUNs that store data with a low rate of change.
While space reservation is enabled at the LUN level, fractional space reservation overwrite reserve amounts are configured at the volume level. Fractional space reservation does not control how the total amount of space reserved for overwrites in a volume is applied to individual LUNs in that volume.
In a SnapManager environment in which SQL data is stored on LUNs in a fractional space-reserved storage system volume, you need to avoid an out-of-space condition. You can do this using the SnapManager space reservation policy tool to monitor the overwrite reserve utilization on the volumes. Space reservation has two policies that you can enable:
These policies control whether SnapManager takes action to prevent the overwrite reserve from being fully depleted when the overwrite reserve space runs low on a fractional space reserved volume.
Note
If you enable SnapManager e-mail notification, SnapManager sends an SMTP e-mail message to specified recipients after a SnapManager fractional space reservation policy event completes.
SnapManager provides an option for automatic deletion of backups of LUNs that store SQL data. When you enable this option, the SnapManager fractional reservation policy serves as the SQL-aware replacement for or adjunct to the Data ONTAP Snapshot copy deletion feature. If the level of overwrite reserve utilization on the volume reaches a threshold specified by the policy, automatic backup deletion is triggered and SnapManager deletes SQL backups using the following guidelines:
Select the backup retention level that is appropriate to your SnapManager backup creation and verification schedule. If Snapshot copy deletion triggers, enough backup Snapshot copies should be retained so that at least one verified backup remains on the volume. Due to these SQL-aware features, the automatic deletion of Snapshot copies does not necessarily prevent an out-of-space condition on the volume.
When this option is enabled, SnapManager provides an option for the automatic dismounting of SQL databases in space-reserved LUNs. It is triggered if overwrite reserve utilization on the volume reaches the threshold specified by the fractional space reservation policy. This stops SQL write operations to LUNs in a storage system volume for which overwrite reserve space is nearly full.
This second component of the fractional space reservation policy should be always enabled. It is a last-resort action that prevents further consumption of overwrite reserve.
When both options of fractional space reservation policy are enabled, the dismounting of SQL databases must be triggered at a higher level of overwrite reserve utilization than is used to trigger the deletion of SQL backup Snapshot copies. This enables SnapManager to first use backup-set deletion to free some overwrite reserve. If this is not sufficient, dismounting the affected database prevents further consumption of overwrite reserve.
Attention
If another host or client continues to write data to the affected volume, the overwrite reserve space might still run out and the storage system volume will go offline. For this reason, it is recommended that dedicated volumes be used for SQL data.
The following table summarizes the fractional space reservation policy by listing each setting, along with its factory default value and its configurable values.
The default fractional space reservation policy is automatically enabled for any traditional or flexible storage system volume that has overwrite reservation set to less than 100 percent and contains LUNs that store SQL database files, SQL transaction log files, or SnapManager SnapInfo directories.
You can use the default policy as-is, allowing the factory default values to be applied to every storage system volume that contains fractional-space-reserved LUNs.
You can customize the default policy that is applied to all storage system volumes that contain fractional-space-reserved LUNs. You can configure the default policy settings to required values. This will be applied to the storage system volume if the "Apply default policy to selected object in the left window" check box is selected in the Fractional Space Reservation Settings screen.
You can override the default policy for any particular volume that contains fractional-space-reserved LUNs by applying a custom policy.
For more information on how to configure volume-specific policies, see Configuring fractional space reservation policies
In the Fractional Space Reservation Settings dialog box, use the Current Status tab to view the current space consumption in the storage system volumes that contain LUNs that store SQL data or SnapInfo directories. You will see the following information:
A SnapManager configuration setting for the LUN. The drive letter or NTFS mount point on which the LUN is mounted.
The amount of space reserved for overwrites on the storage system volume that contains the LUN. It is expressed as a percentage of the total size of all space-reserved LUNs in the volume.
A SnapManager fractional space reservation policy setting for the storage system volume that contains the LUN. It is expressed as a percentage of overwrite reserve utilization that triggers automatic deletion of SQL backup sets.
A SnapManager fractional space reservation policy setting for the storage system volume that contains the LUN. It is expressed as a percentage of overwrite reserve utilization that triggers automatic disabling of SQL databases.
The amount of overwrite reserve in use for the storage system volume that contains the LUN. It can be expressed in two ways:
This is the amount of overwrite reserve available for the storage system volume that contains the LUN.
To view the current space consumption information about each LUN, complete the following steps.
| 1 |
In the SnapManager main window, select Options > Fractional Space Reservation Settings. |
|
| 2 |
In the Current Status tab, note the space consumption status for each LUN that stores SQL data or SnapInfo directories.
The information displayed in this tab automatically refreshes every 60 seconds. Note |
|
| 3 |
If the Snapshot Autodelete column is Enabled, investigate the cause and take preventive action if necessary. Attention If the Storage Snapshot Autodelete column is Enabled, take one of the following actions on the volume:
For details about the snap autodelete storage system command, see the Data ONTAP® Block Access Management Guide for iSCSI and FCP for release 7.1 or later. Note |
|
| 4 | ||
In the Fractional Space Reservation Settings dialog box, use the Policy Settings tab to view or customize the default policy and to configure custom policies for individual fractional-space-reserved LUNs.
The default fractional space reservation policy and its factory default settings are described in Appendix C, About the default fractional space reservation policy.
Note
SnapManager automatically applies the default policy to every storage system volume that contains fractional-space-reserved LUNs that store SQL database files or SnapInfo directories. Therefore, your storage is protected from an out-of-space condition, without requiring you to explicitly enable or configure any fractional space reservation policies.
To configure the fractional space reservation policy, complete the following steps.
| 1 |
In the SnapManager main window, select Options > Fractional Space Reservation Settings. |
|
| 2 | ||
|
Choose to specify either the default policy or a volume-specific policy |
||
| 3 |
In the left navigation tree, select the scope of the policy you want to view or change in the main panel on the right-hand side of the tab: |
|
|
In the navigation tree, select the storage system and then the volume. | ||
|
Disable or configure automatic deletion of SQL backup Snapshot copies |
||
| 4 |
Use the "Automatic deletion of backups" panel to disable, enable, or configure automatic deletion of SQL backup Snapshot copies in fractional-space-reserved LUNs on the volume. Note For more information, see Automatic deletion of SQL backups. |
|
|
Select the "Delete backups that include LUNs which have less than 100% overwrite reservation" option, and then skip to Step 7. | ||
|
De-select the "Delete backups that include LUNs which have less than 100% overwrite reservation" option, and then proceed to Step 5. | ||
|
Note |
||
| 5 |
In the "Trigger point for overwrite reserve utilization" field, enter the level of overwrite reserve utilization (in percentage of total reserve) that is to trigger deletion of SQL backup Snapshot copies. The value must be a non-negative integer that is less than the "Trigger point for overwrite reserve utilization" value in the "Automatically dismount databases" panel. |
|
| 6 |
In the "Number of most recent backup sets to retain" field, enter the number of backup set to be retained, if automatic backup set deletion is triggered. The value must be an integer from 1 through 256 and should be based on the backup creation and verification schedule. For more information, see Automatic deletion of SQL backups". |
|
| 7 |
Use the "Automatically dismount databases" panel to configure automatic dismounting of SQL databases in fractional-space-reserved LUNs on the volume. Note In the "Trigger point for overwrite reserve utilization" field, enter the level of overwrite reserve utilization (in percentage of total reserve) that is to trigger dismounting of SQL databases. The value must be an integer from 0 through 99. Note For more information, see Automatic dismounting of SQL databases. |
|
| 8 | ||
Copyright © 1994-2006, Network Appliance, Inc. All rights
reserved.
Part No. 215-01752_A0
File: cfgappl9.htm
Last updated: 01-Sep-2006 07:41:28