1. 查看各平台二进制文件
$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. 查看文件列表
$ln -s bin_file/osync_linux64 gdul
$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
$./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