免费注册 查看新帖 |

Chinaunix

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

[Veritas NBU] (求版主帮忙)双机环境,app_cluster备份问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-04-05 11:02 |只看该作者 |倒序浏览
这是实验环境。

双机:vcs1、vcs2主机,应用为oracle数据库,主备方式。

我在vcs1、vcs2主机各自安装了media server,master server指向nbumaster这台主机。我现在想法是,创建策略时使用Oracle浮动IP地址(vcsdb-vip),这样不论Oracle切换到哪台机器我都能够备份,备份方式要以Lan-Free走SAN网络。

创建app_cluster如下所示:

nbemmcmd -addhost -machinename vcsdb-vip -machinetype app_cluster

nbemmcmd -updatehost -add_server_to_app_cluster -machinename vcs1 \
         -machinetype media -clustername vcsdb-vip                                  \
         -netbackupversion 7.5 -masterserver nbumaster

nbemmcmd -updatehost -add_server_to_app_cluster -machinename vcs2 \
         -machinetype media -clustername vcsdb-vip                                  \
         -netbackupversion 7.5 -masterserver nbumaster

nbemmcmd列出主机如下:

[root@nbumaster ~]# nbemmcmd -listhosts        
NBEMMCMD, Version: 7.5
The following hosts were found:
server            nbumaster
master           nbumaster
app_cluster    vcsdb-vip
media            vcs2
media            vcs1
Command completed successfully.

master server与双机中的两台media server我都在dp.conf中加入了:

server=vcs1
server=vcs2
server=vcsdb-vip

之后,我在控制台上面创建了一个storage unit group,然后包含了vcs1、vcs2的STU,vcs1的stu在前,vcs2的stu在后,我发现,如果我切换Oracle到vcs2主机,NBU还是会使用vcs1的机械手进行写入。这不是有问题么?

还有,根据NBU的高可用性文档里面的建立非故障转移集群,里面有如下话:

Use the NetBackup Administration Console to create a storage unit for each
application. Specify the virtual name of the application as media server name
for the storage unit.

但我在创建storage unit时,将vcsdb-vip(即浮动IP)设置为media server时,手工启动job,报:Error nbjm (pid=3987) NBU status: 213, EMM status: Storage units are not available no storage units available for use  (213)。

请问,我创建app_cluster方式有哪些地方需要改进的?

论坛徽章:
0
2 [报告]
发表于 2012-04-05 11:05 |只看该作者
license如下:

Host:           vcs1
Product:        NetBackup Enterprise Server
Client count:   See license certificate.
Expires:        No Expiration Date
Feature:        OpenStorage Disk Option (Active)
Feature:        NAS SnapVault Option (Active)
Feature:        Virtual Tape Option (Active)
Feature:        Bare Metal Restore (Active)
Feature:        Encryption (Active)
Feature:        Open File Backup (Active)
Feature:        StorageTek Virtualization (Active)
Feature:        Remote Client Support (Active)
Feature:        Robotic Library Sharing Support (Active)
Feature:        Remote Media Server Support (Active)
Feature:        Microsoft RSM Robotic Libraries (Active)
Feature:        ADIC DAS/SDLC Robotic Libraries (Active)
Feature:        IBM ATL Robotic Libraries (Active)
Feature:        Fujitsu LMF Robotic Libraries (Active)
Feature:        StorageTek ACS Robotic Libraries (Active)
Feature:        Snapshot Client (Active)
Feature:        MS SharePoint Agent (Active)
Feature:        Device Qualification Tools (Active)
Feature:        Snapshot Client <Persistent Frozen Image> (Active)
Feature:        Inline Tape Copy (Active)
Feature:        EMC Fastrax Data Engine - No Longer Available (Active)
Feature:        Oracle extension <Database Archiver> (Active)
Feature:        Snapshot Client <Extended Frozen Image Services> (Active)
Feature:        Vault (Active)
Feature:        Snapshot Client <Oracle ServerFree Agent> (Active)
Feature:        Snapshot Client <Offhost and SAN Data Movement Services> (Active)
Feature:        Snapshot Client <Core Frozen Image Services> (Active)
Feature:        GDM Managed Server (Active)
Feature:        Library Based Tape Drives (Active)
Feature:        Additional Drives/Robotics (Active)
Feature:        Open File Backup - deprecated (Active)
Feature:        DataStore (Active)
Feature:        Intelligent Disaster Recovery (Active)
Feature:        Teradata (Active)
Feature:        Encryption (Legacy DES 56-bit) (Active)
Feature:        Encryption (Legacy DES 40-bit) (Active)
Feature:        Snapshot Client <Oracle on UNIX Advanced BLI Agent> (Active)
Feature:        SAP extension (Active)
Feature:        SQL-Backtrack extension (Active)
Feature:        Sybase extension (Active)
Feature:        Informix extension (Active)
Feature:        Oracle extension (Active)
Feature:        Lotus Notes extension (Active)
Feature:        DB2 extension (Active)
Feature:        MS SQL Server extension (Active)
Feature:        MS Exchange extension (Active)
Feature:        Advanced Reporting Option (Active)
Feature:        Shared Storage Option (Active)
Feature:        Tivoli Plus Module (Active)
Feature:        Global Data Manager (Active)
Feature:        NDMP (Active)
Feature:        EMC (Active)
Feature:        Fastbackup for Auspex - No Longer Available (Active)
Feature:        Snapshot Client <FlashBackup> (Active)
Feature:        Generate digest (Active)
Feature:        Additional clients (Active)
Feature:        Unrestricted features (Active)
Feature:        Base NetBackup (Active)

