Sybase recommends a distributed deployment when there is high network latency between the DA server and the database servers, when many concurrent comparisons are required, or when performance requirements are more important than ease of deployment and maintenance.
This example uses a single DA server and two remote DA agents. The local DA agent is not used.
Component Name | Machine Name | Port Numbers |
---|---|---|
DA server | mars |
|
DA agent | venus |
|
DA agent | pluto |
|
Adaptive Server Enterprise | venus | 5000 – server |
Adaptive Server Enterprise | pluto | 5000 – server |
$SYBASE/DA-15_5/server/instance/RUN_instance_64.shWhere $SYBASE is the directory in which you installed the Data Assurance Option, instance is the name of your DA server instance, and RUN_instance_64.sh is the start-up script.
$SYBASE/DA-15_5/agent/instance/RUN_instance_64.shWhere $SYBASE is the directory in which you installed the Data Assurance agent, instance is the name of your DA agent instance, and RUN_instance_64.sh is the start-up script.
$SYBASE/OCS-15_0/bin/isql -S mars:4501 -U da_admin -P password -w 250
$SYBASE/OCS-15_0/bin/isql -S venus:4511 -U da_admin -P password -w 250
create agent agent_venus set host=venus and set port=4510 and set user=da_admin and set password=password go
create agent agent_pluto set host=pluto and set port=4510 and set user=da_admin and set password=password go
show agent go
test agent agent_venus go test agent agent_pluto go
create connection conn_venus set agent=agent_venus and set host=venus and set port=5000 and set database=pubs2 and set user=sa and set password='' go
create connection conn_pluto set agent=agent_pluto and set host=pluto and set port=5000 and set database=pubs2 and set user=sa and set password='' go
show connection go