1
Server Support / Symlinks, not write permissions..
« on: Friday, June 07, 2013, 14:16:25 PM »
Hi, I'm an newbie in serveradministration for aa25.
Some of our customers want to host a aa2.5 server. A big problem for me :-(
My Question:
- is there a posibillity to check the version number of the installed server (e.g. network protocol)?
- is there an api to get the current version?
- is there a standalone updater for serverfiles?
The storry behind it:
My problem is, that I've written an updatescript for all of our servers. The scrtipt is searching for games which are distributed from valve over the steam-api for changed version numbers. If a masterserver is outdated, the update is queued. In the next part my script will update our servers. After this the script deploy changed files via rsync over more than 30 hosts.
So, this is the valve world....
We have some other games which need manual updates, Copy files on the imageserver and nothing more. The script runs every 10 minutes, so the manually changed files are deployed also after max 10 minutes.
After I've installed a aa25 server, I've seen that the server itself downloads many things. Good for you, bad for us.
The feature with slave-master server installation is first security and second to save trarffic. It's difference when every customer loads with his single installation for itself updates or if the imageserver deploys the updates in our datacenter to every host. Customer servers can not change thier own files, because they are using the symlinked files from another user.
I've two solutions for this, if there is not another way.
1. Copy all files local from the master to the customer as a single installation (customer useraccount has write permissions to his server)
2. Symlink all files and give the server not write permissions. So I've to start the server manually on the imagesever, which deploys the files, after a mandatory update. I HATE IT DO DO THIS
So, maybe you have an advice for me, how I can manage this.
Some of our customers want to host a aa2.5 server. A big problem for me :-(
My Question:
- is there a posibillity to check the version number of the installed server (e.g. network protocol)?
- is there an api to get the current version?
- is there a standalone updater for serverfiles?
The storry behind it:
My problem is, that I've written an updatescript for all of our servers. The scrtipt is searching for games which are distributed from valve over the steam-api for changed version numbers. If a masterserver is outdated, the update is queued. In the next part my script will update our servers. After this the script deploy changed files via rsync over more than 30 hosts.
So, this is the valve world....
We have some other games which need manual updates, Copy files on the imageserver and nothing more. The script runs every 10 minutes, so the manually changed files are deployed also after max 10 minutes.
After I've installed a aa25 server, I've seen that the server itself downloads many things. Good for you, bad for us.
The feature with slave-master server installation is first security and second to save trarffic. It's difference when every customer loads with his single installation for itself updates or if the imageserver deploys the updates in our datacenter to every host. Customer servers can not change thier own files, because they are using the symlinked files from another user.
I've two solutions for this, if there is not another way.
1. Copy all files local from the master to the customer as a single installation (customer useraccount has write permissions to his server)
2. Symlink all files and give the server not write permissions. So I've to start the server manually on the imagesever, which deploys the files, after a mandatory update. I HATE IT DO DO THIS
So, maybe you have an advice for me, how I can manage this.