Trajanje: ~5 minuta
Uloga: Gateway-Operator
Preduvjet: Administratorska prava
Windows:
# Proces traziti Get-Process -Name "WvdS.WebAPI.Data.Gateway.Api" -ErrorAction SilentlyContinue # Ili preko porta netstat -ano | findstr :5000
Linux:
# Proces traziti pgrep -f "WvdS.WebAPI.Data.Gateway.Api" # Ili preko porta ss -tlnp | grep 5000
Windows (Konzola):
cd %GATEWAY_ROOT% .\WvdS.WebAPI.Data.Gateway.Api.exe
Windows (Pozadina):
Start-Process -FilePath "%GATEWAY_ROOT%\WvdS.WebAPI.Data.Gateway.Api.exe" -WindowStyle Hidden
Linux:
cd /opt/gateway ./WvdS.WebAPI.Data.Gateway.Api &
Windows:
# Graceful shutdown Stop-Process -Name "WvdS.WebAPI.Data.Gateway.Api" -Force
Linux:
# Graceful shutdown pkill -SIGTERM -f "WvdS.WebAPI.Data.Gateway.Api" # Force kill (samo ako je potrebno) pkill -9 -f "WvdS.WebAPI.Data.Gateway.Api"
# Dostupnost provjeriti curl -s http://localhost:5000/health # Ocekivani odgovor: "Healthy"
| # | Provjera | Da/Ne |
| — | ———– | — |
| 1 | Proces radi | - |
| 2 | Port 5000 otvoren | - |
| 3 | Health Check „Healthy“ | - |
| 4 | Nema gresaka u konzoli | - |
| Problem | Uzrok | Rjesenje |
| ——— | ——— | ——– |
Port vec u upotrebi | Stari proces radi | Proces zavrsiti, zatim pokrenuti |
Access denied | Nedostaju prava | Kao Administrator pokrenuti |
Config error | appsettings.json nevalidan | JSON sintaksu provjeriti |
Database connection failed | DSN pogresno konfigurirana | Connection String provjeriti |
« <- Svakodnevni rad | -> DSN upravljanje »
Wolfgang van der Stille @ EMSR DATA d.o.o. - Data Gateway Professional