summaryrefslogtreecommitdiffstats
path: root/roles/ib/templates
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-13 21:33:02 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-13 21:33:02 +0200
commita5dc813bab19dffe02dadfb58c19b455df199a08 (patch)
tree6940c72f6b57abcfe00a638cd480b215a2625da2 /roles/ib/templates
parent9194983c4daf6f0e16aa382bc903b6c092d08830 (diff)
downloaditm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.gz
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.bz2
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.xz
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.zip
Prevent IB from crashing Fedora systems, mount Ands shared NFS storage, support development files on CentOS
Diffstat (limited to 'roles/ib/templates')
-rw-r--r--roles/ib/templates/00-ibnm.rules.j22
-rw-r--r--roles/ib/templates/mlx.conf.j21
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/ib/templates/00-ibnm.rules.j2 b/roles/ib/templates/00-ibnm.rules.j2
new file mode 100644
index 0000000..7025eab
--- /dev/null
+++ b/roles/ib/templates/00-ibnm.rules.j2
@@ -0,0 +1,2 @@
+ENV{INTERFACE}=="ib[0-9]*" ENV{NM_UNMANAGED}="1"
+ENV{ID_NET_DRIVER}=="mlx4_*", ENV{NM_UNMANAGED}="1"
diff --git a/roles/ib/templates/mlx.conf.j2 b/roles/ib/templates/mlx.conf.j2
new file mode 100644
index 0000000..df8a3ab
--- /dev/null
+++ b/roles/ib/templates/mlx.conf.j2
@@ -0,0 +1 @@
+options mlx4_core log_num_mgm_entry_size=-1