New Year’s Resolutions for Unix SysAdmins

January 3rd, 2007

Obviously Linux Sys-Admins too!

I feel it’s a good deal shown up by Sandra.

Sandra Henry-Stocker has been administering Unix systems for nearly 18 years. She describes herself as “USL” (Unix as a second language) but remembers enough English to write books and buy groceries. She currently works for TeleCommunication Systems, a wireless communications company, in Annapolis, Maryland, where no one else necessarily shares any of her opinions. She lives with her second family on a small farm on Maryland’s Eastern Shore. Send comments and suggestions to sandra@toadmail.com.

New Years celebrations have been going on for as long as 4,000 years. Some historians date them back to the ancient Babylonians welcoming the return of Spring. And New Years resolutions have probably been made throughout these years. While their success rate does not seem to have improved over the millennia, the practice has still not lost its appeal and the beginning of each new year is a time when many people will be thinking about what they want to improve both in their personal lives and in their jobs. So, what are some likely resolutions for Unix sysadmins? Here are a dozen worth considering.

Learn a new skill: Maybe you’ve put off learning Perl, Python, Ruby, MySQL, PHP or Java. If so, then now while the new year is yet young, set yourself a goal of learning a new language in the next twelve months. If you don’t like working completely on your own, consider community college or online courses as a cost effective alternative. Take a look at O’Reilly’s Learning Lab. Self-training can work if you get yourself a good book and stick to it, working through all of the exercises, but you will probably have an easier time learning a new skill if you start off with a firm goal of completing some kind of project related to your work or personal interests.

Be more diligent about security patches
: Establish a schedule for routine application of security patches on the systems you manage and make an effort to stay informed of newly discovered security issues. Sign up for newsletters and alerts from your system vendors and set up a regular weekly time for reviewing them and highlighting any actions that you might need to take to keep your systems secure and up-to-date.

Change your root passwords!: If you’ve been using the same passwords on your servers for all of 2005 (or longer), change them now and commit to setting new passwords every 3-6 months. And make sure the passwords that you select are neither easy to guess nor impossible to remember. At some of the places I’ve worked over the years, root passwords were stored in a safe where they could be accessed by the sysadmins or management as needed. At other places, root passwords were stored in an encrypted file so that, if a sysadmin forgot the password to one of many servers, he could retrieve it while the passwords remained unavailable to non-authorized users.

Work Smarter: Organize your work so that you spend less time moving between assignments. Find ways to combine tasks. Reduce the number of times that you have to deal with any single issue.

Document Everything: Don’t leave important processes dependent on the skill set or memory banks of one individual — even if that one individual is you! Compile all of the critical aspects of managing your network or your servers into a reliable repository of system knowledge. You never know when you or someone else will want to move on to a new assignment. Leaving good documentation means someone else can follow in your footsteps and you can move forward with a clean conscience.

Find a better job or make your current job better: Be honest with yourself about what you like and don’t like about what you’re currently doing. Make a list of those things that you’d like to improve and then ask yourself how you might go about making those improvements.

Learn Linux: If you’re working on some other Unix platform and have little or no experience with Linux, dedicate some time to working on a Linux system. One of the PCs that I have at home is running Linux. I bought it on eBay for about $50 — a very small investment — and installed Fedora Core. I can’t imagine a better use for a Pentium III.

Learn the basics of IPv6
: I’ve heard we won’t need to switch until 2025, but it’s not too early to start anticipating what the future of the Internet is going to look like.

Get yourself certified: There are lots of certifications available for Unix and networking professionals. Wondering if you can prove your worth when you apply for a new position? Maybe it’s time to pass some exams and add some letters to your resume.

Lessen your dependencies on closed software: Use OpenOffice instead of Microsoft Office. Take advantage of the wide range of available open software to help manage your systems.

Get a Safari account and keep up-to-date on the latest Unix topics. With more than 3,000 books online, Safari can help you learn new skills without investing a fortune in books. Better yet, get your boss to buy you an account.

