Multi-Server Setup
Overview
NIKI runs independently on each server. Each server needs:
- Its own NIKI installation
- Its own configuration
- Its own bot (recommended) or shared bot with different user IDs
Recommended: Separate Bots
Create a different Telegram bot for each server:
| Server | Bot Name | Bot Username |
|---|---|---|
| HPC | NIKI HPC | @niki_hpc_yourname_bot |
| Workstation | NIKI Lab | @niki_lab_yourname_bot |
| Cloud | NIKI Cloud | @niki_cloud_yourname_bot |
This way, DMs to each bot go to the right server.
Installation on Each Server
# On each serverpip install niki[all]niki config init # Use that server's bot tokenniki daemon startServer Identification
Notifications include the server name:
โ
Training Complete (2h 34m)๐ hpc-cluster โ Server identifier
Loss: 0.0023 | Accuracy: 98.7%Configure the server name in config.toml:
[general]server_name = "hpc-cluster"Cross-Server Queries
When you DM a bot, youโre querying that server. To query another:
- DM the other serverโs bot
- Or use a shared channel (Slack only)
Shared Slack Workspace
For Slack, you can use a single workspace with multiple bots:
# On server 1[notifications.slack]bot_name = "NIKI HPC"
# On server 2[notifications.slack]bot_name = "NIKI Workstation"All notifications go to the same channel/DM, tagged by server.