Vault replacement idea: Vaultster + a background ftp daemon
Posted: Mon Dec 10, 2007 7:50 am
Just thought about this possibility for replacing the current vault system after reading the notes about patch 1.12 that Wynna posted.
We could use something similar to Vaultster (might be what goes in 1.12).
Here is how it worked in NWN1: when you portal from one server to another, vaulster first uploads your bic file to the destination server and then your PC portals.
The problem is that your bic file is only on one server, therefore if the server goes down you cannot play.
The solution I thought about is: on every server we have a background ftp daemon (that's a server software that runs all the time) that regularly (maybe each hour or few hours) uploads the locally modified bic files to a ftp server (this could be the current vault computer).
In this way, if the server goes down we have a backup copy of every PC and can manually transmit them to another server.
This last operation could even be automated through a PHP interface. Ie Joe the player connects on a website and ask his PC to be transmitted to the ALFA2 X server. The websites checks that his current server is down and that server X is a neighbor and pushes the bic file to the server using the above mentioned daemon.
This last part is a bit more complex so not sure about this.
Any advice ?
We could use something similar to Vaultster (might be what goes in 1.12).
Here is how it worked in NWN1: when you portal from one server to another, vaulster first uploads your bic file to the destination server and then your PC portals.
The problem is that your bic file is only on one server, therefore if the server goes down you cannot play.
The solution I thought about is: on every server we have a background ftp daemon (that's a server software that runs all the time) that regularly (maybe each hour or few hours) uploads the locally modified bic files to a ftp server (this could be the current vault computer).
In this way, if the server goes down we have a backup copy of every PC and can manually transmit them to another server.
This last operation could even be automated through a PHP interface. Ie Joe the player connects on a website and ask his PC to be transmitted to the ALFA2 X server. The websites checks that his current server is down and that server X is a neighbor and pushes the bic file to the server using the above mentioned daemon.
This last part is a bit more complex so not sure about this.
Any advice ?