Slashdot Mirror


Seven Habits of Highly Effective Unix Admins

jfruh writes: "Being a Unix or Linux admin tends to be an odd kind of job: you often spend much of your workday on your own, with lots of time when you don't have a specific pressing task, punctuated by moments of panic where you need to do something very important right away. Sandra Henry-Stocker, a veteran sysadmin, offers suggestions on how to structure your professional life if you're in this job. Her advice includes setting priorities, knowing your tools, and providing explanations to the co-workers whom you help." What habits have you found effective for system administration?

104 of 136 comments (clear)

  1. Number 6 Problem by magamiako1 · · Score: 5, Insightful

    The issue with #6 is that users almost invariably never accept an answer here. And a lot of the time it may be something you can't adequately explain, which is something they don't like even more. Especially if you know the problem wasn't the result of something you did.

    1. Re:Number 6 Problem by zacherynuk · · Score: 2, Informative

      Indeed - not only that, but even if you are really good at keeping docs, an intranet log or similar - it still won't be read, understood or appreciated. Later on, with even the best of everyone's interests at heart the worst thing you could ever say is - "I documented this here, and explained it here and asked for feedback here and you said you read it..." Nothing like a few reference facts and common sense to drive a wedge between admins and users.

  2. Tmux by matthiasvegh · · Score: 4, Informative

    I discovered tmux (terminal multiplexer) a while back, and is a very potent replacement for screen, it supports splitting windows, having multiple sessions, sharing windows between sessions, customizable status bars etc. Try it out!

    1. Re:Tmux by wonkey_monkey · · Score: 2

      Try it out!

      Make me!

      --
      systemd is Roko's Basilisk.
    2. Re:Tmux by rubycodez · · Score: 1

      screen also has split windows, multiple sessions, customizable status bar. For my use cases, I could not find a compelling reason to use tmux

    3. Re:Tmux by oodaloop · · Score: 5, Funny

      Sudo try it out!

      --
      Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
    4. Re:Tmux by Anonymous Coward · · Score: 1

      ok....

    5. Re:Tmux by evilviper · · Score: 3, Informative

      For my use cases, I could not find a compelling reason to use tmux

      Obviously if you've been limiting yourself to the features of "screen" for many years, you're not going to think you need the added features of "tmux"...

      A big one is sharing:
      "window can be linked to an arbitrary number of sessions". If you or somebody else has a screen session open, you don't have to detach it from their terminal to see what's on it. You can just attach it to your terminal as well. Works great when you've got a session attached to your desktop, then want to access it on your laptop/tablet/phone/etc. The tmux session will even change geometry to match the smallest terminal window.

      Being more lightweight and responsive is good. Saner keys for some functions, like ctrl-a pg-up to access scrollback. And just the fact that it's still getting active development is an important feature.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    6. Re:Tmux by Chalex · · Score: 3

      screen -x shares the screen just fine for me.

    7. Re:Tmux by evilviper · · Score: 1

      I oversimplified the explanation a bit...

      Here it is in nicm@'s words:
      "In particular, being able to share a single window between multiple terminals, with other windows in the same session but entirely separate. Adding this to screen was implausible"

      http://undeadly.org/cgi?action...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    8. Re:Tmux by emag · · Score: 1

      Does tmux support connecting to serial consoles yet?

      --
      "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
    9. Re:Tmux by evilviper · · Score: 1

      sudo: try: command not found

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    10. Re:Tmux by Anonymous Coward · · Score: 1

      oodaloop is not in the sudoers file. This incident will be reported.

    11. Re:Tmux by Dishevel · · Score: 1

      sodo do

      --
      Why is it so hard to only have politicians for a few years, then have them go away?
    12. Re:Tmux by dissy · · Score: 3, Informative

      Here it is in nicm@'s words:
      "In particular, being able to share a single window between multiple terminals, with other windows in the same session but entirely separate. Adding this to screen was implausible"

      Perhaps I am still misunderstanding the features of tmux (most likely in fact), but to say that is implausible to add to screen is misleading to say the least, since I have been doing exactly that in screen for nearly a decade.

      On one terminal, either start a new screen session or -r to a detached session.
      If starting a new one, try: screen -S LetsShare

      On a second terminal, run: screen -list
      You should see a list of screen sessions and their status (attached, detached, multi, etc)
      If you used -S on start that will be the name, otherwise it's some tty.host.number string.

      Now on that second terminal run: screen -x

      Try to adjust both terminal sessions so you can see them at the same time. Type in either, watch in either. They are shared seemingly matching your tmux description.

      You can change permissions per terminal so others can't type but will see everything you do (aka tutorial mode) using ^a *

      Also for split/multiple windows showing on the same terminal, use ^a S (control-a capital-S)
      To switch between split windows use ^a tab
      Close a section of split window with ^a Q

      The status bar problem is true and pretty annoying. I fixed it myself with a line in ~/.screenrc but of course I have to pretty much install that user config file on every new system I use which can get annoying.
      If you want an always-on status bar showing window numbers and titles (^a A to change the title), add this to .screenrc (and hope slashdot doesn't munge it!)

      hardstatus alwayslastline "%{= wk}%-Lw%{= BW}%n%f* %t%{-}%+Lw %-=%{= BW}%H%{-}%{-}"

      Note the two "BW" bits? That's background blue and foreground white, and applies to the window with focus. Change B to R for red for example (production vs not-production in my case)

      Here is my whole .screenrc file for copy/paste purposes: http://pastebin.com/kMkuFXi9
      No splash screen, always on status bar, 10k line scrollback history for copy/paste (^a [ and ^a ] ), and auto-open three windows with preset titles and commands running in them.

      I don't mean to knock tmux in any way at all, having not used it (and I do plan to check it out now) - but hopefully these screen tips help out others here.

    13. Re:Tmux by antdude · · Score: 1

      I still like the plain old screen. I don't need the fancy splits, status bars, etc. If I wanted more than one screens, I run separate commands. I have had screen crash before even though very rare. I would hate to see tmux crash all my sessions.

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    14. Re:Tmux by excelsior_gr · · Score: 1

      You should tell Microsoft. I hear they are looking to upgrade Metro.

    15. Re:Tmux by kybred · · Score: 1

      Or do you even use monitors on your Linux?

      I'm doing just fine with my ASR-33, thank you!

    16. Re:Tmux by DarwinSurvivor · · Score: 1

      I too prefer tmux to screen, but I would like to warn you about 1 danger of using it. Do NOT disconnect from a tmux session that is being used to upgrade tmux. If tmux happens to upgrade to a version with a newer protocol, you will not be able to reconnect to the tmux session. I did this once and had to build a static version of tmux from the previous version and use that to reconnect and continue the upgrade. Screen is theoretically susceptible to the same problem, but the protocol almost never changes.

      I still use tmux as my regular persistent terminal on my server, but I now double-check if it's in the upgrade list before starting it.

    17. Re:Tmux by David+Jao · · Score: 1
      I'm not a tmux user, so I may be completely wrong, but I think what they are talking about is that in tmux you can share one window in a session without also sharing all your other windows in that session. You can also easily move tmux windows between sessions, which you can't do in screen. In addition, sharing a tmux window to another user with a different login account is a lot easier in tmux than in screen. There are also forks of tmux that allow two people to use one window with two independent cursors.

      Basically, tmux is a lot more flexible and easier to hack than screen. I've never bothered with tmux though, screen is good enough for me.

    18. Re:Tmux by rubycodez · · Score: 1

      at least I tried and used tmux for two weeks before reaching my conclusion, as it is the preferred ware over screen in my favorite BSD server distro

      "Saner keys" really doesn't mean much to me, I learn the dozen or so list of keystrokes it takes to do the job, whatever they are. Most of the commonly used "screen" ones do have sensible mnemonics for those that find such things helpful.

      As others have pointed out, screen can do sharing.

    19. Re:Tmux by maestroX · · Score: 1

      I need *WUFF* *WUFF* !

    20. Re:Tmux by Yer+Mom · · Score: 1

      Make me!

      make: *** No rule to make target `me!'. Stop.

      --
      Never mind Spamassassin. When's Spammerassassin coming out?
  3. Using multiple shells by Neruocomp · · Score: 3, Informative

    When working on a problem, I usually have two or more shells open. I don't mean multitasking, but with more then one open, I can issue commands from one and use the others to monitor logs/etc.

    --
    Physics is like sex. Sure, it may give some practical results, but that's not why we do it
  4. i was so wrong by zlives · · Score: 5, Funny

    i thought they were
    sloth, gluttony, pride,...

    1. Re:i was so wrong by kimvette · · Score: 3, Funny

      That's "How to be a BOFH"

      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
  5. Habits ... by Xaemyl · · Score: 3, Informative

    What habits have I found effective for system administration? BOFH spring to mind ...

    1. Re:Habits ... by ClownPenis · · Score: 1

      +1 Funny, Insightful

  6. Knowing your tools by Rosco+P.+Coltrane · · Score: 5, Funny

    I know them all. They all work in Marketing.

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:Knowing your tools by rcamans · · Score: 4, Funny

      Apparently you have not interacted with management much, or you would not have restricted your answer to marketing...

      --
      wake up and hold your nose
    2. Re:Knowing your tools by gstoddart · · Score: 2

      I know them all. They all work in Marketing.

      No, a couple are in HR as well, and there is at least one in the Finance department. Some days I'm not so sure about IT.

      Have you ever been told you need to submit accurate time sheets for the week on Wednesdays? How the hell do you expect me to give you accurate timesheets for the entire week on a Wednesday when I usually work Wednesday and Friday evenings for an unknown period of time??? And if I had to submit it on Wednesday, don't grumble that I had to submit a correction on Monday to come up with the real number.

      But, I digress. ;-)

      --
      Lost at C:>. Found at C.
    3. Re:Knowing your tools by Bigbutt · · Score: 1

      Or engineering or development.

      [John]

      --
      Shit better not happen!
    4. Re:Knowing your tools by ThatsDrDangerToYou · · Score: 1

      Or engineering or development.

      [John]

      Oh hey, watch it buster. This is /.

  7. #7 Be Appriopriately Lazy by tiberus · · Score: 5, Insightful

    The first time a task comes up deal with it manually, it may or may not be related to a problem.

    The second time this task occurs deal with it manually.

    The third time this task occurs, it's time to start scripting.

    It may take you a day or more to write the script, test debug, etc. or even longer for complex tasks but, this behavior tends to be a winner. The script is already some degree of documentation, it records the steps, etc. If it's robust enough it can be used to by your support techs to resolve issues, expanding the number of people who can resolve an issue, freeing the admin for other tasks. Scripts tend not to make typos (yes, I know your command line skills are legendary) and can save a lot of time and effort in the long run.

    1. Re:#7 Be Appriopriately Lazy by tiberus · · Score: 1

      #EpicFail, can't count, shoulda been #8...

    2. Re:#7 Be Appriopriately Lazy by Capt.DrumkenBum · · Score: 1

      I have always said, "Anything you are going to do more than three times. Script it."
      Also Cron is your best friend. :)

      --
      If I were God, wouldn't I protect my churches from acts of me?
    3. Re:#7 Be Appriopriately Lazy by Leif_Bloomquist · · Score: 1

      Just watch out for this:

      https://xkcd.com/1319/

    4. Re:#7 Be Appriopriately Lazy by Anonymous Coward · · Score: 1

      It may take you a day or more to write the script, test debug, etc. or even longer for complex tasks but, this behavior tends to be a winner.

      Step #7.1: Prepare excuse for mgmt why it is taking you 10 times longer to complete this task than it did the first two times.

    5. Re:#7 Be Appriopriately Lazy by gauauu · · Score: 1

      Just watch out for this:

      https://xkcd.com/1319/

      Either way, you'll have a lot more fun maintaining the script than you would doing the same boring task over and over :)

    6. Re:#7 Be Appriopriately Lazy by tiberus · · Score: 1

      Step #7.1: Prepare excuse for mgmt [...]

      #1 - It's not an excuse, it's a reason get in the proper mindset.

      #2 - You already know the reason and bonus, bean counters love this. You're gonna save the company long term dollars with a short term expenditure.

  8. I hate to break it to you... by mr_mischief · · Score: 1

    If you are not doing active improvements, planning for failover, and using good configuration management techniques then your slow time is adding to the number of hurry-up-and-fix-all-the-things times. There are always external matters like heartbleed that will come along, as a sysadmin's job is not to review the memory allocator in the SSL library regularly. However, if your web services or mail services are down because a single system went offline then you're to be blaming yourself.

  9. Re:One habit is ... by Fallen+Kell · · Score: 4, Funny

    The reason there are more fat people in IT isn't because we want to be. It is because the GOOD IT people get fat because they know that the best IT people never need to leave their seats. If you have to leave your seat to do something as an admin, you are doing something wrong and not using the technology that is available to you to be able to fix everything but physical hardware failure or installation from your seat.

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
  10. #0 by radarskiy · · Score: 1

    Did you try turning it off then on again?

  11. Re:Bait by cusco · · Score: 3, Interesting

    From TFS, I really don't get why that applies only to Unix admins. That describes the years I've spent as a Windows admin as well.

    --
    "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
  12. The columnist must be FORTRAN programmer. by 140Mandak262Jamuna · · Score: 2

    Everyone knows real programmers code in C, and in C you count from zero. Counting from one? that is so FORTRAN. Retire already, old chap.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:The columnist must be FORTRAN programmer. by 140Mandak262Jamuna · · Score: 3, Funny

      >And I'm not even a fucking programmer by trade.

      Yup. I can tell.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  13. uh... by rs79 · · Score: 2

    "What habits have you found effective for system administration?"

    Carrying an Uzi.

    --
    Need Mercedes parts ?
  14. Rebooting is not a fix by hawguy · · Score: 5, Insightful

    As someone who's managed a team of sysadmins that moved to the Linux world from Windows, I have this tip: "Reboot does not fix anything, it just hides things".

    For some reason, Windows admins have been trained to reboot immediately when things don't work well rather than to figure out why something is failing. I'm sure this was a valid "fix" in older versions of Windows, but Windows has been stable for quite some time, and things shouldn't mysteriously stop working for no reason. Take a bit of time to figure out *why* the CPU is suddenly spiking on the database server, since if you reboot it, you will have lost most of the evidence for why it's happening, and it's likely to happen again. If it's a production server and you can't spend much time, run a few diagnostics (ps, "top", lsof, etc) and save to a file for the postmortem, but don't just go in and reboot before looking around.

    1. Re:Rebooting is not a fix by evilviper · · Score: 3, Insightful

      "Reboot does not fix anything, it just hides things".

      That's not specific to rebooting... It's more a question of doing root-cause analysis, versus quick bandaids. I'm firmly in the RCA camp, but sometimes it's the companies that are to blame, rather than the individual admins. Some companies are heavily slanted towards always getting the quickest possible workaround, rather than ever actually finding and fixing the problem. It's one of those false-economies, like counting lines of code and similar.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:Rebooting is not a fix by Bacon+Bits · · Score: 1

      On the flip side, spending six weeks fixing an issue on a single server running a non-critical, non-time-sensitive service which occurs once or twice a year and is 100% worked around by a reboot probably isn't an efficient use of your time.

      --
      The road to tyranny has always been paved with claims of necessity.
    3. Re:Rebooting is not a fix by evilviper · · Score: 1

      On the flip side, spending six weeks fixing an issue on a single server running a non-critical, non-time-sensitive service which occurs once or twice a year and is 100% worked around by a reboot probably isn't an efficient use of your time.

      In the long-term, it is. If you let issues like that continue to exist, then you'll get stuck with an unnecessary proliferation of servers, with each running just one service, so rebooting one doesn't take the others down.

      Not to mention that you'll find that you get stuck maintaining multiple, overlapping services, because the first one wasn't reliable enough for the tasks some department decided to bring-in, later.

      And also, I don't think I've ever seen a service that was non-critical and non-time-sensitive. Whatever it is, people won't even try to use it until the very last minute, when they need it to work immediately. It could be a damn web page that just hosts the phone extension list, and because HR needs to call someone about something simple, at 5pm on Friday, that server is now delaying everyone's paychecks. EVERYTHING ends up being varying degrees of critical.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    4. Re:Rebooting is not a fix by pla · · Score: 5, Informative

      For some reason, Windows admins have been trained to reboot immediately when things don't work well rather than to figure out why something is failing.

      Because in the Windows world, I usually don't have the luxury of digging into the kernel's or driver's source code to figure out exactly why it has stopped behaving correctly. If it doesn't log any errors, doesn't export any useful diagnostic messages, doesn't outright crash on reproducible conditions, and just stops working "right", your avenues of further inquiry get very very ugly, very fast.

      I can reboot a VM in well under a minute. For any nontrivial problem that happens roughly twice a month and a reboot makes it go away, it would take twenty years of rebooting to justify spending an entire eight hour day diagnosing the root cause.

      And I say that as someone who (in the Linux world) has written his own kernel patches to work around buggy hardware. In Windows, just not worth the time; because even if you do successfully diagnose the problem, you may well have no ability to correct it.

    5. Re:Rebooting is not a fix by hawguy · · Score: 1

      Bullshit. Windows admins are not trained to reboot when there is a problem

      It's amusing that in the post right before yours (and not an AC like you), a Windows Admin explained why he does reboot first:

      Because in the Windows world, I usually don't have the luxury of digging into the kernel's or driver's source code to figure out exactly why it has stopped behaving correctly

    6. Re:Rebooting is not a fix by magamiako1 · · Score: 1

      This person knows what's up.

    7. Re:Rebooting is not a fix by magamiako1 · · Score: 1

      For what it's worth, even if you do have access to dive into the code/kernel memory to find what the problem is, you must first know how to read what you're looking at. A lot of good this stuff does for you if you have no idea how it works in the first place. That's not a uniquely Windows problem, though; because very little in the Linux Admin world over the years strictly enforces that you should know this stuff. The technical information on it out there is about as good as the Technet articles on Windows that tell you how to appropriately identify system bottlenecks (Disk Queue Length, etc.).

      I believe dtrace was added not too long ago and seems to be the goto solution for most Linux admins I know, but I've not personally used it to seek out issues.

    8. Re:Rebooting is not a fix by magamiako1 · · Score: 1

      The good news is the modern desire to 'web all the things' with stuff like ROR, PHP, Tomcat, etc; you can generally find in the code where something is an issue without having to necessarily trace system calls. You don't have quite that luxury on compiled applications. Though occasionally you could run into issues with the interpreted languages that just don't compile properly and cause problems--then you're back to the same problem...

    9. Re:Rebooting is not a fix by AndyCanfield · · Score: 1
    10. Re:Rebooting is not a fix by evilviper · · Score: 1

      There are many more reasons than just the random redirects to the beta site, to prefer Soylent News to /. You should check it out.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    11. Re:Rebooting is not a fix by evultrole · · Score: 1

      He dismisses the tools because they are useless. The fact that you seem to think they are OK is only because you've never come across a bad problem in Windows.

      Let's pretend for a minute that there's a new kernel level security patch on Windows that makes the system BSOD constantly on a system reboot. Let's pretend that it doesn't do this on any of your test systems or other equipment, and for whatever reason only affects a particular piece of hardware, despite not being a driver update. The computer never comes up again. Can't try safe mode, because on new windows the only way to get to safe mode is to reboot from a running system.

      Let's check the log! Wait, it's in event viewer, and the system won't boot. Ok. Let's use DART to access the log!

      It's not there. There's nothing there, because whatever "CRITICAL_PROCESS_DIED" happened before the event viewer log actually engaged. The last entry in the event log was the first reboot yesterday and it has nothing else there since then, despite attempting to boot 30 times.

      Or worse, DART can't seem to find the damn log at all. It also doesn't show any patches in the last 15 days, despite installing a patch 5 days ago, one 3 days ago, and one yesterday. Removing the offending hotfix doesn't work if it's not in the list. Oh, and system restore won't work, because the problem is caused by file permission on some file that you can't find because NONE OF THE SYSTEM LOGS ARE WORTH ANYTHING.

      Boot time diagnostics for NTBOOT.txt? NO! YOU HAVE TO HAVE A RUNNING SYSTEM TO ENABLE THIS NOW! YOUR SYSTEM DOESN'T RUN, NO LOGGING FOR YOU! Oh, did you think you could enable that using bcdedit from a boot disc? NO! It will save the safeboot option, but bootlogging is thrown away because FUCK YOU. Safeboot won't work anyway, because the system is denying itself access to some unknown file.

      In this situation, Linux has some sort of log, or has an obvious error on the screen itself. In windows, you don't get to find the error. You get to wipe the system and start over, and hope that your client has a recent backup because Microsoft decided that the repair install function was just toooooo complicated for them to maintain.

  15. Only three habits are necessary by Anonymous Coward · · Score: 5, Funny

    Only three things are necessary for a highly effective unix admin:

    To crush your userbase
    To see their accounts deleted before you
    To hear the lamentations of the salesmen

    1. Re:Only three habits are necessary by SlickUSA · · Score: 1

      If i could mod you up for this, i would. Hail Conan!

  16. Keep a sucker rod handy... by rgbatduke · · Score: 1

    ... works like a charm for me.

    rgb

    --
    Even when the experts all agree, they may well be mistaken. --- Bertrand Russell.
  17. Habit #1 by damn_registrars · · Score: 1

    Don't waste time reading slashdot.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  18. Re:Bait by zacherynuk · · Score: 2

    Fact is - a good SysAdmin can play well anywhere on the pitch. Typically a 'system' comprises of more than one discipline.

    Basic time management, inter-personal skills and some grasp of hygiene are pretty much must-haves.

    Knowledge of the tools required to perform your duties and save the planet are a gimme, surely, once you are in that position. I am sure a 'nix admin can't avoid other disciplines the same as a wintel admin can't avoid *nix. Difference perhaps is that a decent multi-disciplines admin won't throw their toys out of the pram when they find out they have to interact with 3rd parties. (personally, physically or programmatically - take your pick)

    By definition a system is a "complex whole" and should not, in 2014 be defined by OS...unless you are going to be specific about that OS, in which case you are not a sysadmin you are a *nix admin shirly.

  19. 90% of the job by beernutmark · · Score: 1

    90% of the job: "Have you tried turning it on and off again?" https://www.youtube.com/watch?...

    1. Re:90% of the job by beernutmark · · Score: 1

      And yes I know that this isn't really a fix for unix systems. It's just a joke.

  20. Automate everything using chef/puppet by ptaff · · Score: 1

    Using anything like puppet or chef under version control to do all server ops will not only leave you with a full timestamped documentation, but will allow you to easily horizontally scale servers, rebuild them should disaster strike and protect you from stupid upstream package updates that b0rk your config files.

    Have a staging and production environment? pushing your chef/puppet scripts to production after they're proven to work insures you have the same changes applied on both sides, and avoid manual operations on production.

    1. Re:Automate everything using chef/puppet by mlts · · Score: 1

      Don't forget Splunk, so the servers that you are managing have a place to dump logs, and where you can do syslog searches from one place. Splunk isn't a magic bullet, but it does a lot of useful functions and can scale up, and it is a very useful troubleshooting tool.

    2. Re:Automate everything using chef/puppet by elementai · · Score: 1

      Or there are LogStash and many more other open source free solutions.

  21. Re:Bait by inasity_rules · · Score: 4, Funny

    You really need to have a beard to get it. Do you have a beard? You don't sound like you have a proper beard.

    --
    I have determined that my sig is indeterminate.
  22. Silly boy! by Anonymous Coward · · Score: 1

    With Linux/Unix just say, "Well it's an antiquated operating system." - and if Linux add "and with this F/OSS operating system, well, you get what you paid for and with the addition of [insert package name like systemd] 'blah blah blah blah' caused our problem. I need a raise to work with this shit!"

    If we were on Windows, this wouldn't happen!

    It works the other way around if you are a Windows admin, too. Just replace F/OSS with "closed undocumented source and [insert money hungry profit driven dribble screwing over customers stuff here] ' blah blah blah' If this were Linux, this wouldn't have happned! I need a raise to work with this shit!"

    The exception is Oracle. Everybody throws their hands up, skakes their heads, and gets the knee pads and KJ and LIKE IT!

  23. Re:One habit is ... by jones_supa · · Score: 1

    Have a mini-fridge under your cubicle desk for constant snacking. The constant snaking would be the habit. Really though, there are too many fat bastards in IT.

    Obligatory video: Valve Snack Bar.

  24. the most useful talent by roc97007 · · Score: 1

    I think the most useful talent I've developed is the ability to go to sleep fast and to wake up fast and alert. When the phone rings or pager goes off, the faster you can reach "full on", find and fix the problem, and get back to sleep, the more sleep you get in the long run. Cohorts who have trouble getting to sleep after a late night emergency tend to be seriously dragging by the end of their oncall time.

    --
    Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
    1. Re:the most useful talent by fl!ptop · · Score: 1

      the most useful talent I've developed is the ability to go to sleep fast and to wake up fast and alert

      Your not fooling anyone, we can all hear snoring coming from your cubicle.

      --
      When you recognize love in another and realize how precious it is, everything else seems so insignificant.
    2. Re:the most useful talent by roc97007 · · Score: 1

      the most useful talent I've developed is the ability to go to sleep fast and to wake up fast and alert

      Your not fooling anyone, we can all hear snoring coming from your cubicle.

      I didn't say *where* I was going to sleep...

      --
      Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
  25. I forgot - MacMini shops by Anonymous Coward · · Score: 1

    If you are in a shop that chains together MacMini servers, whe there's problem, start crying, ask for a hug and just say "I don't know what happened?! *sobbing* Mac is Go...Job's gift to mankind kind! *sob* I'm such a failure! *snot runs from nose*"

    You'll get a couple of days off, they'll power down everything, turn it back on, and it'll all be working fine when you get back.

  26. Re:#8 Be Appriopriately Lazy by tiberus · · Score: 3, Funny

    First time for this task ;-)

  27. To be an effective admin AND stay in a job by petes_PoV · · Score: 4, Interesting

    Rule #8 would be not to fix problems too quickly (and let some that you can see coming, happen).

    If you fix every problem before it gets serious and avert the other 90%, your bosses will think they have a highly reliable IT infrastructure. They will then cast their eyes about for cost savings - and the biggest target will be the most highly paid admins - the most senior ones - YOU!!!

    So keep the problems coming, as all that management have to assess you on are the number of fixes and the time to fix. Nobody ever got promoted for solving problems that never happened.

    Finally: 60 hours a week? Don't be daft. If you're really an effective administrator you should have your work finished well inside 30 hours and/or 4 working days.

    --
    politicians are like babies' nappies: they should both be changed regularly and for the same reasons
    1. Re:To be an effective admin AND stay in a job by Anon-Admin · · Score: 2

      This is so true! I worked at a company where I set up nagios with event handlers that would fix a lot of issues when they happened and when it could not fix it, the system would txt me to come fix it. Problems and downtime when to almost 0. It is amazing what happens when you have a system that can catch java leaks and restart the tomcat server.

      When layoffs came around my boss called me in and told me that I was being laid off because there had not been a major issue in 6 months and they could not justify having more than one Unix admin on staff. As I was the highest paid admin I was the one being let go.

      As to your "Finally:" I call BS. The last company I worked for read Gartner and really believed that one admin could manage 900 servers. They missed the part where it was 900 identically configured virtual machines. After they cut head to meet the numbers they could not figure out why we were working 80 hour weeks and people were quitting. Well when you expect one admin to run 900 unix systems that are on average 15 years old, have no underlying management system, and no unified authentication then you get what you deserve and you can holler "Gartner says" all you want to the empty room.

    2. Re:To be an effective admin AND stay in a job by AndyCanfield · · Score: 1

      60 hours a week? Don't be daft. If you're really an effective administrator you should have your work finished well inside 30 hours

      I half agree. When the system is up and running you can go home at 3PM. But if the system is down, you don't go home until it comes back up. That's the job; on call 24/7. Love it or leave it.

    3. Re:To be an effective admin AND stay in a job by Mozai · · Score: 1

      "60 hours a week? Don't be daft."

      All my technical problems are fixed in less than 30 hours a week. The other 30+ hours a week are fixing problems caused by users; either because QA is toothless, or people not following instructions, or employees who need to be bailed out.

    4. Re:To be an effective admin AND stay in a job by SethBrown · · Score: 1

      I concur. There are 2 mistakes I have made in the past. One is to fix something that people thought was impossible to fix. That sets you up as a godlike figure. People start to expect the impossible as a matter of course. The second is about not pacing myself. You have to establish an understanding with your employers/userbase that a request takes X amount of time, be it 2 days or a week. Once you have established that, you are giving yourself time to fix the ones that really take a week. The rest of the time you are giving yourself time to think about the job and prepare for problems to happen. You also have to establish habits like ACTUALLY taking an hour to eat lunch instead of eating at your desk. The important message to convey is that good system administration takes time.

    5. Re:To be an effective admin AND stay in a job by MrKaos · · Score: 1

      If you fix every problem before it gets serious and avert the other 90%, your bosses will think they have a highly reliable IT infrastructure. They will then cast their eyes about for cost savings - and the biggest target will be the most highly paid admins - the most senior ones - YOU!!! .

      A big part of that effectiveness is being able to identify trends, classes and root causes of issues. The amount of symptomatic issues is a measurement for the impact the issue causes and the metric by which to demonstrate why the pay is justified.

      Allowing a organisation to feel the impact of their management decisions also demonstrates to them why your expertise and, judgement should be taken seriously - especially when you alert them which issues matter. Management may not like you for the level of natural power you have over an organisation however they will respect you.

      If you're really an effective administrator you should have your work finished well inside 30 hours and/or 4 working days.

      Also known as "No fuckups on Fridays"

      --
      My ism, it's full of beliefs.
  28. Delegate and Automate. by jpvlsmv · · Score: 1

    Find the people on your team who can be trusted to do the job well. Encourage them to do it. Work with them to build their skills as well as yours.

    Find the people on your team who can not be trusted to do the job well, and replace them with shell scripts.

  29. Re:good habits = not in that job by jedidiah · · Score: 1

    Yes... getting out of "the tedious low end job that sysadmin is" just so that you can sit in painfully dull meetings all day. Great plan that.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  30. To "Know your systems" by adam525 · · Score: 1

    For habit #2 Nagios comes in really handy (could watch MRTG et al as well).

    Setup all hosts in Nagios, sending alerts to an email for a couple weeks. Figure out what hosts have certain patterns.

  31. Beard by formfeed · · Score: 1

    You really need to have a beard to get it. Do you have a beard? You don't sound like you have a proper beard.

    Ehhh, of course you need a beard. But the article also says, to be successful you should remove spaghetti once in a while:

    Habit 7: Make time for yourself
    [... ]Taking care of yourself is an important part of doing a good job."

  32. From TFA by StripedCow · · Score: 1

    For example, I have some processes that involve visual basic scripts that run on a windows virtual server and send data files to a Unix server that reformats the files using Perl, preparing them to be ingested into an Oracle database.

    I guess that answers the question of how many times one can curse in one sentence.

    --
    If Pandora's box is destined to be opened, *I* want to be the one to open it.
    1. Re:From TFA by g0bshiTe · · Score: 1

      Why not have Perl running on the windows box and just send the data out that way?
      Active Perl anyone?

      --
      I am Bennett Haselton! I am Bennett Haselton!
  33. Re:Bait by jacobsm · · Score: 1

    And as a zOS Systems Programmer too.

  34. What habits have you found effective for system ad by g0bshiTe · · Score: 1

    Hello IT,
    Have you tried turning it off and back on again?
    No problem mate.

    --
    I am Bennett Haselton! I am Bennett Haselton!
  35. Re:One habit is ... by Anonymous Coward · · Score: 1

    OK fatass.

  36. What... by fyngyrz · · Score: 1

    ...habits have you found effective for system administration?

    I like to shut all the ports in the firewall. The sense of calm that descends on the servers is downright pleasant. Of course, then the phone begins to ring...

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:What... by bkcallahan · · Score: 1

      You have the ringer on?

  37. Cut your own throat some more. by ralphaostrander · · Score: 1

    It is now that the face time in front of a PC dos, unix, os390, linux Windows years and years worth 2.0 to 8.1 Worthless. What use to bring 100.00 per hour when 100.00 per hour meant something. Now lucky if you get 10.00. Let them google it themselves. Heck we learned with no google.

  38. "Easy" by EvilAlphonso · · Score: 1
    • Automate, everything
    • Do not hide behind forms, user-filled requirements waste even more time than collecting the requirements yourself
    • Get involved in project as far upstream as you can
    • Communicate
  39. Carefully regulate your honesty by Guest316 · · Score: 1

    Be honest and candid with your teammates. If you tripped over a power cable, let the other admins know so they don't waste time analyzing the unscheduled reboot. (And, of course, secure that cable.)

    But never, ever let it outside your team. While your fellow techies will generally appreciate your ability to admit fault, it'll only come back to bite you later if you admit fault to anyone outside your group.

  40. Re:One habit is ... by MrKaos · · Score: 1

    The reason there are more fat people in IT isn't because we want to be. It is because the GOOD IT people get fat because they know that the best IT people never need to leave their seats. If you have to leave your seat to do something as an admin, you are doing something wrong and not using the technology that is available to you to be able to fix everything but physical hardware failure or installation from your seat.

    This is why my office chair is a toilet. Actually my entire desk is in a toilet cubicle with the rest of the IT Team 'just in case of emergencies'. Curiously though the sound of urination is no different from the sound of people pissing on things to make their territory but they can't because we are already pissing on everything.

    It's sometimes very odd when someone urgently bursts in during one of our meetings, but they usually leaved feeling relieved.

    --
    My ism, it's full of beliefs.
  41. Path to obsolescence by gmuslera · · Score: 1

    You should try to become replaceable. Make most your task become automatic or trivial, that systems try to heal themselves when known problems arise. That anyone else can understand how exactly the systems work based on your documentation, or see that a problem is about to happen based on your monitoring.

    That will make your work easier, be able to take appropiate vacations, and be irreplaceable when (not if) things change.

  42. Re:One habit is ... by SethBrown · · Score: 1

    Sad but true. The better you get at this job, the more weight you put on. What we need, is an augmented reality device that let us work while jogging. Or something ...

  43. Seven Deadly Sins and Eneagram Re:i was so wrong by bbsalem · · Score: 1

    The Seven Deadly Sins

    Most sysadmins are 6-wing 5

    Type 5 on enneagram, the sin is greed.

    Type 4 it is envy

    Type 2 Pride

    Types 7 Gluttony

    Type 8 Lust

    Type 9 Sloth

    Type 1 Anger

    Notice that the core types 3 and 6 do not map directly, Modern mapping add traits of Type 6 Cowardice and Type 3 Deceit and these can be seen as variants of the Sloth at point 9 since they are all sins of omission, not being available, not cmmitting to action and not supporting truth.

  44. Best practice = personal wiki by SethBrown · · Score: 1
    My most important habit for system administration is to record things in my wiki. I have been maintaining it since 2002. Every shell script, procedure, config file, screenshot goes into it. All my daily personal logs (with timestamps) go into it. Network layouts, tips, tricks, shortcuts, links to tutorials, whatever.

    It has become my personal superpower. There is nothing more important as a tool. If you are not using one, start today. I can't recommend it enough.

  45. most important by gzuckier · · Score: 1

    lay off the donuts. snack on crudites.

    --
    Star Trek transporters are just 3d printers.
  46. Re:Reboot does not fix anything, it just hides thi by DocSavage64109 · · Score: 1

    Tell that to all the linux based copiers around here. Even the dollar bill changer in one of our coke machines stops working until it is rebooted. Granted those items aren't "fixed", but replacing everything that a reboot resolves would be rather expensive.