Tuning Replication

Tune your production environment after all components have been deployed and started.

  1. Isolate the monitoring and domain logging databases from the cache server.
    This isolation only needed if you are using monitoring and domain logging in the production system, and want to reduce any database or storage contention. See Isolating the Monitoring and Domain Logging Databases from Cache and Messaging Databases.
  2. Disable all enabled monitoring profiles that currently exist.
    Normally, monitoring in a cluster configuration occurs at two levels — the cluster and the domain. Sybase recommends that you turn off monitoring when assessing performance.
    1. In navigation pane of Sybase Control Center, click Monitoring.
    2. In the administration pane, select the profile name and click Disable.
    3. Validate that all monitoring is disabled by opening <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\Repository\Instance\com\sybase\sup\server\monitoring\ MonitoringConfiguration\domainLogging.properties, and verifying that “status”, “enabled”, and “autoStart” are set to false.
    See Monitoring Profiles in the Sybase Control Center online help.
  3. In Sybase Control Center, stop all Unwired Servers in all clusters.
  4. Stop the cache service on the data tier node.
  5. Use the dblog utility to isolate the cache disk and log on to fast storage.
    For details, see Using a Different Database and Log Path.
  6. Set the new cache thread count, pool size, and initial cache size.
    See Changing the Cache Database Server Thread Count and Pool Size.
  7. Restart the cache service and all Unwired Servers.
  8. In Sybase Control Center, adjust the EIS connection pools to high values:
    1. In navigation pane of Sybase Control Center, click Connections.
    2. In the administration pane, set the Max Pool Size property for each EIS connection type.
      If the Max Pool Size property does not appear for a connection, you must manually add it.
  9. In Sybase Control Center, update the Unwired Server replication synchronization properties on the primary server.
    1. In the left navigation pane, click Servers>SeverName>Server Configuration.
    2. In the right administration pane, click the Replication tab.
  10. In Sybase Control Center, set thread stack size and JVM heap sizes for the server.
    1. In the left navigation pane, click Servers>SeverName>Server Configuration.
    2. In the right administration pane, click the General tab then click Performance Configuration.
    3. Adjust the thread stack size and JVM heap sizes to the new values.
    4. Repeat for all servers.
  11. Restart all Unwired Servers.