QuadStor VTL Installation and Configuration

Setting Linux Environment (CentOS 7.9)

1
2
3
4
5
6
7
[root@localhost ~]# hostnamectl set-hostname vtl01

[root@localhost ~]# systemctl disable firewalld --now

[root@localhost ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config

[root@vtl01 ~]# timedatectl set-timezone Asia/Hong_Kong

Install Pre-Requisite of QuadStor VTL

1
2
3
4
5
6
7
8
9
10
[root@vtl01 ~]# yum install httpd make gcc perl kernel-devel e2fsprogs-libs sg3_utils iotop sysstat tar xz postgresql-libs postgresql-server chkconfig mtx

[root@vtl01 ~]# rpm -qa | grep kernel-devel
kernel-devel-3.10.0-1160.119.1.el7.x86_64

[root@vtl01 ~]# uname -r
3.10.0-1160.el7.x86_64

[root@vtl01 ~]# yum upgrade kernel
[root@vtl01 ~]# reboot

Secure Boot is not supported

1
2
[root@vtl01 ~]# grep "Secure boot enabled" /var/log/messages
<<empty>>

Enable httpd startup

1
[root@vtl01 ~]# systemctl enable httpd --now

Install the QuadStore VTL software

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[root@vtl01 ~]# rpm -Uivh https://www.quadstor.com/vtldownloads/quadstor-vtl-ext-3.0.79.14-rhel.x86_64.rpm
Retrieving https://www.quadstor.com/vtldownloads/quadstor-vtl-ext-3.0.79.14-rhel.x86_64.rpm
Preparing... ################################# [100%]
Adding group vtprocgrp
usermod -G vtprocgrp apache > /dev/null 2>&1
Updating / installing...
1:quadstor-vtl-ext-3.0.79.14-rhel ################################# [100%]
Performing post install. Please wait...
Created symlink from /etc/systemd/system/multi-user.target.wants/quadstorvtl.service to /usr/lib/systemd/system/quadstorvtl.service.
Building required kernel modules
Running /quadstorvtl/bin/builditf. This may take a few minutes.
Installation complete. A system reboot is required to start the VTL service

[root@vtl01 ~]# reboot

Verify QuadStor VTL status

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[root@vtl01 ~]# systemctl status quadstorvtl
● quadstorvtl.service - QUADStor Virtual Tape Library
Loaded: loaded (/usr/lib/systemd/system/quadstorvtl.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2024-06-29 12:30:59 HKT; 1min 10s ago
Process: 1072 ExecStart=/quadstorvtl/etc/quadstorvtl.init start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/quadstorvtl.service
├─2242 /quadstorvtl/sbin/coredev
├─6044 /quadstorvtl/sbin/ietd
└─6055 /quadstorvtl/sbin/vtmdaemon

Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_load_conf:3895 query disk check
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_load_conf:3909 trigger qload
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_load_conf:3911 ioctl qload
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: configure_fc_ports_mode:3071 target 1
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_load_conf:3917 restart export jobs
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_load_conf:3920 reply to client
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_restart_export_jobs:6619 start
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_load_conf:3922 end
Jun 29 12:30:59 vtl01 vtmdaemon[6055]: tl_server_restart_export_jobs:6682 end
Jun 29 12:30:59 vtl01 systemd[1]: Started QUADStor Virtual Tape Library.

Add physical storage to QuadStor

1
2
3
4
5
6
7
8
9
10
11
12
13
14
List all disks
[root@vtl01 bin]# /quadstorvtl/bin/bdconfig -l
ID Vendor Model SerialNumber Name Pool Size Used Status
0 ATA VMware 00000000000000000001 /dev/sdb N/A 50.00 0.00 N/A

[root@vtl01 bin]# dd if=/dev/zero of=/dev/sdb count=64 bs=1M

Add a disk
[root@vtl01 bin]# /quadstorvtl/bin/bdconfig -a -d /dev/sdb -g Default
Adding disk /dev/sdb successful

[root@vtl01 bin]# /quadstorvtl/bin/bdconfig -l
ID Vendor Model SerialNumber Name Pool Size Used Status
1 ATA VMware 00000000000000000001 /dev/sdb Default 50.00 0.93 Active D