免费注册 查看新帖 |

Chinaunix

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

[Veritas NBU] master server迁移,可以从windous到linux么? [复制链接]

论坛徽章:
0
发表于 2015-01-05 17:02 |显示全部楼层
RT,采用Catalog备份恢复的方式,能从Windows迁移master server至linux么,求大牛解答,谢谢!

论坛徽章:
2
2015年迎新春徽章
日期:2015-03-03 17:33:52数据库技术版块每日发帖之星
日期:2015-09-21 06:20:00
发表于 2015-01-07 14:10 |显示全部楼层
应该不行的,至少license就不对。

论坛徽章:
0
发表于 2015-01-08 20:59 |显示全部楼层
也不是说完全不行,咨询了一下厂商,跨平台迁移是需要他们支持才能做的,要借助特殊的工具才行回复 2# w3wu


   

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:53:17
发表于 2015-01-14 20:34 |显示全部楼层
回复 1# xjason77

当然可以啊

The NetBackup database, NBDB, must always reside on the same host as the EMM server. If NBDB is moved, the EMM server must also be moved. The Bare Metal Restore database, BMRDB, and NetBackup Authorization Database, NBAZDB, must also reside on the master server. So, if NBDB and EMM server are moved to a media server from a master server, BMRDB and NBAZDB must remain on the master server.

Use the following procedure to move the NetBackup database (NBDB) from host A to host B. This procedure also reconfigures NetBackup so that the new database host becomes the EMM server.
If you move the NetBackup database and the EMM server to a different host in a cluster environment, see the following topic:
See Cluster considerations with the EMM server on Windows.

To move the NetBackup database from one host to another
1.        Perform a catalog backup.
2.        If NetBackup is currently installed on B, do the following:
•        Shut down NetBackup on B by typing the following command:
Install_path/VERITAS/NetBackup/bin/bpdown
•        Run the following command on B by typing the following command:
Install_path/VERITAS/NetBackup/bin/nbdb_relocate -make_emmhostB_emmservername
This command is not internationalized.
•        Start the Sybase SQL Anywhere server on B by typing the following command:
Install_path/VERITAS/NetBackup/bin/bpup -e SQLANYs_VERITAS_NB
•        Create NBDB and associated files in the default location on B by typing the following command:
Install_path/VERITAS/NetBackup/bin/create_nbdb create_nb -drop
If NetBackup is not installed on B, install NetBackup on B identifying B as the EMM server.
3.        Set the database password on host B to match the password on A if the password has changed from the default. Use the NetBackup Database Administration utility or type the following command:
Install_path/VERITAS/NetBackup/bin/nbdb_admin -dba password
4.        Shut down NetBackup on A and B and on all master servers and media servers using host A as the EMM server by typing the following command:
Install_path/VERITAS/NetBackup/bin/bpdown
5.        Copy the following files from A to B to the final location (do not copy vxdbms.conf):
NBDB.db
NBDB.log
NBDB.m.log (optional)
EMM_DATA.db
EMM_INDEX.db
If the database files on B are in the default location (Install_path/VERITAS/NetbackupDB/data) and server A is also running Windows, go to the following step:
11.
6.        Change databases.conf on A and B so that the databases do not start automatically when the server is started by typing the following command:
Install_path/VERITAS/Netbackup/bin/nbdb_admin -auto_start NONE
7.        Start the Sybase SQL Anywhere server on B by typing the following command:
Install_path/VERITAS/NetBackup/bin/bpup -e SQLANYs_VERITAS_NB
8.        Use the nbdb_move command on B to set the location of the database files by typing the following command:
nbdb_move -data dataDirectoryB -index indexDirectoryB-tlog
tlogDirectoryB [-mlog mlogDirectoryB] -config_only
9.        Stop the Sybase SQL Anywhere server on B by typing the following command:
Install_path/VERITAS/NetBackup/bin/bpdown -e SQLANYs_VERITAS_NB
10.        On B, delete the database files in the default directory if non-default locations are used fordataDirectoryB, indexDirectoryB, tlogDirectoryB, mlogDirectoryB by typing the following command:
NBDB.db
NBDB.log
NBDB.m.log (optional)
EMM_DATA.db
EMM_INDEX.db
11.        Run the following command on A and on all master servers and media servers that used A as the EMM server:
Install_path/VERITAS/NetBackup/bin/ nbdb_relocate -change_emmhost B_emmservername
This command is not internationalized.
12.        On A, delete the following database files and configuration files:
NBDB.db
NBDB.log
NBDB.m.log (optional)
NBAZAD.db
NBAZAD.db.template
NBAZAD.log
EMM_DATA.db
EMM_INDEX.db
13.        On A do the following:
•        If BMRDB and NBAZDB do not exist on A, delete the following configuration files:
Install_path/VERITAS/NetBackupDB/data/vxdbms.conf
Install_path/VERITAS/NetBackupDB/conf/databases.conf
Install_path/VERITAS/NetBackupDB/conf/server.conf
•        If BMRDB exists on A, do the following:
Run the following command on A so that BMRDB starts automatically when the server is started:
Install_path/VERITAS/Netbackup/bin/nbdb_admin -auto_start BMRDB
14.        Start NetBackup on B and on all master servers and media servers that use B as the EMM server.
15.        Perform a catalog backup.



   

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:50:28
发表于 2015-03-02 23:43 |显示全部楼层
购买原厂服务就可以。

自己也可以做,不过某些信息可能会丢失,需要重建,比较麻烦。

论坛徽章:
0
发表于 2015-03-04 17:18 |显示全部楼层
很麻烦,折腾死人。
我宁愿重建。

论坛徽章:
221
15-16赛季CBA联赛之吉林
日期:2017-12-11 12:51:59黑曼巴
日期:2019-04-12 13:40:0515-16赛季CBA联赛之广东
日期:2019-04-23 10:41:1215-16赛季CBA联赛之辽宁
日期:2019-05-06 13:03:2815-16赛季CBA联赛之山西
日期:2019-05-09 10:56:5815-16赛季CBA联赛之青岛
日期:2019-05-17 13:57:0515-16赛季CBA联赛之新疆
日期:2019-06-10 13:39:0515-16赛季CBA联赛之天津
日期:2019-07-08 15:04:4519周年集字徽章-19
日期:2019-08-27 13:31:2619周年集字徽章-19
日期:2019-08-27 13:31:2619周年集字徽章-周
日期:2019-09-06 18:46:4715-16赛季CBA联赛之天津
日期:2019-02-27 11:24:07
发表于 2015-03-19 16:28 |显示全部楼层
这个我自己做过,在linux平台恢复catalog会报错,指定了正确的路径恢复或者你通过命令磁带恢复最后都报错,最后还是没有迁移

论坛徽章:
0
发表于 2015-07-09 11:02 |显示全部楼层
最后选择了重建,用AIR传输旧备份介质至新备份域,太TM折腾了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP