Log in

View Full Version : Green Power Talk's New Hardware!


Rob Beckers
13th April 2014, 17:15
After many, many years on our trusty Windows-2000 Athlon server (yes, they are still around!), I have just moved the Green Power Talk forum over to its new home: A brand-spanking-new Xeon server running Linux.

Since moving databases and PHP code between platforms is never easy, please keep an eye out for strange behavior and let me know if something is not working as it should. Hopefully all you will notice is a much more responsive server!

For the Geeks that are interested:

The new server has been put together by Yours Truly personally (you probably didn't know that I have a few decades of IT and programming background, starting before the "IBM PC" days). It's a Supermicro MBD-X9SCL-F-O server motherboard with an Intel Xeon E3-1230 V2 processor; a little gem of a 4-core CPU that packs a processing wallop at a very reasonable price point. Currently without a doubt the best bang-for-the-server-buck unless you really need top-shelf performance and are willing to pay for that. There's 32Mb of ECC RAM, and a Samsung SSD provides the storage. All placed in a 2U case for rack mounting. As servers go this is a modest one, at a modest price point, though it runs circles around the old hardware. Components were selected for the needed performance, reliability, and price point.

The server runs head-less. There's no keyboard/mouse/monitor attached. It is all maintained remotely via Supermicro's IPMI View software (and that works beautifully!).

Here is the new server in-the-flesh:

1102

On the software side we're running CentOS v6.5 on the hardware, while the server itself runs as a virtual machine under KVM-QEMU, also running CentOS v6.5. This setup allows me to run multiple virtual machines (some of which can be Linux, some can even be Windows or another operating system, though no immediate plans for anything other than Linux servers for our various business needs). The server consists of Apache as the Web server, MySQL for the database engine, and OpenPHP for the underlying code.

Virtual machines allow better security; one virtual machine doesn't 'see' the other virtual machines, nor the underlying hardware, and it makes migration to other hardware (if needed) much easier. Backups are as simple as taking a snapshot. The forum virtual machine was tuned for maximum performance, as close to the metal as KVM allows.

Software was installed with security in mind (and yes, we have SELinux enabled, so hacking the Web server won't get you very far). This box should be nailed shut pretty well, though of course I appreciate any helpful suggestions or reports of issues.

Let's hope the new machine works as well and reliably as the old one did for the past 8 years!

-RoB-

Joe Blake
13th April 2014, 22:40
Cool, Rob.

I've been toying with Linux in the past, but I really NEED a working version of WordPerfect and Dragon Naturally speaking before I up stakes and move over.

Also been playing around with virtual XP on my current computer(s). Looks interesting. Good for running legacy software that can't be replaced.

Look forward to many years of reading the posts here.

Thanks for your hard work.

Joe

Rob Beckers
14th April 2014, 05:38
Joe, I wouldn't personally use Linux for the desktop either, for that I'll continue my love-hate relationship with Microsoft. :eek:

Where Linux really shines is for servers. It is incredibly stable: If you don't reboot the server in the next year that's no problem. Try that on Windows! For my purposes there is no windows-environment either, it's all command line. That makes it light-weight and allows modest hardware to run sizable servers.

For the server-oriented market there is a huge amount of high quality (free) software available for Linux as well: Currently we have Web-database-PHP on Linux, our telephone (VOIP) server runs on a small Linux box that I built about a year ago (the software for that is called FreePBX), I plan to install vTiger as our CRM on the new Linux server, and while our mail server currently runs on the old Windows server that too will move over to Linux. I'm also working on another small Linux machine to run a heavy-duty firewall/traffic-shaper for the business.

When it comes to using virtual machines it's possible to do some of that under Windows (I have VirtualBox installed in Windows 7, and MS has their own virtual environment as well, as you noted, and I too use that to run some old XP appliations). But that will only run light-duty tasks and stability is so-so. It would certainly not be up to the task for running a bunch of servers at close to bare-metal speed 24x7. Linux, and in particular CentOS/RedHat/Ubuntu does that very elegantly.

-RoB-

Rob Beckers
15th April 2014, 08:02
My rather restrictive server security settings had knocked out the RSS feed we display on the forum's home page (and possibly another feature or two of the forum). It's now working again. By the way, I'm getting those articles from 'Renewable Energy World .com' and every now and then they have a little gem in there. I hope people enjoy them!

In any event, please continue to report any forum issues you come across. Still shaking out the bugs on the new system.:spider:

-RoB-

Rob Beckers
1st May 2014, 20:21
Just found and fixed another bug that prevented new users from signing up, and just possibly also had to do with uploading images. Our ImageMagick image processing library was not working properly, and consequently no "captcha" images were being shown during new account signup (and without it nobody could sign up). Captcha is the annoying image with some characters that you have to type in to be recognized as a "human" rather than a spam-bot.

ImageMagick is working now; it also processes all uploaded pictures and other images, doing the auto-rescaling and such. While I was at it I switched the captcha mechanism over to use the newer "reCaptcha" mechanism, which is actually run by Google these days. It works better at distinguishing man from machine, and it is also much more vision-impaired friendly (and it doesn't use ImageMagick, but I fixed that nevertheless).

Please let me know if you find any more missing features, problems, issues, or bugs!

-RoB-

Rob Beckers
1st May 2014, 20:46
For those having trouble uploading images or other file types; can you please try again at this link: http://www.greenpowertalk.org/showthread.php?t=19702

Possibly the changes have resolved that.

-RoB-

Rob Beckers
3rd May 2014, 05:24
There is some doubt if uploads are working properly and it's not clear if the problem is on the forum or the end-user side. I would like to ask if you could take a moment to test the file upload/attachment function of the forum. I've created a test thread for this here: http://www.greenpowertalk.org/showthread.php?t=19702

Please try a variety of document types; the forum supports things like images, pictures, PDFs, Word documents, etc.

To upload a document/image, hit "reply" (for the thread linked to above), and click the little "paperclip" icon on top of the edit box. That opens up another dialogbox, where a file can be selected and uploaded.

Thank you!

-RoB-