📜 ⬆️ ⬇️

We adjusted VTL under Centos 7

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:


All operations were performed on Centos 7 set to minimum

CentOS-7-x86_64-Minimal-1611.iso
Mem: 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:


Some facts:

  1. Deduplication - inline.
  2. You can add only unpartitioned disks.
  3. Disk> = 4.8GB - if this is the first disk added to the Pool containing deduplication metadata.
  4. Disk> = 4GB - in all other cases.
  5. Deduplication only works within the Pool.

Web interface

We will get access by clicking on the following link:

 http://<address>/vtindex.html 


Add a disk to the Default Storage Pool



Create VTL, VDrive and 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.

Source: https://habr.com/ru/post/324192/


All Articles