Use the OmniPath network for Ceph
This commit is contained in:
parent
0f0a861896
commit
0744a8a641
@ -33,9 +33,10 @@
|
||||
enable = true;
|
||||
global = {
|
||||
fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b";
|
||||
monHost = "10.0.40.40";
|
||||
monInitialMembers = "bay";
|
||||
clusterNetwork = "10.0.40.40/24"; # Use Ethernet only
|
||||
monHost = "10.0.42.40";
|
||||
monInitialMembers = "10.0.42.40";
|
||||
publicNetwork = "10.0.42.40/24";
|
||||
clusterNetwork = "10.0.42.40/24";
|
||||
};
|
||||
extraConfig = {
|
||||
# Only log to stderr so it appears in the journal
|
||||
@ -49,7 +50,7 @@
|
||||
enable = true;
|
||||
daemons = [ "mds0" "mds1" ];
|
||||
extraConfig = {
|
||||
"host" = "bay";
|
||||
"host" = "10.0.42.40";
|
||||
};
|
||||
};
|
||||
mgr = {
|
||||
|
@ -17,7 +17,7 @@
|
||||
fsType = "ceph";
|
||||
device = "user@9c8d06e0-485f-4aaf-b16b-06d6daf1232b.cephfs=/";
|
||||
options = [
|
||||
"mon_addr=10.0.40.40"
|
||||
"mon_addr=10.0.42.40"
|
||||
"secretfile=${config.age.secrets."secrets/ceph-user".path}"
|
||||
];
|
||||
};
|
||||
|
@ -20,9 +20,10 @@
|
||||
enable = true;
|
||||
global = {
|
||||
fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b";
|
||||
monHost = "10.0.40.40";
|
||||
monInitialMembers = "bay";
|
||||
clusterNetwork = "10.0.40.40/24"; # Use Ethernet only
|
||||
monHost = "10.0.42.40";
|
||||
monInitialMembers = "10.0.42.40";
|
||||
publicNetwork = "10.0.42.40/24";
|
||||
clusterNetwork = "10.0.42.40/24";
|
||||
};
|
||||
osd = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user