IBM DB2 Everyplace Sync Server Administration Guide Version 7 Release 2 Modification 1


Setting up the Palm OS device

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:

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:

  1. 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.
  2. Perform a HotSync operation to complete the installation of the files to the Palm OS device.
  3. After using the HotSync operation to install the files, close the HotSync manager.
  4. After installing the applications on the device, open the Palm OS Prefs application.
  5. Select Network.
  6. 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.
  7. Click OK. The Properties window closes.
  8. Next, you need to configure IBM Sync with the DB2 Everyplace Sync Server information. See Configuring IBM Sync

Configuring IBM Sync

To set up IBM Sync on your Palm OS device or Palm OS emulator:

  1. Locate the IBM Sync application in the Palm OS emulator.
  2. Click IBM Sync.
  3. Click Menu.
  4. Select Settings from the menu.
  5. Type the IP address or hostname of the workstation in the Server IP field.
  6. 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 ...
    
  7. Type nurse1 in the User ID field. This is the sample user created by the Create Sync Server Sample program.
  8. Type nurse1 in the Password field. This is the sample password set by the Create Sync Server Sample program.
  9. Optional: Select the Save password check box if you want IBM Sync to remember the password.
  10. Click OK.

For Palm operating systems, you can specify the following advanced settings:

  1. Click Advanced.
  2. 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.
  3. To view the log that contains detailed information about your synchronization, select Detailed synchronization log.
  4. To enable starting IBM Sync by using the HotSync button on your Palm device, select Use HotSync button to start.
  5. 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.
  6. 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.

Synchronizing and verifying data on the Palm OS emulator or device

Ensure that the DB2 Everyplace Sync Server is running. If the Sync Server needs to be started, refer to Preparing to synchronize.

  1. Open IBM Sync on the Palm OS emulator or device.
  2. Click the Synchronize icon to begin synchronization.
  3. When synchronization is complete, the Palm OS emulator or device displays the message Synchronization ended.
  4. Open QBE on the Palm OS emulator or device.
  5. Select the VNMEDICALRECORD table. The contents of the table show on the screen.
  6. 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.)

  7. 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.
  8. Locate the VNMEDICALRECORD table and right-click the table.
  9. Select Sample Contents from the menu.
  10. 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 ]