logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Useful options

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
sintaqx



Joined: 30 Jan 2005
Posts: 5

PostPosted: Sun Jan 30, 2005 5:09    Post subject: Useful options Reply with quote

While discussing the immenent move to using nwnx on a rather large PW (http://www.alandfaraway.org) a couple of items were brought up that would be useful. The ability to define backup databases, a test for the primary database existance/response, and the ability to fail over to a backup database.
Back to top
View user's profile Send private message
DarkstarsDad



Joined: 17 Jan 2005
Posts: 59
Location: Overland Park, Kansas USA

PostPosted: Sun Jan 30, 2005 21:49    Post subject: backup data base. Reply with quote

I just have the db do it for me auto backup and restore from the db itself. i run 2 db and have them cross check between themselves.
Back to top
View user's profile Send private message
sintaqx



Joined: 30 Jan 2005
Posts: 5

PostPosted: Mon Jan 31, 2005 4:54    Post subject: Reply with quote

The big thing that we were looking at is the fail-over to another database. the backup/mirroring is no problem.
Back to top
View user's profile Send private message
DarkstarsDad



Joined: 17 Jan 2005
Posts: 59
Location: Overland Park, Kansas USA

PostPosted: Mon Jan 31, 2005 6:39    Post subject: oops Reply with quote

Sorry misuderstood the question. Embarassed That would need the ability to access multiple db at same time. Interesting concept. Switch in the ini file perhaps? you could modify the source and add redundant check for primary and then log in secondary if needed. Kinda like the port switch.
Back to top
View user's profile Send private message
NoMercy



Joined: 03 Jan 2005
Posts: 123
Location: UK

PostPosted: Mon Jan 31, 2005 15:22    Post subject: Reply with quote

If your on linux using seperate servers or user-mode linux it is a possibility that you can do IP address takeover, so when the first server dies, server 2 asumes server 1's IP address to process it's requests, more details at: http://www.linux-ha.org/.

Only works if the odbc2 plugin auto-reconects when a connection fails, but I would imagine it does, and coding in a backup might be easier than building a server cluster :)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sintaqx



Joined: 30 Jan 2005
Posts: 5

PostPosted: Wed Feb 02, 2005 5:10    Post subject: Reply with quote

We were thinking the easiest thing would be to simply add in some .ini options
BACKUP1=xxx.xxx.xxx.xxx
BACKUP2=xxx.xxx.xxx.xxx
etc.

We may end up writing this into the code anyway, figured others might see some use in it, so it would be nice to have in the 'real thing'. Also, putting it in the code makes it platform independant, a very big thing right now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group