Chapter 11 Setting Up a Mobile Intranet


Replicating a Web site

To replicate a Web site you need to make the database tables containing the Web site information available as a SQL Remote publication, they ensure that users have subscriptions to both the publication and the relevant data referred to in the templates.

You can use Sybase Central to replicate Dynamo Web sites.

To replicate a Web site:

Setting up publications and subscriptions

Publications and subscriptions define the data that is to be replicated, and the locations to where replication occurs.

Steps To subscribe users to your Web site:

  1. Use Sybase Central to connect to the database where the Web site templates and scripts are stored. The connection should be an Adaptive Server Anywhere or Adaptive Server Enterprise connection, rather than a PowerDynamo connection.

  2. Open the SQL Remote folder.

  3. Create a publication containing all the Web tables:



  4. Create subscriptions for users to this publication.


For a full description of how to create publications and subscriptions, see the SQL Remote User's Guide.

Setting up remote users

Once you have defined subscriptions in the central database, you can set up remote machines to handle SQL Remote replication.

Steps To set up remote machines for mobile Intranet use:

  1. Install the necessary software onto the remote user's machine.

  2. Ensure the user is subscribed to the database containing the Web site and the database containing the data accessed by the templates, if it is different.

  3. For the remote user, extract an initial copy of the database or both databases, if they are different.

  4. If necessary, set up the required ODBC data source for the database (or databases) on the remote machine.

  5. Configure the Personal Web Server mappings to point to the correct connection profiles.

  6. Ensure that the Web client can access the Intranet site on the local machine when the Personal Web Server is running.


 


Copyright © 1999 Sybase, Inc. All rights reserved.