Skip to main content

System Settings

System Settings is used to maintain hot standby, alarm recovery behavior, network parameters, time synchronization, system control, and PING testing. After opening the page, use the left navigation to switch between modules.

Entry

Log in to GatewayRuntime Web and open System Management > System Settings.

System settings page

Modules

ModulePurpose
Hot standbyView local role, four production tasks, peer connectivity, and arbitration authorization; configure node identity, dual-network links, TLS, shared arbitration, and historical compensation.
Alarm configurationConfigure whether recovered alarms are removed directly from the real-time alarm list.
Network configurationView network adapters and edit DHCP, IP address, subnet mask, gateway, and DNS servers.
Time synchronizationView local time, UTC time, and time zone; set system time; configure NTP servers and sync interval.
System controlRestart GatewayRuntime, restart the application, or download a configuration database backup.
PING testTest connectivity to an IP address or domain and view packet loss, latency, and per-packet results.

Hot Standby

Click Hot Standby in the left navigation. The page shows the current node, local role, peer connection, shared-arbitration authorization, configuration summary, and historical-data protection. It also provides edit, refresh, immediate peer sync, and manual failover actions.

AreaWhat to check
Current nodeWhether this node is Working, Standby, Taking Over, Needs Attention, or Failed, and whether collection, data forwarding, alarm, and rule-engine tasks match that role.
Peer connectionTransport state, complete-health state, consecutive failures, identified peer node, and peer role for each link. A link is completely healthy only after connection plus cluster, identity, complementary-role, and security validation.
Work authorizationWith shared arbitration configured, verify that only the working node holds authorization. Check authorization expiry, failover epoch, and the latest failover error.
Historical-data protectionReview protected targets, pending peer sync, pending database writes, Journal status, and database-write authorization.

Use Edit Configuration to open the hot-standby configuration panel.

SettingDescription
Enable hot standbyRun the two gateways as a failover pair. When disabled, this gateway runs independently without peer connection or arbitration.
Cluster nameRequired and identical on both gateways. Nodes with different cluster names cannot establish a control relationship.
Local node nameStable, unique name of this gateway. It is required when hot standby is enabled and must differ between the two gateways.
Peer node nameExpected local-node name of the other gateway. It is required and must exactly match the peer's Local node name.
Connection modeConfigure one node to wait for a peer connection and the other to actively connect. The two roles must be complementary.
Peer addressFirst control-link address, usually IP:port without http:// or https://. The waiting side enters its local listen address; the connecting side enters the reachable peer address.
Dual network / second-link addressThe second address is required when enabled and must differ from the first. Prefer separate adapters, switches, or subnets. Any completely healthy link can keep the peer online.
Shared connection keyBoth gateways must use the same complex value for control-link identity validation. It does not encrypt the link.
Local transport certificate / trusted root / peer certificate hostOptional mutual TLS. All three fields must either be configured or be empty. The host or IP must appear in the peer server certificate SAN. Each gateway selects its own transport certificate and trusts the root that issued the peer certificate.
TLS protocol / revocation checkSelect allowed TLS versions and revocation policy. Use the system security defaults unless the site has a specific requirement.
Shared arbitration fileRecommended in production. Both gateways must point to the same SQLite file on shared storage. File locking and short leases allow only one node to hold work authorization. Use an equivalent UNC or mounted path and verify read, write, and file-lock support from both nodes.
Work-authorization durationShared-arbitration lease in milliseconds; minimum 3000, default 15000.
Authorization renewalRenewal interval in milliseconds; minimum 500 and no more than one third of the lease duration, default 3000.
Failover safety marginWindow in which a node must stop production tasks before lease expiry; minimum 500 milliseconds. Renewal plus safety margin must be less than the lease duration; default 2000.
Connection-check intervalPeer-check interval in milliseconds; minimum 1000, default 60000. Smaller values add network load; larger values delay fault detection.
Disconnect thresholdProcessing starts after all configured links fail this many consecutive checks; range 1–100, default 3. With arbitration configured, the node must still acquire work authorization before starting production tasks.
Data-sync intervalInterval for configuration and variable data synchronization from the working node to standby, in milliseconds; minimum and default 1000.
Historical data/alarm compensationSupported historical targets use a local reliable Journal, peer sync, and recovery replay. Enabled by default and independent from target-level dual-database mirroring.
Historical-protection settingsTune batch size, peer acknowledgment timeout, local pending limit, database-write authorization and renewal, and retry interval according to outage duration, write volume, network latency, database load, and disk capacity.
Upgrade check

