免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 12410 | 回复: 10
打印 上一主题 下一主题

[RAID与磁盘阵列] EMC NAS USING NDMP Backup and Restor with EMC NetWorker [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-15 15:41 |只看该作者 |倒序浏览
EMC NAS USING NDMP Backup and Restor with EMC NetWorker


第一章、NDMP的支持备份方式
一、什么是NDMP
   
NDMP是基于TCP/IP的网络数据管理协议,NDMP使得不同厂商的NAS设备数据通过共用的协议去进行数据备份与恢复。
在备份和恢复期间,NDMP 可以与多种不同的接口类型通信以进行数据传输。NDMP 使得完全不同的供应商能够对备份体系结构使用公共 (NDMP) 协议。
使用 NDMP,可以将数据从磁盘复制到磁带或磁盘媒体,而不考虑操作系统或
平台。使用该相同的协议,还可以将跟踪信息在备份软件之间传递,而不考虑
软件类型。
NDMP 与 NetWorker 配合使用来备份、精确复制、恢复、更新或查询资源文件。来往 NetWorker 服务器的所有通信以及从该服务器到任一 NDMP 设备
(服务器、磁盘、存储)的所有通信都是通过 NDMP 传递的。

二、NDMP支持的配置
1.使用本地NDMP Tape SERVER

2.使用NetWorker Storage Node备份

3.使用第三方的NDMP Tape SERVER


以上三种备份方式的区别:
1.使用本地NDMP Tape SERVER方式,磁带库直接挂结在NAS后端数据直接从NAS设备写入磁带库,但必须为备份服务器增加磁带设备用于存储备份index和bootstrap
2.使用NetWorker Storage Node备份,数据是从NAS DSP通过网络传输到NetWorker Storage Node 然后写入磁带库
3.使用第三方的NDMP Tape SERVER备份,同一环境必须有两台NAS设备,磁带库挂结在另一台NAS设备后端,数据从一台NAS设备通过网络传输到另一台NAS然后写入后端磁带库,同样备份服务器端必有磁带设备用于存放index和bootstrap



第二章、在Celerra上配置Data Mover
一、在Celerra上配置Tape buffer size
1.Tape buffer size配置用以下命令:
$ server_param <movername> -facility <facility_name> -modify
<param_name> -value <new_value>
2.telnet 到Celerra上
3.运行以下命令
$ server_param server_2 -facility NDMP -modify bufsz -value 128
设置Tape buffer size到128

二、配置Tape read/write block size
1.配置Tape read/write block size用一下命令:
$ server_param <movername> -facility <facility_name> -modify
<param_name> -value <new_value>
2.设置the readWriteBlockSizeInKB parameter to 128
$ server_param server_2 -facility PAX -modify readWriteBlockSizeInKB -value 128

三、设置Celerra Data Mover联结速度linx_speed_aux0 parameter.
1.配置linx_speed_aux0使用以下命令
$ server_param <movername> -facility <facility_name> -modify
<param_name> -value <new_value>
2.设置速度为2Gb Fibre Channel arbitrated loop interface
$ server_param server_2 -facility fcTach -modify linx_speed_aux0 -value 0x2000
3.重启Data Mover
$ server_cpu server_2 -reboot -monitor now

四、配置 Data Movers 字符集,以支持中文文件名
1.配置字符集用以下命令
$ server_param <movername> -facility <facility_name> -modify
<param_name> -value <new_value>
2.设置字符集为BG2312
$ server_param server_2 -facility NDMP -modify dialect -value gb2312

五、配置NDMP VERSION
1.设置NDMP版本用以下命令
$ server_param <movername> -facility <facility_name> -modify
<param_name> -value <new_value>
2.设置NDMP版本到3
$ server_param server_2 -facility NDMP -modify maxProtocolVersion –value 3

六、重启Data Mover
$ server_cpu server_2 -reboot -monitor now

第三章、NetWorker NDMP备份CFI 数据到Celerra本地Tape SERVER
一、网络配置
通常Celerra的Data Mover的IP地址与备份网络不在同一个网段,所以备分服务器网卡必须增加一个与Data Mover在同一网段的IP地址,且在备份服务器hosts文件中增加此IP地址与主机名。
   
二、设备配置
1.通过以下命令查询设备
#inquire –N –T –t 或#inquire –N server_2
2.通过jbconfig配置设备
#jbconfig
     1) Configure an AlphaStor/SmartMedia Jukebox.
     2) Configure an Autodetected SCSI Jukebox.
     3) Configure an Autodetected NDMP SCSI Jukebox.
     4) Configure an SJI Jukebox.
     5) Configure an STL Silo.
     6) Configure a Microsoft Removable Storage Jukebox.
