NetBSD and my life (2005)

NetBSD and my life (2005)

NetBSD 与我的生活(2005)

Subject: NetBSD and my life… To: None netbsd-advocacy@netbsd.org From: gary rolland rollandgary@gmail.com List: netbsd-advocacy Date: 09/10/2005 16:40:17 主题:NetBSD 与我的生活…… 收件人:无 netbsd-advocacy@netbsd.org 发件人:gary rolland rollandgary@gmail.com 列表:netbsd-advocacy 日期:2005年9月10日 16:40:17

Hello NetBSD Team, I have been using NetBSD for about two years on my laptop and never had any problems. I use this laptop in work and at home. I knew NetBSD was capable of much more, and I was hell bent on using it at work too! 你好,NetBSD 团队,我在笔记本电脑上使用 NetBSD 大约两年了,从未遇到过任何问题。我在工作和家里都使用这台笔记本电脑。我知道 NetBSD 的能力远不止于此,所以我下定决心也要在工作中使用它!

The main reason for this email is to let you guys know what we mainly use NetBSD for - supporting over 4,800 heavy users (some remote) and counting. It’s my story about what NetBSD has done for my life, and how it has actually improved my personal life. I hope you will enjoy it and that it’ll offer further encouragement to continue the truly excellent work. 写这封邮件的主要目的是让你们知道我们主要用 NetBSD 做什么——支持超过 4,800 名重度用户(包括一些远程用户),而且这个数字还在增加。这是关于 NetBSD 为我的生活带来了什么,以及它如何切实改善了我的个人生活的故事。希望你们喜欢,并能为你们继续这项卓越的工作提供进一步的鼓励。

I’ll start off by introducing myself. My name is Gary Rolland and I live in the United Kingdom. I work in a team consisting of three other network admins. We all work for a large UK based company. Our task is to keep the servers up and to do maintenance. We work on shifts and can be called out at any time, night or day. We are not responsible for the client machines within the buildings. 首先介绍一下我自己。我叫 Gary Rolland,住在英国。我在一个由另外三名网络管理员组成的团队中工作。我们都为一家大型英国公司工作。我们的任务是保持服务器正常运行并进行维护。我们实行轮班制,无论白天还是黑夜,随时都可能被叫去处理问题。我们不负责大楼内的客户端机器。

Sadly, I am unable to disclose the actual company name. I received permission to give you information about what we use NetBSD for and that only (I begged infact). Our network is mission critical - down time costs the company mega money. I certainly would not want to foot the bill! (Note: I have also been told not to disclose network infrastructure in great detail. If you have any comments/questions, please do ask. I’ll try my best to answer them the best I can) 遗憾的是,我无法透露公司的真实名称。我只获得了许可向你们提供关于我们如何使用 NetBSD 的信息(事实上是我苦苦哀求来的)。我们的网络是任务关键型的——停机时间会给公司造成巨大的经济损失。我当然不想承担这笔费用!(注:我还被告知不要详细披露网络基础设施。如果你们有任何意见或问题,请尽管提出来。我会尽我所能回答。)

Currently, our network consists of 29 high end servers. They all run NetBSD 2.0.2 and deal with extremely high loads. The servers handle: 目前,我们的网络由 29 台高端服务器组成。它们全部运行 NetBSD 2.0.2,并处理极高的负载。这些服务器负责处理:

  • MySQL databases - This makes up most of our traffic/resource usage.

  • MySQL 数据库——这占用了我们大部分的流量/资源。

  • Apache - Internal and external

  • Apache——内部和外部服务。

  • Postfix - Interval and external email

  • Postfix——内部和外部电子邮件。

  • Samba - Allow the 4,800 users to connect to the NFS. (Note: Our file servers are connected to NetBSD. So it’s like Users->NetBSD->File server. Our file servers run Linux. Am not allowed to touch them! However, the email and httpd data is stored directly on the NetBSD servers. Just for your information, our file servers go down more than our servers;-))

  • Samba——允许 4,800 名用户连接到 NFS。(注:我们的文件服务器连接到 NetBSD。所以流程是:用户 -> NetBSD -> 文件服务器。我们的文件服务器运行 Linux。我不被允许触碰它们!不过,电子邮件和 httpd 数据直接存储在 NetBSD 服务器上。顺便提一下,我们的文件服务器宕机的频率比我们的服务器高得多;-))

