Line 9: Line 9:
 
<big>Requirements to install a shard (for a comfortable use):</big>
 
<big>Requirements to install a shard (for a comfortable use):</big>
  
 +
* Choose a name for the shard (Arme/Atys, Yubo, Gingo, Rendor are already used). We call it on this doc the SHARDNAME
 
* Have a hardware with at least 8 cores with +3Ghz and 16Go of ram
 
* Have a hardware with at least 8 cores with +3Ghz and 16Go of ram
 
* Have at least 100Go of disk space (no matter SSD or not)
 
* Have at least 100Go of disk space (no matter SSD or not)
Line 26: Line 27:
 
echo "master: cloud.ryzom.com" > /etc/salt/minion
 
echo "master: cloud.ryzom.com" > /etc/salt/minion
 
</pre>
 
</pre>
* Edit /etc/salt/minion_id and change the name of Minion (use single name like Atys, Yubo, ...)
+
* Edit /etc/salt/minion_id and change the name of Minion to SHARDNAME
 
* Restart the service:
 
* Restart the service:
 
<pre>systemctl restart salt-minion</pre>
 
<pre>systemctl restart salt-minion</pre>
Line 43: Line 44:
 
To init the shard, run:
 
To init the shard, run:
 
<pre>
 
<pre>
sudo sh /home/data/monitoring/salt/files/init_minions.sh
+
sudo sh /home/data/monitoring/salt/files/init_minions.sh SHARDNAME
 
</pre>
 
</pre>

Revision as of 18:52, 11 July 2025

⚠️ This Documentation only applies to Shards to be added to Ryzom network. ⚠️

So no require Database and some ports must be opened to Ryzom Servers.

Up a fully independent shard can probably be done using https://wiki.ryzom.dev/ doc


Requirements to install a shard (for a comfortable use):

STEP 1 : Install Salt Minion

# Ensure keyrings dir exists
mkdir -p /etc/apt/keyrings
# Download public key
curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | sudo tee /etc/apt/keyrings/salt-archive-keyring.pgp
# Create apt repo target configuration
curl -fsSL https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources | sudo tee /etc/apt/sources.list.d/salt.sources
apt install salt-minion
echo "master: cloud.ryzom.com" > /etc/salt/minion
systemctl restart salt-minion
salt-key -A
# If all works correctly, You will show you minion and can accept it
salt '*' test.version

STEP 2 : Run salt init

The salt master are installed in cloud.ryzom.com, so all commands must be run on this server. To init the shard, run:

sudo sh /home/data/monitoring/salt/files/init_minions.sh SHARDNAME
Retrieved from "https://en.wiki.ryzom.com/w/index.php?title=Portal:Forge/ShardInstall&oldid=53819"