Skip to content
Snippets Groups Projects
Commit a7833603 authored by Kerri Wait's avatar Kerri Wait
Browse files

Merge branch 'master' into 'telegraf-1.15'

# Conflicts:
#   roles/telegraf/templates/telegraf.conf.j2
parents cd23530f f3f49e50
No related branches found
No related tags found
7 merge requests!399Capture extra NFS stats,!393Hotfix: monitor NFS GETATTR stats via telegraf,!392Temporarily disable inputs.filecount in telegraf,!389Update telegraf config to ignore more ethX interfaces in ethtool plugin,!388Fix the telegraf config for mlx hw counters to get rid of errors in logs,!387Telegraf 1.15 nvidia_smi fix,!386Telegraf 1.15 nvidia_smi plugin
---
lustreVersion: v2_13_55
---
# see documentation at https://sites.google.com/a/monash.edu/hpc-services/work-instructions/system-configuration/lustre/compile-lustre-client-from-source
- name: get lustre sources for latest tags see https://git.whamcloud.com/?p=fs/lustre-release.git;a=summary
git:
repo: git://git.whamcloud.com/fs/lustre-release.git
dest: /tmp/lustre-release
version: "{{ lustreVersion }}"
#command: git clone git://git.whamcloud.com/fs/lustre-release.git -b v2_12_5
# chdir: /tmp/lustre-release
# creates: /tmp/lustre-release
#- name: get a magic patch
# command: git fetch https://review.whamcloud.com/fs/lustre-release refs/changes/67/32267/1 && git checkout FETCH_HEAD
# chdir: /tmp/lustre-release
- name: install dependencies
package: #libelf-dev, libelf-devel or elfutils-libelf-devel
name:
- libyaml
- libyaml-devel
- libtool
- elfutils-libelf-devel
- libselinux-devel
#- kernel-rpm-macros #centos8.2
- kernel-abi-whitelists
state: present
become: true
when: ansible_os_family == 'RedHat'
- name: autogen
command:
cmd: '/bin/sh ./autogen.sh'
chdir: /tmp/lustre-release
- name: configure
command:
cmd: './configure --disable-server --with-o2ib=/usr/src/ofa_kernel/default'
chdir: /tmp/lustre-release
- name: make
make:
chdir: /tmp/lustre-release
params:
NUM_THREADS: 6
#- name: make rpms
# command: make rpms
# chdir: /tmp/lustre-release
- name: make rpms
make:
target: rpms
chdir: /tmp/lustre-release
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
pip: pip:
virtualenv: "{{ install_path }}" virtualenv: "{{ install_path }}"
name: "git+https://gitlab.erc.monash.edu.au/hpc-team/mclastlogin.git" name: "git+https://gitlab.erc.monash.edu.au/hpc-team/mclastlogin.git"
extra_args: "--upgrade"
become: true become: true
become_user: "{{ cron_user }}" become_user: "{{ cron_user }}"
......
...@@ -3,3 +3,4 @@ ...@@ -3,3 +3,4 @@
#MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-4.4-1.0.0.0-rhel7.4-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}" #MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-4.4-1.0.0.0-rhel7.4-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}"
#MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}" #MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}"
MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-4.7-3.2.9.0-rhel7.7-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}" MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-4.7-3.2.9.0-rhel7.7-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}"
buildKMOD: False
\ No newline at end of file
...@@ -111,7 +111,15 @@ ...@@ -111,7 +111,15 @@
chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}"
become: true become: true
become_user: root become_user: root
when: install_now when: install_now and buildKMOD!=True
- name: install drivers
shell: ./mlnxofedinstall -q --skip-repo --without-fw-update --add-kernel-support --hpc --kmp --all
args:
chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}"
become: true
become_user: root
when: install_now and buildKMOD==True
#- name: install ofa_kernel # this will be installed by mlnxofedinstall #- name: install ofa_kernel # this will be installed by mlnxofedinstall
# yum: # yum:
......
user.max_user_namespaces=10000
- name: copying networking config for sysctl
copy:
mode: '640'
src: max_user_name_spaces.conf
dest: '/etc/sysctl.d'
become: true
- name: update max_user_name_spaces variable for live system
sysctl:
name: user.max_user_namespaces
value: "10000"
become: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment