Featured

Jenkins master with JNLP slaves

In this document, I will show how to configure Jenkins master and slave nodes. In the slave nodes, AWS CLI and Docker must be installed and configured. All of the topology will be configured with Vagrant. The network topology will be as following: I have used my WiFi card as the public network to direct […]

Read More Jenkins master with JNLP slaves

Integration FreeIPA in CentOS7 to Microsoft Active Directory

Our purpose is configure and integrate CentOS7 with Microsoft Active Directory as domain controller. We use the following machines: DC (Windows)– dc01.domain.lan – 10.50.3.2 DC(Windows) – dc02.domain.lan – 10.50.3.3 DC(CentOS7) – ipa.ec.domain.lan – 10.50.3.126 Client(CentOS7) centos7client.ec.domain.lan – 10.50.3.124 Our Base DN is DOMAIN.LAN. Both of Active Directory Domain Controllers works on Windows server 2012 R2. […]

Read More Integration FreeIPA in CentOS7 to Microsoft Active Directory

Detect rogue in Cisco switches with Python

With this Python script, we will compare statically defined MAC address list with MAC addresses of selected Cisco switches for special VlanID. Statically defined MAC address list you must write in the “StaticMacs” file. If script couldn’t find statically defined “StaticMacs” file it will print you how you can prepare this with “createstaticmacs.py” script. “switchnotificator.py” […]

Read More Detect rogue in Cisco switches with Python

Install and configure CARP/UCARP to UNIX/Linux servers with Python script

Usually, a Virtual IP is used to distribute the workload automatically among cluster nodes. Cisco uses HSRP to combine their routers in the Standby group with a single VIP assigned, which stands for the default gateway in a network. FreeBSD and Linux (Ubuntu, CentOS6, and Centos7) operating systems use CARP and UCARP respectively for this […]

Read More Install and configure CARP/UCARP to UNIX/Linux servers with Python script

Auto deploy 2 nginx uwsgi and 1 HA proxy virtual machines with Vagrant and ansible

Article shows us how to deploy Nginx UWSGI backend servers with HA proxy front load balance server. In this article I have used Vagrant with Virtualbox provider and Ansible for provisioning. Vagrantfile will create 3 virtual machines and do provisioning to all of them. I separated playbook files and roles(with handlers, tasks and templates) for all […]

Read More Auto deploy 2 nginx uwsgi and 1 HA proxy virtual machines with Vagrant and ansible

Deploy virtual machines in Vmware Vsphere with Ansible and Cobbler PXE server

This article shows us how to configure Cobbler PXE server for automatic deploying Virtual Machines in our Virtual Environment(vCphere). For that I wrote script. For this script I have used Python with libraries(Jinja2, Fabric, OS, Sys etc.) and Ansible with Vsphere module. Script gives us the following menu: If we choose 1 it will clone […]

Read More Deploy virtual machines in Vmware Vsphere with Ansible and Cobbler PXE server