CGTS Corp...

Category: CGTSEN

DevOps – Tool

What is Ansible?

 

Ansible Red Hat: Ansible is an open source IT Configuration Management, Deployment & Orchestration tool. It aims to provide large productivity gains to a wide variety of automation challenges. This tool is very simple to use yet powerful enough to automate complex multi-tier IT application environments.

 

Why do we need Ansible?

 

  • Controller Machine: The machine where Ansible is installed, responsible for running the provisioning on the servers you are managing.
  • Inventory: An initialization file that contains information about the servers you are managing.
  • Task: A block that defines a single procedure to be executed, e.g. Install a package.
  • Module: A module typically abstracts a system task, like dealing with packages or creating and changing files. Ansible has a multitude of built-In modules, but you can also create custom ones.
  • Role: A pre-defined way for organizing playbooks and other files in order to facilitate sharing and reusing portions of a provisioning.
  • Facts: Global variables containing information about the system, like network interfaces or operating system.
  • Handlers: Used to trigger service status changes, like restarting or stopping a service.

 

Advantages of using Ansible

 

Simple: Ansible uses a simple syntax written in YAML called playbooks. YAML is a human-readable data serialization language.
Agentless: Finally, ansible is completely agentless. There are no agents/software or additional firewall ports that you need to install on the client systems or hosts which you want to automate.
Powerful and Flexible: Ansible has powerful features that can enable you to model even the most complex IT workflows.
Efficient: No extra software on your servers means more resources for your applications. Also, since ansible modules work vía JSON, ansible is extensible with modules written in a programming language you already know.

 

What Ansible can do?

 

  • Provisioning: Helps to streamline this process
  • Configuration Management: It establishes and maintains consistency of the product performance by recording and updating detalled information which describes an enterprise´s hardware and software.
  • Orchestration: Configurations alone don´t define your environment. You need to define how multiple configurations interact and ensure the disparate pieces can be managed as a whole.
  • Application Deployment: When you define your application with ansible, and manage the deployment with ansible tower, teams are able to effectively manage the entire application life cycle from development to production.
  • Security and Compliance: When you define your security policy in ansible, scanning and remediation of site. Wide security policy can be integrated into everything that is deployed.

 

Ansible Architecture

 

Ansible architecture is fairly straightforward. Refer to the diagram below to understand the ansible architecture.

 

Ansible in DevOps

 

In DevOps, as we know development and operations work is integrated. This integration is very important for modern test-driven application design, hence, ansible integrates this by providing a stable environment to both development and operations resulting in smooth orchestration, refer to the image below to see how ansible fits into DevOps.

 

Real- Life usage of Ansible by NASA

Ansible Tower provided with a dashboard which provided the status summary of all hosts and jobs which allowed NASA to group all contents and manage access permissions across different departments. It also helped to split up the organization by associating content and control permission for groups as well.

 

Ansible Tower is a web-based interface for managing Ansible. One of the top items in Ansible users’ wishlists was an easy-to-use UI for managing quick deployments and monitoring one’s configurations. Ansible management came up with Ansible Tower in response.

 

Further, Ansible divided the tasks among teams by assigning various roles. It managed the clean-up of old job history, activity streams, data marked for deletion and system tracking info. Refer to the diagram below to understand how Ansible has simplified the work of NASA.

 

DevOps – The Beginning

Definition in depth

The term DevOps is being used in several ways. In its most broad meaning, DevOps is an operational philosophy that promotes better communication between development and operations as more elements of operations become programmable. In its most narrow interpretation, DevOps describes the part of an organization’s information technology (IT) team that creates and maintains infrastructure. The term may also be used to describe a culture that strategically looks at the entire software delivery chain, overseeing shared services and promoting the use of new development tools and best practices.
The best way to define it in depth is to use a parallel method to the definition of a similarly complex term, agile development.

Agile Values / DevOps Values 

  • Individuals and interactions over processes and tools
  • Working software (service or software fully delivered to the customer ) over comprehensive documentation
  • Customer collaboration over contract negotiation
  • Responding to change over following a plan

Agile Principles  / DevOps Principles

  • Our highest priority is to satisfy the customer through early and continuous delivery of valuable functionality. (more general than “software”.)
  • Software functionality can only be realized by the customer when it is delivered to them by sound systems. Nonfunctional requirements are as important as desired functionality to the user’s outcome.
  • Business people, operations, and developers must work together daily throughout the project
  • Simplicity–the art of maximizing the amount of work not done–is essential.

