Slashdot Mirror


Preparing for the Worst in FreeBSD

LiquidPC writes "In Part I of this series, Michael Lucas, from ONLamp.com, goes over preparing your FreeBSD computer for the worst in case of a system panic."

10 of 286 comments (clear)

  1. My experiences with Windows XP Professional by Anonymous Coward · · Score: 1, Interesting

    I am a Computer Information Systems Professional at a major Fortune 500 corporation. Very recently the head of our IT department decided that we were going to switch every one of our networks over to Windows XP Professional. We had previously been running OpenBSD on all our quad processor Xeons. Some of them had had uptimes approaching a year! My personal favourite, Gerbil, had been running without a reboot for three years.

    One day one of those Microsoft shills that you often read about on the Register came by for a visit. I grew very suspicious about what was going on when my boss and the Microsoft representative walked by my desk, and entered the server room. I could hear muffled voices through the closed door. The Microsoft representative was asking what we were running on our servers! My worst fears had come true. I sat at my desk for the rest of the day, silently awaiting the bad news. The news did not come until the next day. It was worse than I had feared. We were to be a Microsoft only shop from that day on! I could not believe it. The Microsoft representative had told my boss that the operating and support costs would actually go down. And my boss had fully bought into it, hook, line, and sinker.

    Tough times hit our company in the last month, and we were forced to lay off a few of the less experienced IS/IT workers. One of them took this rather hard. As a last minute attempt at corporate sabotage, he decided to change all of the Computer Administrator passwords on a few of the XP Professional boxes sitting around in the server room. This caused absolute havoc, as Dell had failed to send along administrator passwords for the new boxes. Our company could not make use of these computers for three days. It took Dell that long to get us the administrator passwords. It is strictly because of Microsoft's poor implementation of a multi-user computing environment that our company lost three days of productivity.

    Needless to say, I had our quad Xeons back running OpenBSD by the end of the week. Gerbil is back on its way to another glorious 3 years of uptime.

    1. Re:My experiences with Windows XP Professional by buffy · · Score: 4, Interesting
      First some nit-picking...

      Very recently the head of our IT department decided that we were going to switch every one of our networks over to Windows XP Professional.

      Windows is an Operating System, not a network. Your network probably "runs" TCP/IP, Netbios, and a handful of other protocols. Windows runs on desktops, laptops, and servers.

      he decided to change all of the Computer Administrator passwords on a few of the XP Professional boxes sitting around in the server room. This caused absolute havoc, as Dell had failed to send along administrator passwords for the new boxes. Our company could not make use of these computers for three days. It took Dell that long to get us the administrator passwords.

      This last paragraph is a touch more concerning...first of any Windows box I've purchased from Dell, or others, have no administrator password, or are set to "admin". Why would Dell have set specific passwords for your systems? I'm just a little bit confused.

      On a related point, even for those systems that come pre-installed with an OS, it's [my] standard practice to bare-iron re-install from scratch. I'm not a huge fan of MS (quite the opposite), however, in the hands of someone who has a solid understanding in operating systems, it IS possible to build a stable Windows box. I have an NT 4 server, running a database, and a mail exchange, that has an uptime of 94 days. It was rebooted for a disk addition. It was up 86 days prior to that (it's installation date.)

      That said, I prefer and use Linux and Solaris much more frequently, and, unlike the windows example above, am not surprised by the continued uptime of my hosts! ;)

      Now, I've gotta ask...why did you just sit at your desk waiting for the bad news?? I've (and my VP) have recieved visits from MS cronies in the past. The thing is, those people are sales/marketing weenies. Get in on the meeting, and use your own skills to ask very pointed questions. Its not very difficult to run circles around these droids. Keep it calm, polite, and just bury them in the technical truths which they simply cannot refute. If they try to call you a "Linux zealot" you know you're on the right track, and they're in the process of losing their cool. As long as you keep it together, and don't let them change the topic, I've found that its pretty easy to expose others in my company to MS's shortcomings...right in front of MS folks themselves.

      If you just sit back and let non-techs make tech decisions without, at least, making them aware of the ramifications of such things, then you really can't blame them. Its kind-of what they say about voting, right? If you don't vote, you don't have the right to complain?

      Now, if you work in a super huge corporation where such things are a fact of life, I'm sorry, and you probably don't have a choice. Well...other than to extract yourself from between Mr. Rock, and Mr. Hardplace.

  2. Re:Hardware prob -- memcheck86 by Anonymous Coward · · Score: 1, Interesting

    Yes. I've yet to encounter a FreeBSD kernel panic that wasn't a hardware issue, two recent ones that I've had have been memory related. Now, my standard mode of operation is to put in a memcheck86 floppy and reboot before I do anything else.

  3. Here is how to prepare by Synopsis+Troll · · Score: 0, Interesting
    Synopsis: Ensure that you always have a Microsoft Windows PC available in the event that your Unix-wannabe system crashes.

    Details: Since Windows always works, you will be able to use this second machine to search Deja^H^H^H^HGoogle Groups for troubleshooting information. Microsoft understands that most people use computers for the purpose of using applications, and created Windows so that we could use applications without having to worry about what the operating system is doing. You will never have to worry about mounting disks, recompiling your kernel, or downloading hacked amateur device drivers -- so when your FreeBSD or GNU/Linux machine breaks, you can rely on Microsoft Windows to provide access to online Unix-wannabe documentation. But why are you using an operating system, such as GNU/Linux or FreeBSD, which purposefully places obstacles in front of the potential user? Just listen to several testamonials from satisfied Windows users.

    "I use GNU/Linux because I think it makes me seem cool -- I get a real rush out of talking about how GNOME and Star Office allow me to remain semi-functional in a world ruled by the graphical user interface. But when my Linux box crashed and I was unable to remount my "root" partition, I was hopeless, until I remembered about the Windows machine sitting in the corner. I usually make fun of Windows, but without the realiable Internet access that only Windows can provide, I would have been unable to find "fsck" documenation until I could visit my local Borders bookstore."
    I.M. Stoopyde, Linux Loser
    "I was recently forced to use a Windows machine in order to test a website, and I was really impressed. Internet Explorer 5 is incredibly fast, never crashes, and always renders the latest W3C-validated markup correctly, unlike Netscape 4 or Mozilla. Now, I find myself using Windows for most of my day-to-day work."
    A. Dumbefuque, Former FreeBSD Fucktard
    "Ever since I started using Microsoft Windows, I haven't had to worry about asking colleagues to resend Microsoft Word documents as plain text. Since Windows is the standard corporate desktop operating system, it only makes sense. I can't believe I ever used Linux!"
    Anne Utheretard, Cured Linux Loser
    "Windows is not only the only choice for the modern businessman, but in the wake of September 11th, it makes me feel good to use an American operating system. FreeBSD is the product of godless communist hippies, and Linux is the product of socialist Europeans. A true American will use either Windows or MacOS, and MacOS isn't a viable choice for e-business."
    John Walker, columnist for Smart and Successful magazine.
    "Some of my friends use Linux, but I just don't see the point. Windows supports all of the latest games, and provides unrivaled x86 hardware support. And the latest version of Windows, Windows XP, even bests MacOS is the realm of multimedia! Wowee!"
    Raven Stoneblade, amazingly cool action hero
    "I'll never forget how our FreeBSD machine forgot its routing information the night before my team's big project was due. Thank Allah for our lone Windows NT workstation, which autoconfigured its network interface and was online in seconds. So instead of working, my team spent the night huddled in front of our NT workstation, figuring out how to get the stupid fucking Unix box back online. As developers, we shouldn't be expected to put up with such bullshit. In the future, we'll do our work on Windows. Praise be to Allah!"
    Osama bin Raden, no relation to Osama bin Laden
    "After reading several stories on Slashdot.org, I became convinced that I would have to escape the grasp of Microsoft, the 'evil empire.' So I went down to CompUSA and picked up a copy of Red Hat Linux. What a pile of crap! Why have these Linux losers chosen to ignore every advance in operating systems development of the last twenty years? Linux is a bad copy of an existing OS with a bad GUI pasted on top -- inferior to both UNIX and Windows, it amazes me that anyone uses it at all. Are people really so desperate that they'd eat shit just because the shit is free? Microsoft may be evil, but their product allows me to do more with my computer than any lame freeware OS."
    Steve Stevenson, disgusted by Open Source
    So there you have it! Windows is superior to both FreeBSD and GNU/Linux. But, if you really have enough time to waste configuring and using such models of antiquated technology, make sure that a properly licensed copy of Microsoft Windows is nearby. You can rely on it.
    --

    --
    "Negative One, Troll."
    A golden badge of honor,
    worn on my penis.

  4. Re:Good question: Why *haven't* they mentioned Rot by Anonymous Coward · · Score: 1, Interesting

    Right on. I know plenty of people who've submitted stories about all aspects of Rotor. I've also seen a port commit in FreeBSD to build Rotor. What's more, the FreeBSD port maintainer already patch like 6 critical bugs in Microsoft's code.

    What the hell, Slashdot? Run a damn story already. Just like to the MS page, for crying out loud.

  5. Re:Nice article, but... by Skuld-Chan · · Score: 3, Interesting

    Is this a sun hardware feature though? I mean the other day (after months and months of uptime) I had a kernel panic on the machine (11 year old SS10 running debian linux) that is eventually going to route this submit.

    Long story short I couldn't log in, but if I went to the console I could see the kernel messages (logged) and if I hit enter it popped back to the login prompt (didn't work though). Funny thing is it was still routing traffic and looking up dns names - despite the fact I couldn't log in or access the console. I eventually hit stop-a (full break for those of use without a keyboard/monitor) and reset the machine.

  6. Explanation of the double-ram swap rule by SpaFF · · Score: 2, Interesting

    "To prepare for a kernel panic, you need the system source code installed. You need one (or more) swap partition that is at least one MB larger than your physical memory and preferably twice as large as your RAM. If you have 512MB of RAM, for example, you need a swap partition that is 513MB or larger, with 1024MB being preferable."


    I've never been able to get a straight answer as to why the swap rule of thumb is double the ram. I guess that explains it, although since Linux puts the backtrace to the console and syslog maybe there is another reason as well...

    --
    -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s: a-- C++++ UL++++ P++ L+++ E- W++ N o-- K- w--- O- M+ V PS+ P
  7. Re:Good question: Why *haven't* they mentioned Rot by 0x0d0a · · Score: 2, Interesting

    Okay, I'll bite. What "cool technologies" does MS provide?

    ".NET allows developers to build very powerful solutions around web services much more quickly". So what about perl and java? What are they?

    7x performance? Bullshit. Yes, Java isn't fast, but the limiting factor with modern, good VMs (like IBM's) is *not* the CPU but the fact that it eats RAM like there's no tomorrow. Java generally runs more than 1/7 the speed of a compiled C program. You are not going to convince me that MS's newcomer C# compilers run 7 times faster than Java, which would be faster than C benchmarks.

  8. Re:sigh by 0x0d0a · · Score: 2, Interesting

    The thing is that Linux was designed to be flexible. You want this kind of functionality?

    echo "\"xwd -out screenshot\"\n shift + alt + printscreen" -e >> ~/.xbindkeys

    And voila, you have the same functionality.

    Of course, most Linux distros don't turn on all the bells and whistles by default...you get to find 'em.

  9. Ummm.... by Anonymous Coward · · Score: 2, Interesting

    FreeBSD-3.5 hemsut 7:07AM up 822 days, 06:32, 2 users, load averages: 1.17, 1.15, 1.10

    What are you people complaining about?