/
Manually install services using nssm
Manually install services using nssm
Install using nssm.exe
Headsup: this file is not needed if i.e. the Via.Index.Service or Via.Authority.Service is to be installed manually using the steps further down in this article.
Steps:
- Copy nssm to your server (https://nssm.cc/download)
- Run
nssm.exe install servicename
- Fill in your service details
Installing the Via.Index.Service manually
Go to C:\Program Files\ayfie\Locator\SOLR\bin
Run command: Via.Index.Service.exe install Via.Index.Service
Tab | Setting | Value |
---|---|---|
Application | Path | C:\Program Files\ayfie\Locator\SOLR\bin\solr.cmd |
Application | Startup directory | C:\Program Files\ayfie\Locator\SOLR\bin |
Application | Arguments | start -f |
Details | Display name | Locator Index Service |
Details | Description | Locator Index and Search Service |
Log on | This Account | NT AUTHORITY\LOCAL SERVICE or the AD service user if Microsoft SQL backend |
Log on | Password | <Empty> |
Dependencies | Leave empty | |
Process | Priority | Normal |
Process | Console windows | Disabled |
Process | Affinity | All processors enabled |
Shutdown | Generate Control-C Timeout | 60000 ms |
Shutdown | Send WM_CLOSE to windows | 1500 ms |
Shutdown | Post WM_QUIT to threads | 60000 ms |
Exit actions | Use default values | |
I/O | Input (stdin) | C:\Program Files\ayfie\Locator\Solr\Data\solr_stdin_yes.txt |
I/O | Output (stdout) | Leave empty |
I/O | Error (stderr) | Leave empty |
File rotation | Use default values | |
Environment | Use default values |
Installing the Via.Authority.Service manually
Go to C:\Program Files\ayfie\Locator\AuthorityService
Run command: ayfie.AuthorityService.Wrapper.exe install Via.Authority.Service
Tab | Setting | Value |
---|---|---|
Application | Path | C:\Program Files\ayfie\Locator\AuthorityService\Ayfie.Infrastructure.Auth.AuthorityService.Portable.exe |
Application | Startup directory | C:\Program Files\ayfie\Locator\AuthorityService |
Application | Arguments | Leave empty |
Details | Display name | ayfie Authority Service |
Details | Description | The ayfie Authority Service |
Log on | This Account | NT AUTHORITY\LOCAL SERVICE or the AD service user if Microsoft SQL backend |
Log on | Password | <Empty> |
Dependencies | Leave empty | |
Process | Priority | Normal |
Process | Console windows | Disabled |
Process | Affinity | All processors enabled |
Shutdown | Generate Control-C Timeout | 60000 ms |
Shutdown | Send WM_CLOSE to windows | 1500 ms |
Shutdown | Post WM_QUIT to threads | 60000 ms |
Exit actions | Use default values | |
I/O | Input (stdin) | Leave empty |
I/O | Output (stdout) | C:\ProgramData\ayfie\Locator\Log\Ayfie.Infrastructure.Auth.AuthorityService.Portable_stdout.log Verify that this is the path of the Log folder. |
I/O | Error (stderr) | C:\ProgramData\ayfie\Locator\Log\Ayfie.Infrastructure.Auth.AuthorityService.Portable_stderr.log Verify that this is the path of the Log folder. |
File rotation | Replace existing Output and/or Error files | Disabled |
File rotation | Rotate Files | Enabled |
File rotation | Rotate while service is running | Enabled |
File rotation | Restrict rotation to folder older than | 0 seconds |
File rotation | Restrict rotation to folder bigger than | 20971520 bytes |
Environment | Environment variables | ASPNETCORE_ENVIRONMENT=Custom |
Environment | Replace default environment | Disabled |
Installing the Via.ZooKeeper.Service manually
Go to C:\Program Files\ayfie\Locator\ZooKeeper\bin
Run command: Via.ZooKeeper.Service.exe install Via.ZooKeeper.Service
Tab | Setting | Value |
---|---|---|
Application | Path | C:\Program Files\ayfie\Locator\ZooKeeper\bin\zkServer.cmd |
Application | Startup directory | C:\Program Files\ayfie\Locator\ZooKeeper\bin\ |
Application | Arguments | start |
Details | Display name | Locator ZooKeeper Service |
Details | Description | The Locator ZooKeeper Service |
Log on | This Account | NT AUTHORITY\LOCAL SERVICE or the AD service user if Microsoft SQL backend |
Log on | Password | <Empty> |
Dependencies | Leave empty | |
Process | Priority | Normal |
Process | Console windows | Disabled |
Process | Affinity | All processors enabled |
Shutdown | Generate Control-C Timeout | 60000 ms |
Shutdown | Send WM_CLOSE to windows | 1500 ms |
Shutdown | Post WM_QUIT to threads | 60000 ms |
Exit actions | Use default values | |
I/O | Input (stdin) | C:\Program Files\ayfie\Locator\ZooKeeper\data\zookeeper_stdin_yes.txt |
I/O | Output (stdout) | Leave empty |
I/O | Error (stderr) | Leave empty |
File rotation | Replace existing Output and/or Error files | Disabled |
File rotation | Rotate Files | Disabled |
File rotation | Rotate while service is running | Disabled |
File rotation | Restrict rotation to folder older than | 0 seconds |
File rotation | Restrict rotation to folder bigger than | 0 bytes |
Environment | Environment variables | |
Environment | Replace default environment | Disabled |
, multiple selections available,
Related content
What known issues may occur when running Locator with antivirus software on the same host?
What known issues may occur when running Locator with antivirus software on the same host?
Read with this
Web Server and Solr Cloud Configuration
Web Server and Solr Cloud Configuration
More like this
AzureAD Connector Release Notes
AzureAD Connector Release Notes
Read with this
Installing/configuring a Primary Server in a multi-server environment
Installing/configuring a Primary Server in a multi-server environment
More like this
ViaWorks 2.7 (2.7.2970)
ViaWorks 2.7 (2.7.2970)
More like this
ayfie