Node Management

Feature Introduction

Cluster Management is the core operations and maintenance module for the cluster edition of FlightHub 2 On-Premises. It combines multiple servers into a unified cluster managed from a single console to support large-scale device connectivity and highly concurrent services. You can add servers to expand capacity as your business grows.

Key benefits:

  • Centralized Management: Manage all servers from one console without logging in to each machine individually.
  • Elastic Scaling: Add servers to expand capacity as your business grows.
  • High Availability: Multiple management server replicas ensure that a single server failure does not affect overall services.
  • Visual Operations and Maintenance: View health, alerts, and load at a glance to identify and locate issues quickly.

Note: The system automatically assigns each server's Cluster Role (Management / Worker) and identifies the Compute Role (CPU / CPU+GPU) of Default nodes based on their hardware. Neither requires manual configuration. For Terra Nodes and LLM Nodes, you must manually select the node type when adding the server. See “Node Types” below.

Interface Overview

Navigation: AIO Admin Console → Cluster Management. There are three tabs:

  • Cluster Status: An overview of overall cluster metrics + an alert list.
  • Cluster Topology: A graphical view of each server's status and real-time load.
  • Alert Settings: Configure the trigger conditions and notification methods for each alert item.

Cluster Status and Cluster Topology support manual and automatic refresh (every 30 seconds by default) and display the last update time. Alert Settings is a configuration page and does not require refresh.

Node Types

When adding a server, select one of three node types:

Node TypePurposeCluster Role
DefaultHosts DJI FlightHub 2 services.Automatically assigned by the system (Management / Worker).
Terra NodeHosts Terra modeling services.Always a worker node.
LLM NodeHosts LLM services, available under “Value-Added Services → LLM Service”.Always a worker node.

The node type determines the server's purpose. After a server joins the cluster, Terra Nodes and LLM Nodes display their node type in the “Compute Role” field on topology cards and in Server Details. Default nodes display CPU or CPU+GPU instead.

Note: The UI provides no entry point for changing the node type. To change it, remove the server first, then add it again with the new type.

Cluster Status

The Cluster Status page displays overall cluster metrics and a list of alerts for abnormal conditions. The last update time appears in the upper-right corner. You can refresh manually or select an automatic refresh interval (every 30 seconds by default).

Cluster Metrics

MetricDescription
Cluster HealthHealthy / Degraded / Abnormal. Healthy: Everything is normal. Degraded: Some worker servers are offline, but the cluster remains available. Abnormal: Management server redundancy is insufficient or the license service is abnormal; immediate action is required.
Number of ServersThe current number of servers in the cluster.
Pending AlertThe total number of currently unhandled alerts, with separate counts for critical and warning alerts below (for example, “3 (critical) · 0 (warning)”); “All Handled” is displayed when all alerts have been handled.
Number of LicensesThe maximum number of devices permitted to connect under the license. Go to “Device Management” in DJI FlightHub 2 to view the actual number of connected devices.

Note: “Cluster Health” reflects the cluster's current state and recovers automatically after issues are resolved. Existing records in the alert list do not disappear automatically; you must manually select “Mark as Handled” to remove them from the pending list. As a result, cluster health may return to “Healthy” while the related alerts remain in the list.

Abnormal Condition Alert List

The list contains the following fields:

FieldDescription
LevelCritical (requires immediate action) / Warning (early intervention is recommended). On the “Pending Alert” card at the top, warning alerts are included in this count.
TypeThe alert type; see the table below.
ContentDetails of the alert condition. Resource Utilization alerts display the current metric value, duration, and exceeded threshold, for example, “Disk utilization 67.5%, above 60% for 1 minute”.
ObjectWhether the alert applies to the “Cluster” or a specific server.
TimeThe first and most recent trigger times of the alert.
Number of TimesThe cumulative number of times the alert has been triggered.
Operation“Details” and “Mark as Handled”.

Alert types include:

