Infrastructure Menu
1. Root Servers
Main server configuration for SSH access, command execution, monitoring, and code server management.
Connection Fields
- Server Name - Display name for the server (required, tracked)
- Server IP - IP address (required, tracked)
- SSH Username - Login user (required, default:
root, tracked) - SSH Port - SSH connection port (required, default: 22, tracked)
- Password - SSH password (used if no private key)
- Private Key - RSA private key for SSH authentication
- Sudo - Whether to prepend
sudoto commands (for non-root users, tracked) - Country - Server physical location country
- State - Server physical location state/province
- UUID - Auto-generated unique server identifier (readonly)
- Active - Soft delete flag (default: True)
Server State
Draft → Confirmed → Cancelled
| State | Description |
|---|---|
| Draft | Initial setup, all fields editable |
| Confirmed | SSH connection validated, server ready for use |
| Cancelled | Server disabled |
| Action | Description |
|---|---|
| Confirm | Validate SSH connection and mark as ready |
| Reset to Draft | Return to editable state |
| Cancel | Disable the server (stops monitoring if active) |
Command Execution
- Command - Text box for the command to run via SSH
- Execute Command - Button to run the command
- Command Output - Result of the executed command
Action Log
Every executed command is logged for audit purposes.
- Model Name - Source model (readonly)
- Record ID - Source record (readonly)
- Input Text - Command sent (readonly)
- Output Text - Result received (readonly)
- Action Type - Category:
none,root_server_ssh,root_server_dir_init
Monitoring
Real-time server health monitoring with configurable intervals.
- Monitoring Enabled - Whether monitoring is active (tracked)
- Monitor Update Interval - Data collection frequency:
10s,60s, or120s - Monitor From Date - Monitoring period start filter
- Monitor To Date - Monitoring period end filter
- Monitor Data - Current monitoring snapshot
Monitored Metrics:
| Metric | Description |
|---|---|
| CPU Usage | CPU utilization percentage |
| RAM Total / Used / % | Memory usage in GB and percentage |
| Disk Total / Used / % | Disk space in GB and percentage |
| Network RX / TX | Network bytes received and transmitted |
| Load Average | 1-min, 5-min, and 15-min load averages |
Derived Server State (computed from monitoring data):
| State | Description |
|---|---|
| No Monitor | Monitoring not enabled |
| Online | Server responding normally |
| Warning | Elevated resource usage |
| Down | Server not responding |
| Action | Description |
|---|---|
| Start Monitoring | Install monitoring cron script on the remote server |
| Stop Monitoring | Remove monitoring from the server |
Log Retention
Monitoring logs are automatically cleaned up after the configured retention period (default: 2 days). This is configurable in Settings > Keep Root Server Log Period.
Code Server (VS Code)
Browser-based VS Code editor for remote file browsing and editing.
- Code Server Domain - Access URL (HTTPS recommended, tracked)
- Code Server Password - Authentication password
- Code Server Port - Internal port (default: 8080)
- Code Server State -
Draft,Running, orStopped
| Action | Description |
|---|---|
| Install Code Server | Install VS Code Server on the remote server |
| Remove Code Server | Uninstall VS Code Server |
| Change Password | Update the code server password |
| Open Code Server | Open the editor in browser |
Directory Setup
- Directory Init Done - Whether the Odoo directory structure has been initialized (tracked)
| Action | Description |
|---|---|
| Setup Directory Structure | Initialize the required Odoo directory structure on the server |
2. Root Servers Dashboard
Real-time dashboard showing all confirmed servers with their current monitoring status (CPU, RAM, Disk, Network, Load Average).