Chinaunix首页 | 论坛 | 博客
  • 博客访问: 11700571
  • 博文数量: 8065
  • 博客积分: 10002
  • 博客等级: 中将
  • 技术积分: 96708
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-16 17:06
文章分类

全部博文(8065)

文章存档

2008年(8065)

分类: 服务器与存储

2008-07-18 10:07:19

1.测试环境
新建备份服务器
NetApp NAS
NAS直接与带库连接

2.NAS配置
查看机械手
fas3020a*> sysconfig -m

Medium changer (0e.5L1) IBM ULT3581-TA2
mc0 - medium changer device

查看带机
fas3020a*> sysconfig -t

Tape drive (0e.5) IBM ULT3580-TD2
rst0l - rewind device, format is: LTO-I tape only 100GB
nrst0l - no rewind device, format is: LTO-I tape only 100GB
urst0l - unload/reload device, format is: LTO-I tape only 100GB
rst0m - rewind device, format is: LTO-I tape 200GB cmp
nrst0m - no rewind device, format is: LTO-I tape 200GB cmp
urst0m - unload/reload device, format is: LTO-I tape 200GB cmp
rst0h - rewind device, format is: LTO-II tape only 200GB
nrst0h - no rewind device, format is: LTO-II tape only 200GB
urst0h - unload/reload device, format is: LTO-II tape only 200GB
rst0a - rewind device, format is: LTO-II tape 400GB cmp
nrst0a - no rewind device, format is: LTO-II tape 400GB cmp
urst0a - unload/reload device, format is: LTO-II tape 400GB cmp
fas3020a*>

3.在MASTER SERVER上为NAS配置机械手:
设置NAS用户验证
C:\Program Files\VERITAS\Volmgr\bin>set_ndmp_attr -auth F3020C0
User name for host "F3020C0": root
Password for host "F3020C0" user "root":
Re-enter Password for host "F3020C0" user "root":
Inserted host "F3020C0"

设置机械手
C:\Program Files\VERITAS\Volmgr\bin>set_ndmp_attr -robot F3020C0 mc0
Inserted robot host "F3020C0" device "mc0"

确认配置
C:\Program Files\VERITAS\Volmgr\bin>set_ndmp_attr -list
Record Type: Authentication
NDMP Server: F3020C0
Username : root
Password :

Record Type: Robotic Information
NDMP Server: F3020C0
Device : mc0
Controller : 0
SCSI Id : 0
SCSI LUN : 0

测试配置
C:\Program Files\VERITAS\Volmgr\bin>set_ndmp_attr -verify
Verify Host name: F3020C0
Connecting to host "F3020C0" as user "root"...
Waiting for connect notification message...
Opening session--attempting with NDMP protocol version 4...
Opening session--successful with NDMP protocol version 4
host supports MD5 authentication
Getting MD5 challenge from host...
Logging in using MD5 method...
Host info is:
host name "fas3020a"
os type "NetApp"
os version "NetApp Release 7.1.1"
host id "0101179970"
Login was successful
Host supports LOCAL backup/restore
Host supports 3-way backup/restore
Opening SCSI device "mc0"...
Inquiry result is "IBM ULT3581-TA2 2.20"

C:\Program Files\VERITAS\Volmgr\bin>


4.手工添加机械手和带机,添加STU
4.1.手工添加机械手:
a.device host为master server
b.填写正确的NDMP host名,机械手设备名
4.2.手工添加带机:
a.从下拉菜单中选择正确的类型
b.DRIVE NAME随便填,DEVICE NAME填入正确的磁带机名,格式如下:hostname:nrst0,其中hostname为NAS设备名,nrst0为磁带机名,与NAS中sysconfig -t的输出对应
4.3.创建NDMP STU:
类型选NDMP,正确填写NDMP host名字


5.创建备份策略,备份测试
a.策略类型选NDMP
b.STU选NDMP类型的,pool无所谓
c.schedule无所谓,和其它一样建
d.client添在NAS设备的名字,类型选NDMP,NDMP
e.selection填要备份的文件系统
阅读(2279) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~