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:
- Define the publications and subscriptions for
the data to be replicated.
- Configure each remote user's
machine for Web site access and SQL Remote replication.
Setting up publications
and subscriptions
Publications and subscriptions define the data
that is to be replicated, and the locations to where replication
occurs.
To subscribe users to your Web site:
-
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.
-
Open the SQL Remote folder.
-
Create a publication containing all the
Web tables:
- WebConnection
- WebData
- WebDocumentType
- WebSynchronize
- WebTemplate
- WebVersion
-
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.
To set up remote machines for mobile Intranet
use:
-
Install the necessary software
onto the remote user's machine.
-
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.
-
For the remote user, extract an initial
copy of the database or both databases, if they are different.
-
If necessary, set up the required ODBC
data source for the database (or databases) on the remote machine.
-
Configure the Personal Web Server mappings
to point to the correct connection profiles.
-
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.
|
|