TypeTrigger Conditions
Cluster HealthCluster health changes to “Degraded” or “Abnormal”.
Server OfflineThe server loses its connection and is determined to be offline.
License Service AbnormalThe license service is unavailable.
Resource Utilization · CPU / Memory / Storage / Network / GPUThe corresponding server resource metric remains above the threshold configured in “Alert Settings”.
Resource Utilization · Container CPU / Container MemoryContainer CPU or memory usage remains above the configured threshold.
  • Deduplication: Only one record is retained for each issue type on the same object. Repeated triggers update only the most recent time and count to avoid flooding the list.
  • Filtering: Three filters are available above the list on the right and can be combined.
    • Object: All Objects, Cluster, or a specific server.
    • Handling Status: Pending (default), All Statuses.
    • Level: All Levels, Critical Only, Warning Only.
  • Handling: Click “Mark as Handled” for an individual alert to remove it from the pending list. Switch to “All Statuses” to view handled alerts. Clicking “Mark All as Handled” above the list opens a confirmation dialog. After confirmation, all currently unhandled alerts are marked as handled. This action cannot be undone.
  • Pagination: The list displays 5 records per page by default. You can change the number of records per page in the lower-right corner.
  • Details: Click “Details” to view the alert description, affected services, and Recommended Actions in the right-side drawer. See below for details.

Alert Details

Click “Details” in the alert list to open the Alert Details drawer on the right.

The drawer contains the following sections, from top to bottom:

SectionContent
HeaderAlert type, level, handling status (Pending / Handled), and alert object, with the trigger time and duration below. The duration of Server Offline and Cluster Health alerts is displayed as “--”.
Alert DescriptionDetails of the alert condition.
Service Usage RankingDisplayed when the system obtains service usage data, typically for Resource Utilization alerts. Lists resource usage percentages by service scenario or service in descending order, with the highest-usage item highlighted. The top 6 items are displayed by default; click “Expand Remaining N Scenarios” to view the rest.
Affected ServicesDisplayed only when the system identifies services in the cluster that are still abnormal. Lists the service names and their current status.
Recommended ActionsA step-by-step list of actions to take.

Items in Service Usage Ranking are usually service scenarios, including livestreaming, Media File Transfer, media processing, telemetry forwarding, AI Change Detection, cloud reconstruction, modeling post-processing, and services grouped under “Other”. Services that cannot be assigned to a known scenario are displayed directly by their service (workload) name, for example, node-exporter-xxxxx or mgmt-mysql-0.

Each service under “Affected Services” is labeled with its current status:

StatusMeaning
Repeated RestartsThe service repeatedly crashes and restarts after starting.
Terminated Due to Memory LimitThe system terminated the service because it exceeded its memory limit.
Image Pull FailedThe image required by the service cannot be pulled.
Awaiting SchedulingNo server resources are currently available for the service, so it has not started.
Readiness Check FailedThe service has started but has not passed its readiness check and cannot yet serve external requests.

If service usage data fails to load, the drawer displays “Failed to Load Attribution Data”. Click “Retry” to retrieve it again. The alert description and header information remain available.

The content displayed in the drawer varies by alert type:

Alert TypeService Usage RankingAffected ServicesRecommended Actions
Resource Utilization (CPU, memory, storage, network, GPU, containers)Displayed when data is availableDisplayed when affected services are identifiedDisplayed
Server Offline, License Service Abnormal, Cluster HealthUsually not displayedUsually not displayedDisplayed

Recommended Actions for Resource Utilization alerts provide troubleshooting steps based on actual metrics. For example, storage alerts recommend checking partition usage, locating large directories level by level, removing unused images, and checking for large container logs, in that order. Network alerts recommend checking network interface transmit and receive rates and locating usage by connection or process. They also explain that heavy inbound traffic is often Media File Transfer, while heavy outbound traffic is often livestream forwarding. If service usage data is available, the recommendations begin by identifying the main source of usage and distinguish between two situations:

  • If usage comes from a normal service peak (such as increased viewership or task volume), add servers to expand capacity and distribute the load.
  • If usage is abnormal (such as stuck tasks or duplicate resource usage), first investigate the services associated with the highest-usage service category.

The following image shows details of a Server Offline alert, which contains only the Alert Description and Recommended Actions:

After taking the recommended actions, you can mark the alert as handled once the exceeded metrics return within their thresholds and the affected services return to normal. If they have not recovered, contact technical support.

