Windows Client Backups with Open File Backup option take a long time to start when Storage Foundation for Windows is installed

Article:TECH192324  |  Created: 2012-07-03  |  Updated: 2012-07-05  |  Article URL http://www.symantec.com/docs/TECH192324
Article Type
Technical Solution



Issue



The default installation of Storage Foundation for Windows installs the Veritas VSS Provider for Veritas Volume Manager VSS Snapshot operations. By default, NetBackup does not have a GUI method to specify the VSS Provider type for File System, System State or Shadow Copy Component backups.

As a result, the Windows Operating System default order of VSS provider selection takes precidence causing delays in VSS Snapshot creation and deletion due to incompatible or incomplete configuration with the backup type.

On a Windows Server 2003, 2008 or 2008 R2 based computer, the Volume Shadow Copy Service tries to start the providers in the following order:

  1. Hardware provider
  2. Software provider
  3. System provider

 


Error



 

There is no error for this issue seen in NetBackup logging. Bpfis log only shows large delays.
 
The source of the delays is seen in the Storage Foundation for Windows VSS log and points to a missing plex.
 
C:\Program Files (x86)\Veritas\Veritas Volume Manager 5.1\logs\$vssprov$.log  
 
 
(PID:5836,TID:5340) TRACE: VolArrivalTimeOut value got from registry 120   
(PID:5836,TID:1748) TRACE: ENTER CVxVssDynamicProvider::IsVolumeSupported() \\?\Volume{cbea253e-ac57-11df-b088-806e6f6e6963}\ Time = ( Fri Jun 29 09:30:15 2012 )
(PID:5836,TID:1748) TRACE: VmIsVolumeSupported - Volume not Supported DgVer 0 Time = ( Fri Jun 29 09:30:15 2012 )   
(PID:5836,TID:1748) TRACE: VmIsVolumeSupported Boot Volume involved Time = ( Fri Jun 29 09:30:15 2012 )   
(PID:5836,TID:1748) TRACE: EXIT CVxVssDynamicProvider::IsVolumeSupported() \\?\Volume{cbea253e-ac57-11df-b088-806e6f6e6963}\ Time = ( Fri Jun 29 09:30:15 2012 ) 0   
(PID:5836,TID:1748) TRACE: ENTER CVxVssDynamicProvider::GetSnapshotProperties Time = ( Fri Jun 29 09:30:20 2012   
(PID:5836,TID:1748) TRACE: ENTER CVxVssDynamicProvider::GetSnapshotProperties Time = ( Fri Jun 29 09:30:20 2012 )   
(PID:5836,TID:1748) TRACE: Plex not found. Going to retry for the plex again. Retry no.: 10. Time = ( Fri Jun 29 09:30:30 2012 )   
 
<SNIP - repeated message every 10 seconds until the 2 minute >   
 
(PID:5836,TID:1748) TRACE: Plex not found. Going to retry for the plex again. Retry no.: 120. Time = ( Fri Jun 29 09:32:20 2012 )   
(PID:5836,TID:1748) TRACE: Plex not found.Retried 120 times. Time = ( Fri Jun 29 09:32:20 2012 )  
(PID:5836,TID:1748) TRACE: Exit CVxVssDynamicProvider::GetSnapshotProperties() Time = ( Fri Jun 29 09:32:20 2012 )

 


Environment



NetBackup 7.0, 7.0.1, 7.1, 7.5 
Storage Foundation for Windows 5.0, 5.1


Cause



The delay during VSS Snapshot creation (or deletion) is because a VSS Snapshot Volume has not been configured in Storage Foundation for Windows.  When NetBackup BPFIS attempts to create a VSS snapshot, the Windows OS VSS provider order selection picks Veritas VSS Provider ( a Software Provider ) over the Microsoft System VSS Provider. Any attempts to create a VSS Snapshot on a non-existent Veritas Volume Manager volume (plex) result in an error after 2 minutes of attempts.  

 


Solution



 

NetBackup 7.1 or 7.5 Clients

Open a command prompt and use the w2koption command to specify the System VSS Provider as the default VSS Provider for Windows Open File Backups, System State or Shadow Copy Components.

Example: C:Program FilesVeritasNetBackupbinw2koption.exe -backup -snapshotprovidertype 1

The above command creates a new registry key and 2 DWORD values to set the default VSS Provider selection behavior to '1' or 'System Provider'. 

- HKEY_LOCAL_MACHINESOFTWAREVERITASNetBackupCurrentVersionConfigBACKUP
  - REG_DWORD: SNAPSHOT_PROVIDER_TYPE=1 (Default=0)
  - REG_DWORD: SYSTEM_STATE=0 (Default=0)  
 
COMMAND USAGE:

W2KOption.exe: -backup | -restore [-display] [-server server_name] For -backup the optional parameters are:
        -system_state <0=disallow legacy backup, 1=allow legacy backup>
        -system_state setting only applies to Windows 2003 (and later) servers

        -snapshotprovidertype <0=Auto - VSS selects the provider to be used (default),
                                                   1=System - Use the system provider,
                                                   2=Software - Use a Software provider,
                                                   3=Hardware - Use a Hardware provider>

For -restore the optional parameters are:
        -sysvol <4=PRIMARY, 2=NON-AUTHORITATIVE>
        -hard_links <1=perform secondary restore,
                               0=do not perform secondary restore>
        -same_hardware <0=assume different hardware, 1=assume same hardware>
        -mounted_devices <0=restore mounted device configuration,
                                            1=do not restore mounted device configuration>
                                            (only applies when assuming same hardware)
        -system_state <0=disallow legacy restore, 1=allow legacy restore>
        -system_state setting only applies to Windows 2003 (and later) servers


NetBackup 7.0.1 Or Earlier Clients

Option #1 - Upgrade the NetBackup Master, Media and Clients to 7.1 or 7.5 and use the w2koption command listed above.

Option #2 - Deregister the Veritas VSS Provider if Veritas Volume Manager Snapshots are not being used.
- Follow steps in Storage Foundation for Windows Technote TECH33532 to remove the Veritas VSS Provider and stop the delays.

Option #3 - Refer to NetBackup TECH158127 for availability of EEBs the provide the same w2koption functionality of 7.1 and 7.5


DISCLAIMER:
-----------
NOTE: Engineering binaries (EEBs) are pre-release. As such, they are intended solely for the recipient and shall not be further distributed to other parties. Their use is subject to the terms and conditions of your Symantec VERITAS NetBackup license and agreement. They have not been fully tested by Symantec Corporation and, as such, are being provided "as is" without any guarantee
or warranty of any kind, either express or implied. Symantec reserves the right to require the removal of these binaries in order to troubleshoot and/or resolve any subsequent issues that are reported.

  

 


Supplemental Materials

SourceETrack
Value2145368
Description

ET 2077740 only works with SCC backups, not File System backups.

2077740
- Customer has ONTAP Provider on this Windows Client, but wants to use Microsoft VSS provider for SCC + SS backups.
 




Article URL http://www.symantec.com/docs/TECH192324


Terms of use for this information are found in Legal Notices