How to install a testing Symantec NetBackup & VTL for Oracle Backup

1,时间调整
Master Server Date&Time: 2008-03-16
       Modify Date&Time: "2008-03-16 xx:xx:xx"
 Symantec Netbackup Key: OENN-JTV4-SV2N-XPRO-6OCU-8LGK-HM77-HH7P-PP36

Vistor Server Date&Time: 2008-03-16
       Modify Date&Time: date -s "2008-03-16 xx:xx:xx"
     Sync CMOS: clock -w 
Vistor VLT Key: /usr/cofio/vistor/vs-license -s AAAAAABOFKYWDNCKV82NBEDAPQIJA4U8NM
 Vistor Key Expire Days: /usr/cofio/vistor/vs-license -d
    Vistor Server Start: /usr/cofio/vistor/vistor start
  启用下面策略: /usr/cofio/vistor/iscsi/bw_core_cfg -L 172.16.1.12 3260 1

2,安装Master Server Q1DIMSVR02-R 172.16.1.11
  配置iSCSI initiator
  Discovery -> Discover Portal
  Target -> Refesh -> Connect -> OK

3,安装Client QJEPENGDB 172.16.1.14

4,配置Vistor VTL Libaray Web 172.16.1.12
  http://172.16.1.12 
  Configure Library -> Robotic Arm: QUANTUM PX720 -> Tape Driver: HP Ultrium 1-SCSI
  Library1 -> Start

5,Oracle客户端,Windows Symantec NetBackup客户端安装完毕之后,所有agent均已安装,无需额外安装agent。
RMAN> run{
allocate channel ch00 type 'sbt_tape';
crosscheck backup;
release channel ch00;}

RMAN> run{
allocate channel ch00 type 'sbt_tape';
delete backuppiece 5;
delete backuppiece 6;
release channel ch00;}

NetBackup使用Basic Disk磁盘备份,通道类型依旧为sbt_tape,如下解释。
http://www.symantec.com/connect/forums/rman-netbackup-disk-aray-or-virtual-tape-library

6,Linux客户端(含Oracle备份)
6.1,修改时间
 Liunx Client Date&Time: 2008-03-16
       Modify Date&Time: date -s "2008-03-16 xx:xx:xx"
     Sync CMOS: clock -w 


6.2,建立oracle link
su - oracle
./oracle_link


6.3,注意关闭防火墙,使得主服务器与Linux客户端能够建立连接。


6.4,Oracle客户端设置,下面这些脚本都可以成功备份。
run{
allocate channel ch01 type 'sbt_tape' parms="ENV=(NB_ORA_POLICY=Oracle_Full_QBIPROD_Policy,NB_ORA_SERV=Q1DIMSVR02-R)";
backup archivelog all tag 'ARCH' format 'ARCH_%d_%T_%s';
release channel ch01;}


run{
allocate channel ch01 type 'sbt_tape' send 'NB_ORA_POLICY=Oracle_Full_QBIPROD_Policy,NB_ORA_SERV=Q1DIMSVR02-R';
backup archivelog all tag 'ARCH' format 'ARCH_%d_%T_%s';
release channel ch01;}


run{
allocate channel ch01 type 'sbt_tape';
backup archivelog all tag 'ARCH' format 'ARCH_%d_%T_%s';
release channel ch01;}


run{
allocate channel ch01 type 'sbt_tape';
delete backup;
release channel ch01;}

6.5,Netbackup Command:
bplist -C dimsvr02-r -t 4 -R \ 查看磁带库中的数据库备份集
bpexpdate –ev -d 0 将磁带库中的备份image强制设为过期
bpmedia –unfreeze –ev 将磁带库中的磁带
Linux 文件备份时,Policy类型选择standard。

7,Windows 7安装Netbackup Administration Console
a,以administrator身份运行程序。
b,修改windows 7的hosts文件中加入master server,media server,clients等的主机名,否则启动时相关主机名无法解析。

你可能感兴趣的:(Backup,Restore,for,NBU,&,TSM)