Note: A Cluster Health alert is an aggregate assessment of multiple issues and does not require separate handling. Cluster health recovers automatically after you resolve the root-cause alerts that caused it to decline (such as License Service Abnormal or Server Offline).

Cluster Topology

The Cluster Topology page displays all servers as cards. Each card shows:

  • Server name and IP address.
  • Labels: Cluster Role (Worker / Management+Worker); License Role (“FlightHub Authorization” or “Terra Authorization” when the server hosts the license service); Compute Role (CPU or CPU+GPU for Default nodes, or the node type for Terra Nodes and LLM Nodes).
  • Real-time load: CPU, memory, storage, uplink, and downlink, along with network status and server status (Online / Offline).
  • Alert indicator: When a server has pending alerts, the left side of the card changes color and the alert count appears in the upper-right corner, for example, “Critical · 1”.

Note: Server status is limited to “Online / Offline”. An offline server's card displays “Server Offline, No Real-Time Data”. Other issues (such as license abnormalities or excessive resource usage) are reported through alerts and shown on the card, rather than represented as separate server states.

Add Server (Capacity Expansion)

On the Cluster Topology page, click “Add Server” in the upper-right corner, enter the target server's SSH login information, select the node type, and click “Start Adding”. The system logs in to the target machine through SSH, checks the environment, installs components according to the selected node type, and joins the server to the cluster.

The top of the dialog displays the current number of servers in the cluster and explains that Terra Nodes and LLM Nodes always join as worker nodes, while the system automatically assigns the Cluster Role of Default nodes. Enter the following information:

Configuration ItemDescription
Server IPThe target server's IP address.
SSH PortDefaults to 22.
Login UsernameMust have sudo / root privileges.
Authentication MethodPassword or private key (SSH Key). If you select a private key, paste its contents.
Login Password / Private Key ContentUsed only for this automated onboarding process; not persistently stored in plain text.
Node TypeRequired; see the available options below.

Select Node Type

The Node Type dropdown offers “Default”, “Terra Node”, and “LLM Node”. The system determines whether each type can be added based on the license and existing nodes. Types that cannot be added are grayed out and cannot be selected.

The cluster shown above displays 5 under “Number of Licenses”: Default nodes cannot be added, and there is already 1 node of each type, Terra Node and LLM Node, so no more can be added. All three options are therefore grayed out.

The “Add Server” button is enabled when at least one node type can still be added or a failed node can be resumed (see below). If no types can be added and no failed nodes can be resumed, the button is grayed out. Hovering over it displays “No Node Types Currently Available to Add”.

License Quotas

The number of nodes that can be added is calculated separately for each node type and depends on the maximum number of devices permitted to connect under the license (displayed as “Number of Licenses” on the “Cluster Status” page):

Number of LicensesDefaultTerra NodeLLM Node
Greater than 20UnlimitedUnlimitedAt most 1
Less than or equal to 20Cannot be addedAt most 1At most 1

Adding Progress

After submission, the progress page opens. The system performs the following 7 steps in sequence, and the page displays the status of each step in real time:

StepDescription
Verify SSH ConnectionConnect to the target machine and verify sudo privileges.
Environment Pre-checkCheck the system / architecture / resources, and scan for and resolve conflicts on key ports.
Distribute MaterialsDistribute the k3s binary, images, and dependencies.
Install K3sInstall and start k3s.
Join ClusterRegister the server and automatically assign roles.
Start PodSchedule and start services on the server.
ReadyThe task is complete and the server is available.

During execution, click “Export Log” to save the task logs. At stages that allow interruption, the page also displays an “Interrupt and Roll Back” button. Clicking it cleans up the incomplete installation on the target server, and no server is added to the cluster.

Failure Handling and Resuming

If a step fails, the progress page marks the failed step and displays the failed step, error code, cause, and diagnostic information below.

Common causes of failure include:

CauseDescription
SSH Connection FailedUnable to connect to the target server. Check the IP address, port, network, and login credentials.
Expansion Precheck FailedResidual components exist on the target server, or its kernel parameters do not meet requirements. Fix the environment and retry.
Distribute Materials FailedDistribution of installation packages, images, or dependencies failed.

The following buttons are available after a failure:

