Once it happened that it was necessary to test the IBS with a tape library. Everything would be fine, but there was no tape library at hand, but I really didn’t want to ask a customer friend about this. And it was here that the idea of ​​creating a test infrastructure with a VTL came.
There are a lot of options, but I stopped at the
VTL from QUADStor . The advantages of this product include:
- Intuitive Web interface.
- Easy installation.
- Built-in iSCSI Target.
- The ability to create tapes of arbitrary size.
All operations were performed on Centos 7 set to minimumCentOS-7-x86_64-Minimal-1611.isoMem: 1024 MB
/ boot 384MB
/ 2711MB
Prepare the OS (install the vm tools and update all the packages):
')
yum -y install open-vm-tools yum -y upgrade shutdown -r now
Install the dependencies for
QUADStor VTL :
yum -y install httpd gcc perl kernel-devel sg3_utils policycoreutils-python
Perform SELinux configuration:
setsebool -P httpd_enable_cgi 1 semanage permissive -a httpd_t
Configure FirewallD (open port 80 for http, well, 3260 for iscsi):
firewall-cmd --permanent --add-port=80/tcp firewall-cmd --permanent --add-port=3260/tcp firewall-cmd --reload
Configure autorun and launch httpd:
systemctl enable httpd.service systemctl start httpd.service
Download, install and run
QUADStor VTL :
curl -O http://www.quadstor.com/vtlextdownloads/quadstor-vtl-ext-3.0.15-rhel6.x86_64.rpm yum -y localinstall quadstor-vtl-ext-3.0.15-rhel6.x86_64.rpm systemctl start quadstorvtl.service
The concept of building objects in QUADStor VTL is pretty simple:- Disks available to the server are added to the Pool.
- Virtual pools are created in the pools.
- The entire configuration is stored in PostgreSQL (directory / quadstorvtl / pgsql).
Some facts:- Deduplication - inline.
- You can add only unpartitioned disks.
- Disk> = 4.8GB - if this is the first disk added to the Pool containing deduplication metadata.
- Disk> = 4GB - in all other cases.
- Deduplication only works within the Pool.
Web interfaceWe will get access by clicking on the following link:
http:
Add a disk to the Default Storage Pool- Go to the Physical Storage tab.
- Click the Add link next to the desired disk.
- Choose Default Storage Pool.
Create VTL, VDrive and VCartridge- Go to the Virtual Libraries tab.
- Click the Add VTL button.
- Set up something simple .

- Click the “Submit” button.


- Let's start creating virtual tapes - “Add VCartridge”.


In this case, the tape size will correspond to the type of the selected tape drive (Ultrium4 = 800 GB).
If you want to set an arbitrary size, you can do this by creating a file:
/quadstorvtl/etc/quadstor.conf
with content:
MaxVCartSize=2
Size is specified in GB.
Restarting the service is not required, and all newly created tapes will have the specified size.
At this point, the initial setting of QUADStor VTL is considered complete . And you can connect the created VTL and drives to the hosts.


You can use.