Have a Life: Don’t be so much of a geek that you don’t take time out for the other things that you enjoy. Go camping or dancing or sing with a Barbershop Quartet. Join audible.com and listen to books on CD during your commute.

25th December

December 25th, 2006

Another Christmas come and gone !!

badvista.fsf.org

December 18th, 2006

In March 21, 2006 , Microsoft announced a $500 million business marketing campaign, calling it their “largest ever” :) ….[I guess I have heard a Long Horn long back] It is scheduled to be available for imposition on individual users at the end of January 2007.

The Free Software Foundation (FSF) today launched BadVista.org, a campaign with a twofold mission of exposing the harms inflicted on computer users by the new Microsoft Windows Vista and promoting free software alternatives that respect users’ security and privacy rights.

Where the world goes, the choice is always yours!!

LOPSA

December 15th, 2006

For those of you who don’t know, LOPSA is the League of Professional System Administrators.

The League of Professional System Administrators (LOPSA) is an independent New Jersey nonprofit corporation. Our mission is to advance the practice of system administration; to support, recognize, educate, and encourage its practitioners; and to serve the public through education and outreach on system administration issues.

If you are in passion about your System Admin job, possibly I love to recommend you to join us, right away ! Its free to register and need to pay a little bucks more for some advanced privileges.

And LOPSA say “Advance yourself in the profession of system administration, and to advance the profession as a whole!”

UNIX Error Jokes

November 22nd, 2006

Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They’re the first ones to laugh at hapless users, trying to figure out an error message that doesn’t have anything to do with what they just typed.

People have published some of Unix’s more ludicrous errors messages as jokes.

The following Unix puns were distributed on the Usenet, without an
attributed author. They work with the C shell.

% rm meese-ethics
rm: meese-ethics nonexistent
% ar m God
ar: God does not exist
% "How would you rate Dan Quayle's incompetence?
Unmatched ".
% ^How did the sex changeSHIFT6 operation go?
Modifier failed.

//replace SHIFT6 with ^

