Nokia 9.2 Cell Phone User Manual


 
Setting Up Database Mirroring
Nokia Intellisync Wireless Email Linux Installation Guide 31
The following command line specifies the
dbsrv10
options:
-x—instructs the database server to use TCP/IP communications over port 2639. The
other servers also use TCP/IP, but communicate on different ports.
-su—specifies the password for the utility database.
-n—names the database server Arbiter.
-xa—specifies the names of the mirrored databases and the authentication string (in this
case abc) for Arbiter server. This authentication string must be used on all the servers
(Arbiter, Primary, and Mirror) in a database mirroring system.
-xf—specifies the location of the state information file for Arbiter.
8. Start the Nokia Intellisync server on the server 1 computer by using the following bash
script.
#!/bin/bash
source /opt/ims/conf/ims_profile
source /opt/ims/db/linux/bin/sa_config.sh
dbsrv10 -n server1 -x tcpip\(PORT=2638\) -xf /opt/ims/log/
server1state.txt -su admin /opt/ims/db/data/SyncDB.db -sn ha_server
-xp
partner="(ENG=server2;LINKS=tcpip(port=2637;TIMEOUT=1));auth=dba;ar
biter=(ENG=arbiter;LINKS=tcpip(PORT=2639;TIMEOUT=1));mode=sync"
9. Start the mirror server on server 2 using the following bash script.
#!/bin/bash
source /opt/ims/conf/ims_profile
source /opt/ims/db/linux/bin/sa_config.sh
dbsrv10 -n server2 -x tcpip\(PORT=2637\) -xf /opt/ims/log/
server2state.txt -su admin /opt/ims/db/data/SyncDB.db -sn ha_server
-xp
partner="(ENG=server1;LINKS=tcpip(PORT=2638;TIMEOUT=1));auth=dba;ar
biter=(ENG=arbiter;LINKS=tcpip(PORT=2639;TIMEOUT=1));mode=sync"
10. From the Nokia Intellisync server, open the /opt/ims/conf/config.properties file
and set the following database URL:
url=jdbc:ianywhere:driver=libdbodbc10_r.so;DatabaseName=SyncDB;Isol
ationLevel=1;ENG=ha_server;LINKS=tcpip
11. Start Nokia Intellisync Wireless Email.
Testing the High Availability Features
To test availability, stop all processes on either server 1, server 2, or the Arbiter server. Nokia
Intellisync Wireless Email should continue working without any interruption in accessing the
database.