Rule #1: Backup Everything (and validate the backup regularly)
Experienced SysAdmin knows that production system will crash someday, no matter how proactive we are. The best way to be prepared for that situation is to have a valid backup.If you don’t have a backup of your critical systems, you should start planning for it immediately. While planning for a backup, keep the following factors in your mind:
- What software (or custom script?) you would use to take a backup?
- Do you have enough disk space to keep the backup?
- How often would you rotate the backups?
- Apart from full-backup, do you also need regular incremental-backup?
- How would you execute your backup?
A while back in one of the research conducted by some group, they mentioned that only 70% of the production applications are getting backed-up. Out of those, 30% of the backups are invalid or corrupted.
Assume that Sam takes backup of the critical applications regularly, but doesn’t validate his backup. However, Jack doesn’t even bother to take any backup of his critical applications. It might sound like Sam who has a backup is in much better shape than Jack who doesn’t even have a backup. In my opinion, both Sam and Jack are in the same situation, as Sam never validated his backup to make sure it can be restored when there is a disaster.
If you are a SysAdmin and don’t want to follow this golden rule#1 (or like to break this rule), you should seriously consider quitting SysAdmin job and become a developer.
Rule #2: Master the Command Line (and avoid the UI if possible)
There is not a single task on a Unix / Linux server, that you cannot perform from command line. While there are some user interfaces available to make some of the SysAdmin task easy, you really don’t need them and should be using command line all the time.So, if you are a Linux SysAdmin, you should master the command line.
On any system, if you want to be very fluent and productive, you should master the command line. The main difference between a Windows SysAdmin and Linux SysAdmin is — GUI Vs Command line. Windows SysAdmin are not very comfortable with command line. Linux SysAdmin should be very comfortable with command line.
Even when you have a UI to do certain task, you should still prefer command line, as you would understand how a particular service works, if you do it from the command line. In lot of production server environment, SysAdmins typically uninstalled all GUI related services and tools.
If you are Unix / Linux SysAdmin and don’t want to follow this rule, probably there is a deep desire inside you to become a Windows SysAdmin.
Rule #3: Automate Everything (and become lazy)
Lazy SysAdmin is the best SysAdmin.
There is not even a single SysAdmin who likes to break this rule. That might have something to do with the lazy part.
Take few minutes to think and list out all the routine tasks that you might do daily, weekly or monthly. Once you have that list, figure out how you can automate those. The best SysAdmin typically doesn’t like to be busy. He would rather be relaxed and let the system do the job for him.
No comments:
Post a Comment