m |
|||
| Line 13: | Line 13: | ||
* Have at least 100Go of disk space (no matter SSD or not) | * Have at least 100Go of disk space (no matter SSD or not) | ||
* Have a domain name | * Have a domain name | ||
| − | ** ⚠️ Please check the file /etc/hosts. The domain name must be linked to outgoing address | + | ** ⚠️ Please check the file /etc/hosts. The domain name must be linked only to outgoing address (and not 127.0.1.1). Like : <pre>37.187.139.90 gingo.ryzom.com gingo</pre> |
== STEP 1 : Install Salt Minion == | == STEP 1 : Install Salt Minion == | ||
⚠️ 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):
37.187.139.90 gingo.ryzom.com gingo
# 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
To configure a Minion you need to push the changes into https://gitlab.com/ryzomteam/ryzom-salt.git.
The easiest way is to clone an existing file like ryzom-salt/salt/files/grains/servers/gingo and change the required values.
The salt master is installed in cloud.ryzom.com, so all commands must be run on this server. To init the shard, run this command as tools user:
/home/data/monitoring/salt/files/update_minions.sh SHARDNAME