Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Database Server Software > Sybase

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 06:01 PM
Joe Weinstein
 
Posts: n/a
Default Does Sybase have something like Oracle's RAC for hot failover?

Hi all.
Does Sybase have something like Oracle's RAC,
perhaps with dual-ported disks, so that if a
main DBMS goes down, a hot standby is immediately
ready to take the same traffic, and has quick
access to the same data, including in-doubt
(prepared) XA transactions?

Thanks,
Joe Weinstein at BEA Systems

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 06:01 PM
Jack
 
Posts: n/a
Default Re: Does Sybase have something like Oracle's RAC for hot failover?

Sybase does have a High Availibility solution that works in conjunction
with the OS solution. So if one of your machines goes down, you have
another one available at the same instant.

Check out this document ....

http://www.sybase.com/detail?id=1019940

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 06:02 PM
DA Morgan
 
Posts: n/a
Default Re: Does Sybase have something like Oracle's RAC for hot failover?

Joe Weinstein wrote:
> Hi all.
> Does Sybase have something like Oracle's RAC,
> perhaps with dual-ported disks, so that if a
> main DBMS goes down, a hot standby is immediately
> ready to take the same traffic, and has quick
> access to the same data, including in-doubt
> (prepared) XA transactions?
>
> Thanks,
> Joe Weinstein at BEA Systems


No.
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 06:02 PM
Rob Verschoor
 
Posts: n/a
Default Re: Does Sybase have something like Oracle's RAC for hot failover?

Sybase currently has active-active failover with its HA solution for ASE,
which does pretty much what you describe/
ASE's 'Shared disk clusters' version is one (big) step further and that's in
the works -- expected next year.

HTH,

Rob
-------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0
and Replication Server 12.5 / TeamSybase

Author of Sybase books (order online at www.sypron.nl/shop):
"Tips, Tricks & Recipes for Sybase ASE"
"The Complete Sybase Replication Server Quick Reference Guide"
"The Complete Sybase ASE Quick Reference Guide"

mailto:rob@YOUR.SPAM.sypron.nl.NOT.FOR.ME
http://www.sypron.nl
Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands
-------------------------------------------------------------

"Joe Weinstein" <joeNOSPAM@bea.com> wrote in message
news:430226bb$1@news.beasys.com...
> Hi all.
> Does Sybase have something like Oracle's RAC,
> perhaps with dual-ported disks, so that if a
> main DBMS goes down, a hot standby is immediately
> ready to take the same traffic, and has quick
> access to the same data, including in-doubt
> (prepared) XA transactions?
>
> Thanks,
> Joe Weinstein at BEA Systems
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 06:02 PM
DA Morgan
 
Posts: n/a
Default Re: Does Sybase have something like Oracle's RAC for hot failover?

Rob Verschoor wrote:
> Sybase currently has active-active failover with its HA solution for ASE,
> which does pretty much what you describe/
> ASE's 'Shared disk clusters' version is one (big) step further and that's in
> the works -- expected next year.
>
> HTH,
>
> Rob
> -------------------------------------------------------------
> Rob Verschoor


RAC is not a Sybase like HA failover and there is no relationship
between the Sybase capability and that of Oracle's RAC. Sybase HA
failover is more equivalent to Oracle's DataGuard failover.

With the Sybase solution you do not have shared-everything. With
Sybase you do not have load balancing. With Sybase there is a
primary node and the balance are secondary. With Oracle that concept
does not exist. All nodes stand on a equal footing.

With Sybase, after failover, all existing client connections are lost.
With Oracle all existing client connections are maintained. The end-user
experience is seemless with a DML statement restarted on another live
node.

HTH
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-08-2008, 06:02 PM
Rob Verschoor
 
Posts: n/a
Default Re: Does Sybase have something like Oracle's RAC for hot failover?



"DA Morgan" <damorgan@psoug.org> wrote in message
news:1125189604.369503@yasure...
> Rob Verschoor wrote:
> > Sybase currently has active-active failover with its HA solution for

ASE,
> > which does pretty much what you describe/
> > ASE's 'Shared disk clusters' version is one (big) step further and

that's in
> > the works -- expected next year.
> >
> > HTH,
> >
> > Rob
> > -------------------------------------------------------------
> > Rob Verschoor

>
> RAC is not a Sybase like HA failover and there is no relationship
> between the Sybase capability and that of Oracle's RAC. Sybase HA
> failover is more equivalent to Oracle's DataGuard failover.
>
> With the Sybase solution you do not have shared-everything. With
> Sybase you do not have load balancing. With Sybase there is a
> primary node and the balance are secondary. With Oracle that concept
> does not exist. All nodes stand on a equal footing.
>
> With Sybase, after failover, all existing client connections are lost.
> With Oracle all existing client connections are maintained. The end-user
> experience is seemless with a DML statement restarted on another live
> node.
>
> HTH
> --
> Daniel A. Morgan
> http://www.psoug.org
> damorgan@x.washington.edu
> (replace x with u to respond)



As I said, ASE's 'Shared disk clusters' are in the works. This is a 'shared
everything' architecture, much like Oracle's RAC.

Rob V.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-08-2008, 06:02 PM
Joe Weinstein
 
Posts: n/a
Default Re: Does Sybase have something like Oracle's RAC for hot failover?



DA Morgan wrote:

> Rob Verschoor wrote:
>
>> Sybase currently has active-active failover with its HA solution for ASE,
>> which does pretty much what you describe/
>> ASE's 'Shared disk clusters' version is one (big) step further and
>> that's in
>> the works -- expected next year.
>>
>> HTH,
>>
>> Rob
>> -------------------------------------------------------------
>> Rob Verschoor

>
>
> RAC is not a Sybase like HA failover and there is no relationship
> between the Sybase capability and that of Oracle's RAC. Sybase HA
> failover is more equivalent to Oracle's DataGuard failover.
>
> With the Sybase solution you do not have shared-everything. With
> Sybase you do not have load balancing. With Sybase there is a
> primary node and the balance are secondary. With Oracle that concept
> does not exist. All nodes stand on a equal footing.
>
> With Sybase, after failover, all existing client connections are lost.
> With Oracle all existing client connections are maintained. The end-user
> experience is seemless with a DML statement restarted on another live
> node.


I undertand now that RAC != Sybase HA (yet). However RAC is not nirvana,
and the above seems to confuse/co-mingle Oracle RAC with Oracle TAF.
With RAC alone, connections to a failing RAC node are simply dead.
There is a connect-time option for the Oracle client code to try
a named series of RAC nodes to find on that is currently running,
(failover and/or load-balancing). When a RAC conneciton dies, any
ongoing local transaction or global transaction that has not yet reached
the prepared state is gone. Transactions in the prepared state will
be known to other nodes, so these can be completed according to XA
during recovery (needed because of the failure of the original connection).
However, there are bugs and problems: These in-doubt transactions will
not be known *and in a recoverable state* for upwards of a minute, during
which time, Oracle will return these TX IDs to the coordinator, but
if the coordinator then says to commit/roll back these IDs, the DBMS
will send failures. This is worked around by retrying the resolution
calls for a while. Also, in a wierd turn-about, Oracle uses PAGE_LEVEL
LOCKING like old Sybase! All data that is (must be) locked regarding these
in-doubt transactions is locked in pages, which also locks logically
unrelated data, so until these in-doubt transactions are resolved,
Oracle will fail other new unrelated transactions!
TAF is different. It is "Transparent Application Failover", and
purports to make connections failover in-flight, so applications
can just continue to do their work. This is a noble goal, but TAF is
a cynical misnomer for most real clients. Below is a link to
Oracle documents which partially admits to the computational and
session state that is lost over the 'transparent failover', which
boils down to a connection which can be worse than useless for anything
but read-only applications. In the case of JDBC clients, all
existing prepared statements are dead, all packages are wiped clean,
current queries may be corrupted, and all user-set session state is
gone. In the case of some ongoing query-data reading, Oracle will try
to re-establish the cursor state so the results can keep coming, but it
does so by re-querying and stepping through the data *by row count* to
get the cursor back to the same place. In cases where the data
is different in the new node (such as the query including data that
the user had not yet committed in the previous state of the pre-prepared
transaction), the new cursor will be at the wrong place...

