Author Topic: Building a stable weather computer  (Read 6776 times)

0 Members and 1 Guest are viewing this topic.

Offline SLOweather

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 3456
    • Weatherelement Moline IL
Building a stable weather computer
« on: December 17, 2006, 12:54:02 AM »
I posted this on the VWS forum earlier tonight, and thought perhaps someone here might benefit from it as well.

If this isn't the appropriate place for this, i trust a kind admin will move it to a better place.

Disclaimer

I know that the following is not for every one, and that likely no one will exactly duplicate my current setup. Some of you run VWS on old iron. Some run it on your everyday computer. This is my personal experience with VWS and finding a stable solution. It's submitted in the hope that some of my fellow forum members might find something of value from my experiences.

Background

I've been running VWS for over 6 years (the earliest archive The Wayback Machine has of my VWS-based weather page is August 17, 2000). I've run VWS on Windows 98, 2000 Pro, XP Home, XP Media Center, and, now, XP Pro. This current installation is by far the most stable, even though I'm running more concurrent apps on the computer than ever before. With Win 98, I was lucky to get 4 days to a week without a reboot. With XP Pro, I generally reboot the computer for some other reason, like a software installation or update, before it needs a reboot itself.

The Computer

I custom built this machine around a Gigabyte motherboard, 3 GHz P4 processor, 1 GB of RAM, a 120 MB IDE drive, and a 450 watt power supply. The case is from the Gateway XP Media Center PC (those guts went into a PC Theater case for the entertainment center).

The XP Pro license was from a dead computer at work. After building the computer and installing the OS, I applied all of the Windows service packs and updates, except IE7.

The motherboard was selected because it had 3 PCI slots, and 6 USB ports. However, it only has one on-board serial port, and a second serial port header.

To handle all of the legacy serial port needs I anticipated needing at "build-out", I added an 8 port serial card based on the Sunix chipset. Previous experience showed that Netmos based boards were, er, junk. Next, the Boltek StormTracker PCI card went in.

After the computer was built and the OS and initial peripherals installed, I started installing the software. Because of VWS's cranky FTP, I started using WebDrive a couple of years ago.

The software was installed one or 2 programs at a time and then tested to make sure they would all run together. So far, there have been no problems  (knock on wood...).

Here is a list of what is currently running on that machine, in no particular order (and not counting the ancillary programs necessary for the hardware, like the network card, sound mixer, and video stuff that runs in the system tray):

WebDrive

StartWatch
VirtualVP
VWS
WeatherLink (sometimes)
WinAPRS
WeatherDisplay

Hamachi (free VPN)
RealVNC (used with Hamachi to remotely administer the computer)

NexStorm
Syncom (syncs my lightning data to StrikeStar)
WASP2

WxSim (just started running this)

HomeSeer with the VWS and WAPSeer plugins.

Hyperterminal as an interface to the phone call monitor on our phone system, and/or Programmator to program the system as needed.

WinAmp and the ShoutCast DSP for streaming a couple of scanners onto the net.

In addition, the computer runs Skype and the software for the USB phone interface to our phone system, serves as the print server for a USB color laser printer, and a Dymo label printer, and runs the software for an HP flatbed scanner.

