Skip to main content

Posts

Showing posts from November, 2017

Ansible Installation

Installing Ansible The Ansible control host is the machine from which we execute Ansible commands and use it to configure another machine, which we will call the managed machine. Ansible currently only supports a Linux or OS X controller machine; however, the managed machine can be Linux, OS X, other Unix-like machines or Windows. The requirements for the controller machine are as follows: ·          Python 2.4 or higher ·          paramiko ·          PyYAML ·          Jinja2 ·          httplib2 ·          Linux-based OS(Red Hat, Centos, Mac OSX)        Ansible RPMs are available from yum for EPEL 6, 7, and currently supported Fedora distributions. Ansible itself can manage earlier operating systems that cont...

Ansible architecture

ANSIBLE Architecture Components in ANSIBLE Playbook(s) : A playbook consists of one or more plays, which map groups of hosts to well-defined tasks. Here is what you need to know about YAML to get started with your first playbook: The first line of a playbook should begin with "--- " (three hyphens) which indicates the beginning of the YAML document. Lists in YAML are represented with a hyphen followed by a white space. A playbook contains a list of plays; they are represented with "- ". Each play is an associative array, a dictionary, or a map in terms of key-value pairs. Indentations are important. All members of a list should be at the same indentation level.  Each play can contain key-value pairs separated by ":" to denote hosts, variables, roles, tasks, and so on. Variable(s) : While automation exists to make it easier to make things repeatable, all of your systems are likely not exactly alike. On some systems you may want to set s...

Ansible Introduction

“Every change we do in Bare metal/cloud gets deployed through Ansible now...except for the first time. The first time we have to figure out how to do it manually, and then we'll make the Playbook to do it.” Human and machine — each on their own — won't be enough to drive businesses in the coming decades. Tomorrow's leading enterprises will be those that know how to meld the two effectively ". ANSIBLE: Ansible delivers simple IT automation that ends repetitive tasks and frees up DevOps teams for more strategic work. It support configuration management with examples as below. Provisioning Configuration management App deployment Continuous delivery Security and compliance Orchestration Various Integrations supported Infrastructure:   Redhat, Vmware and Windows. Network:             Arista, Cisco, Cumulus, Dell EMC, F5, Juniper. Containers :        ANSIBLE container, Docker. Cloud :      ...

Understanding Devops...

Devops is a new term that has evolved from following three major trends which are related to each other.  a) Agile development : It covers the Continuous Integration (CI) methodology, where the development team focus on development and integration using respective set of tools. b) Agile system administration/Agile operations : This covers Continuous operations (CO) process which includes infrastructure and application setup. c) Collaboration between Agile development and Agile operations : This covers Continuous delivery (CD) trend defines the importance of collaboration between development and operations teams. DevOps has following blocks, DevOps Values – Belief on the fundamental DevOps values are effectively captured in the Agile Manifesto. DevOps Principles – There is not a single agreed upon list, but there are several widely accepted attempts  DevOps Methods – Some of the methods here are the same; you can use Scrum with operations, Kanban wi...

Hardware readiness (Lab setup)

I choose VM-Ware workstation/VirtualBox to kick-start my work with various distributed systems. Unlike VM-Ware/VirtualBox there are several other ways like AWS, Google Cloud, Microsoft Azure to start working in setting up distributed environment and play around technology. Vm-ware :          This is product from VMWARE team. One traditional way to start setting up virtual machines and working. VirtualBox :          This is product from Oracle name Oracle Virtual Box. Cloud computing :         It comes with Saas(Software as a service) based option to enable our day-to-day work with ease. Where it differentiated various services with integration among them to enable business. Whether you start running application with small or heavy loads Various cloud computing services Amazon web-services( AWS ) Google cloud computing( GCP ) Microsoft Azure .