dbTalk Databases Forums  

mirroring problem

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss mirroring problem in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alex
 
Posts: n/a

Default mirroring problem - 10-08-2009 , 03:41 AM






SQL Anywhere Network Server Version 11.0.1.2044
linux

going trough manual

1. start arbiter
dbsrv11 -x tcpip(PORT=2639) -su sql -n arbiter -xa
auth=abc;DBN=demo -xf /Z/ARB/arbiterstate.txt -ud

everything ok here

2. start server #1 with using demo.db from the
installation
dbsrv11 -n server1 -x tcpip\(PORT=2638\) -xf
/Z/S1/server1state.txt -su sql /Z/S1/demo.db -sn mirrordemo
-xp
"partner=\(ENG=server2;LINKS=tcpip\(PORT=2637;TIME OUT=1\)\);auth=abc;
arbiter=\(ENG=arbiter;LINKS=tcpip\(PORT=2639;TIMEO UT=1\)\);mode=sync"


response:
Error in command near "xp"

what is wrong here?

Reply With Quote
  #2  
Old   
Ray Ruvinskiy [Sybase iAnywhere]
 
Posts: n/a

Default Re: mirroring problem - 10-08-2009 , 07:44 AM






Hi Alex,

If you're quoting the argument to -xp, you don't need to escape the parentheses. (And if you weren't quoting it, you would also need to escape the semicolon.)

Ray

Alex wrote:
Quote:
SQL Anywhere Network Server Version 11.0.1.2044
linux

going trough manual

1. start arbiter
dbsrv11 -x tcpip(PORT=2639) -su sql -n arbiter -xa
auth=abc;DBN=demo -xf /Z/ARB/arbiterstate.txt -ud

everything ok here

2. start server #1 with using demo.db from the
installation
dbsrv11 -n server1 -x tcpip\(PORT=2638\) -xf
/Z/S1/server1state.txt -su sql /Z/S1/demo.db -sn mirrordemo
-xp
"partner=\(ENG=server2;LINKS=tcpip\(PORT=2637;TIME OUT=1\)\);auth=abc;
arbiter=\(ENG=arbiter;LINKS=tcpip\(PORT=2639;TIMEO UT=1\)\);mode=sync"


response:
Error in command near "xp"

what is wrong here?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.