From e968256f6dd178d29afee4571b9c55f2bd1447f2 Mon Sep 17 00:00:00 2001 From: Rotsipitia Rahaingoharivahitra Date: Thu, 12 Sep 2024 10:36:58 +0200 Subject: [PATCH] =?UTF-8?q?=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbo?= =?UTF-8?q?x/action=5Fprovision=20->=20sio2/SISR/01-haute=5Fdisponibilite/?= =?UTF-8?q?bookworm/.vagrant/machines/default/virtualbox/action=5Fprovisio?= =?UTF-8?q?n=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/?= =?UTF-8?q?10-ha/bookworm/.vagrant/machines/default/virtualbox/action=5Fse?= =?UTF-8?q?t=5Fname=20->=20sio2/SISR/01-haute=5Fdisponibilite/bookworm/.va?= =?UTF-8?q?grant/machines/default/virtualbox/action=5Fset=5Fname=20=09reno?= =?UTF-8?q?mm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/bookw?= =?UTF-8?q?orm/.vagrant/machines/default/virtualbox/box=5Fmeta=20->=20sio2?= =?UTF-8?q?/SISR/01-haute=5Fdisponibilite/bookworm/.vagrant/machines/defau?= =?UTF-8?q?lt/virtualbox/box=5Fmeta=20=09renomm=C3=A9=C2=A0:=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20sio2/SISR/10-ha/bookworm/.vagrant/machines/defau?= =?UTF-8?q?lt/virtualbox/creator=5Fuid=20->=20sio2/SISR/01-haute=5Fdisponi?= =?UTF-8?q?bilite/bookworm/.vagrant/machines/default/virtualbox/creator=5F?= =?UTF-8?q?uid=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SIS?= =?UTF-8?q?R/10-ha/bookworm/.vagrant/machines/default/virtualbox/id=20->?= =?UTF-8?q?=20sio2/SISR/01-haute=5Fdisponibilite/bookworm/.vagrant/machine?= =?UTF-8?q?s/default/virtualbox/id=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20sio2/SISR/10-ha/bookworm/.vagrant/machines/default/?= =?UTF-8?q?virtualbox/index=5Fuuid=20->=20sio2/SISR/01-haute=5Fdisponibili?= =?UTF-8?q?te/bookworm/.vagrant/machines/default/virtualbox/index=5Fuuid?= =?UTF-8?q?=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/1?= =?UTF-8?q?0-ha/bookworm/.vagrant/machines/default/virtualbox/private=5Fke?= =?UTF-8?q?y=20->=20sio2/SISR/01-haute=5Fdisponibilite/bookworm/.vagrant/m?= =?UTF-8?q?achines/default/virtualbox/private=5Fkey=20=09renomm=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/bookworm/.vag?= =?UTF-8?q?rant/machines/default/virtualbox/synced=5Ffolders=20->=20sio2/S?= =?UTF-8?q?ISR/01-haute=5Fdisponibilite/bookworm/.vagrant/machines/default?= =?UTF-8?q?/virtualbox/synced=5Ffolders=20=09renomm=C3=A9=C2=A0:=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20sio2/SISR/10-ha/bookworm/.vagrant/machines/de?= =?UTF-8?q?fault/virtualbox/vagrant=5Fcwd=20->=20sio2/SISR/01-haute=5Fdisp?= =?UTF-8?q?onibilite/bookworm/.vagrant/machines/default/virtualbox/vagrant?= =?UTF-8?q?=5Fcwd=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/?= =?UTF-8?q?SISR/10-ha/bookworm/.vagrant/rgloader/loader.rb=20->=20sio2/SIS?= =?UTF-8?q?R/01-haute=5Fdisponibilite/bookworm/.vagrant/rgloader/loader.rb?= =?UTF-8?q?=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/1?= =?UTF-8?q?0-ha/bookworm/Vagrantfile=20->=20sio2/SISR/01-haute=5Fdisponibi?= =?UTF-8?q?lite/bookworm/Vagrantfile=20=09renomm=C3=A9=C2=A0:=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/vir?= =?UTF-8?q?tualbox/action=5Fprovision=20->=20sio2/SISR/01-haute=5Fdisponib?= =?UTF-8?q?ilite/rsync/.vagrant/machines/srv1/virtualbox/action=5Fprovisio?= =?UTF-8?q?n=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/?= =?UTF-8?q?10-ha/rsync/.vagrant/machines/srv1/virtualbox/action=5Fset=5Fna?= =?UTF-8?q?me=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync/.vagrant/mac?= =?UTF-8?q?hines/srv1/virtualbox/action=5Fset=5Fname=20=09renomm=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagran?= =?UTF-8?q?t/machines/srv1/virtualbox/box=5Fmeta=20->=20sio2/SISR/01-haute?= =?UTF-8?q?=5Fdisponibilite/rsync/.vagrant/machines/srv1/virtualbox/box=5F?= =?UTF-8?q?meta=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SI?= =?UTF-8?q?SR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/creator=5Fuid?= =?UTF-8?q?=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync/.vagrant/machi?= =?UTF-8?q?nes/srv1/virtualbox/creator=5Fuid=20=09renomm=C3=A9=C2=A0:=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagrant/machines?= =?UTF-8?q?/srv1/virtualbox/id=20->=20sio2/SISR/01-haute=5Fdisponibilite/r?= =?UTF-8?q?sync/.vagrant/machines/srv1/virtualbox/id=20=09renomm=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagran?= =?UTF-8?q?t/machines/srv1/virtualbox/index=5Fuuid=20->=20sio2/SISR/01-hau?= =?UTF-8?q?te=5Fdisponibilite/rsync/.vagrant/machines/srv1/virtualbox/inde?= =?UTF-8?q?x=5Fuuid=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio?= =?UTF-8?q?2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/private=5F?= =?UTF-8?q?key=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync/.vagrant/ma?= =?UTF-8?q?chines/srv1/virtualbox/private=5Fkey=20=09renomm=C3=A9=C2=A0:?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagrant/machi?= =?UTF-8?q?nes/srv1/virtualbox/synced=5Ffolders=20->=20sio2/SISR/01-haute?= =?UTF-8?q?=5Fdisponibilite/rsync/.vagrant/machines/srv1/virtualbox/synced?= =?UTF-8?q?=5Ffolders=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20s?= =?UTF-8?q?io2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/vagrant?= =?UTF-8?q?=5Fcwd=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync/.vagrant?= =?UTF-8?q?/machines/srv1/virtualbox/vagrant=5Fcwd=20=09renomm=C3=A9=C2=A0?= =?UTF-8?q?:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagrant/mach?= =?UTF-8?q?ines/srv2/virtualbox/action=5Fprovision=20->=20sio2/SISR/01-hau?= =?UTF-8?q?te=5Fdisponibilite/rsync/.vagrant/machines/srv2/virtualbox/acti?= =?UTF-8?q?on=5Fprovision=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/acti?= =?UTF-8?q?on=5Fset=5Fname=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync?= =?UTF-8?q?/.vagrant/machines/srv2/virtualbox/action=5Fset=5Fname=20=09ren?= =?UTF-8?q?omm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsyn?= =?UTF-8?q?c/.vagrant/machines/srv2/virtualbox/box=5Fmeta=20->=20sio2/SISR?= =?UTF-8?q?/01-haute=5Fdisponibilite/rsync/.vagrant/machines/srv2/virtualb?= =?UTF-8?q?ox/box=5Fmeta=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/crea?= =?UTF-8?q?tor=5Fuid=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync/.vagr?= =?UTF-8?q?ant/machines/srv2/virtualbox/creator=5Fuid=20=09renomm=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagran?= =?UTF-8?q?t/machines/srv2/virtualbox/id=20->=20sio2/SISR/01-haute=5Fdispo?= =?UTF-8?q?nibilite/rsync/.vagrant/machines/srv2/virtualbox/id=20=09renomm?= =?UTF-8?q?=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.?= =?UTF-8?q?vagrant/machines/srv2/virtualbox/index=5Fuuid=20->=20sio2/SISR/?= =?UTF-8?q?01-haute=5Fdisponibilite/rsync/.vagrant/machines/srv2/virtualbo?= =?UTF-8?q?x/index=5Fuuid=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/priv?= =?UTF-8?q?ate=5Fkey=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync/.vagr?= =?UTF-8?q?ant/machines/srv2/virtualbox/private=5Fkey=20=09renomm=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagran?= =?UTF-8?q?t/machines/srv2/virtualbox/synced=5Ffolders=20->=20sio2/SISR/01?= =?UTF-8?q?-haute=5Fdisponibilite/rsync/.vagrant/machines/srv2/virtualbox/?= =?UTF-8?q?synced=5Ffolders=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/v?= =?UTF-8?q?agrant=5Fcwd=20->=20sio2/SISR/01-haute=5Fdisponibilite/rsync/.v?= =?UTF-8?q?agrant/machines/srv2/virtualbox/vagrant=5Fcwd=20=09renomm=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/.vagran?= =?UTF-8?q?t/rgloader/loader.rb=20->=20sio2/SISR/01-haute=5Fdisponibilite/?= =?UTF-8?q?rsync/.vagrant/rgloader/loader.rb=20=09renomm=C3=A9=C2=A0:=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20sio2/SISR/10-ha/rsync/Vagrantfile=20->?= =?UTF-8?q?=20sio2/SISR/01-haute=5Fdisponibilite/rsync/Vagrantfile=20=09no?= =?UTF-8?q?uveau=20fichier=C2=A0:=20sio2/SISR/02-heartbeat/hb1/inst-hb1.sh?= =?UTF-8?q?=20=09nouveau=20fichier=C2=A0:=20sio2/SISR/02-heartbeat/hb2/ins?= =?UTF-8?q?t-hb2.sh=20=09nouveau=20fichier=C2=A0:=20sio2/SISR/vagrantfile?= =?UTF-8?q?=5Frsync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/virtualbox/action_provision | 0 .../default/virtualbox/action_set_name | 0 .../machines/default/virtualbox/box_meta | 0 .../machines/default/virtualbox/creator_uid | 0 .../.vagrant/machines/default/virtualbox/id | 0 .../machines/default/virtualbox/index_uuid | 0 .../machines/default/virtualbox/private_key | 0 .../default/virtualbox/synced_folders | 0 .../machines/default/virtualbox/vagrant_cwd | 0 .../bookworm/.vagrant/rgloader/loader.rb | 0 .../bookworm/Vagrantfile | 0 .../machines/srv1/virtualbox/action_provision | 0 .../machines/srv1/virtualbox/action_set_name | 0 .../machines/srv1/virtualbox/box_meta | 0 .../machines/srv1/virtualbox/creator_uid | 0 .../.vagrant/machines/srv1/virtualbox/id | 0 .../machines/srv1/virtualbox/index_uuid | 0 .../machines/srv1/virtualbox/private_key | 0 .../machines/srv1/virtualbox/synced_folders | 0 .../machines/srv1/virtualbox/vagrant_cwd | 0 .../machines/srv2/virtualbox/action_provision | 0 .../machines/srv2/virtualbox/action_set_name | 0 .../machines/srv2/virtualbox/box_meta | 0 .../machines/srv2/virtualbox/creator_uid | 0 .../.vagrant/machines/srv2/virtualbox/id | 0 .../machines/srv2/virtualbox/index_uuid | 0 .../machines/srv2/virtualbox/private_key | 0 .../machines/srv2/virtualbox/synced_folders | 0 .../machines/srv2/virtualbox/vagrant_cwd | 0 .../rsync/.vagrant/rgloader/loader.rb | 0 .../rsync/Vagrantfile | 0 sio2/SISR/02-heartbeat/hb1/inst-hb1.sh | 49 ++++++++++++++++++ sio2/SISR/02-heartbeat/hb2/inst-hb2.sh | 50 +++++++++++++++++++ sio2/SISR/vagrantfile_rsync | 28 +++++++++++ 34 files changed, 127 insertions(+) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/action_provision (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/action_set_name (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/box_meta (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/creator_uid (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/id (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/index_uuid (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/private_key (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/synced_folders (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/machines/default/virtualbox/vagrant_cwd (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/.vagrant/rgloader/loader.rb (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/bookworm/Vagrantfile (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/action_provision (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/action_set_name (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/box_meta (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/creator_uid (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/id (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/index_uuid (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/private_key (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/synced_folders (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv1/virtualbox/vagrant_cwd (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/action_provision (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/action_set_name (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/box_meta (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/creator_uid (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/id (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/index_uuid (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/private_key (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/synced_folders (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/machines/srv2/virtualbox/vagrant_cwd (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/.vagrant/rgloader/loader.rb (100%) rename sio2/SISR/{10-ha => 01-haute_disponibilite}/rsync/Vagrantfile (100%) create mode 100644 sio2/SISR/02-heartbeat/hb1/inst-hb1.sh create mode 100644 sio2/SISR/02-heartbeat/hb2/inst-hb2.sh create mode 100644 sio2/SISR/vagrantfile_rsync diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/action_provision b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/action_provision similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/action_provision rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/action_provision diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/action_set_name b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/action_set_name similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/action_set_name rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/action_set_name diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/box_meta b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/box_meta similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/box_meta rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/box_meta diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/creator_uid b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/creator_uid similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/creator_uid rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/creator_uid diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/id b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/id similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/id rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/id diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/index_uuid b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/index_uuid similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/index_uuid rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/index_uuid diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/private_key b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/private_key similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/private_key rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/private_key diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/synced_folders b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/synced_folders similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/synced_folders rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/synced_folders diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/vagrant_cwd b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/vagrant_cwd similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/machines/default/virtualbox/vagrant_cwd rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/machines/default/virtualbox/vagrant_cwd diff --git a/sio2/SISR/10-ha/bookworm/.vagrant/rgloader/loader.rb b/sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/rgloader/loader.rb similarity index 100% rename from sio2/SISR/10-ha/bookworm/.vagrant/rgloader/loader.rb rename to sio2/SISR/01-haute_disponibilite/bookworm/.vagrant/rgloader/loader.rb diff --git a/sio2/SISR/10-ha/bookworm/Vagrantfile b/sio2/SISR/01-haute_disponibilite/bookworm/Vagrantfile similarity index 100% rename from sio2/SISR/10-ha/bookworm/Vagrantfile rename to sio2/SISR/01-haute_disponibilite/bookworm/Vagrantfile diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/action_provision b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/action_provision similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/action_provision rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/action_provision diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/action_set_name b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/action_set_name similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/action_set_name rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/action_set_name diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/box_meta b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/box_meta similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/box_meta rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/box_meta diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/creator_uid b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/creator_uid similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/creator_uid rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/creator_uid diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/id b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/id similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/id rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/id diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/index_uuid b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/index_uuid similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/index_uuid rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/index_uuid diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/private_key b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/private_key similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/private_key rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/private_key diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/synced_folders b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/synced_folders similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/synced_folders rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/synced_folders diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/vagrant_cwd b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/vagrant_cwd similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv1/virtualbox/vagrant_cwd rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv1/virtualbox/vagrant_cwd diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/action_provision b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/action_provision similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/action_provision rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/action_provision diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/action_set_name b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/action_set_name similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/action_set_name rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/action_set_name diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/box_meta b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/box_meta similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/box_meta rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/box_meta diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/creator_uid b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/creator_uid similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/creator_uid rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/creator_uid diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/id b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/id similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/id rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/id diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/index_uuid b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/index_uuid similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/index_uuid rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/index_uuid diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/private_key b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/private_key similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/private_key rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/private_key diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/synced_folders b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/synced_folders similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/synced_folders rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/synced_folders diff --git a/sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/vagrant_cwd b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/vagrant_cwd similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/machines/srv2/virtualbox/vagrant_cwd rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/machines/srv2/virtualbox/vagrant_cwd diff --git a/sio2/SISR/10-ha/rsync/.vagrant/rgloader/loader.rb b/sio2/SISR/01-haute_disponibilite/rsync/.vagrant/rgloader/loader.rb similarity index 100% rename from sio2/SISR/10-ha/rsync/.vagrant/rgloader/loader.rb rename to sio2/SISR/01-haute_disponibilite/rsync/.vagrant/rgloader/loader.rb diff --git a/sio2/SISR/10-ha/rsync/Vagrantfile b/sio2/SISR/01-haute_disponibilite/rsync/Vagrantfile similarity index 100% rename from sio2/SISR/10-ha/rsync/Vagrantfile rename to sio2/SISR/01-haute_disponibilite/rsync/Vagrantfile diff --git a/sio2/SISR/02-heartbeat/hb1/inst-hb1.sh b/sio2/SISR/02-heartbeat/hb1/inst-hb1.sh new file mode 100644 index 0000000..943097d --- /dev/null +++ b/sio2/SISR/02-heartbeat/hb1/inst-hb1.sh @@ -0,0 +1,49 @@ +#!/bin/bash +# les bases +# noeud hb1 : 192.168.0.101 +# noeud hb2 : 192.168.0.102 +# addr virt. : 192.168.0.103 + +sed -i 's/bookworm/hb1/g' /etc/host{s,name} +apt update +apt install -y heartbeat apache2 net-tools +systemctl disable apache2 + +cat < /etc/network/interfaces.d/enp0s3 +allow-hotplug enp0s3 +iface enp0s3 inet static +address 192.168.0.101/24 # a adapter pour hb2 +EOT + +cat < /etc/network/interfaces.d/enp0s8 +allow-hotplug enp0s8 +iface enp0s8 inet static +address 10.0.0.1/24 # a adapter pour hb2 +EOT + +cd /usr/share/doc/heartbeat +gunzip *.gz +cp ha.cf /etc/ha.d +cp haresources /etc/ha.d +cp authkeys /etc/ha.d +cd /etc/ha.d +echo "192.168.0.102 hb2" >> /etc/hosts # a adapter pour hb2 + +cat <> /etc/ha.d/ha.cf +bcast enp0s8 +node hb1 +node hb2 +pacemaker off +EOT + +# echo " hb1 192.168.0.103 apache2" >> /etc/ha.d/haresources pou Debian buster +echo " hb1 192.168.0.103/24/enp0s3 apache2" >> /etc/ha.d/haresources + +cat <> /etc/ha.d/authkeys +auth 1 +1 crc +EOT + +chmod 600 /etc/ha.d/authkeys +echo hb1 > /var/www/html/index.html # a adapter pour hb2 + # \ No newline at end of file diff --git a/sio2/SISR/02-heartbeat/hb2/inst-hb2.sh b/sio2/SISR/02-heartbeat/hb2/inst-hb2.sh new file mode 100644 index 0000000..3cf45d2 --- /dev/null +++ b/sio2/SISR/02-heartbeat/hb2/inst-hb2.sh @@ -0,0 +1,50 @@ + #!/bin/bash + # les bases + # noeud hb1 : 192.168.0.101 + # noeud hb2 : 192.168.0.102 + # addr virt. : 192.168.0.103 + + sed -i 's/bookworm/hb2/g' /etc/host{s,name} + apt update + apt install -y heartbeat apache2 net-tools + systemctl disable apache2 + + cat < /etc/network/interfaces.d/enp0s3 + allow-hotplug enp0s3 + iface enp0s3 inet static + address 192.168.0.102/24 # a adapter pour hb2 + EOT + + cat < /etc/network/interfaces.d/enp0s8 + allow-hotplug enp0s8 + iface enp0s8 inet static + address 10.0.0.2/24 # a adapter pour hb2 + EOT + + cd /usr/share/doc/heartbeat + gunzip *.gz + cp ha.cf /etc/ha.d + cp haresources /etc/ha.d + cp authkeys /etc/ha.d + cd /etc/ha.d + echo "192.168.0.102 hb2" >> /etc/hosts # a adapter pour hb2 + + cat <> /etc/ha.d/ha.cf + bcast enp0s8 + node hb1 + node hb2 + pacemaker off + EOT + + # echo " hb1 192.168.0.103 apache2" >> /etc/ha.d/haresources pou Debian buster + echo " hb1 192.168.0.103/24/enp0s3 apache2" >> /etc/ha.d/haresources + + cat <> /etc/ha.d/authkeys + auth 1 + 1 crc + EOT + + chmod 600 /etc/ha.d/authkeys + echo hb2 > /var/www/html/index.html # a adapter pour hb2 + # + diff --git a/sio2/SISR/vagrantfile_rsync b/sio2/SISR/vagrantfile_rsync new file mode 100644 index 0000000..1a373e5 --- /dev/null +++ b/sio2/SISR/vagrantfile_rsync @@ -0,0 +1,28 @@ + # -*- mode: ruby -*- + # vi: set ft=ruby : + Vagrant.configure("2") do |config| + config.vm.provision "shell", inline: "apt-get update" # execute pour chacune des machines + + config.vm.define "srv1" do |srv1|#VM No'1 + srv1.vm.box = "debian/bookworm64" #Setting machine type + srv1.vm.hostname = "srv1" #Setting machine type + srv1.vm.network "public_network", ip: "192.168.0.111"#Set static IP + srv1.vm.provision "shell", inline: <<-SHELL + timedatectl set-timezone Europe/Paris + apt-get install -y wget curl vim unzip apache2 + echo "192.168.0.112 srv2" >> /etc/hosts + SHELL + end + + config.vm.define "srv2" do |srv2|# VM No2 + srv2.vm.box = "debian/bookworm64" #Setting machine type + srv2.vm.hostname = "srv2" #Setting machine type + srv2.vm.network "public_network", ip: "192.168.0.112" #Set static IP + srv2.vm.provision "shell", inline: <<-SHELL + timedatectl set-timezone Europe/Paris + apt-get install -y wget curl vim unzip apache2 + echo "192.168.0.111 srv1" >> /etc/hosts + SHELL + end + end +