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

Ansible Cisco IOS control

In this article I will show how to use Ansible playbooks to control Cisco IOS devices. We will test to send commands from file and from playbook, write configurations, send file and get file to Cisco routers. For my test environment I used GNS3 with Cisco 3745 Routers. I have configured 5 Routers which is […]

Read More Ansible Cisco IOS control

Ubuntu14.04 OpenVPN FreeRADIUS Active Directory integration

Ubuntu14.04 OpenVPN FreeRADIUS Active Directory integration Our purpose is install and configure OpenVPN server on Ubuntu 14.04 and after integrate this with FreeRADIUS. After successful configuration OpenVPN with FreeRADIUS, we will integrate FreeRADIUS to Active Directory. Then, user from AD LDAP group must connect to OpenVPN server. The network infrastructure will be as follows: Used […]

Read More Ubuntu14.04 OpenVPN FreeRADIUS Active Directory integration