From b50124fd8f1e09e23b53818ef395929ed346856c Mon Sep 17 00:00:00 2001 From: Simon Ebner Date: Mon, 7 Jun 2021 14:25:27 +0200 Subject: [PATCH] add rf test setup --- operation-tools/install_dispatcher_node.yml | 2 +- operation-tools/install_query_node.yml | 2 +- operation-tools/install_rest_apis.yml | 2 +- operation-tools/inventories/sf_rf | 30 +++++++++++++++++++++ 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 operation-tools/inventories/sf_rf diff --git a/operation-tools/install_dispatcher_node.yml b/operation-tools/install_dispatcher_node.yml index 352daf3..e8fe684 100644 --- a/operation-tools/install_dispatcher_node.yml +++ b/operation-tools/install_dispatcher_node.yml @@ -1,7 +1,7 @@ - hosts: databuffer_cluster become: true vars: - dispatcher_node_version: 1.14.13 + dispatcher_node_version: 1.14.17 binaries_install_dir: /opt/databuffer tasks: - name: Create deployment directory - dispatcher_node diff --git a/operation-tools/install_query_node.yml b/operation-tools/install_query_node.yml index 4818703..b132cad 100644 --- a/operation-tools/install_query_node.yml +++ b/operation-tools/install_query_node.yml @@ -1,7 +1,7 @@ - hosts: databuffer_cluster become: true vars: - query_node_version: 1.14.13 + query_node_version: 1.14.17 binaries_install_dir: /opt/databuffer tasks: - name: Create deployment directory - dispatcher_node diff --git a/operation-tools/install_rest_apis.yml b/operation-tools/install_rest_apis.yml index f2fe2e2..9fa4f2a 100644 --- a/operation-tools/install_rest_apis.yml +++ b/operation-tools/install_rest_apis.yml @@ -1,7 +1,7 @@ - hosts: databuffer_cluster become: true vars: - binaries_version: 1.14.13 + binaries_version: 1.14.17 binaries_install_dir: /opt/databuffer tasks: diff --git a/operation-tools/inventories/sf_rf b/operation-tools/inventories/sf_rf new file mode 100644 index 0000000..20c7d54 --- /dev/null +++ b/operation-tools/inventories/sf_rf @@ -0,0 +1,30 @@ + +[data_api] +# sf-daqbuf-34.psi.ch + +[dispatcher_api] +# sf-daqbuf-34.psi.ch + +[databuffer_cluster:children] +databuffer + +[databuffer] +sf-daqbuf-34.psi.ch + +[databuffer_cluster:vars] +daq_environment=sf-rf-databuffer + +[databuffer:vars] +# This was calculated like this: +# SYSTEM_CPU_COUNT=$(cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l) +# SYSTEM_CORE_PER_CPU_COUNT=$(cat /proc/cpuinfo | grep -o -P 'cpu cores\t: [^\n]*' | cut -f2- -d':' | uniq | tr -d ' ') +# # without hyper threading +# SYSTEM_CORE_COUNT=$(( ${SYSTEM_CPU_COUNT} * ${SYSTEM_CORE_PER_CPU_COUNT} )) +number_of_cores=28 + +# This was calculated like this: +# SYSTEM_THREAD_COUNT=$(egrep -c 'processor([[:space:]]+):.*' /proc/cpuinfo) +# QUERY_NODE_COMMON_FORK_JOIN_POOL_PARALLELISM="$((2 * ${SYSTEM_THREAD_COUNT}))" +fork_join_pool_parallelism=112 + +backend_default=sf-rf-databuffer