Ryl2 V2240 Server File Link Guide
# Windows Restart-Service -Name Ryl2V2240
# config.yaml server: http_port: 8080 https_port: 8443 tls: cert_file: /etc/ryl2/certs/server.crt key_file: /etc/ryl2/certs/server.key
# 4. Verify sudo systemctl status ryl2v2240 install.sh also creates a non‑privileged user ryl2svc and a data folder /var/lib/ryl2 . Adjust permissions if you plan to mount a separate storage volume. 5️⃣ Basic Configuration The main configuration file is config.yaml (or config.json if you prefer JSON). A minimal example:
cluster: enabled: true node_id: $HOSTNAME peers: - 10.0.1.11:9000 - 10.0.1.12:9000 Ryl2 V2240 Server File LINK
After editing, reload the service:
Start-Service -Name Ryl2V2240 # 1. Extract sudo tar -xzf Ryl2_V2240_Server.tar.gz -C /opt/ryl2/v2240
rylctl update --auto | Symptom | Likely Cause | Fix | |---------|--------------|-----| | Server fails to start ( exit code 1 ) | Missing .NET runtime / libssl | Install the required runtime ( apt install libssl-dev or dotnet-runtime-7.0 ). | | Ports already in use | Another service bound to 8080/8443 | Change ports in config.yaml and restart. | | TLS handshake errors | Expired or mismatched certificate | Renew the cert, verify cert_file / key_file paths, and ensure the private key matches the cert. | | High latency (> 30 ms) | Insufficient NIC bandwidth or CPU throttling | Move to a dedicated NIC, enable NIC offload, or scale out the cluster. | | Cluster cannot elect a leader | Network partition or mis‑configured peer list | Verify that each node can reach all peers on port 9000 (use telnet / nc ). | | Audit log empty | RBAC disabled or logging level set to error | Enable RBAC and set logging.level to info or debug . | # Windows Restart-Service -Name Ryl2V2240 # config
logging: level: info file: /var/log/ryl2/server.log rotation: daily
# 3. Enable & start sudo systemctl enable ryl2v2240 sudo systemctl start ryl2v2240
| Setting | Recommended value (dev) | Production‑grade | |---------|------------------------|-------------------| | logging.level | debug (while testing) | info or warn | | tls.cert_file / key_file | Self‑signed (via openssl req … ) | Certificates from a trusted CA | | cluster.enabled | false (single‑node) | true + proper peer list | | security.rbac.enabled | false (if you only need basic auth) | true + detailed policy file | 5️⃣ Basic Configuration The main configuration file is
- role: viewer actions: [read] resources: [/api/v1/devices/*]
# 2. Create a systemd unit (install.sh does this automatically) cd /opt/ryl2/v2240 && sudo ./install.sh
security: rbac: enabled: true policy_file: /etc/ryl2/rbac/policy.yaml