Since the computer is installed behind my router, Windows Firewall is turned off. The only anti-virus installed is AVG free, which I run manually every few days. It has always come back clean. Automatic updates are turned off. After a couple of bad experiences, I only update manually, when I can control the process, and roll back if necessary. (While it shouldn't be necessary, System Restore can be a real computer saver.)

Notes

I don't think XP Pro is necessary to the success of this project. XP Home should have sufficed, but the Pro license was available. OTOH, I'd avoid Media Center Edition. It seems to have issues with networking.

A multi-port serial/USB adaptor might work OK. I used my old InsideOut Networks Edgeport4 until the Sunix board arrived, with no problems.

Legacy serial port applications can use different COM port number ranges. Some can use only COMs 1-4, some 1-8, and some up to 256. With 10 legacy ports available (2 on-board, 8 on the PCI card), and with VirtualVP taking 8 more ports, it takes a little research and planning to assign all of the ports so that everything runs.

Next

I need to add my Leopard II to HomeSeer through one of the serial ports.

Finally

I think the main key here is that I started with a clean installation of the operating system. Off-the-shelf name-brand computers, whether purchased from the manufacturer's on-line site or from a big box store, contain an incredible amount of pre-installed software. Then, after-market programs can add even more. I see it every day as a computer tech doing tuneups on client machines. Even some of the programs and features you never use have little bits that load at start-up and take up RAM and CPU cycles, and sometimes bandwidth.

And, I minimized the impact of the "protection" programs. Norton and McAfee are notorious resource hogs, more so if you are running the Internet security versions. If you run one of those, it may try to scan everything your weather programs FTP to your website. I only run AVG anti-virus, and only on-demand when I want to run it.

Offline mhweather

  • Member
  • *
  • Posts: 40
    • http://home.comcast.net/~mullicahillweather
Re: Building a stable weather computer
« Reply #1 on: December 17, 2006, 12:31:22 PM »
I've got a stable system here, not running VWS, but interesting to note what you can do with so little computing power by todays beefy standards.
I opted to create a free open-source weather solution and have done so and it peforms beautifully.  My only outages usually happen from power events from storms.  Now the details....

I'm using a Dell Dimension XP500 (athough it has an 800MHz Pentium 3) with 512MB RAM.  I got this dumpster-diving at work.  (I used to run this on a Dell Dimension Pentium 2 350Mhz - another dumpster machine!) I run Kubuntu Linux 5.10 as the OS.  My weather software is Mark Teel's Wview  which is a collection of Unix daemons that generates the similar reports and graphics that WeatherLink does.  It's also file-compatible with WeatherLink, so I was able to import all my existing data seamlessly.  I also have WeatherLink installed and use for editing the .wlk files should the need arise.  WeatherLink runs under control of the WINE  Win32 API emulator.  Works just fine.

My webcam is a USB Creative Labs Webcam Live! ($20 Staples deal) and it is controlled by another Linux program called Motion.  Motion allows you to do still captures of images as well as make mpeg motion videos.  Additionally, it has motion-detection capabilities.  You can also run mutiple threads with Motion, I use another Motion thread to create a movie loop of my local NWS radar image.  I can also tap into live streaming video with a Java client called Cambozola or by Firefox web browser.

I use various cron automation tasks in Linux for various housekeeping chores (data backups, turning the camera on/off depending on daylight hours.  I can control my PC fron the Net via VNC viewer using an encryptyed SSH tunnel via the PuTTY telnet software.  

My future plans are to add a streaming audio of the NWS All-Hazards broadcast via yet another open-source Linuix product..

Thanks to Gary Oldham for my web site design as well!!!!

URLS for the software I mentioned.

Kubuntu Linux - http://www.kubuntu.org
Wview - http://www.wviewweather.com
Motion - http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
spca5xx camera driver - http://mxhaard.free.fr/download.html
VNC - http://sourceforge.net/projects/vnc-tight/
PuTTY - http://www.chiark.greenend.org.uk/~sgtatham/putty/
Cambozola - http://www.charliemouse.com/code/cambozola/
Mullica Hill Weather
http://home.comcast.net/~mullicahillweather
Powered by Kubuntu Linux and Wview weather software.

Offline ncpilot

  • Forecaster
  • *****
  • Posts: 937
    • Monkey Junction Weather
Re: Building a stable weather computer
« Reply #2 on: July 31, 2007, 09:04:20 AM »
This seemed the most appropriate thread, if a little old...

What about system backup/restore. Did a forum search and didn't find anything...

Last night, while I just happened to be standing by my computer, it restarted by itself. While that alone might not really scare me, the fact that it could not complete the boot did scare me...

And the fact that a couple of resets did not help... now I can't remember the exact screen, but it stopped with a prompt expecting to boot from CD. Changed the setting in BIOS so the HD was first boot device. Still no go.

Full power off did the trick, and it booted ok...

Then there was this really bad sound, the kind that makes you want to pull the power cord right away. Turns out it was only the fan on the video card, not the HD heads dragging on the platter...  :)

So, sufficiently scared, and after an underwear change, I decided to finally get serious about backup. During a stormy Saturday, I at least backed up the entire directory structure for Weatherlink...

Last night I downloaded Acronis True Image 10 and made an image backup of my system disk... Over the years Acronis seems to get the most positive reviews...

So what do y'all do for system backup? (and the eventual hardware death of your PC?)
Marc
Wilmington, NC
"Monkey Junction Weather"
Davis VP2 wireless, WeatherLink

Offline mhweather

  • Member
  • *
  • Posts: 40
    • http://home.comcast.net/~mullicahillweather
Re: Building a stable weather computer
« Reply #3 on: July 31, 2007, 09:27:05 AM »
I use Acronis as well, and I've used DriveImage in the past.  Using a disk image program is the only way to go in todays computing world, it just takes toooo much time to rebuild systems from a blank hard drive with all the Windows updates, drivers, apps, etc.  As a matter of course I will reload my image periodically to ensure my system is clean from spyware, viruses, junk apps I installed, etc, just to get that nice fresh system again where I can install updates from the last image.  It would be nice if the use of disk imaging (and backups!!) was part of the PC learning process for most people,  I've had to go thru these rebuilds a number of times for family & friends, its never fun.
Mullica Hill Weather
http://home.comcast.net/~mullicahillweather
Powered by Kubuntu Linux and Wview weather software.

Offline Ravenstar

  • Senior Contributor
  • ****
  • Posts: 180
    • http://veronaweather.com
Re: Building a stable weather computer
« Reply #4 on: July 31, 2007, 11:03:54 AM »
I use Backup4all Pro Edition. I only backup all my user data critical files and directories on a nightly scheduled basis. The backups are FTP'ed to my web server. System files don't interest me they can always be got.


Vantage pro 2 (wireless)

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: Building a stable weather computer
« Reply #5 on: July 31, 2007, 08:47:17 PM »
I use SyncBack to copy my Weather software's full directories, personal word documents, and pictures to a USB hard drive once a day.  I share the USB drive on the network with my laptop.  So in the end I have my files I can not replace on at least two hard drives and some of them are on all three drives.  This desktop pc has never had a clean OS install since 1999.  So there is a lot of crap (bits and pieces of programs I've long since uninstalled and forgot about) I would not want to transfer to a new computer anyway.  I've also noticed old Win 98 files leftover after the XP upgrade that I'm afraid to erase.
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline windy

  • Senior Member
  • **
  • Posts: 61
    • Grahams Beach Weather
Re: Building a stable weather computer
« Reply #6 on: August 01, 2007, 02:54:14 AM »
I get an email every other day saying that a person has lost their hard drive (and no back up)
most likely due to summer heat conditions
so its a good time of year to do backups

Offline tinplate

  • Forecaster
  • *****
  • Posts: 368
    • http://www.softwx.com/products.html
Re: Building a stable weather computer
« Reply #7 on: August 15, 2007, 02:11:11 AM »
For backups I use the following programs:

Cobian Backup (freeware) for file oriented backups
http://www.educ.umu.se/~cobian/cobianbackup.htm

Windows Live OneCare / Microsoft backup for file oriented backups
(Microsoft)

DriveImageXML (freeware) for disk image backups
http://www.runtime.org/dixml.htm

I really like DriveImageXML. It makes recovery very easy, and it has a tool for recovering individual files as well as a whole partition. It has a compression option that reduces the size, and it's surprisingly quick considering it backs up an entire partition.

If you don't like Microsoft's backup options, Cobian does the job and has many options, including backing up to an ftp server. I like this for doing automatic offsite backups. Besides local backups, I back my weather data files to a password protected ftp server where I have my webspace hosted.

Both DriveImageXML and Cobian can be set up for scheduled backups.

 

anything