Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
27-08-2020
Version 1.0
1
Stratogent Confidential
2
Stratogent Confidential
Contents
Introduction............................................................................................................................................. 4
Prerequisites............................................................................................................................................ 4
Performing pre-requisites........................................................................................................................ 4
Procedure................................................................................................................................................ 5
Validation............................................................................................................................................... 51
References............................................................................................................................................. 51
3
Stratogent Confidential
Introduction
The purpose of AWS VTL TAPE GATEWAY WITH VEEAM configuration is for Veeam tape backup job which
leverage the AWS tape gateway and represent the S3 as a Virtual tape library which emulates as a
physical library.
Scope
The scope of this SOP: To configure AWS tape gateway appliance in VCenter, tapes and then representing
the VTL tape drives to the Veeam server using ISCI protocols, tape jobs, configuring tape library and
creating Veeam tape job by inventory the tapes created in AWS environment.
Infrastructure setup
Prerequisites
From AWS Side
1. Sign up for an AWS console
2. Create a Site to Site VPN.
3. Configure VPC with at least one private or public subnet.
4. Configure the VPC endpoints for Storage gateway
5. Creating tapes.
From On-premise side
1. Sign up to VCenter.
2. OVA file to configure tape gateway appliance (need to download from AWS
console).
3. Thick provisioning disk from synology to configure cache and upload buffer.
4. ISCSI application on a server to connect the VTL tape library medium changer and
then tape drives.
From Veeam B&R side.
1. Sign up to Veaam console.
2. Configure VTL tape library.
4
Stratogent Confidential
Performing pre-requisites
If user is not local admin in the Veeam server add the user to local admin access.
Access to AWS console with the admin privilege.
Procedure
Configure VM tape gateway appliance in ESXi host.
To download the gateway appliance OVA file, go to Storage gateway in AWS console, click create gateway
and then select tape gateway and then click type of host platform as “VMware ESXi host”. Download the
OVA file.
5
Stratogent Confidential
Download the image and deploy the same ova file in Vcenter.
6
Stratogent Confidential
7
Stratogent Confidential
8
Stratogent Confidential
9
Stratogent Confidential
10
Stratogent Confidential
We then need to configure separate disks for upload buffer and cache with thivck prvisioning lazy zeroed.
11
Stratogent Confidential
12
Stratogent Confidential
13
Stratogent Confidential
14
Stratogent Confidential
15
Stratogent Confidential
16
Stratogent Confidential
17
Stratogent Confidential
18
Stratogent Confidential
19
Stratogent Confidential
Go to VPC tab in AWS console , select VPC endpoint and then select create endpoint, Select Service
category: AWS services and then search for storage gateway.
Select VPC, subnet, click enable DNS name and security group
20
Stratogent Confidential
Once VPC endpoint is created and available, go back to Create Gateway -> select endpoint and then put
the VPC endpoint public DNS name, click next.
21
Stratogent Confidential
22
Stratogent Confidential
In connect Gateway tab: provide the tape gateway appliance IP, then click “connect to gateway”
Once connection is established to gateway, we can see the already selected options: Gateway Type,
Endpoint, VPC Endpoint, AWS Region and tape drive type.
Select the Gateway time Zone, provide Gateway Name and Select Backup application
23
Stratogent Confidential
Then go to configure Local disks: 2 local disks already configured to AWS tape gateway appliance will be
displayed as local disks, edit those disks to designate as upload buffer and cache and then save the
configuration.
24
Stratogent Confidential
Go to Storage Gateway tab is AWS and then select create tapes, Select Gateway, Number of tapes to be
created, Barcode prefix (only 4 characters from A-Z are allowed), select pool as Glacier or Deep archive.
Tag tapes and then click create tapes.
25
Stratogent Confidential
Connecting the VTL tape drives and medium changer to Veeam server through
ISCSI protocol
Once the VTL is configured in AWS, we need to connect those VTL tapes drives and library medium
changer to Veeam Server. For that we must choose the VEEAM server as ISCSI initiator.
Go to ISCSI application inside server and then from ISCSI initiator properties, go to “target” tab and in the
target box, put the AWS VTL gateway appliance IP, click quick connect. , once it get connected , we can
able to see the library medium changer and 10 VTL tape drives , select them one by one and click
connect.
26
Stratogent Confidential
27
Stratogent Confidential
28
Stratogent Confidential
Choose the name of tape server, it is Veeam server only. Click Next.
Select the traffic settings as default and then click next to go to review page.
29
Stratogent Confidential
30
Stratogent Confidential
31
Stratogent Confidential
Once tape server is added, then we can see the VTL tape drives and VTL tape library as well as tape
details inside the tape library.
32
Stratogent Confidential
33
Stratogent Confidential
34
Stratogent Confidential
Click Next and on Media set page, provide media select name format, choose Do not create, always use
current media set under Automatically create new media set.
35
Stratogent Confidential
Click Next and on retention page, choose Never overwrite data and for vaulting (moving offline tapes to
vault), select already created media vault – Veeam Media Vault 1 , can be created a new one if not
already created.
36
Stratogent Confidential
Click next, and on options page we can enable parallel processing and encryption which is optional.
37
Stratogent Confidential
Click next to see the summary page and then click finish
38
Stratogent Confidential
Click add and chose the corresponding backup job and click next.
Click add and chose the corresponding backup job and click next.
39
Stratogent Confidential
On Media pool page, Choose the media pool or create new media pool for full backup or virtual full
backup, click schedule to select the month or day for the virtual full backup.
40
Stratogent Confidential
On Incremental Backup option page, select Archive incremental backups to tape and select the
media pool for incremental backup. We can also create media pool if there doesn’t exist any.
41
Stratogent Confidential
On Options page, select Eject media upon job completion and we can also to the tape off siting by
selecting the Export current media set upon job completion and choosing the days for the same.
Click Advanced to set the following settings for backup to tape job.
Notifications Settings
Advanced Settings
Notification settings
At the Notifications tab, you can specify notification settings for the backup to tape job.
At the Options step of the wizard, click Advanced. Then select the Notifications tab.
42
Stratogent Confidential
Select the Send email notifications to the following recipients check box if you want to receive
notifications about tape job status. In the field below, specify a recipient’s email address. You can
enter several addresses separated by a semicolon.
Use global notification settings: Veeam Backup & Replication will notify you according to global email
notification settings specified for the Veeam backup server.
Use custom notification settings specified below: you can specify notification settings for tape jobs.
In the Subject field, specify a notification subject. You can use the following variables in the subject:
43
Stratogent Confidential
%TapeCount%: the number of tapes used for the tape job session,
%Issues%: the number of machines in the job processed with Warning or Failed status.
Notify on success: Veeam Backup & Replication will notify you if the tape job finishes successfully,
Notify on warning: Veeam Backup & Replication will notify you if the tape job finishes with a
warning,
Notify on error: Veeam Backup & Replication will notify you if the tape job fails,
Notify when waiting for tape: Veeam Backup & Replication will notify you if the tape job cannot
start because there are no available tapes.
Advanced settings
At the Advanced tab, you can select what backups from the backup chain to copy, enable hardware
compression or specify custom scripts that you want to run before and/or after the backup to tape
job.
The advanced options are different for regular backup to tape jobs and GFS tape jobs:
44
Stratogent Confidential
45
Stratogent Confidential
As per the requirement, we can make the changes to the requirement for the GFS copy jobs.
46
Stratogent Confidential
At the Schedule step of the wizard, you can define a schedule for the job to run on a regular basis.
The schedule settings are different for regular backup to tape jobs and GFS tape jobs:
This step of the wizard is available if you selected a regular media pool at the Full Backup step of the
wizard.
To specify the job schedule, select the Run the job automatically check box. If this check box is not
selected, the job is supposed to be started manually.
Daily at this time: the tape job will run at specific time on defined week days.
Monthly at this time: the tape job will run at specific time monthly.
After this job: the tape job will start when a corresponding backup job completes. Choose the
preceding backup job from the list.
47
Stratogent Confidential
NOTE:
This option will only start the tape or backup copy job if the source job is started automatically by
schedule. If the source job is started manually you will choose to start it chained or not.
This option is not available for agent backup jobs managed by agent or for standalone agent backup
jobs.
As new backup files appear: the tape job will monitor the source jobs. As soon as the source job
creates a new backup, the job will write this backup to tape.
If necessary, we can limit the time when the backup to tape job can start with a schedule. We can
restrict start of the backup to tape jobs when backup repositories are busy with other tasks (backup
jobs writing to repositories or backup copy jobs reading from repositories). Schedule is set for
backup to tape jobs start. Jobs that have started during the allowed time interval will continue
working on restricted hours. To define prohibited time for the backup to tape job start, click the
Schedule button and define the time when the job is allowed and prohibited to start.
If we have scheduled the job to run at the specific time daily or monthly, consider configuring wait
timeout value. Select the If some linked backup jobs are still running, wait for up to check box and
specify the new timeout. When a backup to tape job starts, Veeam Backup & Replication checks the
status of the source jobs. If a source job is still writing data to the source repository, the backup to
tape job will wait for the specified time interval.
If the timeout is disabled, the backup to tape job will terminate without waiting for the backup job
to complete.
The timeout option is unavailable if we schedule the backup to tape job to run after a backup job or
if we schedule the backup to tape job to start when new backups appear.
Sometimes, the source job may start when the tape job is still running. This may cause a conflict if
the source job needs to perform the following operations:
48
Stratogent Confidential
By default, the source job has priority. In this case, the tape job terminates with error and no data is
written to tape. Select the Prevent this job from being interrupted by source backup jobs option if
we want to give the tape job a higher priority. If this option is selected, the tape job will not
terminate and will finish writing the data. If the source job needs to perform the listed above
operations, it will wait for the tape job to finish. Note that in this case the source job may finish with
a significant delay.
NOTE:
If the source job creates per-VM backups, the tape job gets priority for each per-VM restore point
separately. In this case, the source job will be able to lock other per-VM restore points and
perform the needed operations. Make sure that we set enough timeout in the If some linked
backup jobs are still running, wait for up to window to avoid the tape job failing.
49
Stratogent Confidential
This step of the wizard is available if you selected a GFS media pool at the Full Backup step of the
wizard.
In the Perform GFS scan daily at field, specify the time when the GFS job must start.
TIP:
After we specify necessary schedule settings, you can save them as default. To do this, click Save as
Default at the bottom left corner of the Archival Schedule window. When we create a new GFS job,
Veeam Backup & Replication will automatically apply default settings to the new job schedule.
Sometimes, the source job may start when the tape job is still running. By default, the source job
has priority. In this case, the tape job terminates with error and no data is written to tape. Select
the Prevent this job from being interrupted by source backup jobs option if you want to give the
tape job a higher priority. If this option is selected, the source job will wait until the tape job
finishes. Note that the source job may start with a significant delay.
50
Stratogent Confidential
For tenant to tape jobs, this option is active by default and cannot be disabled.
At the summary page, check the Name, Media pool for full Backups, incremental backups and click
finish to close the wizard
Validation
References
1. https://www.veeam.com/wp-using-aws-vtl-gateway-deployment-guide.html
2. https://docs.aws.amazon.com/storagegateway/latest/userguide/backup-Veeam.html
3.
51