% If I had a ( for every $ the Congress spent,
what would I have?
Too many ('s.
% make love
Make: Don't know how to make love. Stop.
% sleep with me
bad character
% got a light?
No match.
% man: why did you get a divorce?
man:: Too many arguments.
% ^What is saccharine?
Bad substitute.
% %blow
%blow: No such job.

These attempts at humor work with the Bourne shell:


$ PATH=pretending! /usr/ucb/which sense
no sense in pretending!
$ drink < bottle ; opener
bottle: cannot open
opener: not found
$ mkdir matter; cat >matter
matter: cannot create

sUck lisT

October 27th, 2006

Have ya ever been a situation that ya just whisper, or yell out the word SUCK?

I was into many times and today also… so I got many to list out and here goes my suck-list.

The list may make you smile and remembers that ya are not alone and I don’t care about the frowned one :)


0.religious difference (anybody in there)
1.high prized technology (dmx costs more)
2.honking behind me in traffic (I gave them fingers)
3.windows os ( till ya get freeze over)
4.internet explorer ( ancient history)
5.spam (ya eat this everyday)
6.rediffmail
7.britney spears
8.barbie dolls
9.christina aguilera
10. 50 cent
11. black eyed peas
12. soap operas
13. sycophants (they are everywhere)
14. push-up wonderbras / miraclebras
15. long nails
16. body odor
22. people don't flush after the use
17. awful jokes/sms/forwards
19. hot milk
20. people who smoke before foods
21. using mobile-phones while drivin and havin food..

“Live�? looks gOOd that’s a catchy name too; lets try !

September 28th, 2006

Were the real search started…?

Where are ya going to keep the curser…?

www.google.com | www.live.com

We had a discussion at office, and I commented:-

The same kind of apprehension had much attention merely a decade ago in this so called IT world.
High-time; The Big-BLUE Vs The Dark-Side.

Yes, finally IBM lost the battle filed, but Mr. Gates still worried about the Big-Blue.

The biggest company in the computer industry by far is IBM. They have the four times the employees that I have, way more revenues than I have. IBM has always been our biggest competitor. The press just doesn’t like to write about IBM,” said Gates.

Let’s dig some more history;

(Sony) PlayStation Vs Xbox 360 (Microsoft’s next-generation gaming unit).
[Sony, please do pay some more attention]

This I love:

Internet-Explore Vs Netscape. [When the IE bundled with Windows OS, Netscape slowed down the race and almost quit]
And now the “Blue e�? tussles with firefox (Hey people; use firefox and know the difference)

In this case, I personally NOT feel much about a race in the “search�? area.

00.Google is a .com/net company; Internet is there arena.
01.Microsoft is a software company (They do and deals with many stuffs)

Why can’t we think of any Y! Effect (who knows; that’s the beauty of Internet)

It’s all about us, the users. Who has gotten innovative ideas and users in mind (google); they gonna survive and obviously marketing (Microsoft) comes next to that.

Tail:

I personally use aggregated google and Yahoo! Search with an extension in my firefox browser.

“Live�? looks gOOd that’s a catchy name too; lets try !

ROCKS Clustering - A Review

July 19th, 2006

This is “NOT” a HowTo for setting up a ROCKS Cluster, but I tried to show ya off some of my try outs and some aftermath.

If ya are new to ROCKS; Please refer the well equipped ROCKS User’s Guide or ya might be lost.

I used VERSION:-4.1 [Rocks v4.2 Beta is released for i386 and x86_64 CPU architectures are avail now]
and my cluster details are registered here

Frontend a.k.a Head Node installation is just a breeze, only if ya refer the manual.

To saY a word about frontend installation, what is your requirement so what rolls ya need to select.

BASE DISK
0.Area51 Roll :- For added security features like Tripwire and chkrootkit. Opt-out, if you really not othered about high-funda security.
1.Viz Roll :- Visualization, you don’t required unless you have a big and tiled monitor.
2.hpc :- Yes, I am into HPC lane
3.Ganglia :- To show off my cluster set-up and obviously for cluster’s health monitoring.
4.Web-server :- Yes.
5.Kernel Roll :- Yes.

OS DISK

Disk-1 and Disk-2 is sufficient, disks-3 and 4 are optinal

..and next, I did bind to our local ntp server.

DISK PARTITIONING -> Disk-druid for my 147 GB SCSI

/boot : 128 MB
/ : 15 GB
/usr/local : 20 GB ( For mannual installation og Globus and Torque scheduler)
/var : 25 GB (I expect a little more log)
swap : 2 GB
/myspace : 10 GB (For the non-cluster/local users home directory)
/export : Fill Available space

Now the installation has got over; system booted-up and no color (GUI) :-)

# system-config-display

To say, I had an issue and I dont want to see the smoke behind my flat BenQ. What I did was just copied
the /etc/Xll/xorg.conf file from another system with “same” hardware loadead with RedHat-AS-4.
I repeat… Linux, its a large file ! ;-)

Oh..yeah monitor, it’s single BenQ flat, shared over the systems with ATEN KVM switch.

#startx
…hoo·ray ! I got the color ( when ya logged in, the only difference I felt, there wasn’t any red HAT logo but centOS and the grub was different…. so Luke… its our shadow-man ! )
…then I stopped smartd service.

Compue Node Installation

I want the control over the compute node installation, atleast partitioning.

# cd /home/install/site-profiles/4.1/nodes/
Copy the skeleton.xml to extend-auto-partition.xml and edit extend-auto-partition.xml
++ refer the manual ^

I tried editing the manual option on the XML, showed strange and weired so I went with exyend-a-p.

# cd /home/install; rocks-dist dist [to apply this configuration to the distribution]
# insert-ethers
If your your frontend and compute nodes are connected via a managed ethernet switch, you’ll want to select ‘Ethernet Switches’ from the list above. This is because the default behavior of many managed ethernet switches is to issue DHCP requests in order to receive an IP address that clients can use to configure and monitor the switch.

When insert-ethers captures the DHCP request for the managed switch, it will configure it as an ethernet switch and store that information in the MySQL database on the frontend.

