Posts

Showing posts from 2021

12 - NAGIOS MONITORING

 NAGIOS MONITORING Infrastructure Monitoring Server, Hardware, Port, Router, processor CPU, Memory ...... Opensource, continuous monitoring tools Detailed Monitoring ( 1 minute) Extendable Architecture - Plugins VictorOps (Calling on mobile) integrated with Nagios Nagios Web Interface (GUI) Nagios core  Nagios Process Scheduler Nagios Executive Plugins  - ( NRPE services ) Plugins check the Status and get Results Plugins send Results to Nagios to process  -> Notifies the Admin about the Status processed by Scheduler -> Remote Resource Servies  -> Plugins check the status and get results Nagios Core -> Plugins -> Scheduler  --> GUI Plugin is compiled executable or scripts in Perl or non-Perl Office Nagios Plugin -> There are 50 official Nagios plugins Community plugins -> around 250 Custom plugins -> write your own plugins NRPE - Nagios Remote Plugin Executor NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. This allows you t

11 - Kubernetes - K8s

Image
 Docker Container Clustering using Kubernetes Orchestration Developed by Google lab in 2015 - Now managed by CNCF Open-source Kubernetes is also called K8s test Running on Docker and other Containers More functionality  Supported by Clouds - AWS, Azure, GPC Master nodes managed by Cloud and not access Tenant Communication between Container by CNI -> Container Network Interface Capability of automating deployment, scaling of application, and operations of application container across clusters Auto-scalable infrastructure Higher density of resource utilization Predictable infrastructure Kubernetes Architecture Kubernetes Master Server etcd : configuration information of K8s ( like Zookeeper ), in multiple nodes API Server: Provide operation on cluster - kubeconfig tools that used for communication Scheduler: responsible for deploy PODs Controller Manager: responsible for managing cluster of state Kubernets Nodes Docker: requirement of each node and help in running the encapsulated a

06 - Docker Swarm - Container Orchestration

Image
 Docker Swarm - Container Orchestration Create Cluster Build & Deployment automated Rolling Deployment Update Version Docker Swarm is clustering for Docker It turns several Docker hosts into a single virtual Docker host The Swarm is controlled by Swarm Manager Each Docker code communicates with the manager It can be installed manually or by using Docker Machine Scheduler Service Discover Consul -> provide DNS Zookeeper - configuration management tools Cheat Sheet => https://lzone.de/cheat-sheet/Docker%20Swarm LAB mkdir DockerSwarm cd DockerSwarm mkdir manager vm1 vm2  *** Manager Node **** cd manager vagrant ssh sudo su - hostnamectrl set-hostname managernode.unix.in bash vi /etc/hosts 192.168.33.14 managernode.unix.in 192.168.33.15 workernode1.unix.in 192.168.33.16 workernode1.unix.in ## Install Docker C curl -fsSL get.docker.com | sh ## Add user Vagrant in Docker group sudo usermod -aG docker vagrant id vagrant ## Start Docker Service