RealSync/scripts/stop_monitor RealSync/scripts/stop_r
RealSync/scripts/stop_vagentd RealSync/scripts/verify_start RealSync/scripts/verify_stop RealSync/scripts/chgcfg RealSync/config.dsg.base RealSync/dbps.sql RealSync/.env
解压缩后,会产生一个安装脚本install和一个目录RealSync(存放软件版本信息)。
2.2 执行install开始安装配置(SRC+TGT)
执行install安装脚本开始安装并配置RealSync软件,安装过程根据提示一步一步完成,安装信息如下:
[oracle9i@RHEL3 test]$ ./install
--设定安装目录,如果安装目录不存在会自动创建,[]中为默认值 Please input the dir you want RealSync Software to install.
The dir must be online and you can write?[/dsg]/templv/yqing/temp/test
The dir you want RealSync Software to install is [/templv/yqing/temp/test]?(Y/N):y export REALSYNC_BASE=/templv/yqing/temp/test
--开始安装软件
********************You will install RealSync SoftWare.******************** Please choice your Operation System: 1 AIX4.3 2 AIX5L 3 HP11.11 4 HP11.23 5 Linux 6 SunOS5.8 7 SunOS5.10
please input your choice (1/2/3/4/5/6/7):5 --选择操作系统类型
Please choice your Oracle Version : 1 ORACLE_8i 2 ORACLE_9i 3 ORACLE_10g 4 ORACLE_11g
please input your choice (1/2/3/4):3 --选择数据库版本
The version you want RealSync SoftWare to install is Linux and ORACLE_10g ?(Y/N):y Do you want add RealSync service name(Recommend)?(Y/N):y --是否添加同步通道 Please input service name: test1 --服务名 Please input server port: 6830 --服务端口 Please input agent port: 6831 --Agent端口
Please input role type(SRC/TGT): SRC --节点类型,源端或目标端
Please input monitor port: 6832 --监控端口 Please input verify port: 6833 --比对端口
Your input list:
ServiceName: test1 ServerPort: 6830 AgentPort: 6831 RoleType: SRC MonitorPort: 6832 VerifyPort: 6833
Do you input is yes or no (Y/N):y --确认输入信息,n为重新输入 /templv/yqing/temp/test/bin/test1 create /templv/yqing/temp/test/log/test1 create /templv/yqing/temp/test/config/test1 create /templv/yqing/temp/test/vcfs/test1 create /templv/yqing/temp/test/vcfsa/test1 create /templv/yqing/temp/test/xldr/test1 create /templv/yqing/temp/test/dbps/test1 create RealSync ServiceName add finished!
--开始配置同步通道,[]中为默认值
********************Configure Source ServiceName test1******************** Please input RealSync Source IP:192.168.1.154 --源端ip地址 Please input RealSync Source ORACLE_SID : [db09] --源端ORACLE_SID Please input RealSync Source ORACLE_HOME : [/oracle9i/product/9.2] Please input RealSync Source DB user : [dsg] --源端数据库登录用户
Please input RealSync Source DB user password : [dsg] --源端数据库登录密码
Please input RealSync Target IP:192.168.1.158 --目标端ip地址 Please input RealSync Target ORACLE_SID :db10 --目标端ORACLE_SID Please input RealSync Target ORACLE_HOME :/oracle10/product/10.2
Please input RealSync Target DB user : [dsg] --目标端数据库登录用户
Please input RealSync Target DB user password : [dsg] --目标端数据库登录密码
Your input list:
Source IP :192.168.1.154 Source ORACLE_SID :db09
Source ORACLE_HOME :/oracle9i/product/9.2 Source DB USER :dsg Source DB USER PWD :dsg
Target IP :192.168.1.158 Target ORACLE_SID :db10
Target ORACLE_HOME :/oracle10/product/10.2 Target DB USER :dsg Target DB USER PWD :dsg
Do you input is yes or no (Y/N):y --确认数据信息,n为重新输入 RealSync Source configure finished! RealSync is installed Successfully!
--开始注册同步通道(自动注册,且只在源端完成注册过程)
Do you want register RealSync ServiceName test1?(Y/N):y --y为注册,n为不注册 Starting register ServiceName test1 HOST and DATABASE Starting Source ServiceName test1 Process...... Agent with port 6831 Started. Dbpsd with port 6830 Started. Sender with test1 Started.
Starting register Source Host and Database. CHECK_MEMLEAK is turned off VMAN> Connected. DBPS> Authenticated SYNC:/> 1. System 2. Scheduler
s. List current sessions q. Return to command mode ===> 1. User 2. Host 4. Database q. quit
===> 1. List all 2. List one in detail 3. Add 4. Delete 5. Edit
6. Detect and update hardware/os_type/vagentd q. quit
===> HID: Host Name: Agent Port: [2688] Enabled: [Y] Host [192.168.1.154] added 1. List all
2. List one in detail 3. Add 4. Delete 5. Edit
6. Detect and update hardware/os_type/vagentd q. quit
===> 1. User 2. Host 4. Database q. quit
===> 1. List all 2. List one in detail 3. Add 4. Delete 5. Edit q. quit
===> DBID: Please select data source type: 1. Oracle 2. DB2 3. Sybase 4. Sql Server 5. Informix
6. Lotus Notes 7. Exchange Server 8. Access Server
9. File Server (for generic files/directries)
Data Source Type: Host Name: DB Name: DB User: DB Password: OS Owner: OS Group: SID: TNS Name: ORACLE_HOME: TNS Admin: Data source [SRCDB] added 1. List all
2. List one in detail 3. Add
4. Delete 5. Edit q. quit
===> 1. User 2. Host 4. Database q. quit
===> 1. System 2. Scheduler
s. List current sessions q. Return to command mode ===>SYNC:/>
Source Host and Database Registered.
Starting Register Target Host and Database. CHECK_MEMLEAK is turned off VMAN> Connected. DBPS> Authenticated SYNC:/> 1. System 2. Scheduler
s. List current sessions q. Return to command mode ===> 1. User 2. Host 4. Database q. quit
===> 1. List all 2. List one in detail 3. Add 4. Delete 5. Edit
6. Detect and update hardware/os_type/vagentd q. quit
===> HID: Host Name: Agent Port: [2688] Enabled: [Y] Host [192.168.1.158] added 1. List all
2. List one in detail 3. Add 4. Delete 5. Edit
6. Detect and update hardware/os_type/vagentd
q. quit
===> 1. User 2. Host 4. Database q. quit
===> 1. List all 2. List one in detail 3. Add 4. Delete 5. Edit q. quit
===> DBID: Please select data source type: 1. Oracle 2. DB2 3. Sybase 4. Sql Server 5. Informix 6. Lotus Notes 7. Exchange Server 8. Access Server
9. File Server (for generic files/directries)
Data Source Type: Host Name: DB Name: DB User: DB Password: OS Owner: OS Group: SID: TNS Name: ORACLE_HOME: TNS Admin: Data source [TGTDB] added 1. List all
2. List one in detail 3. Add 4. Delete 5. Edit q. quit
===> 1. User 2. Host 4. Database q. quit
===> 1. System 2. Scheduler
s. List current sessions q. Return to command mode ===>SYNC:/>
Target Host and Database Registered.
Register Infomition List: CHECK_MEMLEAK is turned off VMAN> Connected. DBPS> Authenticated SYNC:/> 1. System 2. Scheduler
s. List current sessions q. Return to command mode ===> 1. User 2. Host