Nokia 9.2 manual Testing the High Availability Features

Page 31

Setting Up Database Mirroring

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.

Nokia Intellisync Wireless Email Linux Installation Guide

31

Image 31
Contents Nokia Intellisync Wireless Email Linux Installation Guide Nokia Intellisync Wireless Email Linux Installation Guide Address Nokia Intellisync Wireless Email Linux Installation Guide Contents Upgrading the Nokia Intellisync Server Additional Server Installation OptionsPost-Installation Testing Configuring a GroupWise Mobile ServerConventions This Guide Uses About This GuideCommand-line Conventions Command-line ConventionsDescribes the text conventions in this guide Text ConventionsAccessing Server Online Help Accessing Server DocumentationRelated Documentation Client Installation Guides Accessing Client DocumentationNokia Intellisync Wireless Email Linux Installation Guide Components Requiring Dedicated Computers Recommended Server ConfigurationProduct Evaluation and Small Installations System RequirementsMinimum Client Requirements Minimum RequirementsMinimum Server Requirements Wireless Email Server Minimum RequirementsNokia Intellisync Wireless Email Linux Installation Guide Before You Install Installing on a Linux ServerChoosing an Installation Method Installing Nokia Intellisync Wireless EmailTo install using the graphical installation To configure and run a silent installation Running a Silent InstallationEdit the following file parameters to match your environment IMSEXTERNALDB= To install using the console modeNokia Intellisync Wireless Email Linux Installation Guide Installing the Secure Gateway Server Configuring a Cluster Environment Installing Nokia Intellisync on Multiple ServersInstalling Nokia Intellisync in a cluster To configure a deployment for more than 500 users Required Linux Server ConfigurationUninstalling Intellisync Mobile Suite Starting and Stopping ServicesEtc/init.d To set up a remote SQL Anywhere database server Additional Server Installation OptionsSetting Up a Remote SQL Anywhere Database Server Setting Up Database MirroringTo configure and set up a database mirror system Testing the High Availability Features Page Backing Up Existing Data Upgrading Using a Graphical InterfaceTo use a graphical upgrade Upgrading the Nokia Intellisync ServerUpgrading Using the Console Mode Upgrading Using Silent ModeTo use a silent upgrade Upgrading Using the Console Mode Nokia Intellisync Wireless Email Linux Installation Guide End User Web Site Post-Installation TestingAdministrator Web Site Troubleshooting Logon IssuesPost-Installation Testing Configuring the GroupWise Mobile Server Configuring a GroupWise Mobile ServerVerifying the GroupWise Post Office Agent Verifying Successful Authentication Backing Up the Nokia Intellisync Server Backing Up Data on a Linux ServerBacking Up a Server with a Sybase Database Restoring Nokia Intellisync Server Data from a Backup Data restoration process is complete Restoring Data to a Server with a Sybase DatabaseNokia Intellisync Wireless Email Linux Installation Guide Index Nokia Intellisync Wireless Email Linux Installation Guide Nokia Intellisync Wireless Email Linux Installation Guide Nokia Intellisync Wireless Email Linux Installation Guide