Getting Started

Getting Started

Install the correct package for your system. All services will then be managed by systemd.

  # Ubuntu/Debian
  sudo dpkg -i gc_gateway-*.deb

  # RHEL/CentOS
  sudo rpm -i gc_gateway-*.rpm

The gateway will be installed under /opt/gc_gateway, this location contains all services, logs, data and configuration required for the gateway to operate. The current configuration is stored in config sub-directory and there is also a gc_gateway.env file for managing the startup arguments.

⚠️
Before installing the package, java needs to be available in the system, otherwise the timeseries will unavailable.

Managing the services

The log service and service hub are grouped under gc_gateway.target and can be controlled together:

# Start the log service and service hub
systemctl start gc_gateway.target

# Stop both
systemctl stop gc_gateway.target

# Check status of the whole group
systemctl status gc_gateway.target

Runtime instances can be individually controlled using their runtime ID:

# Start a runtime instance
systemctl start gc_runtime@runtime1.service

# Stop it
systemctl stop gc_runtime@runtime1.service

# Check its status
systemctl status gc_runtime@runtime1.service
ℹ️
Run systemctl enable gc_gateway.target explicitly if you want the services to start automatically on boot.