Home > Archive > SQL Anywhere Mobile > June 2005 > How run multiple MobiLink services?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How run multiple MobiLink services?
Sue Klaiber

2005-06-03, 8:24 pm

I have one MobiLink service running on our server, but would
like to set up another one for other users to do some
testing with. Isn't this possible? For some reason, I seem
unable to have 2 MobiLink services "Started" concurrently.
Thanks.
David Fishburn

2005-06-04, 3:23 am

Sue Klaiber wrote in news:42a0cd3e.4d0a.1681692777@sybase.com
of sybase.public.sqlanywhere.mobilink:

SK> I have one MobiLink service running on our server, but would
SK> like to set up another one for other users to do some
SK> testing with. Isn't this possible? For some reason, I seem
SK> unable to have 2 MobiLink services "Started" concurrently.

Each must be on a different port:

dbmlsrv9 -x tcpip(port=2439) ...
dbmlsrv9 -x tcpip(port=60000) ...

Once you change the default port (2439), you must specify which port to
use when you create your synchronization subscription in the remote.
That way it knows which ML server to connect to.

See:
MobiLink Clients
Adaptive Server Anywhere Client Synchronization Parameters
dbmlsync options
dbmlsync extended options
CommunicationAddress
(adr) extended option

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]

Greg Fenton

2005-06-06, 9:24 am

Sue Klaiber wrote:
> I have one MobiLink service running on our server, but would
> like to set up another one for other users to do some
> testing with. Isn't this possible? For some reason, I seem
> unable to have 2 MobiLink services "Started" concurrently.


Along with David's response, realize that if these two ML servers are
connecting to the same consolidated database (using the same user
account/same ML_* tables), then the "test" server will actually be
modifying the "production" data. So you either need a test consolidated
or you need to set up test tables within that same consolidated.

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com