Symantec Backup Exec配置Tape Library Simulator虚拟磁带库

备份软件大多数会用到磁带库介质,Symantec Backup Exec备份软件提供一个名为Tape Library Simulator的实用程序将磁盘虚拟为磁带库。另外在Linux下也有其他虚拟带库的解决办法,参考:[Redhat Linux下安装mhvtl虚拟磁带库]

Tape Library Simulator 简介

Tape Library Simulator (磁带库模拟器),一个实用工具,使您可以在装有 Backup Exec Remote Media Agent for Linux Servers 的计算机上的硬盘或任何挂载卷上创建虚拟设备。所创建的虚拟设备称为模拟磁带库。

Tape Library Simulator 安装条件

使用 Tape Library Simulator 实用程序,可以在硬盘上或 Linux 服务器的任何已装入卷上创建虚拟设备。此虚拟设备模拟 SCSI 磁带库。必须在服务器上安装 Remote Media Agent for Linux Servers。

安装 Tape Library Simulator

首先在Linux客户端上安装“Symantec Backup Exec Remote Agent for Linux/Unix Servers”,安装方法参考[Redhat Linux上安装Symantec Backup Exec Remote Agent For Linux Server(VRTSralus)]

[root@rhel5-a tmp]# ./installralus

 安装“Symantec Backup Exec Remote Media Agent for Linux Servers”,将linux配置为介质服务器。

[root@rhel5-a tmp]# ./installrmal

创建一个目录用来保存虚拟带库的磁带文件

[root@rhel5-a ~]# mkdir /vtl
[root@rhel5-a ~]# chmod 777 /vtl

启动Tape Library Simulator服务,如果VRTSralus已经在运行则需要先将该服务停止。

在VRTSralus服务开启的情况下启动Tape Library Simulator服务会有如下报错:

[root@rhel5-a tmp]# /opt/VRTSralus/bin/mktls

ERROR: Backup Exec is running.  You must unload Backup Exec before using mktls.  Please run "VRTSralus.init stop" at a terminal, and then run the mktls utility.

停止VRTSralus服务

[root@rhel5-a tmp]# /opt/VRTSralus/bin/VRTSralus.init stop
Stopping Symantec Backup Exec Remote Agent ...
Stopping Symantec Backup Exec Remote Agent:                              [  OK  ]

重新启动Tape Library Simulator服务

[root@rhel5-a tmp]# /opt/VRTSralus/bin/mktls

选择新建一个虚拟带库

                  Symantec Tape Library Simulator Utility
        +-----------------------------------------------------------+
        |                                                           |
        |                                                           |
        | 1. Create a new simulated tape library.                   |
        |                                                           |
        |                                                           |
        |                                                           |
        +-----------------------------------------------------------+

 输入虚拟磁带所在目录及要分配给此库的插槽数量。

 +----------------------------------------------------------------------------+
 |                                                                            |
 |    Enter the following information to create a simulated tape library:     |
 |                                                                            |
 | Directory path:                                                            |
 | Number of slots:    20       ( 1  - 50 )                                   |
 | Tape capacity:      100      ( gigabytes )                                 |
 |                                                                            |
 |                                                                            |
 +----------------------------------------------------------------------------+

 

完成虚拟带库的配置

 +----------------------------------------------------------------------------+
 |                                                                            |
 |                                                                            |
 |            The simulated tape library was successfully created.            |
 |            Please wait while the device drivers are initialized.           |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                            < Press any key to continue >   |
 +----------------------------------------------------------------------------+

 

重新启动介质服务器

 [root@rhel5-a tmp]# /opt/VRTSralus/bin/VRTSralus.init start
Starting Symantec Backup Exec Remote Agent .....
Starting Symantec Backup Exec Remote Agent:                              [  OK  ]

查看介质目录

[root@rhel5-a tmp]# ls -l /vtl/
总计 324
-rw-r--r-- 1 root root  4096 01-09 12:07 SMap
-rw-r--r-- 1 root root 32748 01-09 12:06 VL000001.b2d
-rw-r--r-- 1 root root 32748 01-09 12:06 VL000002.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL000003.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL000004.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL000005.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL000006.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL000007.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL000008.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL000009.b2d
-rw-r--r-- 1 root root 32748 01-09 12:07 VL00000a.b2d   

在管理服务器上配置虚拟带库

 选择“添加远程介质代理存储”

输入介质服务器的ip地址及使用的登录账户

重启BE服务

添加的虚拟磁带库在设备池中可以使用了。

Tape Library Simulator注意事项

为了确保每个介质都有一个唯一名称,Tape Library Simulator 实用程序为每个介质都创建一个条形码标签。您不能重命名这些条形码标签。但是,可以添加唯一介质描述。

模拟磁带库可模拟高级智能磁带 (AIT) 介质类型。此介质类型极少使用,因此有助于区分物理自动化介质库和模拟磁带库。模拟介质还具有 AIT 介质类型标签。

虚拟介质的大小为100G,不能更改。

写入模拟磁带库的文件的格式类似于“备份至磁盘”文件的文件格式。但是,不能在模拟磁带库和“备份至磁盘”文件夹之间复制或移动文件。

Backup Exec 在“全部设备”设备池中不包括模拟磁带库。无法将模拟磁带库添加到“全部设备”设备池。可以将模拟磁带库添加到其他设备池。

若要使用 Tape Library Simulator 实用程序,Linux 服务器上至少必须有 500 MB 的可用空间。可用空间包括硬盘空间、闪存驱动器和 USB 驱动器。如果没有足够的空间,作业将失败,并发生介质结束错误。必须创建可用磁盘空间,或者将作业定向到其他卷,然后再次启动作业。

模拟磁带库并不支持为物理自动化介质库提供的所有任务。

在安装Symantec Backup Exec Remote Agent for Linux or UNIX Servers如果出现如下错误是因为需要libstdc++.so.5 的库文件

Prerequisite Warning: C++ Compatibility Pack

The installer was unable to determine if the C++ compatibility package for applications using GNU Compiler Collection (GCC) 3.3 is installed on the computer. This package is required for this version of the Symantec Backup Exec Remote Agent for Linux or UNIX Servers. 
Install the latest version of the C++ compatibility pack.

解决办法

yum install libstdc++.so.5        #RHEL

apt-get install libstdc++5        #Ubantu

本文转自:http://www.liusuping.com/storage/Symantec-Tape-Library-Simulator.html转载请注明:

发布了40 篇原创文章 · 获赞 29 · 访问量 22万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章