A production SQL Anywhere 12 High Availability exists using the old-school command line methods:

   dbsrv12 ... -xp partner=(eng=xxx;links=tcpip(host=192.168.0.20; ...

Can the new CREATE MIRROR SERVER and SET MIRROR OPTION statements be added to this setup to implement a read-only scale-out copy node?

Or does the existing High Availability setup have to be changed to use the new-school CREATE MIRROR SERVER methods?

asked 06 Jan '15, 14:52

Breck%20Carter's gravatar image

Breck Carter
27.3k424585836
accept rate: 21%

edited 06 Jan '15, 14:53


No, you cannot use -xp specified partners with copy nodes.

What you need to do is:

  1. add CREATE MIRROR SERVER definitions for the partners, primary and arbiter
  2. set any mirror options with the SET MIRROR OPTION statements
  3. restart the partner servers with just -xp on
  4. add the copy nodes

Note that mixing CREATE MIRROR SERVER definitions with old (deprecated) -xp key=value;... definitions can lead to unexpected behavior so they should not be mixed.

permanent link

answered 06 Jan '15, 15:50

Ian%20McHardy's gravatar image

Ian McHardy
2.7k23047
accept rate: 38%

edited 06 Jan '15, 15:52

...and the short answer is, "do not be an early adopter"... sigh :)

(06 Jan '15, 16:05) Breck Carter
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×49

question asked: 06 Jan '15, 14:52

question was seen: 297 times

last updated: 06 Jan '15, 16:52