This lesson assumes you have completed all preceding lessons. See Lesson 1: Designing the schemas.
The Deploy Synchronization Model Wizard allows you to deploy the consolidated database and remote database. You can deploy each database individually or both of them together. The Deploy Synchronization Model Wizard takes you through the steps of configuring options for deployment.
In the left pane of Sybase Central under MobiLink 12, expand mlsqla_project, Synchronization Models, sync_mlsqla.
Click File » Deploy.
The Deploy Synchronization Model Wizard appears.
Click Specify The Deployment Details For One Or More Of The Following and choose Consolidated Database, Remote Database And Synchronization Client, and MobiLink Server. Click Next.
Perform the following tasks on the Consolidated Database Deployment Destination page:
Select Save Changes To The Following SQL File and accept the default location for the file.
MobiLink generates a .sql file that makes changes to the consolidated database to set up synchronization. You can examine the .sql file later and make your own changes. Then, you must run the .sql file.
Immediately apply the changes to the consolidated database.
Select Connect To The Consolidated Database To Directly Apply The Changes.
Select the demo consolidated database from the list.
A prompt appears asking if you want to create the consolidated directory. Click Yes.
Click New UltraLite Database, and click Next.
Perform the following tasks on the New UltraLite Remote Database page:
Select the Make A Command File And A SQL File With Commands To Create The Database option.
Selecting this option generates another .sql file with the commands to set up the remote database with all schema and synchronization information.
Accept the default location in the SQL File field.
Select the Create A Remote UltraLite Database option.
You must generate a new remote database, and run the .sql file against it. This option allows you to examine the .sql file later and make your own changes.
Accept the default location in the UltraLite Database File field.
A prompt appears asking if you want to create the remote directory. Click Yes.
Perform the following tasks on the MobiLink User And Synchronization Profile page:
In the What User Name Do You Want To Use For Connecting To The MobiLink Server field, type mlsqla_remote.
In the What Password Do You Want To Use field, type mlsqla_pass.
Change the synchronization profile name to mlsqla_remote_syncprofile.
Click TCP/IP and type 2439 in the Port field. Click Next.
Type localhost in the Host field. Click Next.
Alternatively, you can type your computer name or IP address, the name or IP address of another network server you want to use, or other client stream options.
Click Next on the Client Stream Parameters, MobiLink Server Stream Parameters, and Verbosity For MobiLink Server pages to accept all of the default settings.
Type mlsqla_mlsrv in the What Name Do You Want To Give The MobiLink Server field. Click Next.
A message appears asking if you want to create the mlsrv directory. Click Yes.
Your consolidated database is configured for synchronization with many remote clients, and you have successfully deployed one remote client. If you want to deploy other remote clients, you can run this wizard again, making sure to create a new MobiLink user and opting out of deploying the consolidated database and MobiLink server. Since the consolidated and remote databases have already been deployed, all you need to do is deploy other remote synchronization clients.
Proceed to Lesson 5: Starting the MobiLink server.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|