The Mobile Devices Administration Center used to manage the Sync Server subscriptions
and mobile users.
This task is part of the greater task of Setting up Synchronization. When
you have completed the steps below, return to Setting
up Synchronization
Procedure
- Open the Mobile Devices Administration Center and DB2 Á¦¾î ¼¾ÅÍ:
- For Windows, select Start --> Programs
--> IBM DB2 Everyplace--> Start Mobile Devices Administration Center.
- For UNIX, change the directory to $DSYINSTDIR/Server/bin, then
run dsyadmin.sh.
- Right-click on the Subscriptions folder in the Mobile Devices Administration
Center. Select Create --> Table subscription
--> JDBC Subscription.
- Type a name for the JDBC subscription in the Name field. This example uses SCHEDULE.
- Optional: Type a description for the JDBC subscription in the Description field. This example uses VNSchedule test subscription
- Select the encryption level for the JDBC subscription in the Encryption level field. This example uses None
- On the Source page, identify the name of the source database from which
data is to be synchronized.
- Type the source database URL in the Database
URL field. This example uses jdbc:db2:vnurse
- Type a valid source database user ID and password in the User ID, Password, and Verify password fields. It is required that the same user ID and password
is used for each Sync Server subscription that connects to a single source
database if multiple subscriptions are connecting to the same database.
- Click the Test Connection push button to
test the connection to the JDBC source database.
- ÁÖ:
- If you testing
the connection to a Lotus Domino data source and the connection fails, you
must exit the Mobile Devices Administration Center and restart.
- Click Close.
- On the Mirror page, identify the mirror database that the Sync Server
will use to cache data.
- Click the
push button next to the Database URL field
and select M_VN2 in the Select Mirror Database
window. Click OK.
- Type a valid mirror database user ID and password in the User ID, Password, and Verify password fields. This example uses user ID db2admin.
- Click the Test Connection push button to
test the connection to the JDBC mirror database. Click Close on the DB2 Message.
- Click the Identification tab.
- Select the Define Subscription push button.
The Define Replication Subscription window opens.
- In the Define Replication Subscription window, click Add. The Add Table window opens.
- Identify the tables in the source database whose content will be synchronized.
From the Table list of the Add Table window, select the replication source
to add to this subscription. To change the source filter used to limit the
available tables in the table list, click Filter.
- Select DSYSAMPLE.VNSCHEDULE from the Table list. The Target schema and Target table fields
are automatically completed.
- ÁÖ:
- If you are accessing a Lotus
Domino data source, you must enter a schema name in the Target schema field. DSYSAMPLE.VNSCHEDULE is an example only. The Target
schema field is not automatically complete.
- Optional: If you want to include the constraints and indexes from the
source tables, select Use Constraints defined in DB2 source and Use indexes defined in DB2 source.
- Click Add. Click Close. Return to the Define Replication Subscription window.
- Optional: To add a primary key:
- Highlight one or more tables and click Advanced
.... The Advanced Replication Subscription notebook opens, displaying
the highlighted tables.
- On the Target Columns page, select the checkbox in the Primary key column next to the table that you want to have a primary
key.
- Click OK. Return to the Define Replication
Subscription window.
- Click the Timing push button in the Define
Replication Rubscription window.
- In the Batch Window field, specify the
amount of time, in seconds, to wait before starting replication. For example,
if you type 60, changes will be replicated to the source database after with
intervening intervals of 60 seconds. Click OK.
- Click OK to close the Define Replication
Subscription window.
- Click OK to close the Create JDBC Subscription
notebook. If the OK button is grayed out, all
of the fields have not been filled in correctly.
DB2 Everyplace Sync Server is now configured to synchronize the data in this table
using JDBC. Next you will create a DataPropagator subscription.
Related concepts
Related tasks