Data facts(avg. per day): 数据事实(每日平均):

  • NetBSD pushes over 870GB of data per day.

  • NetBSD 每天推送超过 870GB 的数据。

  • NetBSD pushes about 1,200 emails per day (not always work related. I have seen joke emails a while back with 12MB attachments! (12MB x 4500 :()).

  • NetBSD 每天推送约 1,200 封电子邮件(并不总是与工作相关。我之前见过带有 12MB 附件的笑话邮件!(12MB x 4500 :())。

  • NetBSD during peak hours, our httpd servers can deal with 35 requests per minute(internal and external). The website is wrote in pretty heavy PHP (and bad PHP, but that’s not my call).

  • 在高峰时段,我们的 httpd 服务器每分钟可以处理 35 个请求(内部和外部)。网站是用相当臃肿的 PHP 编写的(而且是糟糕的 PHP,但这不由我决定)。

Originally our network servers used Windows, running on more older hardware than we have now. We have recently been through an upgrade. I can describe my admining of Windows as a complete f*cking nightmare. I was constantly worrying over when they would fall over. 最初我们的网络服务器使用 Windows,运行在比现在更旧的硬件上。我们最近刚完成了一次升级。我只能用“彻头彻尾的噩梦”来形容我管理 Windows 的经历。我总是担心它们什么时候会崩溃。

Here is a small story: I had been promising my 12 year old daughter and her friend that I would take them to Alton Towers. The night before we had planned to go, I raced into the server rooms and checked everything was running. I was happy things would be OK, because I was on call out the next day and I couldn’t let my daughter down again(this has happened more than once). 这里有一个小故事:我曾答应我 12 岁的女儿和她的朋友带她们去奥尔顿塔(Alton Towers)游乐园。计划出发的前一天晚上,我冲进机房检查一切是否正常。我很高兴一切看起来都没问题,因为第二天我值班,我不能再让女儿失望了(这种情况已经发生过不止一次)。

We was having a great time at Alton Towers and the worst thing happened. My work phone starts to ring. My daughters face just dropped, she knew exactly what was coming next. Boss: ‘Gary, servers have all dropped to their knees. I need you here now.’ Me: ‘Sure, I’ll be there in a few hours’ (in a ‘am going to kill someone voice’). 我们在奥尔顿塔玩得很开心,但最糟糕的事情发生了。我的工作电话响了。我女儿的脸瞬间沉了下来,她很清楚接下来会发生什么。老板:“Gary,服务器全瘫痪了。你现在必须过来。” 我:“好的,我几个小时后到。”(用一种“我要杀人”的语气)。

It really upset me to see my daughter let down again, including a friend. They had been talking about going all week and Microsoft Windows of all things messes everything up. Here I am, speeding up the motorway. My daughter completely pissed off, and for due reasons to. This has happened many other times before. I was even getting abit ratty at home since I’d be thinking of anything which could go wrong. This also lead to more arguments with the wife (which leads to a decrease in other things… ;) 看到女儿和她的朋友再次失望,我真的很难过。她们整个星期都在谈论这次出游,结果竟然是因为微软 Windows 把一切都搞砸了。我当时正开着车在高速公路上飞驰。我女儿非常生气,这是理所当然的。这种情况以前发生过很多次。我在家里也变得有些暴躁,因为我总是在想可能会出什么岔子。这也导致我和妻子之间发生了更多的争吵(这导致了其他方面的事情减少……;)

I knew something had to change. After I had fixed the problem, I stormed into my bosses office and explained we need more admins or need to change our servers. Cut a long story short, he allowed me to trial test two of our servers on NetBSD. He didn’t know anything about it - just that I promised him I could increase the stability by a huge margin without disrupting business. 我知道必须做出改变。修复问题后,我冲进老板的办公室,解释说我们需要更多的管理员,或者需要更换服务器。长话短说,他允许我用两台服务器试运行 NetBSD。他对此一无所知——只知道我向他保证,我可以在不中断业务的情况下大幅提高稳定性。

That day I was in a mood to change things(pissed), and so I took two servers home. One was what we call a ‘MySQL’ server and one httpd server(the bosses go nuts if the httpd goes down). I had no room to fail. I was up till 4 AM in the morning installing and configuring things to our exact needs. NetBSD as always installed flawlessly and I installed most required software from pkgsrc. 那天我心情很想做出改变(因为很生气),所以我把两台服务器带回了家。一台是我们所谓的“MySQL”服务器,另一台是 httpd 服务器(如果 httpd 宕机,老板会发疯)。我没有失败的余地。我一直忙到凌晨 4 点,安装并配置了满足我们确切需求的系统。NetBSD 一如既往地安装得非常完美,我从 pkgsrc 安装了大部分所需的软件。

I roled these machines into the network in the morning. I knew I had to wait now, until something crashed on Windows and to show my boss which machines still stood strong. That day, a few MySQL machines just decided to go for a quick break, and rebooted themselves a few times(MySQL queries began to be far too slow). The boss was storming(due to the day before also). I showed him which machines did not fall down. He agreed within two hours for me to role out more NetBSD machines slowly. I was happy. 早上我把这些机器接入了网络。我知道现在必须等待,直到 Windows 机器崩溃,好向老板展示哪些机器依然坚挺。那天,几台 MySQL 机器决定“休息”一下,并自行重启了几次(MySQL 查询变得极其缓慢)。老板大发雷霆(也是因为前一天的事)。我向他展示了哪些机器没有崩溃。他在两小时内就同意让我慢慢部署更多的 NetBSD 机器。我很高兴。

At first it was hard. The other admins had no clue how to use NetBSD. However, with the time we spent fixing the Windows servers, we now had spare time. I began to show them how to configure things and they actually took a personal interest. They installed it at home and began to tinker with it, making sure they understood how to compile kernels etc etc. You know the stuff am talking about! I even printed the whole handbook out for us. Our whole Network was now running NetBSD. Things changed. I was not as busy as I always was. My relationships where getting better. I had more time with my d 起初很困难。其他管理员根本不知道如何使用 NetBSD。然而,由于我们不再需要花时间修复 Windows 服务器,我们现在有了空闲时间。我开始教他们如何配置系统,他们竟然产生了浓厚的兴趣。他们在家里安装了 NetBSD 并开始折腾,确保自己理解如何编译内核等等。你们懂我在说什么!我甚至把整本手册打印出来供我们使用。现在我们的整个网络都在运行 NetBSD。一切都变了。我不再像以前那样忙碌。我的人际关系也在好转。我有更多的时间陪伴我的女儿……