After upgrading an older pair, do not keep only the former addresses and connection key. Configure the cluster, local-node, and peer-node names on both gateways; then verify complementary connection modes, identical keys, shared arbitration, and TLS as required. After saving, confirm peer identity, complete link health, arbitration authorization, and all four production-task states before a failover drill.

Historical Data And Alarm Reliability

When hot standby is enabled, historical data and historical alarms can use historical compensation. The gateway stores events in the local Journal, synchronizes them with the peer node, replays unfinished records before an authorized node becomes Working, and uses a record key to avoid duplicate inserts on standard SQL targets.

ItemDescription
Applies toHistorical data targets and historical alarm targets.
RequirementHot standby is enabled and Historical Data/Alarm Compensation remains enabled.
Supported databasesStandard SQL write path for SqlServer, MySql, Sqlite, and PostgreSql.
Not coveredQuestDB, TDengine, custom SQL mode, historical table scripts, historical alarm table scripts, or other custom write paths.
Site recommendationEnable offline cache for historical targets, reserve disk capacity for both CacheDB and Journal rows, and validate failover, link interruption, database outage, and restart recovery during a maintenance window.

Historical-Data Protection Diagnostics

The Historical-Data Protection area helps verify whether historical targets support failover compensation, whether the Journal has backlog, and which node currently holds target-database write authorization.

AreaDescription
SummaryShows the node, max sequence, pending peer-sync count, and pending database-write count. Long-lasting backlog indicates a hot-standby link, peer node, target database, or cache recovery issue.
FiltersFilter Journal events by target key, source node, record type, record key, pending peer, or pending DB state.
Target supportLists each historical data/alarm target, support status, unsupported reason, and Journal target keys.
Journal stateSummarizes max sequence, total rows, pending peer, pending DB, oldest pending time, and newest event time by target key, source node, and record type.
Epoch leaseShows the holder node, lease expiry, and lease status for each historical target.
Journal eventsShows individual historical events, peer/DB flags, record keys, and payloads for point-level or alarm-level troubleshooting.
Security boundary

The shared arbitration file is not an independent third node; it is one SQLite file accessible by both gateways. Without it, the pair uses link-only failover and a network partition can produce split-brain. When all three TLS fields are empty, the shared connection key still validates identity, but traffic uses unencrypted TCP. Configure reliable shared storage and certificates for production, and test link loss, power loss, shared-storage failure and recovery, and manual failover in a maintenance window.

Alarm Configuration

Click Alarm Configuration in the left navigation.

Alarm configuration page

SettingDescription
Remove after alarm recoveryWhen enabled, recovered alarms are removed directly from the real-time alarm list. When disabled, recovered alarms still need confirmation before removal.

The switch is saved immediately. Before changing it in production, confirm the on-duty and alarm acknowledgment process.

Network Configuration

Click Network Configuration in the left navigation.

Network configuration page

SettingDescription
DHCPEnable automatic network configuration. When disabled, IP address, subnet mask, and gateway can be edited.
IP addressStatic IP address used by the selected network adapter.
Subnet maskSubnet mask for the selected adapter.
GatewayDefault gateway.
DNS serversOne or more DNS server addresses.

Changing network adapter, gateway, or DNS settings may interrupt the current Web connection. Confirm remote access and fallback access before saving.

Time Synchronization

Click Time Synchronization Configuration in the left navigation.

Time synchronization page

AreaSettingDescription
System timeLocal timeCurrent local time of the gateway.
System timeUTC timeCurrent UTC time.
System timeTime zoneCurrent system time zone name.
System timeSet timeOpen the side panel to select and save a new system time.
NTPEnable NTPEnable automatic NTP synchronization.
NTPNTP serversServer list used for NTP synchronization.
NTPSync intervalSynchronization interval in minutes.
NTPSync nowRun one NTP synchronization immediately.

System Control

Click System Control in the left navigation.

System control page

OperationDescription
Restart runtimeRestart GatewayRuntime. A confirmation dialog is shown before execution.
Restart applicationRestart the application. The Web connection will be interrupted and needs to reconnect.
Backup configuration databaseDownload a consistent, standalone SQLite snapshot that includes committed WAL data for backup or migration.

Restart operations affect collection, data forwarding, and Web access. Perform them in a maintenance window.

PING Test

Click PING Test in the left navigation.

PING test page

ParameterDescription
Target addressIP address or domain to test.
Test countNumber of PING requests.
TimeoutTimeout for each request in milliseconds.
Start testRun the PING test.
Clear resultsClear current test results.

The result area shows target host, success count, failure count, packet loss, average latency, latency range, and per-packet details.