ButtonDescription
Export LogExport the current task's logs for troubleshooting.
Back to EditingReturn to the form to change the server IP address, login information, etc.
RestartRun the current task again.
Undo (Clean Up Incomplete Installation)Displayed when an incomplete installation remains on the target server. Clicking it cleans up the residual components, and no server is added to the cluster.

If a node of the same type has an incomplete, failed onboarding task, reopening “Add Server” displays “An Incomplete Failed Node Was Detected. Resume with the Original Type and IP, or View the Task for Cleanup” and lists the failed node, for example, “LLM Node · 10.62.65.193”. You can resume with the original IP address even if that type is grayed out in the dropdown:

  • Click the failed node button to automatically fill in the server IP address and select the corresponding node type. Re-enter the login username and password (or private key), then click “Start Adding” to resume.
  • Click “View Failed Task / Clean Up” to view the cause of failure and clean up residual components on the target server.

Note: Login credentials are used only for this onboarding process and are not saved. At stages that do not allow interruption, the page does not display the “Interrupt and Roll Back” button. Wait for the current stage to complete.

Server Details

Click a server card to open Server Details on the right side of the page and view basic information, hardware specifications, real-time load, and available operations and maintenance actions.

SectionContent
Alert NoticeWhen the server has pending alerts, the alert count and a summary of the latest alert appear at the top of the drawer. Click “View Alert” to view alerts for that server.
Basic InformationStatus (Online / Offline), name / IP address, Cluster Role (automatically assigned by the system), Compute Role (automatically identified based on hardware), License Role (FlightHub Authorization / Terra Authorization / No), and join time.
Hardware SpecificationsArchitecture, CPU, memory, GPU, storage, network interface bandwidth, operating system, and cluster component version. For servers without a GPU, GPU is displayed as “--”.
Real-Time LoadCPU utilization, memory utilization, storage usage (with storage type: disk, NAS mount, or Longhorn), network status, bandwidth utilization (uplink / downlink), and real-time throughput.

Terra Nodes and LLM Nodes display their node type in the “Compute Role” field. The following image shows Server Details for an LLM Node:

Server Operations and Maintenance

Three actions are available at the bottom of Server Details: “Remove Server”, “Replace Server”, and “Change IP Address”. Their visibility and availability depend on the server type and status:

ActionManagement ServerWorker Server
Remove ServerGrayed out; cannot be removedCan be removed; also grayed out for servers hosting the license service
Replace ServerAlways displayedDisplayed only when offline
Change IP AddressAlways displayedDisplayed only when online

For management servers hosting the cluster control service and license servers hosting the license service, the “Remove Server” button is grayed out. Hovering over it displays “The Management Server Hosts the Cluster Control Service and Cannot Be Removed” or “The License Server Hosts the License Service and Cannot Be Removed”, respectively. These two types of servers can only be replaced, not removed.

Note: Adding servers, replacing servers, and changing IP addresses are automated workflows with step-by-step progress and log export. If a workflow fails, follow the on-screen instructions to roll back or retry.

Remove Server

Clicking this action opens a “Confirm ‘Remove Server’” dialog, which explains:

  • This action interrupts services on the server. Related services are unavailable during execution.
  • Current situation: If the server is online, its running services are transferred to other servers. If it is already offline, no services are running on it, and it can be removed directly.
  • Impact: The number of servers that will remain in the cluster after removal; at least 3 must be retained. Perform this action during off-peak hours or a maintenance window.

After confirmation, click “Delete” to remove the server.

Replace Server

Use a new server to take over the original server's work. Depending on the original server's type, the dialog title is “Replace Management Server”, “Replace License Server”, or “Replace Management and License Server”. Enter the new machine's IP address, SSH port, login username, authentication method, and login password (or private key).

The system automatically determines the replacement method based on the original server's status. No manual selection is required:

Replacement MethodApplicable SituationDescription
Seamless ReplacementThe original server is still onlineAdd the new machine first, then take the original machine offline. Cluster redundancy is maintained throughout.
Failure ReplacementThe original server is offlineRemove the failed machine first, then add the new machine to take its place. Cluster redundancy is temporarily reduced during this process; complete it as soon as possible.

