6
# Script to change the origin of set 1 from node 1 to node 2.
7
# This still requires that node 1 is alive. This is called
8
# handover or move, not failover.
16
######################################################################
17
# Move set 1 to node 2
18
######################################################################
20
echo "**** Move set 1 to node 2"
23
node 1 admin conninfo = 'dbname=$DB1';
24
node 2 admin conninfo = 'dbname=$DB2';
26
lock set (id = 1, origin = 1);
27
move set (id = 1, old origin = 1, new origin = 2);