As a side note, you may have to wait several minutes before the ethernet switch broadcasts its DHCP request. If after 10 minutes (or if insert-ethers has correctly detected and configured the ethernet switch), then you should quit insert-ethers by hitting the F10 key.

Now, restart insert-ethers and continue reading the user guide for a procedure on how to configure your compute nodes.

# insert-ethers
and choose compute then wait [ Really, I felt I need patience, through out the set-up ] after putting the base cd to your compute node, restart and boot from the CD.
That’s it ( do remember ya have gotta PXE boot option, if you got CD-Drive outage :) )

Its fast..pretty fast and I finished my 2 compute nodes instllation in 3 minutes simultaniously.

You can monitor the installation of compute nodes by using ssh with p0rt 2200.

# ssh compute-0-0 -p 2200

Once the installation got over,
login: root
password: {frontend ’s root password }

# df -h; free
Good all the partitions and swap space are correct.

NO..ITS NOT CORRECT
…reallY… go to front end
0. check the XML file ( my problem was I put forward slash instead of / before part), what’s yours…?
1. # cd /home/install; rocks-dist dist [to apply this configuration to the distribution]
2. # rocks-partition –list –delete –nodename {compue node’s hostname}
3. Use the nukeit.sh script for removing .rocks-release from the first partition of each disk on the computenodes.
[ for nukeit.sh ]
4. # ssh {compue node’s hostname} ’sh /home/install/sbin/nukeit.sh’
5. # ssh {compue node’s hostname} ‘/boot/kickstart/cluster-kickstart’

Compute node restarted; check the default grub option; re-install, go ahead by ENTER.

Hic-cup Session
0. How do I run my Linpack HPL.dat?
Luke…refer the manual
1.How do I change frontend’s Public IP Address?

Don’t use {}

# echo ‘ update app_globals set value=”{newip}” where value=”{oldip}”‘ | mysql -u apache custer
# echo ‘ update networks set IP=”{newIP}” where IP=”{oldIP}”‘ | mysql -u apache cluster
# insert-ethers –update
2. My Ganglia status shows all/some of my compute nodes are dead but actuallY its running.
If ya tried the following…

[root@rocks mongoose]# cluster-fork /bin/date ; date
compute-0-0:
Sat Jul 8 04:30:39 IST 2006
compute-0-1:
Sat Jul 8 04:30:39 IST 2006

Sat Jul 8 04:30:39 IST 2006

[root@rocks mongoose]# cluster-fork service gmond restart
compute-0-0:
Shutting down GANGLIA gmond: [ OK ]
Starting GANGLIA gmond: [ OK ]
compute-0-1:
Shutting down GANGLIA gmond: [ OK ]
Starting GANGLIA gmond: [ OK ]

[root@rocks mongoose]# service gmond restart
Shutting down GANGLIA gmond: [ OK ]
Starting GANGLIA gmond: [ OK ]

root@rocks mongoose]# service gmetad restart
Shutting down GANGLIA gmetad: [ OK ]
Starting GANGLIA gmetad: [ OK ]

I refreshed the ganglia webpage
…then it showed Hosts Up = 1 (frontend) in while 1 changed to 2….. after sometime
it showed me
Hosts Up: 2 and hosts down=1
and now the case is back to Hosts Up=1 and Hosts Down=2.
Check multicas is enabled on your switch, blocking this on the networking device may cause the problem.

3.How do I manually broadcast 411 update instaead of hourly update.

# make -C /var/411 force
[You may have to use this just after creating a cluster-user on Frontend and to get updated across the nodes]

Disclaimer

All the above said materials are tested in a real time environment though Your Miles May Vary (YMMV)

Sigh !

July 13th, 2006

…something wrong with the world today….or

….something wrong with mY eyes !!

Syd, Hey You…

July 8th, 2006

Roger Keith Syd Barrett

Born: 06/01/1946

RIP : 07/07/2006

The crazy diamond and one of the original members of the legendary rock group Pink Floyd come to an end by finding the same old fear.

Syd, I wish ya were here…. but see your Emily still plays on and on and on…