What kind of Jukebox are you configuring? [1] 3
Enter NDMP Tape Server name: ? server_2
Enter NDMP user name: ? ndmp
Enter NDMP password (characters will not be echoed):
Communicating to devices on NDMP Server ‘server_2’, this may take a while…
Installing ‘Standard SCSI Jukebox’ jukebox – scsidev@1024.0.0.
What name do you want to assign to this jukebox device? QuantumPX506
Turn NetWorker auto-cleaning on (yes / no) [yes]?yes
The drives in this jukebox cannot be auto-configured with the available
information. You will need to provide the path for the drives.
Is (any path of) any drive intended for NDMP use? (yes / no) [no] yes
Is any drive going to have more than one path defined? (yes / no) [no]
Please enter the device path information in one of the following formats:
\\.\Tape0 --for local path or
        host:device-path –for remote node or
        host:drive-letter:directory path –for Windows disk file
   After you have entered a device path, you will be prompted for an NDMP
user name for that path’s host. If this device path is not an NDMP device,
press the enter key to advance to the next device path.  For NDMP devices,
you need to enter the user name and password the first time we encounter
that NDMP host. Pressing the enter key for the NDMP user name for any
subsequent device path on the same host will set the user name and password
to those defined the first time. You will not be prompted for the password
in such a case.
Drive  1, element 256
Drive path ? server_2:nrst0a
     Enter NDMP user name for host ‘server_2’? ndmp
Enter NDMP password (characters will not be echoed):
Drive  2, element 257
Drive path ? server_2:nrst1a
     Enter NDMP user name for host ‘server_2’? ndmp
Please select the appropriate drive type number:
  1) 3480                  20) 9840                  3 optical
  2) 3570                  21) 9840b                 39) qic
  3) 3590                  22) 9840C                 40) SAIT-1
  4) 3592                  23) 9940                  41) SD3
  5) 4890                  24) 9940B                 42) sdlt
  6) 4mm                   25) adv_file              43) sdlt320
  7) 4mm 12GB              26) dlt                   44) sdlt600
   4mm 20GB              27) dlt1                  45) SLR
  9) 4mm 4GB               2 dlt7000               46) tkz90
10) 4mm 8GB               29) dlt8000               47) travan10
11) 4mm DAT72             30) dst (NT)              4 tz85
12) 8mm                   31) dtf                   49) tz86
13) 8mm 20GB              32) dtf2                  50) tz87
14) 8mm 5GB               33) file                  51) tz88
15) 8mm AIT               34) himt                  52) tz89
16) 8mm AIT-2             35) logical               53) tz90
17) 8mm AIT-3             36) LTO Ultrium           54) tzs20
1 8mm Mammoth-2         37) LTO Ultrium-2         55) VXA
19) 9490
Enter the drive type of drive 1? 37
Are all the drives the same model? (yes / no) yes
Jukebox has been added successfully
The following configuration options have been set:
   > Jukebox description to the control port and model.
   > Autochanger control port to the port at which we found it.
   > Networker managed tape autocleaning on.
   > Barcode reading to on.
   > Volume labels that match the barcodes.
   > Slot intended to hold cleaning cartridge to 23.  Please insure that a
     cleaning cartridge is in that slot
   > Number of times we will use a new cleaning cartridge to 50.
   > Cleaning interval for the tape drives to 6 months.
You can review and change the characteristics of the autochanger and its
associated devices using nwadmin.
Would you like to configure another jukebox? (yes/no) no
3.为备份服务器配置一个本地磁带机用于存放index和bootstrap

三、创建备份时间表


注:NDMP 不支持增量备份方式,所以创建一个周日备份,周一至周六作Level 1的备份时间表。

四、创建客户端资源
1.新建一个客户端主机名输server_2,存储集输入NAS上的CFI文件目录名,例如:/test13


2.输入远程用户名和密码,此处为在NAS上创建的备份帐号.备份命令处输入nsrndmp_save –T dump ,在应用程序信息处输入:REMOTE=y,DIRECT=y,HIST=y,UPDATE=y一值换一行写。选择“NDMP”


3.在选程访问处输入帐号与主机名,一般输入*@*,存储节点处输入:server_2


注:
Celerra NAS支持的nsrndmp_save方式
nsrndmp_save –T dump
nsrndmp_save –T tar
nsrndmp_save –T pax
一般使用dump方式

应用程序:
HIST=y   CFI数据
REMOTE=y 远端设备
DIRECT=y 增强文件备份
UPDATE=y 强制时间戳被更新

第四章、NetWorker NDMP备份Celerra CFI数据到非NDMP设备
    NetWorker支持通过NDMP协议备份Celerra CFI数据到非NDMP设备
一、创建设备
     可以通过备份jbconfig为备份服务器添加一个Configure an Autodetected SCSI Jukebox通用磁带库设备。也可以直接创建file或adv&not;_file设备。

二、创建客户端设备
1.新建一个客户端输入主机名和存储集,选择组、保留周期、浏览周期


2.输入备份帐号和密码,输入备份命令:nsrndmp_save –M –T dump,选择“ndmp”
  输入应用程序信息: REMOTE=y,DIRECT=y,HIST=y,UPDATE=y一个值换一行写


3.远程访问处输入帐号和密码。输入存储节点名,可以是备份服务器也可以是存储节点名。


4.备份完成状态


注:
nsrndmp_save –M –T dump中-M参数是NDMP备份对非NDMP设备的支持


第五章、第三方Data Mover备份
与本地备份的驱别在于设备在另外一台NAS之上,在client中把storage node指向这个DATA MOVER就行了,此处不再详述

第六章、Celerra NAS CFI数据恢复
通过NetWorker 用户进行数据恢复
1.打开NetWorker用户

2.点击“恢复”,选择“server_2”,点击“确定”

3.选择恢复目标“server_2”,点击“确定”

4.选择你要恢复的内容,点击“启动”



5.恢复完成


[ 本帖最后由 redwaves 于 2008-6-15 16:25 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-06-15 15:55 |只看该作者
很详细,学习了

论坛徽章:
0
3 [报告]
发表于 2008-06-15 16:14 |只看该作者
非常非常谢谢!~~~

收藏先!~~~

论坛徽章:
0
4 [报告]
发表于 2008-06-16 00:14 |只看该作者
原创啊!
加精华

论坛徽章:
0
5 [报告]
发表于 2008-06-16 09:01 |只看该作者
太细致了,支持:)

论坛徽章:
0
6 [报告]
发表于 2008-06-16 18:12 |只看该作者
  收藏了!

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-05-17 06:20:00
7 [报告]
发表于 2008-06-17 14:28 |只看该作者
此贴必火
本楼广告位招租

论坛徽章:
0
8 [报告]
发表于 2008-06-18 11:01 |只看该作者
谢谢LZ
听说NDMP协议是NETAPP和NETWORKER合作开发的,是么?

论坛徽章:
0
9 [报告]
发表于 2008-06-25 17:42 |只看该作者
原帖由 myguangzhou 于 2008-6-18 11:01 发表
谢谢LZ
听说NDMP协议是NETAPP和NETWORKER合作开发的,是么?


我也听说了, 好像是

论坛徽章:
0
10 [报告]
发表于 2008-09-09 09:52 |只看该作者
置顶了没有呢?!??
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP