Scenario: Customer have pack of Linux servers with local auth. Goal is to deploy FreeIPA cluster to authenticate and authorize users to access to Linux servers. Solution should be Dockerized. Solution: deploy 1 Master FreeIPA server and 2 replica FreeIPA servers in Docker containers. After that – enroll Linux servers to FreeIPA. Preparation: Use Ubuntu […]
Category: Scripting/Network Automation
Case: remote execution in Linux
Case: Customer have appliance from vendor running Linux. Customer have no access (restricted by agreement with vendor) to scheduler on server. Customer want periodically gather some information from applience and use it. Solution: Create shell script on Linux server, owned by customer. Schedule it on customers server. In mentioned script use remote execution to gather […]
How to deploy Oxidized server in Docker container
Oxidized is a network device configuration backup tool. Wery useful, when you have hundreeds of switches/routers and want to keep configuration of mentioned devices and configuration version history. Open ports 80/tcp and 443/tcp: #firewall-cmd –add-port=80/tcp #firewall-cmd –add-port=443/tcp #firewall-cmd –runtime-to-permanent #firewall-cmd –reload Create directory for service: #mkdir /opt/oxidized Create shell script for Oxidized and make it […]
Clear swap at Linux
Swap is used for cases, when system run out of available RAM. If server have no available RAM for process, it will crush/hung. Swap way extremely low, comparable to RAM and add extra load to disks. When you run a lot of Linux servers it is a great idea to have “swap cleaner” clear up […]