mhvtl和nbu配置最新版

上传人:第*** 文档编号:32690556 上传时间:2018-02-12 格式:DOCX 页数:22 大小:679.26KB
返回 下载 相关 举报
mhvtl和nbu配置最新版_第1页
第1页 / 共22页
mhvtl和nbu配置最新版_第2页
第2页 / 共22页
mhvtl和nbu配置最新版_第3页
第3页 / 共22页
mhvtl和nbu配置最新版_第4页
第4页 / 共22页
mhvtl和nbu配置最新版_第5页
第5页 / 共22页
点击查看更多>>
资源描述

《mhvtl和nbu配置最新版》由会员分享,可在线阅读,更多相关《mhvtl和nbu配置最新版(22页珍藏版)》请在金锄头文库上搜索。

1、MHVTL and NBUMHVTL 为开源虚拟带库软件,下载地址为:MHVTL,搭配上 gui 可模拟多款厂商带库,我唯一管理过的带库为 HP MSL6000,而备份软件则为 Netbackup。本文以这两种产品为例,对一些简单的配置进行说明。1、安装 MHVTLOS 版本为 RHEL6.5,以最小安装,通过配置 yum 本地源安装其他所需的包,其中,有三个rpm 包需要自行下载,可从 http:/ 这里搜索对应版本或者在本站下载:lzo-2.03-3.1.el6_5.1.x86_64.rpm,lzo-devel-2.03-3.1.el6_5.1.x86_64.rpm,lzo-minilzo

2、-2.03-3.1.el6_5.1.x86_64.rpm1.1 关闭 firewall 和 selinux#关闭防火墙rootmhvtl # /etc/init.d/iptables stopiptables: Setting chains to policy ACCEPT: filter OK iptables: Flushing firewall rules: OK iptables: Unloading modules: OK rootmhvtl # /etc/init.d/ip6tables stopip6tables: Setting chains to policy ACCEPT:

3、 filter OK ip6tables: Flushing firewall rules: OK ip6tables: Unloading modules: OK rootmhvtl # chkconfig iptables offrootmhvtl # chkconfig ip6tables off#关闭 selinuxrootmhvtl # sed -i /SELINUX/s/enforcing/disabled/g /etc/selinux/configrootmhvtl # cat /etc/selinux/config # This file controls the state

4、of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - No SELinux policy is loaded.SELINUX=disabled# SELINUXTYPE= can take one of these two values:# targeted - T

5、argeted processes are protected,# mls - Multi Level Security protection.SELINUXTYPE=targeted rootmhvtl # shutdown -ry 01.2 配置 yum 本地源Server name=Server baseurl=file:/mnt/Server enabled=1 gpgcheck=0挂载光盘,安装所需软件包rootmhvtl # mount /dev/sr1 /mntmount: block device /dev/sr1 is write-protected, mounting re

6、ad-onlyrootmhvtl # yum -y install zlib-devel mtx mt-st lsscsi kernel-devel kernel-headers sg3_utils gcc perl unziprootmhvtl worktmp# ls -ltrtotal 708-rw-r-r-. 1 root root 283656 Jul 16 14:12 mhvtl-2015-04-14.tgz-rw-r-r-. 1 root root 12876 Jul 16 15:14 lzo-minilzo-2.03-3.1.el6_5.1.x86_64.rpm-rw-r-r-.

7、 1 root root 31784 Jul 16 15:17 lzo-devel-2.03-3.1.el6_5.1.x86_64.rpm-rw-r-r-. 1 root root 56308 Jul 16 15:20 lzo-2.03-3.1.el6_5.1.x86_64.rpm-rw-r-r-. 1 root root 329355 Jul 16 15:54 mhvtl-gui-master.ziprootmhvtl worktmp# rpm -ivh *.rpmwarning: lzo-2.03-3.1.el6_5.1.x86_64.rpm: Header V3 RSA/SHA1 Sig

8、nature, key ID c105b9de: NOKEYPreparing. # 100%1:lzo-minilzo # 33%2:lzo # 67%3:lzo-devel # 100%rootmhvtl worktmp# 1.3 编译安装 MHVTL创建 vtl 相关用户:rootmhvtl mhvtl-1.5# groupadd vtl -g 600rootmhvtl mhvtl-1.5# useradd -g vtl -u 600 vtlrootmhvtl mhvtl-1.5# echo oracle | passwd vtl -stdin /dev/null 2&1编译安装 vtl

9、rootmhvtl mhvtl-1.5# pwd/worktmp/mhvtl-1.5rootmhvtl mhvtl-1.5# cd kernel/rootmhvtl kernel# makerootmhvtl kernel# make installrootmhvtl kernel#rootmhvtl kernel# cd ./rootmhvtl mhvtl-1.5# make rootmhvtl mhvtl-1.5# make install启动服务,并且查看虚拟磁带:rootmhvtl mhvtl-1.5# mkdir -p /opt/mhvtlrootmhvtl mhvtl-1.5# c

10、hown vtl:vtl /opt/mhvtl/rootmhvtl mhvtl-1.5# /etc/init.d/mhvtl startvtllibrary process PID is 3722vtllibrary process PID is 3725rootmhvtl mhvtl-1.5# ll /opt/mhvtl/total 288drwxrwx- 2 vtl vtl 4096 Jul 20 12:39 CLN101L4drwxrwx- 2 vtl vtl 4096 Jul 20 12:39 CLN102L5drwxrwx- 2 vtl vtl 4096 Jul 20 12:39 C

11、LN303TAdrwxrwx- 2 vtl vtl 4096 Jul 20 12:39 E01001L4drwxrwx- 2 vtl vtl 4096 Jul 20 12:39 E01002L4drwxrwx- 2 vtl vtl 4096 Jul 20 12:39 E01003L4drwxrwx- 2 vtl vtl 4096 Jul 20 12:39 E01004L4rootmhvtl mhvtl-1.5# lsscsi -g0:0:0:0 cd/dvd VBOX CD-ROM 1.0 /dev/sr0 /dev/sg00:0:1:0 cd/dvd VBOX CD-ROM 1.0 /dev

12、/sr1 /dev/sg11:0:0:0 cd/dvd VBOX CD-ROM 1.0 /dev/sr2 /dev/sg22:0:0:0 disk ATA VBOX HARDDISK 1.0 /dev/sda /dev/sg33:0:0:0 mediumx STK L700 0105 /dev/sch0 /dev/sg123:0:1:0 tape IBM ULT3580-TD5 0105 /dev/st0 /dev/sg43:0:2:0 tape IBM ULT3580-TD5 0105 /dev/st1 /dev/sg53:0:3:0 tape IBM ULT3580-TD4 0105 /d

13、ev/st2 /dev/sg63:0:4:0 tape IBM ULT3580-TD4 0105 /dev/st3 /dev/sg73:0:8:0 mediumx STK L80 0105 /dev/sch1 /dev/sg133:0:9:0 tape STK T10000B 0105 /dev/st4 /dev/sg83:0:10:0 tape STK T10000B 0105 /dev/st5 /dev/sg93:0:11:0 tape STK T10000B 0105 /dev/st6 /dev/sg103:0:12:0 tape STK T10000B 0105 /dev/st7 /dev/sg11从 lssci 可以看到,默认配置是两台带库, STK 的 L700 和 STK 的 L80。我们能够通过 gui 进行添加和删除带库,但最后一个带库不能被删除。2、 GUI 配置GUI 下载及安装说明:https:/ 设置 h

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 职业教育

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号