Chinaunix

标题: master server迁移,可以从windous到linux么? [打印本页]

作者: xjason77    时间: 2015-01-05 17:02
标题: master server迁移,可以从windous到linux么?
RT,采用Catalog备份恢复的方式,能从Windows迁移master server至linux么,求大牛解答,谢谢!
作者: w3wu    时间: 2015-01-07 14:10
应该不行的,至少license就不对。
作者: xjason77    时间: 2015-01-08 20:59
也不是说完全不行,咨询了一下厂商,跨平台迁移是需要他们支持才能做的,要借助特殊的工具才行回复 2# w3wu


   
作者: ChinaUnixViewer    时间: 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.



   
作者: 旷野的呼唤    时间: 2015-03-02 23:43
购买原厂服务就可以。

自己也可以做,不过某些信息可能会丢失,需要重建,比较麻烦。
作者: 撒旦的使者    时间: 2015-03-04 17:18
很麻烦,折腾死人。
我宁愿重建。
作者: yoyosys    时间: 2015-03-19 16:28
这个我自己做过,在linux平台恢复catalog会报错,指定了正确的路径恢复或者你通过命令磁带恢复最后都报错,最后还是没有迁移
作者: xjason77    时间: 2015-07-09 11:02
最后选择了重建,用AIR传输旧备份介质至新备份域,太TM折腾了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2