mirror of https://gitlab.crans.org/nounous/nixos
add another monitor to switch ip addr
parent
3842a07f93
commit
5d8d0be570
|
|
@ -13,10 +13,6 @@
|
|||
# je propose comme convention, entier suivi de l'id à 2 chiffre de la machine
|
||||
# les machines physique ont des id < 100, donc ca fonctionne
|
||||
daemons = ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11"];
|
||||
extraConfig = {
|
||||
"public_addr" = "172.16.4.3";
|
||||
"cluster_addr" = "172.16.6.3";
|
||||
};
|
||||
};
|
||||
|
||||
# monitor, garde la map du cluster
|
||||
|
|
@ -26,7 +22,7 @@
|
|||
"mon host" = "172.16.4.3";
|
||||
"mon initial members" = "cephiroth";
|
||||
};
|
||||
daemons = ["cephiroth"];
|
||||
daemons = ["cephiroth" "cephiroth-san"];
|
||||
};
|
||||
|
||||
# Dashboard
|
||||
|
|
|
|||
Loading…
Reference in New Issue