Skip to content

Latest commit

 

History

History
81 lines (44 loc) · 1.38 KB

README.md

File metadata and controls

81 lines (44 loc) · 1.38 KB

ansible-system-compliance-check

=========

Test services and configuration on the server nodes (routinely and as part of a manual check after reboot) Just a check playbook, no changes to the systems.

Requirements

  • ansible
  • root permissions on the destination hosts

Variables

defined in group_vars/GROUPNAME.yml , Group name refers to the entries in the hosts.inv

Dependencies

manual execution

[~]> ansible-playbook site-checks.yml

check modules

001-mounts

  • NFS mounts
  • cvmfs mounts

002-services

  • standard system services (firewall, fail2ban, sshd, syslog)
  • services related to galaxy (galaxy, nga, nginx, eccd) on the main node
  • additional services (slurm, docker)
  • check if autofs is disabled on slurm nodes
  • db node services postgres & rabbitmq
  • postfix on db node

003-ports

  • open tcp ports, which are required for the services (check from localhost only)

004-filesystem

  • Checks the set permissions in directories and files

    • main node: /data/part0/ /data/part0/tmp/galaxy-var-tmp
  • checks the correctness of the letsencrypt privkey files permissions

005-nfsexports

  • checks whether the nfs-shares are exported correctly

006-postgres

  • checks whether the postgresql db is open and readable

007-rabbitmq

  • checks the rabbitmq listener for port 5672 and 5671 (ssl)