GeoNetAgent, LDAPWeb, server-audit, server-connection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

3.0 KiB

Server Information

Terakhir Diperbarui: 2026-06-29


Daftar Server

Role IP OS SSH Command
Reverse Proxy + Collector 10.100.1.24 CentOS Linux 8 ssh -m hmac-sha1 root@10.100.1.24 -p 22
PostgreSQL 10.100.1.25 Ubuntu 18.04.6 LTS ssh -m hmac-sha1 root@10.100.1.25 -p 22
AD / LDAP 10.100.1.40 Windows Server 2012 R2 ssh -m hmac-sha1 Administrator@10.100.1.40 -p 22
Main Webserver 10.100.1.41 Windows Server 2012 R2 ssh -m hmac-sha1 Administrator@10.100.1.41 -p 22
Zabbix 10.100.1.42 Ubuntu 22.04.1 LTS ssh -m hmac-sha1 root@10.100.1.42 -p 22
Ollama 10.100.1.26 Ubuntu 22.04.1 LTS ssh -i "$env:USERPROFILE\.ssh\id_rsa_geonet_laptop" -o IdentitiesOnly=yes -m hmac-sha1 root@10.100.1.26 -p 22
NAS QNAP TS-932X 10.100.1.10 QTS 5.2.9 (ARM64) ssh -i "$env:USERPROFILE\.ssh\id_ed25519" -o IdentitiesOnly=yes admin@10.100.1.10 -p 22
MikroTik CCR2004 10.100.1.1 / 192.168.0.1 RouterOS ssh -i "$env:USERPROFILE\.ssh\id_rsa_mikrotik" -o IdentitiesOnly=yes -m hmac-sha1 -p 255 admin@10.100.1.1

Ollama & QNAP: Wajib PowerShell (bukan CMD) agar $env:USERPROFILE terbaca. SSH key sudah dikonfigurasi. Semua SSH command butuh approval user sebelum dijalankan.


Server 10.100.1.24 — Reverse Proxy + Collector

Services Running

Service Container Port URL
FastAPI Collector geonet-collector 18000 (internal: 8000) collector.gisportal.id
Nginx host 80, 443 reverse proxy

Nginx Config Files

File Domain
/etc/nginx/conf.d/production/collector.conf collector.gisportal.id, agent.gisportal.id

Perintah Umum

# Cek container
docker ps

# Log collector
docker logs geonet-collector --tail 50 -f

# Reload nginx
nginx -t && nginx -s reload

Server 10.100.1.25 — PostgreSQL

# Akses PostgreSQL
ssh -m hmac-sha1 root@10.100.1.25 -p 22
# Credentials: /root/geonetagent_dev.credentials

psql -U geonet_collector -d geonetagent_dev

# Migration manual
psql -U geonet_collector -d geonetagent_dev -f infra/db/migration.sql

Domain Map

Domain Backend
agent.gisportal.id 10.100.1.24 — collector :18000 (POST agent) + /install/ (static)
collector.gisportal.id 10.100.1.24 — collector :18000 (read UI + API)

Transfer File ke Server

# Upload file (Windows PowerShell)
scp -o "MACs=hmac-sha1" "D:\path\to\file" "root@10.100.1.24:/path/on/server"

# Upload archive (source code)
tar -czf "$env:TEMP\collector.tar.gz" --exclude=".venv" --exclude="__pycache__" -C "D:\Project\app on git\GeoNetAgent\collector" .
scp -o "MACs=hmac-sha1" "$env:TEMP\collector.tar.gz" "root@10.100.1.24:/opt/stacks/geonetagent-collector/collector.tar.gz"

Jangan gunakan heredoc << 'EOF' via SSH dari PowerShell — $ variabel terpotong.