This is the “expected” behavior. Let me explain it, with a cluster of 3 nodes and 1 replica. So you have started with 1 node, so in this case you have only “active documents” (no replica) Then you add another node, and do a rebalance. Once it is done you have 50% of the active…
Category: General
Discover which repo holds a package in CentOS.
It is sometimes useful not only to know your repo list covers you for all the stack of software you want but also where does a package actually reside. The repoquery command comes to the rescue.
Installing vim editor.
To install vim [root@testarossa-00-0c-29-47-8f-35 ~]# yum whatprovides vim-enhanced Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.crazynetwork.it * epel: fr2.rpmfind.net * extras: mirror.crazynetwork.it * updates: mirror.crazynetwork.it 2:vim-enhanced-7.0.109-7.el5.i386 : A version of the VIM editor which includes : recent enhancements. Repo : base Matched from: [root@testarossa-00-0c-29-47-8f-35 ~]# yum install vim-enhanced-7.0.109-7.el5.i386 Loaded plugins: fastestmirror…
Dsabling SElinux In Centos
Sometimes and with some DB platforms especially when you are testing and want to reduce the number of variables during development, testing etc.. you don not want SELinux watching your back. While it is a must to enable SELinux in hardened production systems it can be quite a pain to handle. Sometimes it needs disabling…
Introduction to APT (advanced package Tools)
Advanced Packaging Tool Ubuntu — and all Debian-based distros — includes the Advanced Packaging Tool (APT), which can be used to easily download and install software for the operating system. This article looks at APT, and how it is used. Topics : Table of Contents Installing Software on a Computer Installing Software on Windows Installing Software on…
Introduction to Yum
1. Introduction Yum is a tool for automating package maintenance for a network of workstations running any operating system that use the Red Hat Package Management (RPM) system for distributing packaged tools and applications. It is derived from yup, an automated package updater originally developed for Yellowdog Linux, hence its name: yum is “Yellowdog Updater, Modified”. Yup was originally…
Configure, make and make install. GNU configure and build systems.
In Linux installing software can be done in more than one way. Software installed on a platform is always reccommended to be installed from the repositories using the yum or apt tools. These tools have a lot of logic in them to check for package consistency, resolve dependencies , compare local version to the one…
The /etc/passwd File Format
The /etc/passwd file stores essential information, which is required during login i.e. user account information. /etc/passwd is a text file, that contains a list of the system’s accounts, giving for each account some useful information like user ID, group ID, home directory, shell, etc. It should have general read permission as many utilities, like lsuse…
The Linux Conundrum
A large company, was taking over our smaller company and they were on a trend to replace Linux and Java with MS Windows ® and ASP.NET. When the CIO was asked why not go the other way since arguably our smaller company was more advanced put plainly his answer “Linux and Java guys are so hard…