Agile Methods / DevOps Methods

Agile Practices / DevOps Practices

  • Continuous integration and continuous deployment, configuration management, metrics and monitoring schemes, a toolchain approach to tooling.

 

Agile Tools / DevOps Tools

  • Jenkins, travis, teamcity, configuration management (puppet, chef, ansible, cfengine), orchestration (zookeeper, noah, mesos), monitoring, virtualization and containerization (AWS, OpenStack, vagrant, docker) and many more.
  • it’s incorrect to say a tool is “a DevOps tool” in the sense that it will magically bring you DevOps
Under a DevOps model, development and operations teams are no longer “siloed.” Sometimes, these two teams are merged into a single team where the engineers work across the entire application lifecycle, from development and test to deployment to operations, and develop a range of skills not limited to a single function

History of DevOps

Some relevant points:
2007: Patrick Debois, a software development consultant, had a goal of learning all aspects of IT. He worked as a developer, network specialist, system administrator, tester and project manager.  Patrick had always been bothered by the differences between how Dev and Ops worked, but he became particularly frustrated with the challenges of managing work across the two groups on this datacenter migration. Continuous integration was gaining popularity in the agile community and was moving Dev closer to deployment, but there was still nothing out there that fully crossed the divide of Dev and Ops.

 

2008: Andrew Shafer posted an idea for an agile infrastructure “birds of a feather” session at the Agile 2008 Conference. Patrick Debois saw the post and went to the session. Unfortunately, he was the only one who showed up. The idea was so poorly received that Andrew didn’t even show up to his own discussion.Andrew and Patrick decided to start a Google group named Agile System Administration.

 

 

2009: John Allspaw, senior vice president of technical operations at Flickr, and Paul Hammond, director of engineering at Flickr, gave a presentation at the O’Reilly Velocity Conference in San Jose, “10+ Deploys per Day: Dev and Ops Cooperation at Flickr.”
DevOpsDays, in Ghent, Belgium. [Patrick Debois]

 

 

 

What is DevOps Not?

 

  • It’s Not NoOps: It is not “they’re taking our jobs!”. some parts of operations need to be automated, that means that either we ops people do some automation development, or developers are writing “operations” code, or both.
  • It’s Not (Just) Tools: DevOps is also not simply implementing a set of tools. A tool can be useful in Agile (or DevOps), but if you don’t know how to use it then it’s like giving an assault weapon to an untrained person.  (principles)
  • It’s Not (Just) Devs and Ops: And in the end, it’s not exclusionary.  Some people have complained “What about security people!  And network admins!  Why leave us out!?!”. DevOps is a major step for one discipline to join in on the overall culture of agile collaboration that should involve all disciplines in an organization.
  • It’s Not (Just) A Job Title: Simply taking an existing ops team and calling them “The DevOps Team” doesn’t actually help anything by itself.  Nor does changing a job title to “DevOps Engineer.” If you don’t adopt the values and principles above, which require change at an overall system level not simply within a given team, you won’t get all the benefits.
  • One fundamental practice is to perform very frequent but small updates.
  • Continuous integration is a software development practice where developers regularly merge their code changes into a central repository, after which automated builds and tests are run. The key goals of continuous integration are to find and address bugs quicker, improve software quality, and reduce the time it takes to validate and release new software updates.
  • Continuous delivery is a software development practice where code changes are automatically built, tested, and prepared for a release to production. It expands upon continuous integration by deploying all code changes to a testing environment and/or a production environment after the build stage. When continuous delivery is implemented properly, developers will always have a deployment-ready build artifact that has passed through a standardized test process
  • Microservices architecture is a design approach to build a single application as a set of small services. The microservices architecture decouples large, complex systems into simple, independent projects.  This architecture reduces the coordination overhead of updating applications.
  • Infrastructure as code is a practice in which infrastructure is provisioned and managed using code and software development techniques, such as version control and continuous integration.
  • Communication and Collaboration, increased communication and collaboration in an organization is one of the key cultural aspects of DevOps.
  • BizDevOps (Business, Development and Operations), also known as DevOps 2.0, is an approach to software development that encourages developers, operations staff and business teams to work together so the organization can develop software more quickly, be more responsive to user demand and ultimately maximize revenue.

 

Devops 2.0

Principles

  • Decouple feature rollout from code deployment
  • Continuos Delivery
  • User-Centered Deployments
  • Non-Technical + Technical Coordination
  • Customer Feedback
  • Risk Mitigation
  • Faster, More iterative software delivery

 

 

