Home » Technical » Page 2

Category: Technical

Post related to Technical topic

Terminator Cheat Sheet

Terminator terminal keyboard shortcuts – Cheat Sheet   Quick shortcut useful to use with Terminator terminal  in order to be way more efficient while working in a terminal.  Here is a list of my favorite Terminator shortcut that I use daily.  You can refer to the MAN page for even more shortcut:  Splitting Screen: Ctrl-Shift-E: Will …

Read more

MySQL Reset root password

Effective way to reset the root password for MySQL server Source: MySQL Documentation B. Resetting the Root Password: Unix Systems On Unix, use the following procedure to reset the password for all MySQL root accounts. The instructions assume that you will start the server so that it runs using the Unix login account that you normally …

Read more

GlusterFS Algorithms: Replication (present)

GlusterFS Algorithms: Replication (present) March 12th, 2012 Jeff Darcy – originally on http://hekafs.org Replication is the most necessarily complex part of GlusterFS – even more than distribution, which would probably be the most common guess. It’s also one of the things that sets GlusterFS apart from most of its obvious competitors. Many of them simply require …

Read more

Gluster / GlusterFS Extended Attribute

GlusterFS Extended Attributes April 26th, 2011 Jeff Darcy – originally on http://hekafs.org Extended attributes are one of the best kept secrets in modern filesystems. Here you have a fully general feature to attach additional information to files, supported by most modern filesystems, and yet hardly anybody seems to use it. As it turns out, though, GlusterFS uses …

Read more

Linux File Locks mechanism

In Unix-like systems File Locks Source Wikipedia Unix-like operating systems (including Linux and Apple’s OS X) do not normally automatically lock open files or running programs. Several kinds of file-locking mechanisms are available in different flavors of Unix, and many operating systems support more than one kind for compatibility. The two most common mechanisms are …

Read more

Puppet Overview

  What is Puppet ? Puppet is an IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to orchestration and reporting. Using Puppet, you can easily automate repetitive tasks, quickly deploy critical applications, and proactively manage change, scaling from 10s of servers to 1000s, on-premise or in the …

Read more

Net-Tools vs iproute2

What is Net-Tools and iproute2 Net-Tools has been around for a long now and most sysadmin are very familiar with the file based environment description architecture.  The net-tools is based on the architecture of the /proc directory which contain special file describing the environment.   This architecture is now old and tend to become deprecated as faster and …

Read more

How to add new storage to linux server live without rebooting.

How to add new storage to linux server live without rebooting. Short version: Resize the virtual disk in vmware or add a new hard drive Detect the new change: partprobe echo “- – -” > /sys/class/scsi_host/host0/scan fdisk –l pvcreate /dev/sda3 vgextend rootvg /dev/sda3 lvextend lvextend –L +10G /dev/rootvg/var lvextend –l +100%FREE /dev/rootvg/var Resize filesystem lvresize …

Read more

Cassandra Monitor Repair Task

Cassandra Monitor repair task – Repair node   Control REPAIR – CASSANDRA 1. On the server running the repair nodetool, run the following command to know which server is being processed     ps -edf | grep nodetool 3. Run this command on the server that is currently processing watch -n 1 "nodetool tpstats" 4. If AntiEntropyStage …

Read more