arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

Question about Updates #1166

Open fusselshu opened 3 years ago

fusselshu commented 3 years ago

Hello there and thanks for this awesome software :D

I just wanted to ask if there is a way to have multiple server update at the same time instead of updating one after another?

For example server 1 updates with a countown of 10 mins and server 2 starts after server 1 is updated and starting. Because we got 8 Servers in our Cluster, it takes quite a long time if all servers are played on :)

What I am asking for is an update process like:

Update is found and triggered, Server 1, 2, 3 etc. start their countdown of 10 mins simultaneously.

Or should I create a separate cronjob for each instance to check for updates? (just came ot my mind)

I hope i was able to explain it undeerstandable? xD

EineWelt commented 3 years ago

The way is one staging dir for all instances, but that doesn't really work good, for the next instance it will shot you "Your server is already up to date!" and the Server is running with the old version. Yes, the alternative way is to make seperate Crontabs per Instance, but I don't know if that really works.

arkmanager update @Service1, arkmanager update @Service2 etc...

fusselshu commented 3 years ago

I am already running the update job with separate cronjobs, without the staging function. It is running fine so far. Well with 1 Cronjob that triggers a batch file. I just had to add a 10sec sleep timer to each command line, so it does not update all 8 servers at once. When i did it without it, i got mod download errors :D