OSYNC产品特性
全平台支持
OSYNC支持主流硬件平台(HP-UX, AIX, Solaris, Linux, Windows),各个平台仅需单一的可执行文件,方便分发。bin_file目录下保存所有平台的可执行文件,使用时符号链接到上一层目录便可使用。
- osync_hppa
- osync_aix_10g
- osync_hpia
- osync_aix_11g
- osync_linux64
- osync_solaris
1
查看各平台二进制文件
terminal
$ ls -rtl bin_file -rwxr-xr-x 1 andy andy 3703544 Dec 1 12:32 osync_hppa* -rwxr-xr-x 1 andy andy 18910606 Dec 1 12:32 osync_aix_10g* -rwxr-xr-x 1 andy andy 4920056 Dec 1 12:32 osync_hpia* -rwxr-xr-x 1 andy andy 37871748 Dec 1 13:39 osync_aix_11g* -rwxr-xr-x 1 andy andy 1418144 Dec 1 13:48 osync_linux64* -rwxr-xr-x 1 andy andy 1185280 Dec 1 14:39 osync_solaris*
2
查看文件列表
terminal
$ ln -s bin_file/osync_linux64 osync $ ls -rlt -rwxr-xr-x 1 andy andy 261 Jul 20 2015 osync.sh* drwxrwxr-x 2 andy andy 4096 Dec 1 13:50 bin_file/ lrwxrwxrwx 1 andy andy 22 Dec 1 14:05 osync -> bin_file/osync_linux64* drwxrwxr-x 2 andy andy 4096 Dec 7 15:37 log/ -rw-rw-r-- 1 andy andy 122 Dec 7 15:37 table.list -rw-rw-r-- 1 andy andy 1709 Dec 7 16:20 osync.conf drwxrwxr-x 2 andy andy 4096 Dec 7 16:25 dump/ -rw-rw-r-- 1 andy andy 304 Dec 7 16:25 table.cache
3
配置OSYNC
1) 配置连接字符串:osync.conf
2) 配置导出、导入表:table.list
4
运行OSYNC
terminal
$ ./osync ********************************************************************* OSYNC for ORACLE DB, Release 2.0.0.6, build date: 2016.12.01. Copyright (c) 2007, 2016. DBTOOL software. ALL RIGHTS RESERVED. Website: http://www.dbtool.cn Email: support@dbtool.cn WeChat: dbtool QQ group: 235019291 ********************************************************************* OSYNC> init sync OSYNC> start sync OSYNC> status
