From 5bce0ea072942dcd65283bb8b97f7db80d60a2de Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Thu, 22 Aug 2024 06:00:25 +0100 Subject: [PATCH] Replace zippy with c3 for glusterfs. --- common/glusterfs-client.nix | 2 +- stateful-commands.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/glusterfs-client.nix b/common/glusterfs-client.nix index a4c084f..5e9792e 100644 --- a/common/glusterfs-client.nix +++ b/common/glusterfs-client.nix @@ -6,7 +6,7 @@ device = "192.168.1.71:/compute"; fsType = "glusterfs"; options = [ - "backup-volfile-servers=192.168.1.72:192.168.1.2" + "backup-volfile-servers=192.168.1.72:192.168.1.73" "_netdev" ]; }; diff --git a/stateful-commands.txt b/stateful-commands.txt index 78a1dda..f3aadbc 100644 --- a/stateful-commands.txt +++ b/stateful-commands.txt @@ -19,3 +19,5 @@ adding a new gluster node to the compute volume, with c3 having failed: * c1: gluster volume replace-brick compute c3:/persist/glusterfs/compute/brick1 192.168.1.2:/persist/glusterfs/compute/brick1 commit force * c1: gluster volume heal compute full * c1: gluster peer detach c3 + +same to then later replace 192.168.1.2 with 192.168.1.73