`

Three Sysadmin Rules You Can’t (And Shouldn’t) Break

 
阅读更多

When I drafted this article, I really came-up with 7 sysadmin habits. But, out of those 7 habits, three really stood out for me.

While habits are good, sometimes rules might even be better, especially in the sysadmin world, when handling a production environment.

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 avalid 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? i.e Using crontab or some other schedulers?

If you don’t have a backup of your critical systems, stop reading this article and get back to work. Start planning for your backup immediately.

A while back in one of the research conducted by some group (don’t remember who did that), I remember 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 disater.

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 interface 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, sysadmin’s typically uninstall 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 that I know of, 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.

分享到:
评论

相关推荐

    A SysAdmin’s Essential Guide to Linux Workstation Security

    A SysAdmin’s Essential Guide to Linux Workstation Security How to work from anywhere and keep your data, identity, and sanity By Konstantin Ryabitsev Director of IT Infrastructure Security at The ...

    Oracle EBS SYSADMIN -

    ### Oracle EBS SYSADMIN 关键知识点详述 #### 一、Oracle EBS系统安全管理 **概念解析:** Oracle EBS(Enterprise Business Suite)系统安全管理是确保企业资源规划(ERP)平台的安全性和可控性的核心组成部分。它...

    linux-sysadmin-course, Linux系统管理 101.zip

    linux-sysadmin-course, Linux系统管理 101 linux-sysadmin-courseLinux系统管理 101这里 repo 包含课程的附加材料和演示文稿。它还包括所有 homeworks 。等级:两个测试,每个测试有 50个问题一个问题一点每个作业...

    oracle ebs sysadmin - 培训手册

    根据提供的文档信息,本文将详细解析《Oracle EBS Sysadmin - 培训手册》中的核心知识点,主要包括以下几个方面: ### 1. Oracle 应用系统安全管理 **单元培训目标:** - 了解应用系统安全管理的基本概念。 - 掌握...

    Mastering Linux Shell Scripting.pdf

    Using both simple one-line commands and command sequences complex problems can be solved with ease, from text processing to backing up sysadmin tools. In this book, you’ll discover everything you ...

    Mastering Linux Shell Scripting(PACKT,2015)

    Using both simple one-line commands and command sequences complex problems can be solved with ease, from text processing to backing up sysadmin tools. In this book, you’ll discover everything you ...

    Mastering Linux Shell Scripting.mobi

    Using both simple one-line commands and command sequences complex problems can be solved with ease, from text processing to backing up sysadmin tools. In this book, you’ll discover everything you ...

    Mastering Linux Shell Scripting

    Using both simple one-line commands and command sequences complex problems can be solved with ease, from text processing to backing up sysadmin tools. In this book, you’ll discover everything you ...

    Mastering Linux Shell Scripting.epub

    Using both simple one-line commands and command sequences complex problems can be solved with ease, from text processing to backing up sysadmin tools. In this book, you’ll discover everything you ...

    无法启动t-sql调试1

    在SQL Server中,调试T-SQL(Transact-SQL)脚本是开发和排查问题时一个重要的功能。然而,有时可能会遇到"无法启动T-SQL调试"的问题,这通常是由于配置不当或权限不足所导致的。以下是一些解决此类问题的具体步骤和...

    user model linux.doc。该文件是The UML Book的电子版,是word版本。

    With User Mode Linux you can create virtual Linux machines within a Linux computer and use them to safely test and debug applications, network services, and even kernels. You can try out new ...

    sysadmin库中关于admin()与task()用法.part1.docx

    ### 关于informix/SinoDb sysadmin库中admin()与task()函数的用法详解 #### 一、概述 在数据库管理系统中,特别是在Informix/SinoDb这样的高性能数据库环境中,系统管理员经常需要对数据库进行各种管理和维护操作...

    Linux for Developers: Jumpstart Your Linux Programming Skills

    Finally, he presents a full section on the powerful Git version control system, teaching skills you can use in Linux and many other environments. Access Linux systems, use GUIs, and work at the ...

    AWS.Administration.Guide.17821

    Whether you are a seasoned sysadmin or a rookie, this book will provide you with all the necessary skills to design, deploy, and manage your applications on the AWS cloud platform. The book guides you...

Global site tag (gtag.js) - Google Analytics