docker-ark-server icon indicating copy to clipboard operation
docker-ark-server copied to clipboard

Cluster support ?

Open mattiasghodsian opened this issue 2 years ago • 8 comments

mattiasghodsian avatar Apr 24 '22 11:04 mattiasghodsian

Hey @mattiasghodsian,

am I guessing correct, that you want to use a ARK-Cluster in order to share characters over multiple servers/maps?

Hermsi1337 avatar Apr 25 '22 00:04 Hermsi1337

Hey @mattiasghodsian,

am I guessing correct, that you want to use a ARK-Cluster in order to share characters over multiple servers/maps?

yes :)

mattiasghodsian avatar Apr 25 '22 07:04 mattiasghodsian

@mattiasghodsian Add instances to the instance folder under arkmanager and look at arkmanager for how to's on clustering. There is a different repo that has a docker compose for multiple maps, but the main server files are downloaded each time for each map instead of sharing a base.

Mekanation avatar May 13 '22 16:05 Mekanation

@mattiasghodsian Add instances to the instance folder under arkmanager and look at arkmanager for how to's on clustering. There is a different repo that has a docker compose for multiple maps, but the main server files are downloaded each time for each map instead of sharing a base.

Could you throw a link? I'm sure this would be useful for others to know

woeisme avatar Aug 04 '22 15:08 woeisme

@mattiasghodsian Add instances to the instance folder under arkmanager and look at arkmanager for how to's on clustering. There is a different repo that has a docker compose for multiple maps, but the main server files are downloaded each time for each map instead of sharing a base.

Could you throw a link? I'm sure this would be useful for others to know

Found this r15ch13/arkcluster

mattiasghodsian avatar Aug 08 '22 15:08 mattiasghodsian

I'm going to add a "ME TOO" here. Using this image (thank you by the way) to bring up an Ark server, everything appears to be functional (the Steam login stuff has had me stymied for about 24 hours now...just not working. Then, all of a sudden...working).

I've got this updated for Docker Swarm and running as a swarm service (no real changes needed, just a couple updates to the docker-compose file to make it swarm ready and running it through a stack deploy instead of docker-compose). Next order of business should be to add additional containers for each map and get them linked into a cluster.

arkmanager appears to support clustered systems through a unique cluster ID, but the container here has no ability to add a cluster ID. I pulled the Game.ini and GameUserSettings.ini out into a docker config so that it's modifiable outside of the container (configs get mounted into the container at their appropriate places on stack/service load) so I'm going to see about pulling the arkmanager config out as well...that might get me cluster support using these containers...

Still, if there's an easy "modify this file, add this to it" to get cluster support going that'd be IDEAL.

Illydth avatar Dec 24 '22 20:12 Illydth

I'm going to add a "ME TOO" here. Using this image (thank you by the way) to bring up an Ark server, everything appears to be functional (the Steam login stuff has had me stymied for about 24 hours now...just not working. Then, all of a sudden...working).

I've got this updated for Docker Swarm and running as a swarm service (no real changes needed, just a couple updates to the docker-compose file to make it swarm ready and running it through a stack deploy instead of docker-compose). Next order of business should be to add additional containers for each map and get them linked into a cluster.

arkmanager appears to support clustered systems through a unique cluster ID, but the container here has no ability to add a cluster ID. I pulled the Game.ini and GameUserSettings.ini out into a docker config so that it's modifiable outside of the container (configs get mounted into the container at their appropriate places on stack/service load) so I'm going to see about pulling the arkmanager config out as well...that might get me cluster support using these containers...

Still, if there's an easy "modify this file, add this to it" to get cluster support going that'd be IDEAL.

Would you mind sharing your configs for stack deploying this? I've recently taken up learning docker and have been learning portainer the past few days and would like to try and get that working to build up a cluster and wouldn't mind referencing someone elses methods to help guide me. Thanks in advance.

ClintPhelps avatar Jan 06 '23 23:01 ClintPhelps

I'd also love cluster support with this docker container. Trying to reverse engineer what cydfsa did here for ich777's ark-ae server unraid container. https://github.com/CydFSA/A3C

https://github.com/NightDragon1/Ark-docker supports ARKCLUSTERID , but what I like about cydfsa's instrumentation is that it allows server game binary sharing between the instances, and manages updates so that the first instance is the only one that updates before the others who are sharing its server binaries go on with their updates.

gdragon-git avatar Jan 26 '23 05:01 gdragon-git