Hi , can somme body geive a help to resolve this please
Exercise A (Ansible):
Prerequisites:
-
Create centos-stream-8 VM
-
Run Zabbix server on that VM
-
Create a ansible role to install consul server on that VM
-
Create a ansible role to register Zabbix service in Consul server.
Exercise S (bash/python/perl scripting):
- Write nftables rules that will block all incoming connections and allow outgoing connections. Browsing from local machine should work, but all incoming connections should be dropped.
- Write a script that can do the 3 following tasks, on a remote server via ssh:
- Isolate first 2 CPU cores from being used by OS
- Install PostgreSQL, create some test database inside, make sure that PostgreSQL is remotely accessible on port 5432
- Register PostgreSQL in Consul server from exercise A
Exercise D (docker and docker-compose):
- Write a docker file for Wildfly, and create docker-compose file that allows Wildfly to be configured from outside
- During startup Wildfly check for PostgreSQL registration in Consul and register itself after
- Provide instructions to deploy a war file to that Wildfly.