The first hands-on Linux sysadmin workshop for this year is here.

Iā€™m excited to announce that the registration for the Los Angeles Linux Sysadmin workshop is now open.
(more…)

When you start writing your code in C, C++ or any other programming language, your first objective might be to write a program that works.

After you accomplished that, the following are few things you should consider to enhance your program.

  1. Security of the program
  2. Memory consumption
  3. Speed of the program (Performance Improvement)

(more…)

Question: On my DELL PowerEdge server, in the front panel, I see this error message: W1228 Raid controller battery capacity <24hr error message. But, everything seems to be working fine on the server. What should I do to fix this issue? Is this something I should be worried about?

Answer: In most situations, the solution to the problem is to replace the RAID battery, as it is dying or dead.
(more…)

12 CUPS lpadmin Command Examples to Setup Printers on Linux

by Karthikeyan Sadhasivam on January 12, 2015

CUPS stands for Common UNIX Printing System.

lpadmin is a command line tool used to configure printer and class queues provided by CUPS.

A system running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer. It can also be used to set the server default printer or class.

This tutorial explains how to add a new printer, setup printer options, and manage printers on Linux environment using lpadmin command examples.
(more…)

The 1st live hands-on Linux sysadmin workshop for this year is here.

This time, it will be in Los Angeles. This is two days of hands-on training, where all the participants will work on several well structured lab exercises on a Linux system.
(more…)

How to Configure VMware vSwitch from ESX / ESXi Command Line

by Karthikeyan Sadhasivam on January 8, 2015

In both VMware ESX and ESXi host, vSwitches can be configured either from the GUI or from the command line.

vSwitch is also known as vSphere standard switch.

The CLI configuration are very helpful when you are installing multiple ESX servers and planning to script the vSwitch configuration.

This article explains how to configure vSwitch from CLI using esxcfg-vswitch command examples.
(more…)

How to Delete Old Obsolete and Expired Oracle RMAN Backup

by Ramesh Natarajan on January 7, 2015

If you are sysadmin, sometimes you might find yourself dealing with Oracle backups.

Apart from taking oracle RMAN backup, you should also understand how to Delete the old backups from the RMAN catalog and from physical filesystem.

If you don’t properly delete obsolete and expired Oracle DB backup from the catalog, it will cause some unnecessary throw error message during backup and also it will take-up space at the filesystem level.

Also, it is not recommended to directly remove the RMAN backup files from the filesystem using Linux rm command.

This tutorial explains how to identify the backups that are obsolete and expired, and how to properly delete them from RMAN.
(more…)

How Install and Configure OpenLDAP on CentOS / RHEL Linux

by Karthikeyan Sadhasivam on January 6, 2015

OpenLDAPLDAP stands for Lightweight Directory Access Protocol.

LDAP is a solution to access centrally stored information over network. This centrally stored information is organized in a directory that follows X.500 standard.

The information is stored and organized in a hierarchical manner and the advantage of this approach is that the information can be grouped into containers and clients can access these containers whenever needed.

The OpenLDAP hierarchy is almost similar to the DNS hierarchy.
(more…)