Tech Talk

The Tech talk are performed by our group of specialized professionals are designed to transmit knowledge to the staff of work involved, so the can receive the transmissions of knowledge, this will allow wider in their knowledge indifferent áreas, the tech talk in two modes, in practice whic refers to small conferences live and online b the help of multimedia tolos to transmit the knowledge to everyone involved that have been they move from their posts.
We have initially made tech talk organizational, technical and methodological issues among these we can mention “Emotional intelligence in IT projects” “Anti-patterns SQL”, “IONIC 2” and “BPM” in context of our Tech talk.
The impact of this activity has been very positive and of great importance for the organization, since this allows that will strengthen, the organizational culture which is of great importance for every Company. According to shein (1988) organizational culture allows the internal integration processes establish ment of adaptation of the organization to work as a social system promoting a pleasan working climate of work where everyone can share their knowledge.

Business Process Management

“Companies are as effective and efficient as the processes they perform, added to the degree of expertise of their employees”
Before getting acquainted with what is Commercial Process Management, know what is a process, but now well, what is a process?
A process is nothing more than a set of mutually related activities and that when interacting simultaneously or successively in the input elements, it becomes products or results. A business process is a set of activities that are carried out in coordination in an environment, business and technical organization, these activities achieve the business objective and each business process represents a unique organization, being able to interact with other external entities.

Therefore, the BPM indicated by its acronym in English Business Process Management can be defined as a paradigm in terms of flexibility, management and control of information and data. At the same time, it can be seen as a work philosophy that provides strategies for the development of processes. It is also considered a collaboration between business people and technology to promote effective, agile and transparent business processes.
What does Business Process Management allows in organizations?
  •  Effective support for decision making in an organization
  • Allows to restructure the operation’s logic of an institution to processes
  • Reduce the implementation costs of distributed application solutions, favouring cycles of continuous improvement of the workflows of an institution.
  • Achieve a good understanding of the operation of the institution.
  • Increase the meeting of requirements for the beneficiary.
  • Reduce the margin of error, attracting elements that allow you to visualize the status of them during each stage.
  • Ensure that processes are executed efficiently, complying with previously established quality standards, and helping to obtain information that can then be used for improvements.
  • Improve the capacity of institutional adaptation to new environmental requirements
  • Increase the effectiveness of internal control.
  • Improves management documentation / procedures.
Within BPM there are different tools that facilitate the processes and automated transactions, documentation, flows and other actions required in fairs processes. It also includes integrated and free tasks that increase the power of the system, as well as innovative and exclusive features (Graterol, Hernández, and Orozco, 2011)
All accessories for people with disabilities: JBPM, BONITASOFT, INTALIO, OPENBRAVO AND BIZAGI
The BPM has the following components:
BPA – Business Process Analysis: support the analysis, design and model processes.
BAM -Business Activity Monitoring: allows to implement along with management control processes in real time.
BPE – Business Process Execution: covers both the execution of the company’s processes and the orchestration and SOA integration with back-office applications.
BRE – Business Rules Engine: support the administration and execution of business rules independently of the systems that use them.
Whose life cycle is?
Design: Existing processes are identified and restructured or eliminated and new ones are designed that are theoretically effective. Process flows, actors, alerts and notifications, escalations, Service Level Agreements, Standard Operating Procedures and task delivery mechanisms are represented.
Modelling: Modelling for the theoretical design and introducing combinations of variables to take into account (costs, efficiency, performance indicators). It also includes analysis “What happens if …” (eg, what happens if you want to develop the same activity with 80% of the budget?)
Execution: Software’s tools begin to automate and change the current processes and new ones begin to work. The results are documented to generate knowledge, purchases are made in the necessary technological infrastructure, staff training, goals are set and the design already set up is put in place, tangible results are produced.
Monitoring: The processes are monitored individually, their performance is evaluated, and results are analyzed and compared with the previous ones. Organizational attractors or bosses are responsible for motivating and correcting those who perform tasks.
Optimization: Information is taken from the modelling stage and performance data from the monitoring stage and compared, identifying the bottlenecks in the processes (capacity or agility that is limited by one or more resources) and savings potential opportunities and improvement. Then these improvements are applied to the design. If the optimization is not good, a new process engineering will be carried out (re-structuring the processes in a more drastic way).
Do you need a BPM organization?
The answer to this question would be. It is necessary in an organization because the processes involve human tasks and various information systems and there is little visibility of them.
  • Although there are procedures that describe work tasks and processes, it is difficult to verify interactions, contradictions and compliance with them.
  • It is difficult to identify bottlenecks in processes.
  • Much of the inefficiency of the processes is due to the lack of clear responsibility for them.
  • It is often difficult to indicate precisely who should perform some tasks.
  • After achieving a goal, it is difficult to know who did what?
  • Lack of adequate measures to evaluate the performance of employees.
  • It is very important to mention that business orientation has evolved since the beginning with a marked trend in recent years, this isn’t only focused on terms such as production, sales and marketing; but nowadays the businesses are focused on the client.
  • Currently, technology is very important to optimize relationships with customers.
  • It can re-design business processes, facilitating changes in work practices and the establishment of innovative methods that unite the company with its customers, this becomes the starting point of the rethinking and renewal of business processes, in a constant search for improvement.

