Servers
The Server is the core component of the Cetmix Tower, designed to connect and manage remote servers.
Access Rules
Group | Action | Condition |
---|---|---|
User | R | User is added to "Users" |
Manager | R | User is added to "Users" or "Managers" |
Manager | CRU | User is added to "Managers" |
Manager | CRUD | User is added to "Managers" and the record is created by the user |
Root | CRUD | Any record |
Info
CRUD stands for Create, Read, Update, Delete.
Server Configuration
Servers are located under the Cetmix Tower > Servers > Servers
menu.
General Settings
Important
Field visibility depends on the user's Access Level. Some fields are only available to users with Manager and Root access levels.
Field | Description |
---|---|
Color | Used for more convenient identification in the kanban view. |
Name | Server name. |
Tags | User-defined search tags for filtering and searching. |
Reference | Used for Odoo automation and YAML export/import. Leave blank to generate automatically. |
URL | URL of the server. Usually points to a web interface but can be used for other purposes. |
Partner | Partner associated with this server. |
Operating System | OS running on the server. |
IPv4 Address | Server IPv4 address or URL without a protocol (e.g., pepe.meme.com ). |
IPv6 Address | Server IPv6 address, used if IPv4 is not specified. |
Host Key | SSH host key for the server. Used to verify the server's identity. The Get from Host button opens a wizard to get the key from the server. |
Don't Check Key | Don't check the host key. |
SSH Auth Mode | Options: "Password" or "Key". |
SSH Port | Specify the SSH port. |
SSH Username | Username for SSH login. |
Use sudo | Specify if sudo is required by default for all commands on this server. |
SSH Password | Required if Auth Mode is "Password" or if running sudo commands with a password. |
SSH Private Key | Used for authentication if SSH Auth Mode is "Key". |
Server Template | Server Template that was used to create this server. |
On Delete Plan | Flight Plan that is executed automatically before the server is deleted. |
Note | Optional comments or notes for the user. |
Host Key Check
Disabling the host key check may leave your server vulnerable to man-in-the-middle attacks.
Status
Status is a technical field used to display the current server status.
It can be set manually or automatically from Commands, external APIs, or Odoo automation flows.
The following predefined statuses are available:
Status | Description |
---|---|
Undefined (default) | Status is not set. Typical for new servers. |
Stopped | Server is stopped. |
Starting | Server is starting. |
Running | Server is running. |
Stopping | Server is stopping. |
Restarting | Server is restarting. |
Deleting | Server is being deleted. |
Deletion Error | There was an error during the deletion of the server. |
Note
The status field value can be fetched using the tower.server.status
System Variable.
This allows it to be used inline in Commands, Files, and Flight Plan Line conditions.
Configuration
Configuration Variables for rendering Commands and Files on this server.
Variable Access Level
By default, the Access Level of the variable value is set to that of the Variable.
It is possible to change the Access Level of the variable only to a higher level, e.g., from User
to Manager
or from Manager
to Root
.
Access Roles
Access Roles for this record for specific users.
Secrets
Store secret values required for rendering commands and files. For detailed instructions, refer to Configuring Keys/Secrets.
Server Logs
Server Logs can be fetched either from Files or Commands. For setup instructions, see Configuring a Server Log.
Git Projects
Git Projects that are linked to this server.
Buttons
Button | Description |
---|---|
Run Command | Run a Command on this server. |
Run Flight Plan | Run a Flight Plan on this server. |
Test Connection | Check if the server is reachable and SSH is working. |
Command Logs | Displays all Command logs for this server. |
Flight Plan Logs | Shows all Flight Plan logs. |
Files | Lists all Files associated with this server. |