Browse Source

init

Signed-off-by: Jean-Michel Batto <jean-michel.batto@eldarsoft.com>
Jean-Michel Batto 2 months ago
parent
commit
f0b27e6005

+ 106 - 0
GLCS-CM5-2024/docker-compose.yml

@@ -0,0 +1,106 @@
+# docker swarm init, then you have to do // note version_mpinet is the name of the overlay
+# docker network create --driver=overlay --attachable yml_mpinet
+# Jan, 17, 2025 - Jean-Michel Batto
+
+services:
+  mysql:
+    image: mariadb:10.10
+    hostname: mysql
+    container_name: mysql
+    environment:
+      MARIADB_ROOT_PASSWORD: password
+      MARIADB_DATABASE: slurm_acct_db
+      MARIADB_USER: slurm
+      MARIADB_PASSWORD: password
+    volumes:
+      - var_lib_mysql:/var/lib/mysql
+    ports:
+      - "3306:3306"
+    networks:
+      - mpinet
+
+  slurmdbd:
+    image: jmbatto/m2chps-slurm-cluster:latest
+    command: ["slurmdbd"]
+    container_name: slurmdbd
+    hostname: slurmdbd
+    volumes:
+      - etc_munge:/etc/munge
+#      - etc_slurm:/etc/slurm
+      - var_log_slurm:/var/log/slurm
+    expose:
+      - "6819"
+    depends_on:
+      - mysql
+    shm_size: '512m'
+    networks:
+      - mpinet
+
+  slurmctld:
+    image: jmbatto/m2chps-slurm-cluster:latest
+    command: ["slurmctld"]
+    container_name: slurmctld
+    hostname: slurmctld
+    volumes:
+      - etc_munge:/etc/munge
+#      - etc_slurm:/etc/slurm
+      - slurm_jobdir:/data
+      - var_log_slurm:/var/log/slurm
+      - usrlocalvarmpi-foo:/usr/local/var/mpishare
+    expose:
+      - "6817"
+    depends_on:
+      - "slurmdbd"
+    shm_size: '512m'
+    networks:
+      - mpinet
+
+  c1:
+    image: jmbatto/m2chps-slurm-cluster:latest
+    command: ["slurmd"]
+    hostname: c1
+    container_name: c1
+    volumes:
+      - etc_munge:/etc/munge
+#      - etc_slurm:/etc/slurm
+      - slurm_jobdir:/data
+      - var_log_slurm:/var/log/slurm
+      - usrlocalvarmpi-foo:/usr/local/var/mpishare
+    expose:
+      - "6818"
+    depends_on:
+      - "slurmctld"
+    shm_size: '512m'
+    networks:
+      - mpinet
+  c2:
+    image: jmbatto/m2chps-slurm-cluster:latest
+    command: ["slurmd"]
+    hostname: c2
+    container_name: c2
+    volumes:
+      - etc_munge:/etc/munge
+#      - etc_slurm:/etc/slurm
+      - slurm_jobdir:/data
+      - var_log_slurm:/var/log/slurm
+      - usrlocalvarmpi-foo:/usr/local/var/mpishare
+    expose:
+      - "6818"
+    depends_on:
+      - "slurmctld"
+    shm_size: '512m'
+    networks:
+      - mpinet
+      
+networks:
+  mpinet:
+    external: true
+    name : yml_mpinet
+    driver: overlay
+volumes:
+  etc_munge:
+#  etc_slurm:
+  slurm_jobdir:
+  var_lib_mysql:
+  var_log_slurm:
+  usrlocalvarmpi-foo:

BIN
cours7-GLCS-JMB-20242025.pdf


BIN
support bibliographique/A Comprehensive Perspective on Pilot-Job Systems 2016.pdf


BIN
support bibliographique/autopilot_google_2020.pdf