Moving an nVTL NetVault Backup residing on DR4X00 replicated container to another NetVault backup server 44 Appendix D Sample Scripts For Management Of Replication Failover And Reclamation Of Disk Space ....54 Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
In most cases, a Dell DR4X00 solution replaces a tape drive or library as the primary storage target because the DR4X00 can deliver fast full backups and restores more efficiently than traditional tape devices.
Library (nVTL) DR4X00 replication support is achievable using this method. See Figure 1 below which illustrates the DR4X00-NetVault nVTL baseline Scenario. Figure 1: DR4X00-NetVault nVTL basline Scenario. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 6
See NetVault DR Series Backup Appliance Application notes, DR4X00 and NetVault nVTL documentation for additional information. Please refer to Appendix B & C of this guide for advanced DR Series –NetVault nVTL replication procedures , Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Device Management window. Blank media can be added to the relevant target media group and the media request taken off hold. While this is not ideal, it will allow the job to complete. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 10
Another recommendation would be automating a media utilization report (job ID 13) to be sent to the sys- op on a reoccurring basis to track the media usage. This will allow the sys-op to pre-add media to help prevent the above scenario. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
4. Once the virtual console is open, log in to the system as user administrator and the password St0r@ge! (The “0” in the password is the numeral zero.). Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 12
5. Set the user-defined networking preferences. 6. View the summary of preferences and confirm that it is correct. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 13
NOTE: if you do not want to add DR4X00 to Active Directory, see the for guest login instructions. a. Select Active Directory in the tree on the left hand side of the dashboard. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 14
Select Containers in the tree on the left side of the dashboard, and then click the Create link at the top of the page. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 15
Select the client access credentials preferred. For improved security, Dell recommends adding IP addresses for the following (Not all environments will have all components): Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 16
Hyper-V hosts (on-host proxy for Hyper-V environments)s Off-host proxies (for Hyper-V environments) Backup proxies (for vSphere environments) Click Create a New Container. g. Confirm that the container was added. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 17
Click Edit, and write down the container path, which you will use later to target the DR4X00. Click Cancel to exit. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Deselect Check available disk space before creating libraries option as shown and apply the changes. Select Allow disk libraries to have entry/exit ports option. This will allow virtual tapes to be taken offline for space reclamation purposes. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 19
In the NetVault: Backup Configurator and select the Media Manager tab. Deselect Use barcodes as labels option as shown and apply the changes. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 20
In the NetVault: Backup Console and select the Device Manager icon. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 21
In the Device Manager select Add Library. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 22
In the Add Library screen select Create Virtual Library. Note: When targeting a CIFS share for NVBU VTL creation, the full UNC path must be used for the “Library location”. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 23
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 24
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 25
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 26
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 27
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 28
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 29
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Performing scheduled disk space reclamation operations are recommended as a method for recovering disk space from system containers in which files were deleted as a result of deduplication. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
As additional full backup jobs complete the ratios will increase. As mentioned before backup jobs with 12 week retention will average a 15x ratio in most cases. NetVault: Backup VTL and Cleaning Cycles Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
5. Repeat steps 1 – 3 for each drive as required. 6. Save device configuration by clicking the Save Details button in the top left corner. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 33
Failing to do so will result in erroneous behaviour with the backup software. Refer to NVBU JIRA NVG-4306, NVG-4307, and NVG-4308 for details. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Software\NetVault Backup\config. Change the Library and drive paths to the second DR4X00 container. Screen 1 show the existing diskdevice config file for the nVTL on the first DR4X00. Screen 1 Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 36
Screen 2 show the diskdevice config file edited for the nVTL on the second DR4X00. Screen 2 Check the NVBU Device Manager to see the offline nVTL. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 37
2. To add the new VTL, click on the Add tab, select Auto Device Configuration. Select the Client hosting the nVTL and Re-Scan for devices. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 38
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 39
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 40
3. The new path to the library is detected and will be added to the configuration. Click on Next to add the library. Once the Library is added successfully, click Finish Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 41
4. In the Device Manager Screen, the new VTL path will be seen as well as the old VTL path. 5. The old VTL can be deleted now. Right click on the old VTL and select Remove. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 42
7. Check the savesets for a client by opening the Restore screen. Verify the media volume used by right clicking on the saveset and selecting Media List. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 43
DR4X00 is back online, the new container on the second DR4X00 can be replicated to the first DR4X00 and when needed, the process of changing the devices paths can be repeated to insure access to the VTL. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
2. Adding the library to a second NVBU server. Edit the diskdevice config file under: For Windows: \Program Files (x86)\Quest Software\NetVault Backup\config For Linux/Unix: /usr/netvault/config Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 45
Original config file: Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 46
3. Once the file has been edited, Select the NVBU Device Manager and run Auto- Configure Device under the Add Tab 4. Select Auto-Configure Device Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
5. Click Next. 6. Click Next. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 48
7. Click Finish. 8. Refresh the Device Management Screen and the Library will be displayed: Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 49
NVBU database. 9. Force Scan an nVTL. This was introduced in NVBU 8.6. Right Click on the new library and select Force Scan. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 50
Right click on the media volume and select Load. 12. To unload the media volume, right click on the drive and select Unload. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 51
13. Once all the media has been scanned, the Media Manager will list the media volumes and the savesets. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 52
14. Verify Savesets from Replicated VTL. 15. Launch the Restore and the Client/Server from the Replicated VTL will be listed. Select a saveset and restore data to verify the saveset. Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 53
Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
:: * Main Routine for every found media * :: * Eventually adapt Timeout * :: * according to machine type * :: * * Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 55
# media_size = This is the size of the media to be recreated and must be compatibly for input to the # nvmakemedia command # =================================================================== nv_home=`head -n -1 /etc/.nv6_home` nvutil=$nv_home/util media_size=50m Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 56
$vtlpath/media/${barcodes[$array_num_avail]} $vtlpath/media/${barcodes[$array_num_avail]}.disabled echo "================================================" echo "Creating a new piece of media, this may take some time based on size of media" echo $nvutil/nvmakemedia $media_size mediafiles $vtlpath/media/${labels[$array_num_avail]} Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 57
:: Capture Vars :: ==================================================================== :input set /p media_prefix=Enter the Media Label Prefix to Purge (enter . to exit): IF "%media_prefix%"=="." GOTO :eof IF "%media_prefix%"=="" GOTO input Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 58
# !*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!* # !*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!* # Gather Input from user # !*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!* echo -n "Enter Media Label Prefix to Purge: " read name while read media_prefix Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 59
"Purging Media with label ${media[$array_num_avail]}" echo "================================================" sleep 1 echo $nvutil/nvremovemedia -medialabel ${media[$array_num_avail]} echo "================================================" $nvutil/nvremovemedia -medialabel ${media[$array_num_avail]} wait sleep 2 let array_num_avail=array_num_avail+1 let count=count-1 done # close file Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 60
Stage 2 - Completed: Capture Media Media List has been defined FOR /F "tokens=1,2 delims= " %%i IN (%tmp%\~mediareuse.txt) DO ( SET ML=%%i SET GL=%%j call :_expire %%i echo Stage 3 - Completed goto :eof Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 61
# Create an array and throw data into it # Run commands against the data in the array # ================================================ #Open file for reading exec 10</tmp/mediareuse let count=0 while read LINE <&10; do Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 62
$LINE | awk '{print $1}') tempstring=${barcodes[$count]} barcodes[$count]=${tempstring%" "} media_avail[$count]=$LINE ((count++)) done array_num_avail=0 Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...
Page 63
$nvutil/nvreusemedia -barcode ${barcodes[$array_num_avail]} wait sleep 2 let array_num_avail=array_num_avail+1 let count=count-1 done # close file exec 10>&- # Clean up temporary rubbish left behind rm -rf /tmp/mediareuse Setting up NetVault Backup Native Virtual Tape Library on the Dell™ DR4X00 Disk Backup Appliance...