When replacing a license server, the dialog also explains that the license is bound to the original server and cannot be transferred directly. After replacement, you must manually reapply for a license: use the new server's device fingerprint on the licensing website to invalidate the old license, then apply for and install a new license. This step must be completed manually outside the automated workflow; the system does not handle it for you. The system only checks whether a valid license is installed on the new server. If not, the task pauses at the license check step.

To undo a replacement in progress, click “Undo This Replacement”. The system removes the newly added server without changing the license, and the cluster returns to its original servers and operating state.

Change Server IP Address

A server's IP address cannot be changed directly while online. Changing the IP address requires service downtime. The automated tool performs “Stop Services → Change Network Interface and Cluster Configuration → Update Certificates → Restart with the New IP and Rejoin” in sequence. Services on that server are interrupted during execution, so perform this action during a maintenance window. The dialog displays the current IP address. Enter the new IP address, SSH port, login username, authentication method, and login password (or private key), then click “Confirm Change (Services Will Stop)”.

  • While a worker server's IP address is being changed, its services are transferred to the remaining servers.
  • Management server IP changes must be performed sequentially (only 1 server at a time), maintaining a majority of management servers throughout.
  • While the IP address of a server hosting the license service is being changed, licensing is interrupted and devices may be unable to connect. The device fingerprint remains unchanged, so you do not need to reapply for a license. The system automatically revalidates it after completion.

In any of the following situations, the system displays “Changing the IP Address Is Currently Not Supported” and provides the reason:

  • There are insufficient available management servers, and the change would affect cluster availability.
  • The server is offline. Changing the IP address requires the server to be online; use “Replace Server” instead.
  • The server is currently hosting the management service, and changing its IP address would interrupt the current connection. Migrate the management service to another server first.
  • The new IP address is incorrectly formatted or is the same as the current IP address.
  • The new IP address is already used by another server in the cluster.
  • The new IP address cannot be reached. Check the network and server status.

Alert Settings

On the “Alert Settings” tab, configure each alert item's trigger conditions and the notification methods used after an alert is generated. The page contains “Metric Alert Configuration” and “Alert Notification Settings”, which share the “Save Configuration” button at the bottom.

Clicking “Save Configuration” opens a confirmation dialog: “Save the current ‘Metric Alert Items + Alert Notifications’ configuration? It will be distributed and take effect immediately after saving.” After confirmation, changes to both sections take effect together. If you leave the page without saving, your changes are not retained.

Metric Alert Configuration

The system provides a fixed list of 14 built-in alert items. You cannot add or delete items. For each alert item, you can independently configure the following four settings without writing expressions.

Configuration ItemDescription
ConditionTriggered when the metric “Exceeds” the configured threshold. The threshold is an integer, and its unit depends on the alert item.
DurationThe alert is triggered only after the metric remains above the threshold for this duration. Enter an integer from 1–999 minutes; the default is 5 minutes.
Alert ObjectSelect “All” to apply to all servers, or select “Specify” to choose one or more servers.
Enabled statusControls whether the alert item takes effect. All 14 alert items are enabled by default. When disabled, that row's threshold and duration fields are grayed out and cannot be edited.

Basic Alert Items

Alert ItemUnitDefault ThresholdThreshold Range
CPU Utilization%900–100
CPU LoadNone181–9999
Memory Utilization%850–100
Memory Load AnomalyNone01–9999
GPU Overload%850–100
Disk Utilization%800–100
Container CPU Utilization%900–100
Container Memory Utilization%800–100

For container alert items (Container CPU Utilization and Container Memory Utilization), the Alert Object is fixed to “All” and the dropdown is grayed out. Hovering over it displays “Container-Level Metrics Only Support ‘All’. Selecting Specific Containers Is Not Currently Supported”.

Node Network Alert Items

Alert ItemUnitDefault ThresholdThreshold Range
Node Inbound BandwidthMbps8001–9999
Node Outbound BandwidthMbps8001–9999
Inbound Bandwidth Percentage%800–100
Outbound Bandwidth Percentage%800–100
Inbound Packet Loss Rate%10–100
Outbound Packet Loss Rate%10–100
  • Bandwidth Percentage is the percentage of the network interface's rated speed used by actual traffic.
  • Packet Loss Rate is measured at the network interface level and covers all traffic on that interface (including TCP and UDP), without distinguishing between protocols.

