Shared state mode is a feature of the MobiLink high availability option, which requires a separate license. See Separately licensed components.
A MobiLink server farm is an environment where there is more than one MobiLink server synchronizing the same set of remote databases with the same consolidated database. This is often required for large scale deployments or for fail-over capability. These MobiLink server farm deployments require MobiLink to run in shared state mode and may require the use of the relay server if an HTTP communication link is used. For TCP based streams, a TCP load balancer should work. When using multiple servers, restartable download does not work.
MobiLink does not run with shared server state by default.
To enable shared server state
Give each MobiLink server a unique name using the -zs command line option. These names are used to manage the state of the farm in the consolidated database. See -zs option.
Use the -ss option to start MobiLink in shared server state mode. If this option is set, MobiLink server prints the following
message to the log at startup: This server is using shared server state for resource locking
. See -ss option.
If you are using the notifier with Server Initiated Sync, use the -lsc option to specify the local server connect settings.
These settings are passed to the other servers in the farm so that they can connect to each other to share the handling of
notifications. For example, if running on host farm_host22: mlsrv11 -x tcpip(port=3245) -zs -ss server5 -lsc tcpip(host=farm_host22;port=3245) -c ...
If you are not using the notifier you don't need the -lsc option.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |