dbTalk Databases Forums  

external storage

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


Discuss external storage in the sybase.public.sqlanywhere.general forum.



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

Default external storage - 04-23-2006 , 10:42 AM






If a database and log are kept on external storage (NAS in this case), and
if machine A which normally serves the database runs into problems, can we
bring it down, connect machine B and have it take over?



Reply With Quote
  #2  
Old   
Nick Elson
 
Posts: n/a

Default Re: external storage - 04-24-2006 , 10:02 AM






You will want to refer to this tech. note

http://www.ianywhere.com/developer/t..._remotely.html

It discusses both SAN and NAS and specifically addresses the requirements
for
access to any remotely stored database file. For any of this to work 100%
reliably, we require 100% guarantees. Ideally write-order is maintained and
there is no caching of writes.


"Kjetil Valøy" <kjetil.valoy (AT) iticket (DOT) no> wrote

Quote:
If I have understood it correct SQL Anywhere do NOT support NAS. It does
however sopport SAN.

-- Kjetil --

"P Merritt" <pmerritt (AT) transcendonline (DOT) com> wrote in message
news:444ba04c$1 (AT) forums-1-dub (DOT) ..
If a database and log are kept on external storage (NAS in this case),
and if machine A which normally serves the database runs into problems,
can we bring it down, connect machine B and have it take over?






Reply With Quote
  #3  
Old   
P Merritt
 
Posts: n/a

Default Re: external storage - 04-24-2006 , 01:53 PM



Thanks Nick.. this really helps and leads to a second question:
Assuming the NAS satisfied the conditions in tech note, if the DBMS machine
fails, is there any chance a second DBMS machine could start serving the
database off the NAS (perhaps after running the validity utility to ensure
integrity of data) ?

"Nick Elson" <no_span_nicelson (AT) sybase (DOT) com> wrote

Quote:
You will want to refer to this tech. note


http://www.ianywhere.com/developer/t..._remotely.html

It discusses both SAN and NAS and specifically addresses the requirements
for
access to any remotely stored database file. For any of this to work 100%
reliably, we require 100% guarantees. Ideally write-order is maintained
and
there is no caching of writes.


"Kjetil Valøy" <kjetil.valoy (AT) iticket (DOT) no> wrote in message
news:444be97d$1 (AT) forums-1-dub (DOT) ..
If I have understood it correct SQL Anywhere do NOT support NAS. It does
however sopport SAN.

-- Kjetil --

"P Merritt" <pmerritt (AT) transcendonline (DOT) com> wrote in message
news:444ba04c$1 (AT) forums-1-dub (DOT) ..
If a database and log are kept on external storage (NAS in this case),
and if machine A which normally serves the database runs into problems,
can we bring it down, connect machine B and have it take over?








Reply With Quote
  #4  
Old   
Chris Keating(iAnywhere Solutions)
 
Posts: n/a

Default Re: external storage - 04-24-2006 , 07:22 PM



Yes. You should be able to start the database file using an engine on a
different machine provided that the file locations are consistent i.e.,
the path and file name are consistent on both machines.
--

Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8

************************************************** ***************************
Sign up today for your copy of the SQL Anywhere Studio 9 Developer
Edition =and try out the market-leading database for mobile, embedded
and small to medium sized business environments for free!

http://www.ianywhere.com/promos/deved/index.html

************************************************** ***************************

iAnywhere Solutions http://www.iAnywhere.com

** Please only post to the newsgroup

** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use Case Express to report bugs http://case-express.sybase.com

************************************************** ***************************

Reply With Quote
  #5  
Old   
P Merritt
 
Posts: n/a

Default Re: external storage - 04-25-2006 , 05:17 PM



Really.. are you effectively saying that the database has path and file
names embedded in it? that seems surprising since I've copied databases with
associated transaction logs from one machine to another and never thought
about being sure the machines had the same directory structure..

"Chris Keating(iAnywhere Solutions)"
<NoSpamPlease_k_e_a_t_i_n_g (AT) i_A_n_y_w_h_e_r_e (DOT) com> wrote

Quote:
Yes. You should be able to start the database file using an engine on a
different machine provided that the file locations are consistent i.e.,
the path and file name are consistent on both machines.
--

Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8

************************************************** ***************************
Sign up today for your copy of the SQL Anywhere Studio 9 Developer Edition
=and try out the market-leading database for mobile, embedded and small to
medium sized business environments for free!

http://www.ianywhere.com/promos/deved/index.html

************************************************** ***************************

iAnywhere Solutions http://www.iAnywhere.com

** Please only post to the newsgroup

** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use Case Express to report bugs http://case-express.sybase.com

************************************************** ***************************



Reply With Quote
  #6  
Old   
Jason Hinsperger \(iAnywhere\)
 
Posts: n/a

Default Re: external storage - 04-25-2006 , 05:34 PM



The database embeds log file and dbspace locations in it, but the location
of the database file itself doesn't matter.
The logfile is often specified without a path (which causes the server to
assume it is located in the same directory as the database file), so there
isn't usually a problem in starting the db from another machine.

If the log file is in a different directory than the db file, or you are
using dbspaces, you can fix the locations and get the server up and running.
dblog -t will allow you to change the location of the log file. This will
allow you to start and connect to the database. If you are using dbspaces,
(and they have moved), you can set their location using the ALTER DBSPACE
RENAME statement.

--
Jason Hinsperger
Product Manager
iAnywhere Solutions
************************************************** **********
For the latest downloads technotes, whitepapers, webcasts and other
developer
resources, go to: http://www.ianywhere.com/developer/
************************************************** **********



"P Merritt" <pmerritt (AT) transcendonline (DOT) com> wrote

Quote:
Really.. are you effectively saying that the database has path and file
names embedded in it? that seems surprising since I've copied databases
with associated transaction logs from one machine to another and never
thought about being sure the machines had the same directory structure..

"Chris Keating(iAnywhere Solutions)"
NoSpamPlease_k_e_a_t_i_n_g (AT) i_A_..._r_e (DOT) com> wrote in message
news:444d6bd0$1 (AT) forums-1-dub (DOT) ..
Yes. You should be able to start the database file using an engine on a
different machine provided that the file locations are consistent i.e.,
the path and file name are consistent on both machines.
--

Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8

************************************************** ***************************
Sign up today for your copy of the SQL Anywhere Studio 9 Developer
Edition =and try out the market-leading database for mobile, embedded and
small to medium sized business environments for free!

http://www.ianywhere.com/promos/deved/index.html

************************************************** ***************************

iAnywhere Solutions http://www.iAnywhere.com

** Please only post to the newsgroup

** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use Case Express to report bugs http://case-express.sybase.com

************************************************** ***************************





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.