Refine by Disk Path or Network Interface

Disk Utilization and node network alert items support specifying sub-resources so that alerts are evaluated only for the selected disks or network interfaces. After you set “Alert Object” to “Specify” and select servers, a sub-resource configuration area appears under the alert item, displayed as “Server › Disk” or “Server › Network Interface”:

  • Disk Utilization: First select “All Disks” or “Specified Paths”. If you select “Specified Paths”, choose from the server's disk mount points; multiple selections are supported. Each dropdown option also displays the device associated with the mount point (for example, mount point / corresponds to device /dev/nvme1n1p1). You can specify at most 50 mount points per alert item.
  • Node Network Alert Items: Select from the server's network interfaces; multiple selections are supported. If none are selected, “All Network Interfaces” is displayed and statistics cover all interfaces. Disconnected interfaces are labeled “Disconnected”. You can specify at most 20 network interfaces per alert item.

Note: The sub-resource configuration area appears only after you set “Alert Object” to “Specify” and select at least one server. Configure each selected server separately. Available disk mount points and network interfaces are those actually reported by the corresponding server.

Before saving, the system checks for the following invalid configurations. If any is found, it displays a message and does not save:

  • “Alert Object” is set to “Specify”, but no servers are selected.
  • “Specified Paths” is selected for Disk Utilization, but no mount points are selected.
  • More than 50 mount points or more than 20 network interfaces are specified.

Alert Notification Settings

A single global notification configuration applies to all alert items. Separate configurations for individual alert items are not supported.

User Notifications

ChannelDescription
In-web notificationRequired; always enabled and cannot be disabled.
Email NotificationsOptional; disabled by default. When enabled, configure the sender mailbox (SMTP) and recipient email addresses; see the table below.

After enabling Email Notifications, enter the following information:

Configuration ItemRequired?Description
Mail server addressRequiredFormat: host:port, for example, smtp.example.com:25.
Email accountRequiredThe account used to send alert emails.
Email passwordOptionalLeave blank to keep the saved password unchanged. The password is stored in a masked form and is not displayed back to the user.
Email LanguageOptionalThe language used for alert emails: Chinese or English.
Recipient EmailRequiredAdd at least 1 and at most 50. Enter an email address, then press Enter or click “Add Email Address”. Incorrectly formatted addresses cannot be added.
Email notification periodOptionalDefaults to all day; see “Notification Schedule” below.

API Callback

Optional; disabled by default. When enabled, enter an API URL beginning with http:// or https://. When an alert is generated, the system pushes the alert content to this address. You can separately configure the “Callback Time Window”.

Notification Schedule

Email Notifications and API Callback each support a separate notification schedule. The default is 00:00:00–23:59:59 (all day). Select “All-day notifications” to send notifications throughout the day. If you clear this option, select a start time and an end time separately. The end time must be later than the start time.

Note: Each channel sends notifications only within its configured schedule. Alerts outside that schedule are still generated and recorded normally. The “In-web notification” channel is unaffected.

Notes

  • Operations involving service downtime (removal, replacement, and IP address changes) interrupt related services. Perform them during a maintenance window. A second confirmation is required before execution.
  • The cluster must retain at least 3 servers. When removing a server, the confirmation dialog displays the number of servers that will remain after removal.
  • When adding servers, license quotas are checked separately for each node type:
    • If the licensed device limit is greater than 20, the number of Terra Nodes is unlimited, and at most 1 LLM Node is allowed.
    • If the licensed device limit is less than or equal to 20, Default nodes cannot be added, and at most 1 node of each type (Terra Node and LLM Node) is allowed.
  • Management servers and license servers cannot be removed; they can only be replaced. After replacing a license server, you must manually reapply for and install a license outside the automated workflow.
  • The system automatically assigns the Cluster Role, which cannot be changed manually. The node type must be selected when adding a server and cannot be changed after the server joins the cluster.
  • If adding a server fails, you can resume with the original IP address and the same node type, or use “View Failed Task / Clean Up” to clean up residual components on the target server.
  • Safeguards: High-risk operations require a second confirmation. If an operation fails, follow the instructions to roll back or retry; the existing cluster is unaffected.