Skip to content
Snippets Groups Projects
Commit a8e585ba authored by Václav Bartoš's avatar Václav Bartoš
Browse files
parents a1a32672 b3989152
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@ The current version of SOCTools only runs on a single server. A fully distribute
## Hardware requirements
* CPU: 8 cores
* Memory: 32GB (It is possible to run on less but it is not recommended)
* Disk: >30GB (This depends entirely on how much data you want to collect and how long you want to keep the data. For just testing SOCTools, 30GB is enough.)
* Memory: 32GB
* Disk: >40GB (This depends entirely on how much data you want to collect and how long you want to keep the data. For just testing SOCTools, 30GB is enough.)
## Prerequisites
......
......@@ -97,7 +97,7 @@ WORKDIR ${NIFI_HOME}
# thus normal shell processing does not happen:
# https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example
USER root
RUN yum install -y supervisor rsync
RUN yum install -y supervisor rsync python2-psutil
RUN yum clean all
COPY nifisupervisord.conf /etc/supervisord.conf
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
......@@ -17,7 +17,7 @@ defaults
timeout server 20s
listen stats
bind 0.0.0.0:8888
bind 0.0.0.0:8888 ssl crt /etc/ssl/haproxy alpn h2,http/1.1
stats enable
stats hide-version
stats uri /
......
---
- name: Restart NiFi
- name: Getting pids for nifi
pids:
name: nifi
register: pids_of_nifi
- name: Stop NiFi
remote_user: root
command: "supervisorctl stop nifi"
- name: Check nifi processes
remote_user: root
wait_for:
path: /proc/{{ item }}/status
state: absent
with_items: "{{ pids_of_nifi.pids }}"
- name: Start NiFi
remote_user: root
command: "supervisorctl restart nifi"
command: "supervisorctl start nifi"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment