免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2217 | 回复: 0

NetApp资料5(转载) [复制链接]

论坛徽章:
0
发表于 2010-01-14 15:55 |显示全部楼层
the fifth day   
---------------------------------------------------------------------------------
Administratering  Backups
#dump  命令可以备份,volume 或 qtree 到磁带上。
到 now网站上查找支持的磁带机
/etc/tape_config 目录下存放着 磁带机的驱动,也可以把不支持的磁带机的驱动放在这里,那么就可以使用了
#sysconfig -t   查看磁带机,支持的磁带文件
Tape drive (v8.0)  NETAPP  VT-100MB         
    rst0l  -  rewind device,        format is: VT-100MB (100 MB)       磁带文件类型    rst0l  l:代表压缩率     rewind:自动倒带
    nrst0l -  no rewind device,     format is: VT-100MB (100 MB)      
    urst0l -  unload/reload device, format is: VT-100MB (100 MB)      
    rst0m  -  rewind device,        format is: VT-100MB (100 MB)      
    nrst0m -  no rewind device,     format is: VT-100MB (100 MB)      
    urst0m -  unload/reload device, format is: VT-100MB (100 MB)      
    rst0h  -  rewind device,        format is: VT-100MB (100 MB)      
    nrst0h -  no rewind device,     format is: VT-100MB (100 MB)      
    urst0h -  unload/reload device, format is: VT-100MB (100 MB)      
    rst0a  -  rewind device,        format is: VT-100MB (w/compression)
    nrst0a -  no rewind device,     format is: VT-100MB (w/compression)
    urst0a -  unload/reload device, format is: VT-100MB (w/compression)
    Tape drive (v8.1)  NETAPP  VT-100MB         
    rst1l  -  rewind device,        format is: VT-100MB (100 MB)      
    nrst1l -  no rewind device,     format is: VT-100MB (100 MB)      
    urst1l -  unload/reload device, format is: VT-100MB (100 MB)      
    rst1m  -  rewind device,        format is: VT-100MB (100 MB)      
    nrst1m -  no rewind device,     format is: VT-100MB (100 MB)      
    urst1m -  unload/reload device, format is: VT-100MB (100 MB)      
    rst1h  -  rewind device,        format is: VT-100MB (100 MB)      
    nrst1h -  no rewind device,     format is: VT-100MB (100 MB)      
    urst1h -  unload/reload device, format is: VT-100MB (100 MB)      
    rst1a  -  rewind device,        format is: VT-100MB (w/compression)
    nrst1a -  no rewind device,     format is: VT-100MB (w/compression)
    urst1a -  unload/reload device, format is: VT-100MB (w/compression)
#dump [option argument ] path
   0ufb  rst0a   63 /vol/vol0
0:dump level
u: update /ect/dumpdates
f: specifies tape file
b :specifies blocking factor (这是磁带上的block --1k )一次传输的block num
对active file dump时,先对volum做一个 snapshot,再dump到磁盘。
dump的对象: file ,derectory ,qtree 和 volume 和snapshot
估计数据总量,准备好磁盘满足这些容量要求,是否时远程备份
#df -h

#quota report
Administering Restores
从磁带上恢复文件:
restore Data from tape corrupt
permissions limitations: 备份ntfs,恢复时,也需要设置恢复为 ntfs ,如果恢复为unix,则采用 NETAPP 的默认 的 ACL
恢复时,/vol/ root卷和 /etc/tmp,要有一定的空间。 restore 命令只恢复,dump 命令备份的东西。
可以增量备份
#restore rfD rst0a  /vol/vol1
#restore    查看备份信息
对磁带的控制:
#mt -f nrsta rewind

NDMP (Network Data Management Protocol)  for backingup data in heterogeneous environment
把控制和传输分开。
NDMP 应用产品:
Veritas : NetBackup
IBM :Tivol
Network Appliance : Data ONTAP
legato:NetWorker Snaplmage Module
Hewlett-Packard :Omniback
Workstation Solutions:Quick Restore
使用NDMP之前的工作:
#ndmpd [on|off]
#ndmpd password [user_name]   要翻译 user的密码,把这些密码,在DMA端输入,就可以访问
#ndmpd status [session ID]    查看 session的状态
#ndmpd probe [session ID]     查看更详细的seesion信息
#ndmpd kill [session ID]     
#ndmpd version [maxversion]
option设置:
options ndmpd.enable on               ;enable NDMP service
options ndmpd.prefered_interface e0    指定ndmp使用某个端口
#optios 
ndmpd.access                 all        
ndmpd.authtype               challenge  
ndmpd.connectlog.enabled     off        
ndmpd.enable                 off        
ndmpd.ignore_ctime.enabled   off        
ndmpd.offset_map.enable      on         
ndmpd.password_length        16         
ndmpd.preferred_interface    disable   
ndmpd.tcpnodelay.enable      off  
#ndmpcopy    拷贝文件,可以在存储之间相互拷贝,也可以在 DMA 

#sysstat -u 1   ;一秒钟显示一下系统信息
Cache age: Cache是先进先出,数据从进入内存,到离开内存的时间,单位:分钟。 读压力
Cache hit : 命中率
Disk write :系统写压力
ONTAP安装:
1、硬件的安装
连接: 机头  -- in out    shelf---shelfID 拨好,shelf的 ---in out 需要 SFP 模块,LC光纤
      串联 和 并联 (性能会好,多个loop)
2、先开shelf 正常后(一般30s后),再开机头;关机先关机头,再关shelf。
ctl+c : 进入boot num
初始化完毕,进入配置:
new a hostname>
。。。。。
进入:
NetAppl>
注册license ,使用cifs or nfs 共享出,/home 目录。
#software list  会创建/etc/
把解压的文件拷贝进 /etc/software
#software install    安装软件包

#software install http://IP netapp的网站   如果能上网的话。
#download    把新内核/etc/boot 写到 CompactFlash card 和磁盘中。
#reboot
系统升级:
#software install http://
#download
在cluster时,升级不会停止服务。
其中一台机升级
#cf giveback      升级完后,再切换回来 。。。
3、cluster配置:
主要应用在 NFS和CIFS 
主要配置,当失败时的接管服务,两边都要license 和 配置,相互failover 的接管。
# cf enable


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/23363/showart_2149126.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP