-
Notifications
You must be signed in to change notification settings - Fork 1
/
Micro-cluster_model_2.txt
46 lines (31 loc) · 1.04 KB
/
Micro-cluster_model_2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#### Micro-cluster Model 2 ###
cd /scratchlocal
git clone https://github.com/ubccr-slurm-simulator/slurm_model.git
cd slurm_model/micro2
vim docker-compose.yml
vim SlurmVC_SimRepo.Dockerfile
# install dependencies
# add users
# copy daemons starters
# configure sshd
# setup munge
# configure mysqld
# install mini miniapps
# setup entry point
# install slurm
# install slurm_sim_tools
# copy cluster configs
# prepere directory layout
sudo su
systemctl start docker (requires sudo)
docker run hello-world (requires sudo)
cd ../
docker build -f ./micro2/SlurmVC_SimRepo.Dockerfile -t molguin/slurm_vc:slurm-21-08-sim .
cd micro2
docker compose up -d
docker exec -it micro2-headnode-1 /opt/slurm_sim_tools/src/slurmsimtools/run_slurm.py -s /opt/slurm -e /opt/cluster/micro2/etc \
-t /opt/cluster/micro2/job_traces/jobs500_shrinked.events \
-r /root/results/jobs500_shrinked/dtstart_10_1 -a /opt/cluster/micro2/utils/sacctmgr.script \
-d -v -dtstart 10 --no-slurmd
docker compose stop
docker compose rm -f -s -v