IBM DB2 Everyplace Sync Server Administration Guide Version 7 Release 2 Modification 1
Before you can test synchronization using a Palm OS device, you need
a TCP/IP connection to the device. You can set up a TCP/IP connection
by using either Windows Remote Access Service, or Mocha W32 PPP, which is a
shareware utility. The Windows Remote Access Service or Mocha W32 PPP
must be running on the PC when a Palm OS device attempts to establish a TCP/IP
connection.
Palm OS devices come with the HotSync Manager application, which
runs on the PC to synchronize personal information such as contacts and to-do
lists. Most Palm OS devices connect to the PC through a COM
port. HotSync Manager, Mocha W32 PPP, or Remote Access Service must
have access to this COM port to work properly. To avoid conflict,
before you start Remote Access Service or Mocha W32 PPP, you must exit the
HotSync Manager. Similarly, if you want to use the HotSync Manager, you
must terminate Remote Access Service or exit Mocha W32 PPP.
To set up a Remote Access Service, refer to "Using a Remote Access Service". To use Mocha:
- Download W32 PPP from www.mochasoft.dk/.
- Follow the directions included with the download.
- After you have finished downloading and installing W32 PPP, configure the
Palm OS device using the directions in Configuring the Palm OS device.
Once you have ensured that the Palm OS device is connected to the DB2
Everyplace Sync Server, you can configure the software on the Palm OS
device:
- Use the DB2 Everyplace Install on the mobile device tool to install DB2
Everyplace. The Install on the mobile device tool is available from the
IBM DB2 Everyplace folder of the start menu.
- Perform a HotSync operation to complete the installation of the files to
the Palm OS device.
- After using the HotSync operation to install the files, close the HotSync
manager.
- After installing the applications on the device, open the Palm OS
Prefs application.
- Select Network.
- Tap Connect. If device fails to connect, verify that you have
correctly configured Mocha W32 PPP or Windows Remote Access Service.
See page *** for more information about Windows Remote Access
Service.
- Click OK. The Properties window closes.
- Next, you need to configure IBM Sync with the DB2 Everyplace Sync Server
information. See Configuring IBM Sync
To set up IBM Sync on your Palm OS device or Palm OS emulator:
- Locate the IBM Sync application in the Palm OS emulator.
- Click IBM Sync.
- Click Menu.
- Select Settings from the menu.
- Type the IP address or hostname of the workstation in the Server
IP field.
- Type 8080 in the Port # field. This is
the default port used by the application server included with Sync
Server. If port 8080 is used by another program, you can change the
default port number for IBM Sync by opening file
$DSYIMSTDIR/WebSphere/AppSrver/bin/servletengine.bat and changing the
following line to include any free port number:
-Dcontrolserver.websphere.websphere.port=xxxx ...
- Type nurse1 in the User ID field. This is the sample user created by the
Create Sync Server Sample program.
- Type nurse1 in the Password field. This is the sample password set by
the Create Sync Server Sample program.
- Optional: Select the Save password check box if you want
IBM Sync to remember the password.
- Click OK.
For Palm operating systems, you can specify the following advanced
settings:
- Click Advanced.
- To specify the timeout parameter for a server reply, select the length of
time that you want. If you select Never, IBM Sync will wait
indefinitely for a reply.
- To view the log that contains detailed information about your
synchronization, select Detailed synchronization log.
- To enable starting IBM Sync by using the HotSync button on your Palm
device, select Use HotSync button to start.
- If your mobile device has a limited network bandwidth (for example, a
wireless device), or if the network connection is not stable, you can drop the
network connection after synchronization completes by selecting Drop
connection after sync.
- Tap OK to exit.
For more information on using IBM Sync, refer to the DB2
Everyplace Installation and User's Guide.
The Palm OS device and software are now ready to
synchronize.
Ensure that the DB2 Everyplace Sync Server is running. If the
Sync Server needs to be started, refer to Preparing to synchronize.
- Open IBM Sync on the Palm OS emulator or device.
- Click the Synchronize icon to begin synchronization.
- When synchronization is complete, the Palm OS emulator or device displays
the message Synchronization ended.
- Open QBE on the Palm OS emulator or device.
- Select the VNMEDICALRECORD table. The contents of the
table show on the screen.
- Open the Mobile Devices Administration Center and DB2 Control
Center. For Windows, select Start --> Programs --> IBM
DB2 Everyplace--> Start Mobile Devices Administration
Center.
For UNIX, change the directory to
x/db2everyplace/SyncServer/Server (where x represents the home
directory of the DB2 Everyplace instance user ID.)
- Expand the object tree in the DB2 Control Center until you see the VNURSE
database. Select the Tables folder of the VNURSE database to
show the VNURSE tables.
- Locate the VNMEDICALRECORD table and right-click the
table.
- Select Sample Contents from the menu.
- Compare the contents of the table on the Palm OS emulator or device to the
sample contents of the table in the DB2 Control Center.
You have successfully synchronized data between your mobile device and DB2
Everyplace Sync Server. For learn more about synchronization, you can
complete the synchronization tutorial in Chapter 4, Synchronization Tutorial.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]