Skip to content

AO Servers

Introduction

AO servers are running in backendsrv-1 (10.171.0.24) Servers are running as a process

List of servers

Ahola

Ahola_DistanceServer.exe
Ahola_LiveRestServer.exe
Ahola_MainServer.exe
Ahola_PartnerPortalRestServer.exe
Ahola_RestServer.exe
Ahola_RestServer1.exe
Ahola_TowerRestServer.exe
Ahola_VehcoServer.exe
Ahola_CargoRestServer.exe
Ahola_CustomerRestServer.exe
Ahola_GKRestServer.exe
Ahola_SuppliersRestServer.exe

Special

Special_DistanceServer.exe
Special_MainServer.exe
Special_RestServer.exe
Special_VehcoServer.exe

Controlling

with powershell: PS C:\Attracs\Scripts> .\control_processes_ahola.ps1 -action stop | start | restart * control_processes_ahola.ps1 * control_processes_ahola.lst * control_processes_ahola_mainserver.ps1 * control_processes_ahola_mainserver.lst

PS C:\Attracs\Scripts> .\start_attracs.ps1 -action Patch -specifiedenv Ahola_Live * start_attracs.ps1 * backendsrv-1.json


OLD: Run server as a service (powershell):

New-service -Name AT_TIP_MainServer -Displayname AT_TIP_MainServer -Description "AT_TIP_MainServer: Ahola Transport TIP Main Server" -Startup Automatic -BinaryPathName "\\smbshr-bb59.online.aholadigital.com\smb-live\AholaTransport\TIP\Server\AttracsServer.exe /inifile:`"\\smbshr-bb59.online.aholadigital.com\smb-live\AholaTransport\TIP\Configs\AholaTransport\Server\AT_TIP_AttracsMainServer.ini`" /LogTo:`"\\smbshr-bb59.online.aholadigital.com\smb-live\AholaTransport\TIP\Log\Server\MainServer`" /Service:AT_TIP_MainServer" -Credential "svc_attracs_service@online.aholadigital.com"

Delete service:

Stop-Service 'AT_TIP_MainServer'; Get-CimInstance -ClassName Win32_Service -Filter "Name='AT_TIP_MainServer'" | Remove-CimInstance