Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

Aplikácia SGCom je distribuovaná v ZIP archíve, ktorý je možné stiahnuť v Artifactory oddelenia D2000 The SGCom application is distributed in a ZIP archive that can be downloaded from the Artifactory of the D2000 department http://srvbuild2v.ipstest.sk:8081/artifactory/webapp/#/artifacts/browse/tree/General/d2000/sk/ipesoft/sgcom/ sgcom. Je potrebné vybrať si správnu verziu – číslovanie verzií SGCom-u kopíruje číslovanie verzií systému D2000.
V archíve sa nachádza nasledujúca adresárová štruktúraIt is necessary to choose the correct version - SGCom version numbering copies the D2000 system version numbering.
The archive has the following directory structure:

  • app/ - XML súbory s exportovanými definíciami D2000 objektov, ktoré SGCom používa. Centrála musí tieto objekty používať, inak nebude môcť s SGCom-om komunikovaťfiles with exported definitions of D2000 objects used by SGCom. The metering central must use these objects, otherwise it will not be able to communicate with SGCom.
  • bin/ - subory SGCom.bat a SGcom pre spustenie aplikácie na platforme Windows a Linux. Skript v nich má za úlohy nájsť JRE alebo JDK v systéme a spustiť vykonávanie aplikácie SGCom. Tieto skripty neupravujte! Na zadanie vlastných parametrov je vyhradené iné miestoand SGcom files for running the application on Windows and Linux platforms. The script in them has the tasks of finding the JRE or JDK in the system and starting the execution of the SGCom application. Do not modify these scripts! A different place is reserved for entering your own parameters.
  • db/ - v archíve prázdny adresár, do ktorého SGCom pri behu ukladá súbory svojej lokálnej databázyin the archive, an empty directory where SGCom stores its local database files at runtime.
  • doc/ - dokumentáciadocumentation
  • lib/ - obsahuje contains JAR súbory – Java knižnice, ktoré SGCom potrebujefiles - Java libraries that SGCom needs
  • log/ - v archíve prázdny adresár, do ktorého SGCom pri behu ukladá LOG súbory s protokolom o vykonávaníin the archive, an empty directory where SGCom saves LOG files with the execution log at runtime.
  • nssm-2.24/ - adresár s programom directory with the NSSM (Non-sucking Service Manager) , ktorý umožňuje po konfigurácii na lokálnom počítači spustiť SGCom ako Windows Serviceprogram, which allows SGCom to run as a Windows Service after configuration on the local computer.
  • SGCom.batšablóna skriptu, ktorým sa spustí vykonávanie SGCom-u. Obsahuje parametre pre spustenie z príkazového riadku, ktoré je potrebné individuálne upraviť pre každú inštanciuscript template to start SGCom execution. It contains parameters for running from the command line, which need to be adjusted individually for each instance.
  • SGComLogging.properties šablóna konfigurácie, ktorou sa riadi vytváranie LOG-u.

Postup pre inštaláciu je nasledovný:

  • configuration template that controls LOG creation.



The installation procedure is as follows:


  1. Download the ZIP archive and extract it. An example of a recommended locationStiahnuť ZIP archív a rozbaliť ho. Príklad odporúčaného umiestnenia:
    D:/D2000/D2000_V10.1.39_sever
    D:/D2000/SGCom-10.1.39
  2. Podľa šablóny According to the template SGCom.bat and SGComLogging.properties nastaviť parametre pre spustenie. Je odporúčané vytvoriť si vlastné kópie týchto súborov pre každú inštanciu SGCom-u.
  3. Test správnosti parametrov spustením z konzoly.
  4. , set parameters for startup. It is recommended that you create your own copies of these files for each instance of SGCom.
  5. Test the correctness of the parameters by running from the console.
  6. Use the included nssm application to create a Windows service.
    The following command will display a GUI that allows for convenient configurationPoužiť pribalenú aplikáciu nssm pre vytvorenie Windows servisu.
    Nasledovný príkaz zobrazí GUI, ktoré umožní pohodlnú konfiguráciu:
    > nssm install
  7. Štart vytvoreného servisuStart of the created service.