(http://metalink.oracle.com/metalink/...p_id= 97926.1)



5.1.3 TAF - SESSION state after failing over


If a session fails over to the BACKUP then there are some important restrictions on statements either in progress at the time of
fail-over, or statements issued after the failover. These restrictions are documented in the Oracle8i documentation and include:
PL/SQL package state is lost after failover
ALTER SESSION statements are lost
In-progress transactions must be rolled back
Continuing work on existing cursors may raise an error (eg: ORA-25401 "cannot continue fetches")
Failed over selects may take time to re-position (when FAILOVER_TYPE=SELECT)
Failed over selects may raise an error
In the case of instance or node failure there may be a delay before the BACKUP instance can do any user work (due to time taken
for lock remastering and any instance recovery)


>
> HTH


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-08-2008, 06:02 PM
DA Morgan
 
Posts: n/a
Default Re: Does Sybase have something like Oracle's RAC for hot failover?

Comments in-line.

Joe Weinstein wrote:

>> RAC is not a Sybase like HA failover and there is no relationship
>> between the Sybase capability and that of Oracle's RAC. Sybase HA
>> failover is more equivalent to Oracle's DataGuard failover.
>>
>> With the Sybase solution you do not have shared-everything. With
>> Sybase you do not have load balancing. With Sybase there is a
>> primary node and the balance are secondary. With Oracle that concept
>> does not exist. All nodes stand on a equal footing.
>>
>> With Sybase, after failover, all existing client connections are lost.
>> With Oracle all existing client connections are maintained. The end-user
>> experience is seemless with a DML statement restarted on another live
>> node.

>
>
> I undertand now that RAC != Sybase HA (yet).


It would be nice if Sybase offered an equivalent capability.

> However RAC is not nirvana,
> and the above seems to confuse/co-mingle Oracle RAC with Oracle TAF.


Actually not but we'll get there. RAC != TAF. TAF also works with
DataGuard and in other situations as TAF is Net Services.

> With RAC alone, connections to a failing RAC node are simply dead.


Well yeah. If you yank the power cord the node is dead. But the end
user never knows it.

> There is a connect-time option for the Oracle client code to try
> a named series of RAC nodes to find on that is currently running,
> (failover and/or load-balancing). When a RAC conneciton dies, any
> ongoing local transaction or global transaction that has not yet reached
> the prepared state is gone.


Where did you get this misinformation? It is absolutely untrue.

My standard lecture demo of RAC node failure is to live-demo transparent
failover ... transparent means transparent.

> However, there are bugs and problems: These in-doubt transactions will
> not be known *and in a recoverable state* for upwards of a minute,


Sorry but this is pure nonsense. I've never seen a TAF failover take
more than 2 seconds ... generally they are subsecond. I teach RAC
classes and my students generally build 4-8 two node clusters each and
every month. Not once has any one of them ever experienced what you
describe.

> Also, in a wierd turn-about, Oracle uses PAGE_LEVEL
> LOCKING like old Sybase!


You've really got to stop smoking whatever it is you are smoking. To
start with Oracle has no concept of pages ... they are blocks. And
you couldn't lock a block in Oracle by any method short of writing a
program that interrogated the block, determined what rows it contained
and then locked each individual row. Seriously Joe ... where are you
getting this stuff?

> TAF is different. It is "Transparent Application Failover", and
> purports to make connections failover in-flight, so applications
> can just continue to do their work.


Exactly.

> This is a noble goal, but TAF is
> a cynical misnomer for most real clients. Below is a link to
> Oracle documents which partially admits to the computational and
> session state that is lost over the 'transparent failover'
>

http://metalink.oracle.com/metalink/...p_id= 97926.1)


"Admits"? You have misunderstood what you read.

What happens behind the scenes is irrelevant to the end-user experience.
Which is subsecond and truly transparent.
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665