Trajanje: ~5 minut
Vloga: Gateway-operater
Predpogoj: Administratorske pravice
Windows:
# Išči proces Get-Process -Name "WvdS.WebAPI.Data.Gateway.Api" -ErrorAction SilentlyContinue # Ali prek porta netstat -ano | findstr :5000
Linux:
# Išči proces pgrep -f "WvdS.WebAPI.Data.Gateway.Api" # Ali prek porta ss -tlnp | grep 5000
Windows (konzola):
cd %GATEWAY_ROOT% .\WvdS.WebAPI.Data.Gateway.Api.exe
Windows (ozadje):
Start-Process -FilePath "%GATEWAY_ROOT%\WvdS.WebAPI.Data.Gateway.Api.exe" -WindowStyle Hidden
Linux:
cd /opt/gateway ./WvdS.WebAPI.Data.Gateway.Api &
Windows:
# Prijazna zaustavitev Stop-Process -Name "WvdS.WebAPI.Data.Gateway.Api" -Force
Linux:
# Prijazna zaustavitev pkill -SIGTERM -f "WvdS.WebAPI.Data.Gateway.Api" # Prisilna zaustavitev (samo če potrebno) pkill -9 -f "WvdS.WebAPI.Data.Gateway.Api"
# Preveri razpoložljivost curl -s http://localhost:5000/health # Pričakovan odgovor: "Healthy"
| # | Točka preverjanja | V |
| — | ———– | — |
| 1 | Proces teče | |
| 2 | Port 5000 odprt | |
| 3 | Health Check „Healthy“ | |
| 4 | Brez napak v konzoli |
| Težava | Vzrok | Rešitev |
| ——— | ——— | ——– |
Port že v uporabi | Star proces teče | Ustavi proces, nato zaženi |
Access denied | Manjkajoče pravice | Zaženi kot administrator |
Config error | appsettings.json napačen | Preveri JSON-sintakso |
Database connection failed | DSN napačno konfiguriran | Preveri Connection String |
« <- Dnevno poslovanje | -> Upravljanje DSN »
Wolfgang van der Stille @ EMSR DATA d.o.o. - Data Gateway Professional