Installing the ActiveSpaces tibdgadmind as a Windows Service

Prerequisites

Perform the following tasks:
  1. Before using TIBCO ActiveSpaces processes as Windows services, ensure that both Java and the TIBCO FTL Windows package and the TIBCO ActiveSpaces Windows package are installed on a local disk of the host computer (not on a mapped network drive).
  2. Complete the steps listed in Preparing for Installation.
  3. Complete the steps listed in Installing TIBCO FTL Server as a Windows Service.
  4. Complete the steps listed in Creating the ActiveSpaces Grid.

Procedure

  1. Use the following command to install two tibdgadmind processes:
    TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgadmind1 
    --DisplayName="TIBCO ActiveSpaces tibdgadmind 1" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe 
    --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgadmind.exe 
    --LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_version>\bin  
    --StartParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";-l;localhost:7171 --StopMode=exe --StopTimeout=30 
    --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe --StopParams=-t;http://localhost:7171;admind;stop
    TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgadmind2 
    --DisplayName="TIBCO ActiveSpaces tibdgadmind 2" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe 
    --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgadmind.exe 
    --LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_version>\bin  
    --StartParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";-l;localhost:7271 --StopMode=exe --StopTimeout=30 
    --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe --StopParams=-t;http://localhost:7271;admind;stop
    Tip: If you plan to copy the code snippet, remember to remove line breaks for all the sample commands that are associated with prunsrv.exe.
  2. On Windows, open the Windows Services panel to manually start each of the tibdgadmind processes.