Software >> Emulators >> Tape Library >> Quadstor VTL >> How to build a Virtual Tape Library using Quadstor VTL on RHEL 7 or Centos 7 machine


 

1.  Download rpm from https://www.quadstor.com/vtldownloads/quadstor-vtl-ext-3.0.56-rhel.x86_64.rpm

2.  Install pre-requisites as described here https://www.quadstor.com/vtlsupport/145-installation-on-rhel-centos-sles-debian.html

3.  Reboot

4.  Install rpm:
    rpm -ivh quadstor-vtl-ext-3.0.56-rhel.x86_64.rpm

5.  start/enable httpd and open firewalls

    systemctl enable httpd
    systemctl start httpd
    firewall-cmd --permanent --add-service=http
    firewall-cmd --permanent --add-port=3260/tcp
    firewall-cmd --reload

6.  login to web mgmt console http://localhost

    create VTL named vtl1

    a. Assuming there is a unused disk /dev/sdb.  on the web interface, Physical Storage -> Add
    b. Wait for Initialization to complete and disk ID assigned
    c. Virtual Libraries -> vtl1 -> Add vCatridge
    d. Load the tape to the drive.

7.  The machine that will be using the virtual tape driver

    ## install iscsi intiator packages and mt (magnetic tape tools package)
 
    yum install iscsi-initiator-utils mt-st

    iscsiadm --mode discovery --type sendtargets --portal <ip of VTL>

    note the target name.  iqn....autoloder (the robot), iqn....drive1  (the drive)

    iscsiadm --mode node --targetname <iqn name> --portal <ip of VTL> --login

    lsscsi - note the device names e.g. /dev/st0

    ## check status with

    mt -f /dev/st0 status


sample output:

SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x49 (Quantum SDLT320).
Soft error count since last status=0
General status bits on (1010000):
ONLINE IM_REP_EN

https://www.quadstor.com/virtual-tape-library.html