Giter Club home page Giter Club logo

ansible-swarm-monitoring's Introduction

Project Overview

This project includes Ansible scripts, Docker Swarm configurations, and various monitoring tools to manage and monitor cloud infrastructure effectively.

Makefile Usage

The Makefile includes various targets to manage the infrastructure. Below are the details on how to use each target:

  • setup-all: Runs the main playbook.
  • setup-services-reset: Runs the playbook and starts at the task Install python3-jsondiff.
  • setup-services: Runs the playbook and starts at the task Create data directories.
  • createfs: Creates the necessary folder structure for Ansible variables and roles.
  • createrole <role_name>: Creates a new Ansible role with the specified role name.
  • requirements: Installs Ansible collections specified in requirements.yml.
  • ping: Pings all hosts in the inventory to test connectivity.

Use

  • vagrant up to boot the vagrant VMs
  • vagrant destroy -f to stop them
  • vagrant ssh VCC-control to access the shell of the VCC control node
    • You will find the playbook inside of the /vagrant directory
  • vagrant ssh VCC-target1 to access the shell of the VCC first node
  • vagrant ssh VCC-target2 to access the shell of the VCC second node

DNS names

Within the scenario machines, controlnode.vcc.local, target1.vcc.local, and target2.vcc.local resolve to the machines IP addresses.

On target1 and target2, registry.vcc.local resolves to 127.0.0.1 (the loopback address).

In order to access the project websites from your own browser you need to add host aliases pointed to one of the nodes ON YOUR HOST

ansible-swarm-monitoring's People

Contributors

andreatech avatar

Watchers

Andrea avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.