Assumption: AWS access key has a privilege to create snapshot. Aws Tag name has to be passed as an argument. Replace aws access key and secret key with proper keys #!/usr/bin/python #Author:Dhanasekaran N #Email:dhanasekaran.n16@gmail.com #Version:1.0 #Here come I……. from datetime import datetime, timedelta import datetime import time from dateutil import… Continue Reading Python script to take Amazon volume backup of an instance

This post guides you to install ffmpeg on ubuntu server. Let’s update all the repo’s on the host. apt-get update   Install the required package using apt-get install. apt-get -y –force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texi2html zlib1g-dev yasm… Continue Reading Install ffmepg on Ubuntu Server

1. Install Linux dependencies GCC and Make(On Redis Server) sudo yum -y install gcc make   2. Download, Untar and Make Redis 3.0 wget http://<Download the latest file from the redis official site> tar xzf redis-3.3.0-rc3.tar.gz cd redis-3.0.0-rc3 make   3. Create Directories and Copy Redis Files sudo mkdir /etc/redis /var/lib/redis… Continue Reading RedisMaster and Slave Setup

Introduction S3cmd is a free and open-source command-line tool used to manage and interact with Amazon S3 and S3-compatible object storage services such as MinIO, DigitalOcean Spaces, Ceph, and others. It allows administrators to upload, download, synchronize, and manage files and buckets directly from the Linux terminal. This document provides… Continue Reading S3cmd Installation on Linux

Introduction Redis is an in-memory data structure store commonly used for caching, session management, message brokering, and real-time applications. It provides a command-line interface (redis-cli) that allows administrators to manage data, monitor server performance, configure runtime settings, and troubleshoot Redis instances. This guide covers commonly used Redis commands for day-to-day… Continue Reading Redis Common Commands

Introduction In environments with multiple Memcache servers, it may be necessary to remove the same cache key from all nodes to ensure data consistency. This Python script allows administrators to delete a single Memcache key or multiple Memcache keys across a specified Memcache cluster. Prerequisites Implementation Step 1 Create a… Continue Reading Script to delete Memcache key on cluster

Introduction MongoDB is an open-source NoSQL database that stores data in flexible, document-based collections instead of traditional tables. It is designed for high performance, scalability, and high availability. A MongoDB replica set (cluster) consists of multiple MongoDB instances that work together to provide data redundancy and automatic failover. Prerequisites Implementation… Continue Reading Mongo Cluster Setup

Introduction The tmpwatch utility helps automatically remove old and unused files from the /tmp directory. Since applications such as Apache and MySQL store temporary files in this location, the partition can fill up over time, potentially causing service interruptions. Using tmpwatch helps keep the /tmp directory clean and prevents disk… Continue Reading Using tmpwatch to clear files from /tmp partition

Recently, we have upgraded MSSQL version from Evaluation version to Web Edition. We would like to post the step in this article which will help someone to upgrade MSSQL.   There are few things which we need to consider while upgrading. +  Lets take a backup of all the database.… Continue Reading Upgrade MS Sql Server from Evaluation version to Web Edition

Introduction Managing network switches often involves performing routine tasks such as identifying connected devices, checking VLAN assignments, configuring ports, and reviewing logs. Having a quick reference of commonly used switch commands can simplify day-to-day administration and troubleshooting. Prerequisites Before you begin, ensure you have: Implementation Find the Switch Port Using… Continue Reading Basic Network Switch Commands for Troubleshooting and Configuration