Browse Source

Enable nfs with gluster

gluster
m1cr0man 2 years ago
parent
commit
9162e7a9b2
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      services/gluster.nix

+ 4
- 2
services/gluster.nix View File

@@ -5,15 +5,17 @@
logLevel = "INFO";
};

services.nfs.server.enable = true;

# For each brick open port 49152 + brick_num
# Our nodes have 3 bricks
# Opening a heap of ports to make things easier in the future
# Max 15 if the powervault was to have 1 brick per drive
networking.firewall.allowedTCPPorts = [
111 24007 24008 38465 38466 38467
111 2049 4045 24007 24008 38465 38466 38467
49152 49153 49154 49155 49156 49157
49158 49159 49160 49161 49162 49163
49164 49165 49166
];
networking.firewall.allowedUDPPorts = [ 111 ];
networking.firewall.allowedUDPPorts = [ 111 2049 4045 ];
}

Loading…
Cancel
Save