Emotional Intelligent in IT Projects

“The Will is the intention favored by emotions” Raheel Faroq

Humans have two mind, a rational mind and emotional mind

Resultado de imagen para mente racional y mente emocional

Rational Mind: A rational mind is one that allows us to think and react in an analytical way to events that require a thinking ability related to a specific point, for example science, logic, numbers etc.
Emotional Mind: it is what the we perceive our feelings, it is the one that makes us feel love, anger, sadness.  It is the one that manages and makes us express our deepest and most intense emotions. The emotional mind according to studies we inherited from our ancestors.
The emotional mind is much faster than the rational mind, and it gets into action without stopping for a moment to think about what it is doing. The actions that arise from the emotional mind carry a particularly strong sense of certainty. It is a consequence of a simple and simplified way of seeing things that can be absolutely disconcerting for the rational mind, when the storm has passed or even in the middle of the answer we are surprised thinking why did I do this? Which indicates that the rational mind is awakening.
When the emotional mind and the rational mind operate in harmony, they can make the best decisions and help us achieve more assertive behaviors in the face of different eventualities within a company and our daily life.
However, due to this close relationship of our emotional part with our rational part can produce something that specialists call neuronal abduction, where our limbic brain is responsible for our emotions can control our rationality, that is why sometimes driven by the emotions we obtained unusual behaviors such as screaming, insulting, or in extreme cases hitting something or someone in moments of anger.
That is why we have our positive emotions for our daily life.
According to these investigations conducted by Daniel Goleman determined that our IQ does not give us guarantees of success.
Therefore, what is Emotional Intelligence?
Daniel Goleman defined it as “the ability to manage and understand our emotions”. Emotional Intelligence according to this famous psychologist is to say, our emotions in favour, the practice of emotional intelligence means to handle 5 fundamental competences or pillars, which are:
Self-awareness: self-awareness deals with the knowledge of oneself or know our emotions at every moment, if we are aware of what we feel and know what is causing it.
Self-regulation: or know how to manage our emotions, which means controlling and having assertive behaviors when an emotion emerges.
Motivation: it has to do with making an effort to motivate ourselves even in difficult situations, as for example before the great crisis that our country is going through, in which there are moments where we can feel helpless, frustrated, worried, upset, outraged, in the currently the brain drain is very big and we, like others, can feel, there is not a single place, a car, travel or simply a place to live, because when you start a university career, we achieve cultivate many dreams. Motivation is a key factor and of great importance for the human being, many wonder, how can i be motivated? That depends on each person and how it can be objective and positive in various situations. It is a strong work that must be done in a short time, one of the things that works to be motivated is the focus, focus does not mean being bussy, focus is not to lose our goal, on our horizon, and something very important our confidence, in our ability to face adversity, to be patient but never to faint, to never give up, that’s why motivation is one of the limits of the great dimension within emotional intelligence, we can know our feelings, have the ability to change them , but if you do not have that motivation that we need to achieve it, it is difficult. A famous speaker says “Success does not depend on where you are, success depends on your decisions”
Empathy: which is the ability to recognize the emotions of others or long story short to put yourself in the place of the other person
Social skills: It is the way we relate to people in our environment
Main Negative Emotions: According to studies there are three types of emotions that can affect our life:
Anger: If it is not controlled, the anger can be growing little by little, that does not mean that you should suppress it but you must be careful that it does not become recurrent.
Specialists recommend when you start to feel anger, the ideal is:
  • Hike
  • Watch a movie
  • Read a book
  • To sing
