7 Cisco MDS 9000 Switch Command Line Examples for VSAN Zone Zoneset

by Karthikeyan Sadhasivam on July 10, 2014

The cisco fabric commands explained in this article are used to perform administration of fibre channel fabric switches including managing VSANs, administration of zonesets using Cisco MDS 9000 series fabric switches.
(more…)

What is SSI?

SSI stands for Server Side Includes. As the name suggests, they are simple server side scripts that are typically used as directives inside html comments.

Where to use SSI? There are several ways to SSI. The two most common reason to use SSI are to serve a dynamic content on your web page, and to reuse a code snippet as shown below.
(more…)

The next hands-on sysadmin workshop is here.

This time it will be 2 full days of hands-on training, where you’ll be working on several lab exercises on a Linux system.

This workshop is for newbies or intermediate users of Linux who would like to become proficient in Linux system administration. Wide range of essential sysadmin topics will be covered including package management, user/group management, various security aspects of Linux, filesystem/storage, several network utilities, system monitoring, etc.
(more…)

How to Install and Configure Linux NTP Server and Client

by Karthikeyan Sadhasivam on June 25, 2014

NTP stands for Network Time Protocol.

It is used to synchronize the time on your Linux system with a centralized NTP server.

A local NTP server on the network can be synchronized with an external timing source to keep all the servers in your organization in-sync with an accurate time.
(more…)

Happy 6th Birthday to The Geek Stuff

by Ramesh Natarajan on June 23, 2014

TGS is 6 years old now.

My daughter Diya doesn’t forget this occasion, as it is time for her to celebrate the birthday of her special toy friend.

Of all the stuffed toy animals she has, Penguin is her favorite. She has named her friend “Penguinee”.

This year, she also added a “Baby Penguin” to her collection.
(more…)

How to Setup Linux Etherchannel Bonding for Network Interface HA

by Karthikeyan Sadhasivam on June 17, 2014

In Linux, using etherchannel bonding you can combine two or more physical network interfaces (NIC) together to create a virtual interface.

The IP address will be configured on this virtual interface. If one of the underlying physical adapters goes down, then the other physical adapter is used to handle the communication traffic.

The following are different types of etherchannel bonding modes:
(more…)

A common idiom in programming is sorting a list. Python makes this a very simple task.

Python provides a built-in sorted() function that accepts an iterable type, and return a sorted list:
(more…)

Converting data types from one to another is a most basic aspect for any programmers.

First, let us start with the basics.

int nNumber;

The following are few things to keep in mind for the above line of code:
(more…)