Installing the ActiveSpaces Node as a Windows Service
Before you begin
Perform the following tasks:
- Before using ActiveSpaces processes as Windows services, ensure that both Java and the TIBCO FTL Windows package and the ActiveSpaces Windows package are installed on a local disk of the host computer (not on a mapped network drive).
- Complete the steps listed in Preparing for Installation.
- Complete the steps listed in Installing TIBCO FTL Server as a Windows Service.
- Complete the steps listed in Creating the ActiveSpaces Data Grid.
- Procedure
- Use the following commands to install the four nodes (two per copyset):
TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgnode_default_cs01_1 --DisplayName="TIBCO ActiveSpaces Node cs_01.n_1 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgnode.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";
-n;cs_01.n_1; --logfile;C:\activespacesdata\logs\_default-cs_01.n_1-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe --StopParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";node;
stop;cs_01.n_1TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgnode_default_cs01_2 --DisplayName="TIBCO ActiveSpaces Node cs_01.n_2 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgnode.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";
-n;cs_01.n_2; --logfile;C:\activespacesdata\logs\_default-cs_01.n_2-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe --StopParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";node;stop;
cs_01.n_2TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgnode_default_cs02_1 --DisplayName="TIBCO ActiveSpaces Node cs_02.n_1 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgnode.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";
-n;cs_02.n_1; --logfile;C:\activespacesdata\logs\_default-cs_02.n_1-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe --StopParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";node;stop;
cs_02.n_1TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgnode_default_cs02_2 --DisplayName="TIBCO ActiveSpaces Node cs_02.n_2 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgnode.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";
-n;cs_02.n_2; --logfile;C:\activespacesdata\logs\_default-cs_02.n_2-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe --StopParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";node;stop;
cs_02.n_2Tip: If you plan to copy the code snippet, remember to remove line breaks for all the sample commands that are associated with prunsrv.exe. - On Windows, open the Windows Services panel and manually start each of the nodes.
The logs are written to C:\activespacesdata\logs and the process data is written to C:\activespacesdata\_default\process_name.