Enterprise Vault (EV) to NetBackup (NBU) process flow using Dtrace.

book

Article ID: 100038602

calendar_today

Updated On:

Description

Description

EV archives data to vault store partitions in files with a DVS extension (Digital Vault Set). The collection process allows space reduction of the vault store partitions by collecting the typically small DVS files into a smaller number of larger files.

The Collector process can be configured on Enterprise Vault server, which collects DVS files into collection called CAB (Cabinet) files. As DVS files are collected into CAB files the original DVS files are removed and the SQL database is updated to its new location.

If configured, the migration process copies the CAB file to an NBU location and the original CAB file is either immediately deleted or left on the primary storage for a time specified in the migration settings as shown in the below example:

DTRACE Snippet

------------------------------

 If DVS files are not secured then they will not be collected and the following will be observed:

(StorageFileWatch) <3880> EV:M The Collector for Partition 1E63344E775A4A142827119CAC429E8D41q10000EV10Server determined the file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\0A9\40A9D6048A1CE21C5C27AE7D97933831.DVS as not safe for Collection

(StorageFileWatch) <3880> EV~I Event ID: 7134 A Partition's Collector/Migrator run has finished. |Some files were not collected because they have not been backed up. |Partition Root Path: D:\EV_Vault_Stores\FSAVS1 Ptn2 |Archived items: 0 |Files added to collections: 0 |Collections: 0 |Files migrated to secondary storage: 0 |Time taken for the run [H:M:S]: 0:00:00

If the DVS files are secured then it will show:

(StorageFileWatch) <4400> EV:L The Collector for Partition 1E63344E775A4A142827119CAC429E8D41q10000EV10Server is going to Collect file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\0A9\40A9D6048A1CE21C5C27AE7D97933831.DVS

(StorageFileWatch) <4400> EV:M The Collector for Partition 1E63344E775A4A142827119CAC429E8D41q10000EV10Server is creating Collection file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\Collection11.CAB

(StorageFileWatch) <4400> EV:M The Collector for Partition 1E63344E775A4A142827119CAC429E8D41q10000EV10Server is verifying file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\0A9\40A9D6048A1CE21C5C27AE7D97933831.DVS within Collection file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\Collection11.CAB. HRESULT = 0, Message = [extracted from Collection], Method = CCollector::DeleteFiles

The following shows the collector/migrator has started:

(StorageFileWatch) EV~I Event ID: 6976 A Partition's Collector/Migrator run has started. |Partition Root Path: D:\EV_Vault_Stores\FSAVS1 Ptn2

(StorageFileWatch) EV:M Collector is walking the directory tree for Partition 1E63344E775A4A142827119CAC429E8D41q10000EV10Server

Once walking is complete it will proceed with following:

(StorageFileWatch) EV:M CMigratorHelper::AccessMigrator : Entered : PartitionEntryId = 1E63344E775A4A142827119CAC429E8D41q10000EV10Server

(StorageFileWatch) <4400> EV:M CMigratorHelper::AccessMigrator : Initializing MigratorCallback object

(StorageFileWatch) <4400> EV:M CMigratorHelper::AccessMigrator : Creating Migrator object with ProgId NBUMigrator.Migrator

Now it will put a lock on the collection:

(StorageFileWatch) <4400> EV:M CCabFileMutex::wait[LOCK] : Attempting to take a lock on file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\Collection11.CAB.lock

(StorageFileWatch) <4400> EV:M CCabFileMutex::wait[LOCK] : Lock taken on file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\Collection11.CAB.lock, slept for 0 ms

(StorageFileWatch) <4400> EV:L NBU Migrator: Inf06 000-546795.000 SendFile API :Entered

(StorageFileWatch) <4400> EV:L NBU Migrator: Inf06 000-546795.002 Initialize :Initializing the SendFile Assistor object

(StorageFileWatch) EV:L NBU Migrator: Inf05 000-546795.017 ParmScan :Scanning 'EV_Policy=EV_Migration'

(StorageFileWatch) EV:L NBU Migrator: Inf05 000-546795.018 ParmScan :Scanning 'EV_Server=nbmaster1'

(StorageFileWatch) EV:L NBU Migrator: Inf05 000-546795.019 ParmScan :Scanning 'EV_PartitionGuid=E63344E775A4A142827119CAC429E8D4'

(StorageFileWatch) EV:L NBU Migrator: Inf05 000-546795.020 ParmScan :Scanning 'EV_PartitionPath=D:\EV_Vault_Stores\FSAVS1 Ptn2\'

(StorageFileWatch) EV:L NBU Migrator: Inf05 000-546795.021 ParmScan :Scanning 'EV_FilePath=2014\01-24\4\Collection11.CAB'

(StorageFileWatch) EV:L NBU Migrator: Inf06 000-546795.039 XBSA_SendFile :Client Host Name = ev1.lab.symc

(StorageFileWatch) EV:M NBU Migrator: Inf02 000-546836.012 XBSA_SendFile :File archived, FileId = 'FileId=E63344E775A4A142827119CAC429E8D4+nbmaster1+01390546805+2014\01-24\4\Collection11.CAB+ev1.lab.symc'

(StorageFileWatch) EV:M The Collector for Partition 1E63344E775A4A142827119CAC429E8D41q10000EV10Server successfully migrated (copied) and verified file D:\EV_Vault_Stores\FSAVS1 Ptn2\2014\01-24\4\Collection11.CAB

(StorageFileWatch) EV~I Event ID: 6917 A Partition's Collector/Migrator run has finished. |Partition Root Path: D:\EV_Vault_Stores\FSAVS1 Ptn2 |Archived items: 31 |Files added to collections: 47 |Collections: 1 |Files migrated to secondary storage: 1 |Time taken for the run [H:M:S]: 0:00:47

Issue/Introduction

Enterprise Vault (EV) to NetBackup (NBU) process flow using Dtrace.