However, what can not be avoided is to think about what causes the anger, if we think a lot about that situation that make us feel bother, we can get worse  and while you think more about that, your mind  will get many reasons to feel anger. And in the end we will gain a strong headache including anxiety.
In simple terms it is better to think with a cool head, if we let ourselves be carried away by the anger we can do or say things that we may get regret and in many times in the annoyance we can hurt someone.
Anxiety: As human beings we are experts in thinking about the worst scenarios or even create them in our mind, we worry about the things that may not even happen, We think more than we should and at the end we go back to things that may cause us anxiety, for this case sometimes the psychologist recommend us to make the next question, can it go wrong or is it the worst that can happen? This helps you get answers that are probably not as catastrophic as our mind.
Depression: For this emotion, exercise, talk with others, help others, do charitable works, it does not matter if it is something minimal.
Controlling your negative emotions is very important because they can have consequences for your health, according to studies by Goleman and other psychologists, people who suffer anxiety have a higher risk of suffering from an illness.
Main Positive Emotions: there are two positive emotions which Goleman suggests that we have to cultivate. This helps us to have great expectations about the results.
Optimism and hope: In health, optimism and hope can play a very important role, there is an example in the emotional intelligence book dealing with a group of students from Asia, they do not accept academic abilities, on the other hand they see them as a new opportunity to study more, at work you can set an example when you must apply an unknown methodology or language, being optimistic in my case, I think it is complex but I can see it as a challenge, this depends on how things are. In another field, where these emotions are often played in a fundamental role is in sales, an optimistic and hopeful seller in general can accept better the high rate of rejects which may be exposed.
Manage our emotions help us to improve many aspects of our daily life and in the business world, according to the studies, companies require much of emotional help especially those organizations dedicated to technology, because they are businesses where there are a lot level of cognition, logical reasoning, and high levels of stress, when it is applied in organizations it reaches the big question How can I apply it in the projects, especially the IT?
There are a serie of roles within a work team, such as:
Leader-Promoter: He is dominant and emotional, active, proactive, entrepreneur, explorer,he disposes of many ideas, can be a leader.
Facilitator: Seeks appreciation in the team, is empathetic non-dominant, has emotional communication, maintains empatica communication.
Technical-analytical: analytical thinking, only responds if asked, is very direct and to the point, has schematic mind.
Independent: He like challenges, there is no need for help, it is affirmative, it is not emotional
The purpose of knowing the roles is to help us to know ourselves in the workplace, this helps us identify those weak or strong points that can strengthen or maintain through the medium of emotional intelligence.
How to help Emotional Intelligence in projects?
We help each other to know each other more as a team, namely the people who are under your leadership, know how to guide, know how to listen, and most importantly, we will know how to react to different types of personalities.
Strengthening decision making
Deal with different types of clients, that is, with difficult times, the history of the difficult sector
When we sometimes have leaders who may be intimidating or intransigent, where other people may be afraid to make a phone connection, for example, a battle truck is an extremely difficult personality and your co-pilot is afraid of what he scolds. I got the suggestion regarding the flight, this caused the plane to crash and die 10 people, this helps us to have other points of view for example.
When we criticize ourselves in our work, we try to see them constructive, if you are the one who should make a criticism, the way we build it, the solutions or the constructive points of view, we must remember that a leader is not a person who dominates and commands to do, a leader is the one who pursues goals in conjunction with the team.
The theme of emotional intelligence is an invitation to manage and know our emotions, it can not mean that they escape, conflicts that have been transmitted through dialogue, people who have no control over their emotions, are more vulnerable to alcohol, drugs, among others.
First I feel, according to what I feel, we overflow an emotion, the feelings are more lasting than the emotions, the emotions you can change.
Emotional intelligence helps us to have more empathy with people, to know their points of view, to help us improve our work relationships and work team, that everything that concerns us emotionally is something that is achieved overnight. However, in order to achieve the desire to know ourselves, it can be achieved, we must remember that EI is not a measure that only applies to apply, you must be aware of the kindness and confidence that you care about. In many occasions of everyday life.
Goleman, D (1999) explains in his book that the skills in each of the people in each of the spheres or competencies are different, for example, we can help us to manage our own anxiety BUT totally inept to alleviate the disorders of others. The basis of our ability level is undoubtedly nervous but the brain is flexible and constantly learns. On the other hand, errors in emotional skills can be remedied, each of its spheres represents a body of habit and response that, with the right effort, can be improved.

 

 

 

 

Scroll to top