Current setup
Host A
$DXHOME/config/servers/userstorep.dxi (sourcing a knowledge group containing self and userstores)
$DXHOME/config/servers/userstores.dxi (sourcing a knowledge group containing self and userstorep)
$DXHOME/config/knowledge/userstorep.dxc (address = Host A, port = 10389)
$DXHOME/config/knowledge/userstores.dxc (address = Host A, port = 20389)
$DXHOME/data/userstorep.db
$DXHOME/data/userstores.db
To move userstores from Host A to Host B
- Host B: you need the same version of directory installed as Host A
- Host A: stop DSAs
- Move $DXHOME/config/servers/userstores.dxi from Host A to Host B (this file should no longer exist on Host A)
- Move $DXHOME/data/userstores.db from Host A to Host B (remove $DXHOME/data/userstores.* from Host A)
- Host A: update knowledge $DXHOME/config/knowledge/userstores.dxc (address = Host B, port = 20389)
- After making the address change above copy $DXHOME/config/knowledge/* from Host A to Host B
Copy over any configuration customizations to Host B
- Copy $DXHOME/config/limits/* from Host A to Host B (if you've made changes to this folder)
- Copy $DXHOME/config/settings/* from Host A to Host B (if you've made changes to this folder)
- Copy $DXHOME/config/access/* from Host A to Host B (if you've made changes to this folder)
- Copy $DXHOME/config/logging/* from Host A to Host B (if you've made changes to this folder)
- Copy $DXHOME/config/schema/* from Host A to Host B (if you've made changes to this folder)
- Copy $DXHOME/config/ssld/* from Host A to Host B (if you've made changes to this folder)
Start the DSAs on both hosts, check that they start and verify replication is working
Result
Host A
$DXHOME/config/servers/userstorep.dxi (sourcing a knowledge group containing self and userstores)
$DXHOME/config/knowledge/userstorep.dxc (address = Host A, port = 10389)
$DXHOME/config/knowledge/userstores.dxc (address = Host B, port = 20389)
$DXHOME/data/userstorep.db
Host B
$DXHOME/config/servers/userstores.dxi (sourcing a knowledge group containing self and userstorep)
$DXHOME/config/knowledge/userstorep.dxc (address = Host A, port = 10389)
$DXHOME/config/knowledge/userstores.dxc (address = Host B, port = 20389)
$DXHOME/data/userstores.db