Skip to content

Commit aeefdb2

Browse files
committed
Merge branch 'master' of https://github.com/Limmen/csle
2 parents b1f51c9 + 84ec7ce commit aeefdb2

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

config.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,18 @@
5050
"cluster_config": {
5151
"cluster_nodes": [
5252
{
53-
"ip": "127.0.0.1",
53+
"ip": "172.31.212.92",
5454
"leader": true,
55-
"cpus": 24,
56-
"gpus": 0,
57-
"RAM": 192
55+
"cpus": 96,
56+
"gpus": 4,
57+
"RAM": 755
58+
},
59+
{
60+
"ip": "172.31.212.91",
61+
"leader": false,
62+
"cpus": 16,
63+
"gpus": 2,
64+
"RAM": 126
5865
}
5966
]
6067
},

docs/_docs/installing.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,12 @@ The metastore is based on PostgreSQL and Citus. Installing the metastore thus co
134134
To install PostgreSQL v15 and the Citus extension v11.2, run the following commands:
135135

136136
```bash
137-
curl https://install.citusdata.com/community/deb.sh | sudo bash
138-
sudo apt-get -y install postgresql-15-citus-11.2
139-
sudo pg_conftool 15 main set shared_preload_libraries citus
140-
sudo pg_conftool 15 main set listen_addresses '*'
137+
sudo apt install postgresql-17
138+
curl https://install.citusdata.com/community/deb.sh > add-citus-repo.sh
139+
sudo bash add-citus-repo.sh
140+
sudo apt-get -y install postgresql-17-citus-13.0
141+
sudo pg_conftool 17 main set shared_preload_libraries citus
142+
sudo pg_conftool 17 main set listen_addresses '*'
141143
```
142144

143145
<p class="captionFig">
@@ -226,15 +228,15 @@ The simulation system consists of a set of Python libraries and a set of configu
226228
To install the simulation system, the Python libraries need to be installed and
227229
the configuration files need to be inserted into the metastore.
228230

229-
If you do not have Python >3.9 in your base environment, start with installing Python 3.9 by running the commands:
231+
If you do not have Python >3.9 in your base environment, start with installing Python 3.11 by running the commands:
230232

231233
```bash
232-
conda create -n py39 python=3.9
233-
conda activate py39 # alternatively, "source activate py39" for old versions of conda
234+
conda create -n py311 python=3.11
235+
conda activate py311 # alternatively, "source activate py39" for old versions of conda
234236
```
235237

236238
<p class="captionFig">
237-
Listing 24: Command to install Python 3.9 using Anaconda.
239+
Listing 24: Command to install Python 3.11 using Anaconda.
238240
</p>
239241

240242
The simulation system includes 17 Python libraries:

simulation-system/libs/csle-common/src/csle_common/constants/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ class METADATA_STORE:
16181618
DBNAME = "csle"
16191619
USER = "csle"
16201620
PASSWORD = "csle"
1621-
HOST = "127.0.0.1"
1621+
HOST = "172.31.212.92"
16221622
TRACES_PROPERTY = "traces"
16231623
DB_NAME_PROPERTY = "dbname"
16241624
PW_PROPERTY = "password"

0 commit comments

Comments
 (0)