≡ Menu

How to Setup ZFS Filesystem on Linux with zpool Command Examples

zfslinuxZFS has combined volume manager and filesystem with several advanced features.

This is the first part in a series of articles on ZFS.

In the article, we’ll provide an high level introduction to ZFS, explain how to install ZFS on linux, create a ZFS pool, and several ZFS zpool commands.
(more…)

5 Simple Steps to Develop a jQuery Plugin

If you are a developer, while developing an interactive web application, you may find yourself writing similar (or same) code over and over again. In these situations, the need for reusability arise. At the same time you may also face scoping and namespacing issues.

Similarly, there are many other cases where you need a portable code so that the same functionality can be implemented in some other project.

One of the solution to these types of problem is to write jQuery plugin.
(more…)

Introduction to Puppet Configuration files with Examples on Linux

puppet labsPuppet is used to automate several routine sysadmin configuration tasks.

Puppet in an enterprise grade configuration management system.

It allows you to define the state of your IT infrastructure. Once it is defined, Puppet will automatically enforce the correct state on an on-going basis.
(more…)

20 Zypper Command Examples to Manage Packages on SUSE Linux

SUSE Linux Logoyum is for CentOS and Redhat.

apt-get is for Debian and Ubuntu.

In the same way, zypper is for SUSE Linux.

Zypper is a command line tool for package management in OpenSUSE and SUSE Enterprise Linux platforms.
(more…)

AngularJSAngular.js is a client-side javascript framework developed and maintained by Google.

It is a MVW ( Model View Whatever ) framework.

It gives us the flexibility to choose the design pattern that we want to use in our web application.

It is introduced to make static html dynamic. In other words, it updates the view of the web application in sync with any change in the data ( Model ). It makes the view data driven.
(more…)

How to Sync and Start Redhat Cluster to Verify Failover Scenario

In the first part, we explained in detail on how to install and configure 2 Node RedHat Cluster.

We covered the following high-level steps in the previous tutorial:

  • Install and start RICCI cluster service
  • Create cluster on active node
  • Add a node to cluster
  • Add fencing to cluster
  • Configure failover domain
  • Add resources to cluster

In this tutorial, we’ll cover the following high-level steps to finish the cluster setup:
(more…)

How to Configure Linux Cluster with 2 Nodes on RedHat and CentOS

In an active-standby Linux cluster configuration, all the critical services including IP, filesystem will failover from one node to another node in the cluster.

This tutorials explains in detail on how to create and configure two node redhat cluster using command line utilities.

The following are the high-level steps involved in configuring Linux cluster on Redhat or CentOS:
(more…)

How to Add LDAP Users and Groups in OpenLDAP on Linux

To add something to the LDAP directory, you need to first create a LDIF file.

The ldif file should contain definitions for all attributes that are required for the entries that you want to create.

With this ldif file, you can use ldapadd command to import the entries into the directory as explained in this tutorial.
(more…)