Difference between revisions of "View Cache Launcher"
(→{{UBIK}} View Cache Launcher (VCL)) |
(→{{UBIK}} View Cache Launcher (VCL)) |
||
Line 11: | Line 11: | ||
! Attribute!!Purpose!!Optional | ! Attribute!!Purpose!!Optional | ||
|- | |- | ||
− | | '''Protocol'''|| choose your wanted transport-protocol ( | + | | '''Protocol'''|| choose your wanted transport-protocol (https, http) || |
|- | |- | ||
− | | '''Url'''|| | + | | '''Url'''|| IURL of the webserver || |
|- | |- | ||
| '''Port'''|| port which is assigned to the webserver || | | '''Port'''|| port which is assigned to the webserver || | ||
Line 19: | Line 19: | ||
| '''Path'''|| specify the path where the CONTENT webservice is placed || | | '''Path'''|| specify the path where the CONTENT webservice is placed || | ||
|- | |- | ||
− | | '''App'''|| | + | | '''App'''|| application name of your use-case|| |
|- | |- | ||
− | | '''Context'''|| context name of your | + | | '''Context'''|| context name of your use-case|| |
|- | |- | ||
− | | '''TriggerInterval'''|| specify | + | | '''TriggerInterval'''|| specify the interval in seconds how often a viewcache rebuild is triggered || |
|- | |- | ||
− | | '''OfflineCheckInterval'''|| specify | + | | '''OfflineCheckInterval'''|| specify the interval in seconds how often the server-status is checked ||| |
|- | |- | ||
| '''LogPath'''|| specify the path where your logs should be placed || | | '''LogPath'''|| specify the path where your logs should be placed || | ||
|- | |- | ||
− | | '''USAMUrl'''|| | + | | '''USAMUrl'''|| Webserver URL of the USAM || |
|- | |- | ||
− | | '''USAMPort'''|| | + | | '''USAMPort'''|| port which is assigned to the USAM webserver || X |
|- | |- | ||
− | | '''USAMProtocol'''|| | + | | '''USAMProtocol'''|| choose your wanted transport-protocol (https, http) || X |
|- | |- | ||
| '''USAMPath'''|| specify the path where the USAM webservice is placed || | | '''USAMPath'''|| specify the path where the USAM webservice is placed || | ||
|- | |- | ||
− | | '''USAMLogin'''|| | + | | '''USAMLogin'''|| specify the login name which is used for triggering the viewcache build || |
|- | |- | ||
− | | '''USAMPwd'''|| | + | | '''USAMPwd'''|| specify the password which is used for triggering the viewcache build|| |
|- | |- | ||
− | | '''USAMDeviceName'''|| | + | | '''USAMDeviceName'''|| specify the device name which is used for triggering the viewcache build || |
|-|- | |-|- | ||
|} | |} | ||
Line 54: | Line 54: | ||
</startup> | </startup> | ||
<appSettings> | <appSettings> | ||
− | |||
<add key="Protocol" value="https"/> | <add key="Protocol" value="https"/> | ||
− | <add key="Url" value=" | + | <add key="Url" value="yourServerName"/> |
− | <add key="Port" value=" | + | <add key="Port" value="yourServerPort"/> |
− | <add key="Path" value=" | + | <add key="Path" value="yourServerPath"/> |
− | <add key="App" value=" | + | <add key="App" value="yourApplicationName"/> |
− | <add key="Context" value=" | + | <add key="Context" value="yourContextName"/> |
− | <add key="TriggerInterval" value=" | + | <add key="TriggerInterval" value="yourTriggerInterval" /> |
− | <add key="OfflineCheckInterval" value=" | + | <add key="OfflineCheckInterval" value="yourCheckingInterval" /> |
− | <add key="LogPath" value=" | + | <add key="LogPath" value="yourLogPath"/> |
− | <add key="USAMUrl" value=" | + | <add key="USAMUrl" value="yourUSAMServerName"/> |
− | <add key="USAMPort" value=" | + | <add key="USAMPort" value="yourUSAMServerPort"/> |
− | <add key="USAMProtocol" value=" | + | <add key="USAMProtocol" value="https"/> |
− | <add key="USAMPath" value=" | + | <add key="USAMPath" value="yourUSAMServerPath"/> |
− | <add key="USAMLogin" value=" | + | <add key="USAMLogin" value="yourLoginName"/> |
− | <add key="USAMPwd" value=" | + | <add key="USAMPwd" value="yourLoginPassword"/> |
− | <add key="USAMDeviceName" value=" | + | <add key="USAMDeviceName" value="yourDeviceName"/> |
</appSettings> | </appSettings> | ||
</configuration> | </configuration> |
Revision as of 12:13, 23 July 2020
UBIK® View Cache Launcher (VCL)
The VCL is an installable windows system service which can be used to automaically trigger one or more UBIK contexts(s) provided by an UBIK IIS service to build up its view cache.
After unpacking the VCL binaries and config-files, move the files to a directory where the local system account (or the specified one configured to run the VCL service) is allowed to execute the "install.bat". This file installs the UBIK.VCL.Service.exe as a service.
The VCL is configured in “UBIK.VCL.Service.exe.config":
Attribute | Purpose | Optional |
---|---|---|
Protocol | choose your wanted transport-protocol (https, http) | |
Url | IURL of the webserver | |
Port | port which is assigned to the webserver | |
Path | specify the path where the CONTENT webservice is placed | |
App | application name of your use-case | |
Context | context name of your use-case | |
TriggerInterval | specify the interval in seconds how often a viewcache rebuild is triggered | |
OfflineCheckInterval | specify the interval in seconds how often the server-status is checked | |
LogPath | specify the path where your logs should be placed | |
USAMUrl | Webserver URL of the USAM | |
USAMPort | port which is assigned to the USAM webserver | X |
USAMProtocol | choose your wanted transport-protocol (https, http) | X |
USAMPath | specify the path where the USAM webservice is placed | |
USAMLogin | specify the login name which is used for triggering the viewcache build | |
USAMPwd | specify the password which is used for triggering the viewcache build | |
USAMDeviceName | specify the device name which is used for triggering the viewcache build |
Example
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
<appSettings>
<add key="Protocol" value="https"/>
<add key="Url" value="yourServerName"/>
<add key="Port" value="yourServerPort"/>
<add key="Path" value="yourServerPath"/>
<add key="App" value="yourApplicationName"/>
<add key="Context" value="yourContextName"/>
<add key="TriggerInterval" value="yourTriggerInterval" />
<add key="OfflineCheckInterval" value="yourCheckingInterval" />
<add key="LogPath" value="yourLogPath"/>
<add key="USAMUrl" value="yourUSAMServerName"/>
<add key="USAMPort" value="yourUSAMServerPort"/>
<add key="USAMProtocol" value="https"/>
<add key="USAMPath" value="yourUSAMServerPath"/>
<add key="USAMLogin" value="yourLoginName"/>
<add key="USAMPwd" value="yourLoginPassword"/>
<add key="USAMDeviceName" value="yourDeviceName"/>
</appSettings>
</configuration>
Configure more than one service and/or context to be updated
Please duplicate the entries used and add a number suffix. Here is an example:
<add key="Protocol01" value="https" />
Remark: The number should be continously incremented by one, if there is a number missing in-between (-> e.g. Protocol, Protocol01, Protocol03,..), the last executed will be Protocol01.