Author: Vinay

Proud and Tolerant Indian

vpnc – Open source VPN Client

How to connect to Cisco VPN  for accessing office  computer from LINUX?

Is this possible? Was the question raised in my mind when I try to connect and check emails using outlook. Little bit of search in techno-bible (Google) allowed me to explore “vpnc” (www.vpnc.org). I apt-get it and it was ready to use. Wait, I have only .pcf file with me… I tried using .pcf file directly but it not work out. Below are the steps required to configure VPNC to connect office comp.
Step1: # vim /etc/vpnc/officevpn
IPSec gateway <gateway.address.of.vpn>
IPSec ID <groupname as per PCF file>
IPSec secret <decrypted group password*>
Xauth username <your username>
Xauth password <your password can be left as blank>
save the file and exit from vim
*Use the below uri to decrypt encrypted group password
Step 2: # vpnc officevpn
after execution of above command, we need to provide password if not provided earlier. It will connect to the office VPN and then with necessary routing info added to your home computer, we can access office computer.
Hail Work From Home!

Automysqlbackup

Simple MySQL backup tool in Linux

I’ve found automysqlbackup as the simplest MySQL DB backup tool. Its so simple that you dont have to do anything after install. Just apt-get it and forget, it will backup your DB’s daily, weekly and monthly! Its worth to try it; personally I would rate this 10/10.
Steps for Debian based OS
Step1. apt-get install automysqlbackup

Step2: run as root “automysqlbackup”

After running the above command, it creates dir’s under /var/lib/automysqlbackup by the names of your DB’s. Under each DB dir you’ll find “daily”, “weekly” and  “monthly” dirs. As the name itself suggests that it stores daily, weekly and monthly backups of the respective DB’s.

EDUTUBE by EMC

Hi All,

Wish you all very happy new year (belated).
I was exploring SAN related education sites and I’ve came to know about EDUTUBE. Edutube is a youtube like video portal where we can watch and listen to the industry’s best folks along with some cool tips by them. Many thanks to EMC for the contribution to SAN Education. 
Note: We need to have Powerlink access credentials.
Happy Learning! Take care.

Abort Changes made to SAN Switch

Abort changes made to a SAN Switch

Everyone will tend to make mistake some or other day at work. In case of SAN Administration, people like me; do more mistakes than rest. So, I should know how to fix it with out glitches in the production. One day, I was trying to create some new alias, zones etc… on Brocade SAN switch and added them to the configuration. Later, I realised that I shouldn’t have done those changes. What to do now? Should I remove aliases and zones one by one? No… I don’t have patience to do that, even though I made a mistake. So, some genius guy who works with Brocade has added commands to help people like us 😦
cfgtransshow and cfgtransabort:

cfgtransshow will show the transactions and can be cleaned using the cfgtransabort.
So, go ahead and explore yourself! It will come in handy when you want to cover from the SAN zoning mistakes…
Take care!

How to check your Brocade SAN Switch is ready to use for 8 GBps?

Its time to say bye to 1-2-4 GBps and say hi to 8 GBps. So how do you know whether your SAN switch is ready to plugin 8 GBps SFP’s?

Here is the command

slotshow -m

Above command show the info about the blades connected to the slots, no. of ports in each blade and the port speed. “FC8” means 8 GBps “FC4” means 4 GBps supported by the switch blades. Remember, if you have 1 GBps / GBICs then we cant use them with 8 GBps supported Blades.

Lekhonee – Web-log Client

Hi All,

From today, I have started using the Lekhonee for my blog. Its simple and easy to use. People who are using Linux will need to give it a try! Happy blogging.