Application consistent Snapshots with Microsoft VSS
Application consistent snapshots can be taken by the StorONE array for Microsoft hos application servers. The application consistent snapshots are taken using Microsoft Volume Shadow Copy Service (VSS). Microsoft VSS enables the application server to temporarily quiesce IO for designated application volumes and specific applications used by Microsoft Windows servers
StorONE application consistent snapshot requirements:
- The volume on the Microsoft host application server must be seen as a "block device", and not a network attached drive. This is possible in one of two ways:
- directly connecting the StorONE array to your application host via iSCSI or Fibre Channel for application and log volumes
- Directly connecting a hypervisor via iSCSI or Fibre Channel, and then presenting the volumes to the host application server as a block devices. Block devices which are back by file based (NFS) or SMB shares are not supported for Application consistent snapshots at this time.
- directly connecting the StorONE array to your application host via iSCSI or Fibre Channel for application and log volumes
- The Microsoft application must be VSS capable (Microsoft SQL, Exchange, Sharepoint, and so on).
- The StorONE VSS application must be installed on each Microsoft host where application consistent snapshots are required. For Microsoft clusters, the StorONE VSS application must be installed on each individual cluster member.
- Connectivity between the StorONE array management IP addresses and the Application host server(s) via TCP port 18222
- The latest Microsoft Visual C++ Redistributable Version package before installing the StorONE VSS plugin. It can be downloaded from Microsoft.
If the StorONE VSS module was installed before installing the Microsoft Visual C++ Redistributable Version, remove the module, install the Microsoft Visual C++ Redistributable Version, and then reinstall the StorONE VSS module.
Installing the StorONE VSS plugin on Microsoft Windows
Downloading the StorONE VSS module
Download the latest VSS installer .MSI file from the StorONE landing page. In a browser, go to the DNS name or IP address of either of the StorONE controller nodes, and click the VSS Installer link.
Installing the StorONE VSS module
After the download completes, run the installer. Make sure to download and run it on all Windows machines (physical or virtual) that use the StorONE volume that you want to enable VSS snapshots on.
After the installation finishes, two services are added to the Windows host: S1VssHardwareProvider and S1VssService:
NOTE: when verifying the installation of the VSS services, the S1VssHardwareProvider should be set for Manual startup type. If the startup type is Automatic it needs to be changed to Manual.
When an application consistent snapshot is initiated by the StorONE system, the array contacts the Microsoft VSS provider on the host application server via TCP port 18222. In order for application consistent snapshots to work properly, make sure that this port is available for requests from the management IP on both StorONE controller nodes. Application consistent snapshots can be scheduled or manually initiated via the StorONE UI.
StorONE system configuration
Step 1: Create Application and log volumes in StorONE
Configure volumes and consistency groups in StorONE. It is recommended to create a specific application to contain the applicaiton and log volumes for each host applicaiton server. In cases where the application server is a cluster, only one StorONE application and set of volumes need to be created for the cluster.
(fill in steps)
We may want to recommend log volumes be on SSD becaise they are small and this will make it easier to snapshot from a performance perspective. log volumes are usually 100G or less, and can be as little as 10G
Step 2: Mask volumes to host or Hypervisor
Create host groups and mask LUNs as needed
(fill in steps)
In the StorONE admin web interface, there are two steps required to enable Microsoft VSS snapshots:
- Enable VSS for the required volume
- Configure a snapshot schedule
Step 3: Enable VSS for the consistency Group
need to change instructions and photo to a consistency group and slightly alter the text for this
Specify the application and volume that you want to enable VSS snapshots for, and add the IP addresses of all Windows machines using the volume.
If the volume is a block volume (iSCSI or Fibre Channel) directly mapped to the Windows hosts, make sure to check the Direct Mapping checkbox.
If the volume is being hosted through a Hypervisor presenting virtual disks for the Windows hosts, do not check the Direct Mapping checkbox.
Step 2: Configure snapshot schedule
On the Applications 🡪 Snapshots page, you can manually take a one-time snapshot by clicking the Take button, or by clicking Schedule
to schedule recurring snapshots. In both cases, check the Enable Vss box.
When a VSS-enabled snapshot is initiated, the StorONE system will communicate with the VSS services on the Windows machines to coordinate an application-consistent snapshot.
Using the CLI
To manually take a Microsoft Application consistent snapshot using the CLI, use the --vss
argument:
Troubleshooting
In some cases, the VSS snapshots fails with error 8194: Access Denied
. This is caused when the Windows NETWORK SERVICE predefined local user does not have sufficient access permissions.
To fix this issue, add the relevant permissions:
- Open the Windows Start Menu, then search for and run the dcomcnfg tool.
- Expand the path Console Root 🡪 Component Services 🡪 Computers.
- Right click on My Computer, then select Properties.
- In the My Computer Properties dialog box, select the COM Security tab
- In the Access Permission dialog box, click Add and enter NETWORK SERVICE.
- To make sure the spelling is correct, click the Check Names button.
- After adding NETWORK SERVICE make sure the Local Access permission is allowed.
- Click OK to save the configuration.
No Comments