We currently run SQL Anywhere 11 with mirroring (HA) under Linux for our Production environment. Due to increasing growth of our databases, we have purchased a new SAN and will be migrating the databases to it once installation is complete. This SAN at our data center site will match the SAN at our HQ and it will (reportedly) provide storage replication between the two. I was considering the idea of changing the database to stand-alone mode (breaking the mirror) since when we move to the SAN both copies of the db would be stored on the SAN anyway and be replicated. Since the db data will be replicated, I guess the remaining risk is hardware failure of the db server itself. If that happens the secondary db server could be used as a hot spare. If any have opinions on pros/cons or similar experiences, I would love to hear them. This is all new territory for us. Thanks.

asked 10 Nov '10, 23:46

ScottN's gravatar image

ScottN
81223
accept rate: 0%

edited 15 Mar '13, 21:43

Mark%20Culp's gravatar image

Mark Culp
24.9k10139297


In addition to what Tyson said, if you want to rely on SAN replication then you must test failover to make sure that the replicated database and log files can actually be started successfully with no loss of committed transactions... using your SAN environment... and that this testing must be repeated every time the SAN software and/or hardware is changed or upgraded.

Also, neither SAN replication nor HA are a substitute for a backup and recovery plan.

One thing you might investigate: The SAN vendor may not have any experience with SQL Anywhere databases, but check for their experience with Oracle, Microsoft SQL Server, etcetera, to see if any special accomodations are required, any special "replication agents" or modules or whatever. If such special thingies are required, then they probably do not exist for SQL Anywhere, and SAN replication will not work for SQL Anywhere.

permanent link

answered 11 Nov '10, 09:22

Breck%20Carter's gravatar image

Breck Carter
32.5k5417261050
accept rate: 20%

One thing that HA protects from is software failure of the database server. If an assertion happens and the process has to terminate, you might not want to replicate that data, but start with previous transactions that SQL Anywhere has already safely committed and replicated. You wouldn't want the database that failed an assertion to be replicated, because the replicated copy could quite possibly fail the assertion as well.

permanent link

answered 11 Nov '10, 01:58

Tyson%20Lewis's gravatar image

Tyson Lewis
2.2k1641
accept rate: 22%

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:

×84
×61
×60
×32
×4

question asked: 10 Nov '10, 23:46

question was seen: 6,671 times

last updated: 15 Mar '13, 21:43