Jump to content

Richjfree1

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Richjfree1

  1. On 10/9/2020 at 5:13 PM, Cyd said:

    This will hopefully shed some light on the underside working bits of building a cluster of servers for ARK:SurvivalEvolved.

     

    With the inspiration (read thievery) from @growlith I present the A3C (ARK Cluster Companion Container). It and the accompanying XLM files should allow for a fairly simple stand up of a new ARK server cluster.

     

    https://github.com/CydFSA/A3C

     

    Go to the github, fetch the XMLs for however many servers you want to use in your new cluster, salt them to taste with your information (server names, cluster name, passwords, adminpasswords, ect...). 

     

    Good Luck and Happy Hunting!

     

    historical information left below (really go get the newer stuff from github)

    ------------------------------

    We are going to start with getting -UseDynamicConfig working and talking to our config file rather than the Official one out at http://arkdedicated.com/dynamicconfig.ini , I know it feels like that should come last but bear with me.


    First we have a simple http server running by itself serving up the "dynamicconfig.ini" on port 80 on its container, this is mapped out to the host on 8080 and is not really needed but makes it easy to take a quick glance at tower:8080 to see what the settings are. I ran this container first so that it would receive a predictable IP address (172.17.0.2:80) that is then used in the configurations of the remaining containers to add an entry to the hosts file (--add-host=arkdedicated.com:172.17.0.2) so that requests to http://arkdedicated.com/dynamicconfig.ini in the game servers are pointed to the container running at 172.17.0.2. If you don't want or care to use the dynamic configs, omit the ARK0 container and remove -UseDynamicConfig from the "Extra Game Parameters" of all subsequent ARK's you deploy. 

     

    Next I deployed 10 ARK server instances, why 10 when there are only 9 maps? Well, I assume that Wild card will have another map for Genesis Part 2 coming in the spring so I added a container to house it, currently it is configured as a 2nd Genesis1 map with all the correct ports and paths. If they do release a new map it will only require changing the map name in the config and starting the container.

     

    The ports are mapped sequentially so you will only need to insert three port forward blocks into your gateway router (UDP 7777-7796, UDP 27015-27024, TCP 27025-27034) You do not need anything forwarded to ARK0 as it is only there to talk to ARKs 1-10.

     

    ARK0-dynamicconfig        tcp     80:8080
    ARK1-TheIsland            Udp1 7777    UDP2 7778    UDPSteam 27015    TCPRCON 27025
    ARK2-ScorchedEarth_P    Udp1 7779    UDP2 7780    UDPSteam 27016    TCPRCON 27026
    ARK3-Aberration_P        Udp1 7781    UDP2 7782    UDPSteam 27017    TCPRCON 27027
    ARK4-TheCenter            Udp1 7783    UDP2 7784    UDPSteam 27018    TCPRCON 27028
    ARK5-Ragnarok            Udp1 7785    UDP2 7786    UDPSteam 27019    TCPRCON 27029
    ARK6-Valguero_P            Udp1 7787    UDP2 7788    UDPSteam 27020    TCPRCON 27030
    ARK7-CrystalIsles        Udp1 7789    UDP2 7790    UDPSteam 27021    TCPRCON 27031
    ARK8-Extinction            Udp1 7791    UDP2 7792    UDPSteam 27022    TCPRCON 27032
    ARK9-Genesis            Udp1 7793    UDP2 7794    UDPSteam 27023    TCPRCON 27033
    ARK10-Genesis2            Udp1 7795    UDP2 7796    UDPSteam 27024    TCPRCON 27034

     

    Path mappings are slightly more complex. SteamCMD is in its original location per @ich777's standard and the binary data for ARK is also in the default location. Having the server binaries shared also means that when there is an update to ARK (and/or SteamCMD) it only has to be downloaded one time rather than 10. The update procedure is to bring all of the ARKs down then start ARK1 let it update and initialize then bring the others back up en mass, as a precaution I have the wait timer on ARKs 2-10 set to 600 seconds so that if the Tower host gets rebooted ARK1 has time to pull any updates and initialize. The ARK savegame data and Server Config files are mapped into the proper location on a per container basis. This prevents each server instance from mucking up the servers config .inis (which they liked to do), this also means that you can use different options on each ark and makes managing the SavedArks less hair pully outy. The clustering function is done with a shared resource directory and a ClusterID (-clusterid=arkStar under "Extra Game Parameters") 

     

    Dynamiccimfig data:
    /dynamicconfig<>/mnt/cache/appdata/ark-se/dynamicconfig

     

    SteamCMD:
    /serverdata/steamcmd<>/mnt/user/appdata/steamcmd

     

    ARK data:
    /serverdata/serverfiles<>/mnt/cache/appdata/ark-se

     

    Cross ARK cluster data:
    /serverdata/serverfiles/clusterfiles<>/mnt/cache/appdata/ark-se/cluster

     

    ARK configs and Save Data:
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK1-TheIsland
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK2-ScorchedEarth_P
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK3-Aberration
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK4-TheCenter
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK5-Ragnarok
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK6-Valguero_P
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK7-CrystalIsles
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK8-Extinction
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK9-Genesis
    /serverdata/serverfiles/ShooterGame/Saved<>/mnt/cache/appdata/ark-se/ARK10-Genesis2

     

    The XML files are attached below, if you chose to use them please make sure to edit them to your taste; server names, passwords, clusterIDs, ect. They can be used by placing them in /boot/config/plugins/dockerMan/templates-user then going to "Docker/Add Container" then choosing from the "Template:" drop down.

     

    Or maybe @ich777 will do us all a favor and decide to add them to his already impressive XML collection  ;)  

     

     

     

    ARKcluster.jpg

     

    I'm looking for suggestion on what my problem is. I have recently re-deployed my cluster using this guide. This is amazing work, and I am so grateful for it. What a time saver this Will/Would be.... this is where i could use some help. see the output below from A3C. The Local Version is greater than the one reported by the API. also Mods are not updating, I have had to update them manually. I would love to hear your suggestions. Thank you in advance.

     

    Update Checked At: 29/04/2021 22:51:26
    local version: 327.8 arkdedicated version: 326.13
    Mod Ids to check: ['839162288', '1315573129', '899987403', '1681125667', '2200048898', '902157012', '761535755', '731604991', '905971515', '821530042', '816908578', '1609138312', '2135314513', '898049820', '1404697612', '889745138', '756389708', '1814953878']
    Mod "Primal Fear" ID 839162288 updated locally 1619651072.9178843 remote 1602542052. Requires Update: False
    Mod "Primal Fear Aberration Expansion" ID 1315573129 updated locally 1619651073.5418887 remote 1538841359. Requires Update: False
    Mod "Primal Fear Boss Expansion" ID 899987403 updated locally 1619651081.7849479 remote 1570545692. Requires Update: False
    Mod "Primal Fear Extinction Expansion" ID 1681125667 updated locally 1619651082.948956 remote 1561175829. Requires Update: False
    Mod "Primal Fear Genesis Expansion" ID 2200048898 updated locally 1619651083.7029614 remote 1597768923. Requires Update: False
    Mod "Primal Fear Scorched Earth Expansion" ID 902157012 updated locally 1619651084.4639668 remote 1597511307. Requires Update: False
    Mod "Ultra Stacks" ID 761535755 updated locally 1619651084.7889693 remote 1598141957. Requires Update: False
    Mod "Structures Plus (Open Source)" ID 731604991 updated locally 1619651087.542989 remote 1615515196. Requires Update: False
    Mod "Randomly Colored Dinos" ID 905971515 updated locally 1619651087.5569892 remote 1494339836. Requires Update: False
    Mod "Upgrade Station v1.8i" ID 821530042 updated locally 1619651089.5620034 remote 1517787644. Requires Update: False
    Mod "eco's Tek Decor" ID 816908578 updated locally 1619651091.6960187 remote 1610556706. Requires Update: False
    Mod "Dino Storage v2" ID 1609138312 updated locally 1619651092.1940222 remote 1619629676. Requires Update: False
    Mod "Crystal Isles Dino Addition" ID 2135314513 updated locally 1619651096.905056 remote 1614996923. Requires Update: False
    Mod "Auction House v3.2.1b" ID 898049820 updated locally 1619651097.9400635 remote 1599085810. Requires Update: False
    Mod "Awesome SpyGlass!" ID 1404697612 updated locally 1619651098.016064 remote 1593646441. Requires Update: False
    Mod "Awesome Teleporters!" ID 889745138 updated locally 1619651098.2890658 remote 1597700547. Requires Update: False
    Mod "Builder's Helmet" ID 756389708 updated locally 1619651098.3340662 remote 1548153618. Requires Update: False
    Mod "Castles, Keeps, and Forts: Remastered" ID 1814953878 updated locally 1619651104.730112 remote 1582927914. Requires Update: False
    0 mods updated

  2. Sorry, no dice. see below

     

     

    Linux 4.18.20-unRAID.
    Last login: Wed May 15 19:51:03 -0500 2019 on /dev/pts/0.
    root@UNRAID:~# hdparm -W 1 /dev/sdh

    /dev/sdh:
     setting drive write-caching to 1 (on)
     write-caching =  1 (on)
    root@UNRAID:~# hdparm -W 1 /dev/sdi

    /dev/sdi:
     setting drive write-caching to 1 (on)
     write-caching =  1 (on)
    root@UNRAID:~# hdparm -W 1 /dev/sdj

    /dev/sdj:
     setting drive write-caching to 1 (on)
     write-caching =  1 (on)
    root@UNRAID:~# hdparm -W 1 /dev/sdk

    /dev/sdk:
     setting drive write-caching to 1 (on)
     write-caching =  1 (on)
    root@UNRAID:~# hdparm -W 1 /dev/sdg

    /dev/sdg:
     setting drive write-caching to 1 (on)
     write-caching =  1 (on)
    root@UNRAID:~#

  3. I just updated FCP, and started getting this warning, Diagnostics attached

     

    Write Cache is disabled on disk1You may experience slow read/writes to disk1. Write Cache should be enabled for better results. Post your diagnostics for other users to confirm this test and advise

    Write Cache is disabled on disk2You may experience slow read/writes to disk2. Write Cache should be enabled for better results. Post your diagnostics for other users to confirm this test and advise

    Write Cache is disabled on disk3You may experience slow read/writes to disk3. Write Cache should be enabled for better results. Post your diagnostics for other users to confirm this test and adviseunraid-diagnostics-20190515-1942.zip

  4. OK, I have one of these in my cache pool. it is was less than one week old when I began receiving the notifications...I pulled the drive and connected it to a windows machine to update the firmware after reading this thread. only to find that it has the current M3CR0023 firmware. I have disabled notifications of attribute 197 as suggested in this post... I probably can return the drive to amazon since it is so new, but I don't want to bother if there is no consequence. anyone have a recommendation?

     

×
×
  • Create New...