Platinum Solutions Corporate Website


Servers

Beyond IBM's tutorial: Suggestions for creating a profile in WAS 6.0

If you’re getting some odd messages from WebSphere Application Server (WAS) 6.0 when you try to publish a page, try the following:

1. Remove your project from your server
2. Delete the server
3. Add a new server (right click in the server window, then choose New > Server)
4. Add your project to the server
5. Publish

Updating Multiple Systems in One Step

I just got back from a trip where our team had to install a bunch of machines. There were fifteen machines total, but with the Solaris zones, we had twenty-eight total operating systems to work on. And on each of these systems, we had a number of things we had to do as we prepared them for production use -- create user accounts, disable unneeded services, copy some configuration files in place, set up some cron jobs... multiply that by twenty-eight, and it wasn't long before I was very, very tired of typing the same login and password.

It seemed to me that these very repetitive tasks were something that should be automatable. Then I remembered a tool I used years ago that might very well be just the trick.

Almost a Hard Disk Disaster

There comes a time in every system administrator's life that the dreaded hard disk failure occurs.  Unfortunately, I just lived this nightmare, but the outcome was not as bad as it could have been.

The Scene

It was a Tuesday after a 3-day weekend--a Monday-wanna-be.  A main web server had just died and refused to boot.  Upon mounting the RAID 1 root partition, a never-ending stream of hard disk unrecoverable and invalid op-codes errors filled the screen. 

Attempt 1

Not a big deal, I thought to myself.  I'll just shutdown, disconnect the bad drive, and let the mirrored partition take over.  Success was on the horizon--the computer POST'd, the kernel loaded, the drives were mounted, services began to start, and finally success--a login prompt!  Unfortunately, the hostname was completely wrong.  This "mirrored" partition, although perfectly sized to mirror the bad root partition, conveniently held a completely separate Redhat installation.  Strike 1.

Blocking brute force login attempts

Most system and network administrators are very familiar with brute force attacks against their devices.  Every day, thousands of script kiddies and worms scan the Internet attempting to guess passwords for SSH, FTP, telnet, and other services.  A typical signature of these attacks is to see hundreds of failed attempts but only a few attempts per account.  In this case, the account is simply being tested for the simplest of passwords such a blank password, username as the password, or 'password' for the password.  Although typically futile on a properly administered network, these attacks are annoyances and create noise which may conceal real suspicious activity or even worse, successful intrusions.  

Housebreaking your Tomcat

If you have written a servlet or a single JSP, it is almost guaranteed that you have used Apache's Tomcat Server.  Whether you use it for development, to run intranet applications, or to serve your production needs... Tomcat is ready and willing to step up to the plate.

There are many different ways to manage your Tomcat instance, but for a great "Web 2.0" interface with lots of bells and whistles, take a look at Tomcat Probe.

Tomcat Probe is the ultimate tool to manage and monitor your Tomcat instance. Lightweight web user interface, killer features, no-fuss installation and weekly updates. Tomcat Probe gives you total control over live Tomcat instances and applications.

The interface provides for the management of deployed webapps, JSP's within apps, and data sources.  You can view all kinds of stats for threads, charts for traffic information, download log files, call the garbage collector and much more.  All of this with a great looking interface.

Even if you don't have a need to use this tool, it is worth a look.

Virtually Free

In the past years, virtual machines that allow a guest operating system to run within a host operating system (VMware, Virtuozzo, Virtual Iron, Xen, etc) have found an important role across the IT spectrum.  As computers become more powerful, running multiple operating systems becomes easier and more productive.  The role of virtual machines ranges from software development to server hosting to desktop productivity.

In Dec 2005, the standard of virtual machines, VMware, released a free VMware Player.  This product allows anyone to run a virtual machine created by other VMware products such as VMware Workstation.  This move by VMware to further their market share provides a tremendous benefit for those that would not typically purchase VMware.  Software vendors and consultants can now deliver a completely configured operating system image for customers to run as a demo.  Development teams can produce images from one machine with one license, and test on many machines with the free VMware Player.  Typically, the best way to try out linux was to boot to a live cd-rom, but it still required shutting down the primary OS thus interrupting productivity.  With VMware Player, just visit the Virtual Machine Center and download images ready to play.

Make your old computer useful again

Many of you have problably heard this before: ‘Don’t throw away your
old computer, simply install Linux on it and make it a [web, FTP, file,
DNS, etc.] server’. Given the many distributions available, that is
great advice if you have the time to learn them but, what if you just want to (easily) make your old computer do some useful work again?

NASLite is
a distribution of Linux that is customized to make a (perhaps, old)
computer run as a NAS (Network Attached Storage) device. It can be
installed using floppy disks and the basic system requirements are:

XAMPP - Building A Foundation

In today’s business world, time is an invaluable commodity. Recently, while doing research for an on-going project, I came across an open-source product that will save you a great deal of time and effort if you are responsible for installing and configuring a LAMP (Linux, Apache, MySQL, PHP/Perl/Python) environment in your organization.

The product is called XAMPP and it is available for Linux, Windows, Solaris and Mac OS X environments. XAMPP is an Apache distribution that includes fully integrated and configured versions of the following components (in the Windows 1.5.1 version):

* Apache HTTPD 2.2.0