论坛徽章:
0
3 [报告]
发表于 2012-04-05 11:16 |只看该作者
我发觉切换后,vcs2的数据通过lan方式传给vcs1了,然后再由vcs1来执行写入了。我要的是,不论切换到哪台机器,都要通过SAN写入啊。 还有,是不是我的license问题,此license包含了media server的全部功能,如果只是san media server的话,是不是能够成功?

论坛徽章:
0
4 [报告]
发表于 2012-04-05 12:58 |只看该作者
帮顶,我的是rac 想用vip实现这种,现在问题还不知道怎么回事呢

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
5 [报告]
发表于 2012-04-05 15:37 |只看该作者
设置一下本地优先

论坛徽章:
0
6 [报告]
发表于 2012-04-05 16:08 |只看该作者
无牙老大,请帮我看看,我跟楼主兄弟是不同问题,新手求指教啊

回复 5# 无牙


   

vip 虚拟存储单元.rar

191.45 KB, 下载次数: 19

论坛徽章:
0
7 [报告]
发表于 2012-04-05 16:29 |只看该作者
LS的兄弟,你能够用Oracle的浮动IP地址设置storage unit么? 还是创建storage unit group?

论坛徽章:
0
8 [报告]
发表于 2012-04-05 16:31 |只看该作者
本帖最后由 lcrash 于 2012-04-05 16:34 编辑

啊?不行吗
我是照NetBackup_AdminGuide_HighAvailability.pdf文档做的这种方式

6 可使用 NetBackup 管理控制台为每个应用程序创建磁盘存储单元。将应用程序的虚拟名称指定为存储单元的介质服务器名称。


回复 7# zyl19861126

现在就是要实现这种,一台机器宕机了,另外一台通过这种方式自动切到另外一台media server继续备份

设置两个实际节点的方式,早实现了
   

论坛徽章:
0
9 [报告]
发表于 2012-04-05 16:33 |只看该作者
回复 5# 无牙

版主,是在哪里设置本地优先,是我上面创建的storage unit group?

论坛徽章:
0
10 [报告]
发表于 2012-04-05 16:37 |只看该作者
回复 8# lcrash


    怪了。我创建了app_cluster,如下:

[root@nbumaster ~]# nbemmcmd -listhosts -verbose
NBEMMCMD, Version: 7.5
The following hosts were found:
nbumaster
        MachineName = "nbumaster"
        FQName = "nbumaster"
        MachineDescription = ""
        MachineNbuType = server (6)
nbumaster
        ClusterName = ""
        MachineName = "nbumaster"
        FQName = "nbumaster"
        GlobalDriveSeed = "HNT:RT:RNOS"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x77
        MachineNbuType = master (3)
        MachineState = active for tape and disk jobs (14)
        NetBackupVersion = 7.5.0.0 (750000)
        OperatingSystem = linux (16)
        ScanAbility = 5
vcs1
        ClusterName = ""
        MachineName = "vcs1"
        FQName = "vcs1"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x77
        MachineNbuType = media (1)
        MachineState = active for tape and disk jobs (14)
        MasterServerName = "nbumaster"
        NetBackupVersion = 7.5.0.0 (750000)
        OperatingSystem = linux (16)
        ScanAbility = 5
vcs2
        ClusterName = ""
        MachineName = "vcs2"
        FQName = "vcs2"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x77
        MachineNbuType = media (1)
        MachineState = active for tape and disk jobs (14)
        MasterServerName = "nbumaster"
        NetBackupVersion = 7.5.0.0 (750000)
        OperatingSystem = linux (16)
        ScanAbility = 5
vcsdb-vip
        MachineName = "vcsdb-vip"
        FQName = "vcsdb-vip"
        MachineDescription = ""
        MachineNbuType = app_cluster (7)
        NetBackupVersion = 0.0.0.0 (0)
        Active Node Name = ""
Command completed successfully.

但active node name确是空的,而oracle在vcs1上面。此时我用vcsdb-vip弄的stu会报无介质错误。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP