Before you begin
1. Complete the steps listed in Preparing for Installation.
2. Complete the steps listed in Installing TIBCO FTL Server as a Windows Service.
3. On Microsoft Windows, open the Services window and manually start each of the TIBCO FTL servers. Ensure that the TIBCO FTL servers are running. Verify by taking a look at the logs that are written to C:\activespacesdata\logs and the realm data that is written to C:\activespacesdata\realm_data.
Procedure
1. Create the example data grid by using the tibdg.exe administration tool, which cre-ates the data grid definition in the realm. The data grid definition saved from Pre-paring for Installation is found in C:\activespacesdata\_default.tibdg.
TIBCO_HOME\as\<as_version>\bin\tibdg -r
"http://-localhost:8085|http://localhost:8185|http://localhost:8285" -s C:\act-ivespacesdata\_default.tibdg
2. After creating the data grid, check the status by using the tibdg.exe administration tool.
TIBCO_HOME\as\<as_version>\bin\tibdg -r
"http://-localhost:8085|http://localhost:8185|http://localhost:8285" status
103 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
The output shows the data grid and the processes that are not yet running.
Data Grid Status
Installing the ActiveSpaces State Keeper as a Windows Service
Before you begin
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 Data Grid.
Procedure
1. Use the following command to install three state keeper processes as Windows Ser-vices:
TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgkeeper_default_k_
1
DisplayName="TIBCO ActiveSpaces Statekeeper k_1 (_default)"
--104 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe
--StartMode=exe --StartImage=TIBCO_HOME\as\<as_version> \bin\t-ibdgkeeper.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht- tp://localhost:8085|http://localhost:8185|http://localhost:8285";-n;k_1;--logfile;C:\activespacesdata\logs\_default-k_1-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_
version>\bin\tibdg.exe
DisplayName="TIBCO ActiveSpaces Statekeeper k_2 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe
--StartMode=exe --StartImage=TIBCO_HOME\as\<as_version> \bin\t-ibdgkeeper.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht- tp://localhost:8085|http://localhost:8185|http://localhost:8285";-n;k_2;--logfile;C:\activespacesdata\logs\_default-k_2-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_
version>\bin\tibdg.exe
DisplayName="TIBCO ActiveSpaces Statekeeper k_3 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe
--StartMode=exe --StartImage=TIBCO_HOME\as\<as_version> \bin\t-ibdgkeeper.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht-
tp://localhost:8085|http://localhost:8185|http://localhost:8285";-105 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
n;k_3;--logfile;C:\activespacesdata\logs\_default-k_3-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_
version>\bin\tibdg.exe --StopParams=-r;"ht-
tp://-localhost:8085|http://localhost:8185|http://localhost:8285";keeper;
stop;k_3
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 Microsoft Windows, open the Windows Services panel manually start each of the state keepers.
The logs are written to C:\activespacesdata\logs and the process data is written to
C:\activespacesdata\_default\process_name.
Installing the ActiveSpaces Node as a Windows Service
Before you begin
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 Data Grid.
Procedure
1. 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\t-ibdgnode.exe
106 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe
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\t-ibdgnode.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe
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\t-ibdgnode.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht-tp://localhost:8085|http://localhost:8185|http://localhost:8285";
-n;cs_02.n_1;
logfile;C:\activespacesdata\logs\_default-cs_02.n_1-log.txt
--107 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
StopMode=exe --StopTimeout=30
--StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe
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\t-ibdgnode.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe
--StopParams=-r;"ht- tp://-
loc-alhost:8085|http://localhost:8185|http://localhost:8285";node;stop;
cs_02.n_2
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 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.
Installing the ActiveSpaces Proxy as a Windows Service
Before you begin
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
108 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
package are installed on a local disk of the host computer (not on a mapped network drive).
DisplayName="TIBCO ActiveSpaces Proxy p_01 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe
--StartMode=exe --StartImage=TIBCO_HOME\as\<as_version> \bin\t-ibdgproxy.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht- tp://localhost:8085|http://localhost:8185|http://localhost:8285";-n;p_01;--logfile;C:\activespacesdata\logs\_default-p_01-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_
version>\bin\tibdg.exe
DisplayName="TIBCO ActiveSpaces Proxy p_02 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe
--StartMode=exe --StartImage=TIBCO_HOME\as\<as_version> \bin\t-ibdgproxy.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht- tp://localhost:8085|http://localhost:8185|http://localhost:8285";-n;p_02;--logfile;C:\activespacesdata\logs\_default-p_02-log.txt --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_
version>\bin\tibdg.exe --StopParams=-r;"ht-
tp://-109 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
loc-alhost:8085|http://localhost:8185|http://localhost:8285";proxy;stop;
p_02
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 in Windows and manually start each of the proxies.
The logs are written to C:\activespacesdata\logs.
Installing the ActiveSpaces tibdgadmind as a Windows Service
Before you begin
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 Data 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\t-ibdgadmind.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht- tp://localhost:8085|http://localhost:8185|http://localhost:8285";-l;localhost:7171 --StopMode=exe --StopTimeout=30
110 | Deployment Scenario for Running ActiveSpaces Processes as Windows Services
--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\t-ibdgadmind.exe
--LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_
version>\bin
--StartParams=-r;"ht- tp://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
tib-dgadmind processes.