Preparing for Installation
Before installing ActiveSpaces processes as Windows services, create folders to save the realm data and the logs. Create TIBCO FTL configuration file and tibdg configuration scripts that can be later used to create the data grid.
- Procedure
- Create the following directories:
mkdir C:\activespacesdata mkdir C:\activespacesdata\_default mkdir C:\activespacesdata\logs mkdir C:\activespacesdata\realm_data
The logs from the TIBCO FTL servers and ActiveSpaces processes are stored in the logs directory. The realm data from the TIBCO FTL servers are stored in the realm_data directory. The ActiveSpaces grid data for a data grid named_defaultis stored in the _default directory. - Create a TIBCO FTL configuration file with the following content and save it to
C:\activespacesdata\ftl.yaml.
Note: TIBCO recommends that you run a separate TIBCO FTL server on each computer.
globals: core.servers: ftl1: localhost:8085 ftl2: localhost:8185 ftl3: localhost:8285 servers: ftl1: - realm: data: C:\activespacesdata\realm_data logfile: C:\activespacesdata\logs\ftl1-rs-log.txt ftl2: - realm: data: C:\activespacesdata\realm_data logfile: C:\activespacesdata\logs\ftl2-rs-log.txt ftl3: - realm: data: C:\activespacesdata\realm_data logfile: C:\activespacesdata\logs\ftl3-rs-log.txt services: realm: {} - Create a
tibdg
configuration script with the following content and save it to
C:\activespacesdata\_default.tibdg.
grid create copyset_size=2 copyset create cs_01 copyset create cs_02 node create --copyset cs_01 --dir C:/activespacesdata/_default/cs_01.n_1_data cs_01.n_1 node create --copyset cs_01 --dir C:/activespacesdata/_default/cs_01.n_2_data cs_01.n_2 node create --copyset cs_02 --dir C:/activespacesdata/_default/cs_02.n_1_data cs_02.n_1 node create --copyset cs_02 --dir C:/activespacesdata/_default/cs_02.n_2_data cs_02.n_2 keeper create --dir C:/activespacesdata/_default/k_1_data k_1 keeper create --dir C:/activespacesdata/_default/k_2_data k_2 keeper create --dir C:/activespacesdata/_default/k_3_data k_3 proxy create p_01 proxy create p_02 table create t1 key long column create t1 value string
This configuration file is used later to create the data grid.
Subtopics