Slashdot Mirror


Best Practices in Workgroup Maintenance?

option8 asks: "As the sysadmin for a smallish workgroup (15 or so users) I'm constantly wrestling to balance a regular maintenance regime with the users' continued productivity. As it is, I strive to keep my regular maintenance to a minimum -- optimizing drives, checking for directory and file corruption, permissions repairs, clearing logs, software updates -- after hours, on weekends, or whenever someone goes on vacation. I have a lot of stuff scripted - backups and whatnot go off every night - but there's a lot that requires at least a minimum of my 'monkey clicks the Okay button now' attention. Is this the best way, or do the other BOFHs out there have a better solution to regularly scheduled maintenance for the workgroups/labs/studios they oversee?"

43 comments

  1. Simple. by Anonymous Coward · · Score: 4, Funny

    One whip, one master, 14 slaves. "Code, ye dogs!"

  2. Remote Desktop and Weekends by cdwiegand · · Score: 5, Interesting

    I get to take off time early sometimes because I often Remote Desktop to the windows machines (and ssh to the linux ones) to do upgrades/auditing/etc. on Sundays. I don't do that every Sunday, but at least once a month, usually twice a month. So my boss is a little flexible when it comes to coming in at 9, leaving at 5:30, etc.. But without Remote Desktop, I'd have to either a) come in the office, or b) use VNC (which sucks). I have a 12-desktop/9-server setup, so I'm around the same size site as the OP.

    --
    . Define sqrt(x) as something really evil like (x / rand()), and bury it deep. Watch your coworkers go nuts.
    1. Re:Remote Desktop and Weekends by TripMaster+Monkey · · Score: 3, Insightful


      I use DameWare myself...glad I was able to talk the boss into it. System administration without DameWare would be a real drag...yes, everything you can do with DameWare can be done with the regular Windows software (Remote Desktop, etc.), but DameWare makes things much more centralized and easily accesable. Bottom line: I'd highly reccomend it.

      --
      ____

      ~ |rip/\/\aster /\/\onkey

    2. Re:Remote Desktop and Weekends by jrockway · · Score: 1

      > my boss is a little flexible when it comes to coming in at 9, leaving at 5:30

      Isn't the workday 9-5?

      --
      My other car is first.
    3. Re:Remote Desktop and Weekends by cdwiegand · · Score: 1

      Not where I've worked - all in Colorado.US. Workdays are 8a-5p, with 1 hour lunches (so it's a 40 hour workweek). I'm supposed to come in at 8am, but I usually end up coming in sometime before 9.. And sometimes I take a longer lunch, but that's to make up for part of my Sundays.

      --
      . Define sqrt(x) as something really evil like (x / rand()), and bury it deep. Watch your coworkers go nuts.
    4. Re:Remote Desktop and Weekends by vwjeff · · Score: 1

      The normal workday for most people is 9-5. Since I work in a K-12 environment, my workday is 7:30-4. I wish I was 9-5.

    5. Re:Remote Desktop and Weekends by Anonymous Coward · · Score: 0

      I can see that you are neither a professional nor will you ever make more than 50k a year, adjusted for inflation. But snark aside.

      See, you work what your boss tells you to work. You should be happy to have a job, how many of your friends are out of work? Shit I have to work 60 and I make the ones I am responsible for work 60. The real world is very different than the idealized version of the world you thought existed while you were in school. No offense but my guess is you are under 25?

      I suggest adapting and you might do well.

    6. Re:Remote Desktop and Weekends by Anonymous Coward · · Score: 0

      My guess is that you are part of the problem.

      You asshole. 60 hours a week leaves no time for life and family. You live to work rather than work to live. Hope you're proud of that on your deathbed.

    7. Re:Remote Desktop and Weekends by Steinfiend · · Score: 1

      I know I'm going to hate myself for getting caught up in this, but I have to say something. First off, why did the two previous posters feel the need to use Anonymous Coward to post? Aren't you able to stand behind what you say?

      However, I agree and disagree with both sides of the argument. 9-5 is a fallacy for most people these days, 8 hours a day, 7 after a lunch break, just doesn't get the job done. As a professional recruiter I do 7 hours of interviews a day as standard, so 9-5 wouldn't give me any time to do everything else I need to do. Also, when one is paid hourly, and probably not paid for lunch at all, as is more and more common, 35 hours a week isn't enough to make ends meet. It's nice having time for a family and a life, but if you don't have money, you can't afford to enjoy these things. One shouldn't concentrate on work at the detriment of family, but one must realize families need to eat.

      My standard week is 48 hours, although 52+ is more common these days, and I don't mind at all. I get a great sense of satisfaction from getting a job done and being successful in my field. If more people had a decent work ethic and had pride in themselves and their actions then the world definitely would be a better place.

    8. Re:Remote Desktop and Weekends by Anonymous Coward · · Score: 0

      I'll defend the two Anony Cowards and just say that anon cowardry is no different than hiding behind a username. Who is "Steinfiend"? No offense.

      I'll not say anything as to their points such as they are.

    9. Re:Remote Desktop and Weekends by Anonymous Coward · · Score: 0

      Maybe if you didn't have a 700$ a month SUV payment, you could afford to not work so much.

      Just buy your family another TV with all that extra money you're making, so they're content when you're still pounding away at work, rather than throwing the ball around the front yard with them.

    10. Re:Remote Desktop and Weekends by Steinfiend · · Score: 1

      Its an interesting point, and one that should be addressed. I had written a sarcastic response, but I didn't feel it was appropriate so I deleted it.

      My concern about ACs, like most people, is all the abuse that comes from it. But then I don't like the fact of having to register for a website or something when I just want to make one comment or point. Maybe SlashDot should put in place some ability to link a username to a post, without having to register.

    11. Re:Remote Desktop and Weekends by Steinfiend · · Score: 1

      You know how much I pay for my SUV a month? Nothing. You know why I don't pay anything for an SUV a month? Because I don't own one, I don't even have a car. Thats a decision I was forced into (the drivers in Florida are INSANE!) but one I am happy with now. I get everywhere I need to perfectly fine. As for TVs, the only reason we have one of those is a friend gave it to us and cable comes free with the house. Its tuned to BBCA in the morning for the news and every once in a while I'll watch poker in the evenings. Apart from that, the thing doesn't really get turned on.

      It seems pointless to get into arguements like this but for some reason I can't hold myself back. Maybe its because I'm testing out these new flameproof pants!

    12. Re:Remote Desktop and Weekends by tverbeek · · Score: 1
      System administration without DameWare would be a real drag.

      With a name like "DameWare" ("DameWear"?) I'd think it was for doing drag! [rimshot] Thank you, dahlings, you've been loverly! I'm Angie O'Plasty and I'll be here all week! [cue exit music]

      --
      http://alternatives.rzero.com/
    13. Re:Remote Desktop and Weekends by AvitarX · · Score: 1

      I disagree.

      More often then no employers force a 30-60 minute lunch that needs to be made up in the morning or the afternoon.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
  3. um by ReverendRyan · · Score: 3, Funny

    It seems to me that a good BOFH wouldn't worry about little things like regular maintenance. Or any maintenance. Or users, for that matter. In fact, why do you even go into work, except to delete files?

  4. UltraVNC. AutoIt. OpenVPN. by Futurepower(R) · · Score: 3, Informative


    I've found that UltraVNC is the best VNC. Version 1.0.0 was released on 24 Jun 2005, but it is a quite advanced package. Be sure to install UltraVNC with the video driver, which is not included on Sourceforge.

    AutoIt is by far the best open source software for automating Windows installs and other tasks in which the program pretends to be a user. There's an IDE with an Intellisense-like interface and a compiler.

    I've heard that OpenVPN is the best software-based VPN, but I have not used it. There are hardware firewalls with VPNs; I suggest you stay away from Netgear's, which I have found to be quirky.

    --
    Bush lied, 100,000 died. J.C. said not to return violence with more violence.

    1. Re:UltraVNC. AutoIt. OpenVPN. by Noksagt · · Score: 1
      I've heard that OpenVPN is the best software-based VPNIt is & it has replaced an odd mish-mash of PPTP, IPSEC, and services-which-run-over-SSHD for me. If I were ever to buy a hardware VPN again (not likely), I'd probably buy one with OpenVPN support. I think CheckPoint and NetScreen do this.
  5. This is easy by Anonymous Coward · · Score: 0

    Use Windows for Workgroups 3.11. It is very easy to maintain. Just format C:, install Dos, install Windows, done.

  6. cfengine by Procyon101 · · Score: 2, Interesting

    check out cfengine

  7. "The Best" by p2sam · · Score: 1

    Why are people obsessed with "The Best" software package for everything? Everytime I browse through forums and newsgroups, there'd be people asking for "the best" software package for this, and that.

    "The Best" is what you decide on after evaluating all reasonable choices. The question is not what "the best" is, but what "the recommended" are.

    I hate "the best".

    1. Re:"The Best" by karnal · · Score: 1

      "The Best" means that someone has an opinion about something that makes them feel that that something is able to fill a solution or need above the other choices they know about.

      More often than not, however, people do get blindsided by things they don't know. For example, if I hadn't read about the grandparent's post of ultravnc, I may not have ever heard about it. At this point, I am going to look into it as a solution for managing my own boxes at work and at home, as a possible replacement for plain-vanilla VNC.

      So, seeing what others think is "the best" actually can help people out from time to time. Even if it just annoys you so.

      --
      Karnal
    2. Re:"The Best" by p2sam · · Score: 1

      The best is a singular exclusive choice. What you're actually after is a set of choices from which you can perform your evaluations on. I am against the authoritative term "the best", not against people seeking for suggestions.

    3. Re:"The Best" by Anonymous Coward · · Score: 0

      " The best is a singular exclusive choice." For that person. Doesn't mean it's "The best" for you. If you don't like it and someone else still uses the term, I guess that's tough shit for you.

  8. AutoIt could help you by int19h · · Score: 1

    If you're maintaining Windows-computers, I can highly recommend AutoIt.

    It is the perfect tool/language for automating away tedious tasks. You can even make executables with it. :-)

    AutoIt is script based, so it might take a few minutes to write what you want, but in my experience it's worth it. The language is very simplistic and reminds a bit of batch-files in DOS. But, using the utilities that comes with it, automating a task is a relatively quick undertaking.

    It has saved me a lot of time and hassle in the past, and has always been stable and dependable.

  9. a pound of prevention, vs. a ton of maintenance by tverbeek · · Score: 3, Interesting
    I manage about 300 college classroom/lab computers, but I don't really have much "maintenance" for them. Of course shortly before each semester begins, I go around and wipe every hard drive down to the boot sector, and reload pre-configured software images. But not much in between. I do have work-study student employees for "monkey clicks OK" type stuff, but since they rarely actually do what I ask them to do, so that doesn't really count.

    Most of my efforts are preventative, putting a lot of thought and fine-tuning into the base software images, to harden them against user abuse and malware, and to automate security patches and definition updates as much as possible. For the Windows machines that's Symantec Anti-Virus with daily updates, Spybot S&D with full Immunization, and MS's auto-critical-updates.

    I've found Apple Remote Desktop to be very handy for occasional maintenance on the Macs, such as OS updates and security patches.

    For the Windows machines, I usually wait for users to complain about spyware before I wipe them and reload a clean image, rather than doing it on a regular basis during the semester. Mostly that's because the profs don't teach their students good backup habits, and I'm not BOFH enough to go around teaching them painful lessons about not keeping the only copies of their work on the hard drive. Yet. I'm still new on staff, so I'm building up my goodwill reserve before I start doing that.

    --
    http://alternatives.rzero.com/
    1. Re:a pound of prevention, vs. a ton of maintenance by andylievertz · · Score: 1

      I'm in a similar situation to yours, maintaining ~200 lab PCs for the ITE program at a Community College. Like you, I put a lot more work into creating a clean, stable image on the front end. But one piece of software has made my maintenance/ virus/ spyware/ user error worries dissapear:

      Faronics Deep Freeze

      Deep Freeze works by "freezing" a workstation after you've imaged it (with remote console functions in the Enterprise version). All changes after that point are journaled (?) and the journal is flushed on reboot.

      If something is wrong (in software)...reboot! Problem is gone :o)

      Of course...your images had better well be perfect before you deploy, because this does make small after-the-fact changes a bit more difficult.

      --
      In Soviet Russia, the signature reads YOU!
    2. Re:a pound of prevention, vs. a ton of maintenance by tverbeek · · Score: 1
      I has a run-in with Deep Freeze once in my last job. The IT dept there doesn't use it, and I was unaware the product even existed. But someone in the library had installed it on one of their computers, and neglected to tell IT that they'd done so. After a while, the anti-virus software started complaining about the virus defs being out of date - and promptly shutting the system down, according to college policy - so I was sent to fix it. I hacked on that thing for two hours* before I figured out why no repairs I did had any lasting effect. I can attest to its effectiveness, but I shudder whenever I hear its name.

      *It had some bar-code-reading and other specialised software I couldn't easily reinstall, so I was trying to avoid a wipe-and-reload.

      --
      http://alternatives.rzero.com/
    3. Re:a pound of prevention, vs. a ton of maintenance by znx · · Score: 1

      Similar to my work.

      Classrooms:
      We build and create a new default image with all the new software that we require on the machines (most is actually provided via dfs) every year for the 'summer upgrades'. Paranoid policy settings to restrict access to as much as we can get away with without breaking software. These have an automated reboot every night and install whatever patches etc on the reload. This does create an issue where some users ignore the pop up warning of the reboot in 15mins/10.. etc and therefore lose the unsaved data, but those number are few.. and we need something to maintain our status as BOFH's.

      Staff:
      Due to the differing variety of hw that goes through our hand we use simply scripting methods to automate installation of software. The AV solution we fell for is Sophos Antivirus. All the systems automate an auto-update from our Windows SUS at 16:00 everyday (which catches most of the systems).

      As for spyware etc, nothing is installed by default, we have it available for the more interested user, but the fact is if it were installed who would update it? Answer noone.

      As you indicate, one of the hardest jobs is to teach the users to be careful of what they click. After all the last virus attack that bred through our systems was started not by a general staff member but instead by one of our techinal documentation writers! Even the educated make misstakes.

      --
      BOO
  10. Scripting to the rescue!! by chota · · Score: 4, Informative

    Seriously, you can do everything you've hinted to with VBScript.

    I recommend:

    The Microsoft ScriptCenter has just launched a new monthly column regarding beginning scripting in Windows; it's called Sesame Script. (The scripting guys are a little geeky.)

    Also, point your favorite nntp client at msnews.microsoft.com and do a search for wsh, script, etc, and subscribe and ask! The newsgroups are full of helpful folks!

    Remember the motto: If it has to be done more than once, script it!

    PS, to get a script to emulate a monkey pressing ok, have it loop, watching for a dialog box of whatever name it will be, then activate that dialog (WScript.AppActivate) and then send an "Enter" keystroke (WScript.SendKeys). Good example is here:

    1. Re:Scripting to the rescue!! by nosfucious · · Score: 1

      Absolutely, scripting is the way to go.

      Perl might be a better choice if you have multiple playforms to manage (Win32, Unix-like, some big iron).

      Script a lot and use centralised management tools. You have got a windows domain, and not just a workgroup? With a Windows or Novell domain you get a directory service and either Group Policy or ZEN works to manage your workstations. Forget even going to those workstations every month, reduce that to every quarter.

      Remember that 15 workstations might turn in to 20. Then in 50. You don't want to be going around once a fortnight to each workstation to put on new software and check for security updates and patches.

      --
      Q:I was listening to a CD in Grip and it sounded horrible! What's up? A:Perhaps you are listening to country music
  11. Take all of this good advice... by jannesha · · Score: 3

    ...only, remember:

    Use this advice to save yourself time, but don't tell your boss about it. Keep him thinking that you do it all on Sundays, and continue to take the extra time off.

    Since you seem to actually care about Things Being Done Properly, you deserve it

  12. Hire a monkey. by green+pizza · · Score: 2, Insightful

    Seriously. You are the sysadmin, not a digital janitor. OK, so even if you can do all of this maintenance work from home via Remote Desktop on a Sunday afternoon -- do you really want to? Is this in your job description? As you pointed out, you still have do do the monkey clicks. Even if you script everything, you'll still need to do basic functional tests after the smoke has cleared.

    I know of at least one shop in town that has hired weekend help (usually honest and lonely college students) to maintain their end-user Windows PCs. At the end of the year the monkey salary still adds up so little that it's still cheaper than moving to a new platform (Linux, Mac OS X).

    1. Re:Hire a monkey. by tverbeek · · Score: 1
      Seriously. You are the sysadmin, not a digital janitor.

      Spare me. You are the sysadmin, not the Prince Consort. The job description for such positions (especially in small shops) probably does include "click OK buttons as needed". I've got the proverbial brain the size of a planet, but I'm not above cleaning mice balls or other menial tasks if they need to be done. In a small shop the sysadmin's job is "make it go" and this is all just part of that.

      Hiring an additional primate (of whatever species and pay rate) sounds like overkill. More than 1.0 FTE to admin a 15-node workgroup? I don't think so. (And where did the comparison of an ongoing payroll expense to a one-time cost of switching to a different platform - as if they were considering that, or even should - come from? That makes no sense.)

      --
      http://alternatives.rzero.com/
    2. Re:Hire a monkey. by cerebralpc · · Score: 1
      Well said!

      Damn - I'm still laughing - whats up with that

  13. CRON scripts? by JeffHunt · · Score: 1

    I don't know if this suggestion helps at all, but I'd recommend setting up weekly CRON scripts if your servers are *NIX-ish at all. I don't know what your maintenance routine consists of, so I don't know if this is even applicable.

    Aside from that...

    In my line of work (web application development), I write scripts to do database integrity checks on my clients' systems, filesystem monitoring (for checking file sizes and permissions), and data transfer monitoring. Scripting all of these things together, and having automatic reports sent to me via email, is the way that I do it.

    Cheers!

    --

    "It was hell!" recalls former child.

  14. ClickOff? by dtfinch · · Score: 1

    That might cut down on the mindless button clicks.

    At my work we have about 25 desktops. Because our company is small, one of my side responsibilities is sysadmin stuff. The maintainance part is really small. If you leave a system with auto-updates and an under-targetted browser and email program, it almost maintains itself.

    Most of our systems run XP Home with an extra script to properly mount everything on bootup. I have another script for easy installion of that script. We enable auto-update. It hasn't caused any problems and the extra bandwidth usage is too small to worry about. Users are admins of their own systems, but that hasn't caused many problems either. We haven't seen a virus in over a year, and spyware is rare. A new system with monitor, mouse, and keyboard costs about $400-$500, and takes about 2 hours of setup effort. We install OpenOffice on each machine, but those who need MS Office can get it. We'd spend $100k if we found an ERP we liked but we won't just spend needlessly.

    Most of our file servers run Linux. They never give us trouble, except one time when two hard disks failed the same week. After that incident (luckily it was a backup server), I wrote a script that combines all our Linux server logs into one giant, but properly sorted log which I glance over each morning for signs of hardware failure. We have one Windows server for running Windows-only server software. We don't use Active Directory, but that hasn't been a problem. We use webmin to easily manage users and groups across multiple servers at once. All our file servers are grouped together onto one network drive using DFS, and each folder is restricted to only those who need access to it.

    It seems that in some companies this sort of job involves as much or as little work as one is willing to commit to it. Admins can easily find ways to keep themselves busy, sometimes at the company's expense. There's always something more you can do, but you can often get away with very little. Just do what needs to be done.

  15. Monkey clicks by leprasmurf · · Score: 2, Insightful

    I'm not sure which monkey clicks your talking about, but I know for windows patches, if you run them from command line you can put in flags. `KB###### /?` should give you the available options. What we've done at my work on certain occasions is to create a batch file that runs each of the patches, followed by a program that runs at the end to give priority to the proper patches (afraid I can't remember the program, but a google search should reveal). The "At" command also helps with scheduling that batch script. Another option we've explored heavily is PERL scripts.

    One thing that is suppose to work well, though we can't use it at my site, is a SUS server. This is suppose to be a middle man for windows update. Allows you to approve patches before installing, and then you point all your windows boxes to the SUS for updates.

    I knew a sys admin who could automate just about anything, and was lazy, so if he had to click, it wasn't good enough for him. There are a ton of tools in the windows 2k/2k3 resource toolkits. Hope this helps some.

    --
    "And The Geek Shall Inherit The Earth" --Jeff Darlington
  16. Deep Freeze by prescor · · Score: 0

    If you're talking about Windows PCs, nothing beats Deep Freeze from Faronics.

    Get your PCs set up the way you want them, "freeze" them, and that's IT. All changes to the file system are cached. The upshot is that anything the user does the user is allowed to do "normally," but any changes evaporate as the aforementioned cache is deleted on reboot. As long as users have a networked Home Directory you're all set. If you have a SUS/WUS server, the PCs can be set to "thaw" in the middle of the night and apply WindowsUpdates.

    And Faronics (the company) is a JOY to work with!!!

    --
    signat-url: http://www2.potsdam.edu/dctm/prescor/signat-url.ht m
  17. lazy admin is good admin by outcast36 · · Score: 3, Insightful

    I wanted to reiterate how important scripting is for your sanity. Be sure to check out the resource kits that come with each OS & IIS. These have lots of command-line scripts that lend themselves to some time-saving admin scripting fun.

  18. Off-site backup and good PR. by Anonymous Coward · · Score: 1, Insightful

    Presumably your computer stuff is important enough that if you totally lost it, you would be out of business.

    One of our local ISPs runs a 'data fortress' where people keep off-site backups. It's a really good idea. Depending on how prone your area is to natural disasters, you might want your backup a long way from where you are.

    People are also starting to run virtual machines for their servers. I haven't done it myself but I'm told that you can get back online really fast even if the original server is totally trashed.

    Otherwise, you seem to be doing everything right. Being proactive, as you are, saves you a lot of work. The trouble is that if you do your job well enough, the boss will take you for granted because your system never causes any problems. Make sure the boss stays a little paranoid by telling horror stories about what's happening at other companies that don't have someone as good as you! If the economy takes a turn for the worse or you get a new boss, your main problem may not be technical. Never underestimate the importance of good PR otherwise you may find yourself losing resources until you can't do your job any more. We had the case where I work where they cut the safety officer's resources back until she quit. They then had to replace her with two bodies. She was working like a hero and management just didn't get it. Her replacement was much better at PR and convinced management of what the woman who quit had been trying to tell them all along.

  19. If You're Using Windows.... by Doc+Squidly · · Score: 4, Informative

    ...then 10 systems is about the max for workgroups.

    If you plan to grow any larger I'd recommend moving to a Domain instead of a Workgroup. This would give you centralized administration, give you the ability to remotely publish software updates to you systems and the ability to control all your systems via Group Policies.

    This will be a hard sell to you boss but, try to provide a detailed cost/benifit analyse looking at the manpower that currently is wasted by having maintain each system seperately and scaleability issues.

    If that doesn't work you can still create local policies on each computer to prevent problems.

    Good Luck

    --
    I think I think, therefore I think I am.
  20. My Team is Developing MATTER by ggreggorw · · Score: 1
    checkout http://sf.net/projects/matr
    It is being developed to help reduce and organize administrative tasks. It allows you to manage the computers connected to your network using a Jabber Client as your admin interface. It works like this:

    1) Create scripts that determine which computers have a problem.

    2) Send scripts to the MATTER clients in your Global Buddy List.

    3) MATTER executes those scripts which reports the result back though the MATTER client by assigning a new buddy to their roster. ie. Matter.AddBuddy("No_XPSP2")

    4) Login to your Jabber Client as No_XPSP2 and immediately see who has the problem.

    5) Fix though the same interface once you have one.

    Check the MATTER project out often - we are concentrating on MS OS's in the beta stage and we are looking for a little technical know-how to get it working on Linux next.