Typical IT Services That Can Be Hosted In The Cloud

  I’ll list some assumptions below and we will be able to qualify how the cloud can help your IT services.   [wpcol_1third id=”” class=”” style=””]   [/wpcol_1third] [wpcol_2third_end id=”” class=”” style=””] 1. Having the right staff is critical to a successful IT Department. Technically strong and current skills are important. This does not need … Read more

How can the Cable Industry add to cloud computing?? Hint… Cumulus clouds.

As the computer industry continues to consolidate, we see denser and denser clusters of computational services. The VM “movement” companies are performing have been making good progress with virtualization.  The work load in their server rooms and data centers start to take on different physical and operational shapes. The virtual workloads will shift into the IaaS services provided from Amazon, … Read more

The future of Cable TV…. We better become the best ISP.

Steve White Louisville

As the Internet has permeated every aspect of the connected planet, it’s obviously safe to say the Internet is a big deal to video, phone and home entertainment. When we converse strictly about the Cable Companies, it’s clear the triple, quad plays are coming to a close and as such is leading the “cable” industry … Read more

Delete messages from mqueue and mailq

In larger organizations, your smarthost/default SMTP gateways mailq can become overloaded with unwanted and undeliverable messages. If you have enough of them, it will add a lot of CPU and disk IO load as it tries to resend/reprocess Undeliverable messages. We have a few systems that if left unchecked would try and reprocess 100K messages every 5 min. The tmp mail files are typically located /var/spool/mqueue and directly deleting these is not the correct manner and opening each one to verify deletion will likely drive you mad. I have added four scripts that will help you manage the stagnant mail you may have accumulating in your mailq. These scripts will list the mail per target address, allow you to delete mail for a single user or an entire domain.

 

Using the below script “who-mail.sh”, you can determine what is causing the mailq to fill, which SMTP address and how many email messages exist in your mailq for delivery.  (All of these tools can be downloaded from here)

 

#!/usr/bin/perl

use strict;

my $mqueue_directory = "/var/spool/mqueue";
my %occurrences;

use File::Find;

# Recursively find all files and directories in $mqueue_directory
find( \&wanted, $mqueue_directory );

sub wanted {

    # Is this a qf* file?
    if (/^qf\w{14}/) {
        open( QF_FILE, $_ );
        while () {

            # Lines beginning with R contain an envelope recipient
            if (/^R.*:<(.*)>$/) {
                my $domain = lc($1);

                # Add 1 to the %occurrences hash
                $occurrences{$domain}++;
            }
        }
    }
}

# Subroutine to sort hash by ascending value
sub hashValueAscendingNum {
    $occurrences{$a} <=> $occurrences{$b};
}

# Print sorted results
foreach my $key ( sort hashValueAscendingNum ( keys(%occurrences) ) ) {
    print "$occurrences{$key} $key\n";
}

This prints to screen the qty and full email address of messages in queue. Looking at the bottom few rows you will typically find your main source of mailq stress.

Read more

AS400 OS400 iSeries SNMP strings MRTG Graphs

AS400 performance graphing with MRTG can be a tricky thing. Once you have a public read only SNMP string defined and you have enabled SNMP on the iSeries you can test using snmpwalk from the linux server you plan on generating the MRTG graphs from.

 

This is an example snmpwalk command for an as400

snmpwalk -v 2c -c YOURSNMPSTRING 10.0.0.10

Once the snmpwalk returns the SNMP information we are ready to poll it with MRTG and make some graphs.  The as400 will OFTEN time out and not complete a full SNMP return. I don’t know why this is. This is with very large systems as small alike. This is not the post to teach MRTG, but this is the spot to find the strings and the math I used to generate the graphs for our AS400s. Below are the keys to generating the MRTG graphs for your AS400. CPU, Users, RAM, ASP and others..

 

For real MRTG code and examples,

Read more

Vmware vsphere storage IO control for clusters

VMware Storage IO Control -Graphs

In ESX 4.1, VMware added one of the best things in a shared storage environment management control, Storage IO Control (SIOC).  This is a HUGE addition as runaway IO has always been a danger to the VMware community storage cluster. Storage IO control not only allows VMware managers the ability to regulate the IOPS an individual guest can … Read more

USB vs ESATA vs FireWire

USB 2.0, 3.0 vs ESATA vs SSD vs Firewire 400 800: Which is faster for external disks? I performed a simple test using the same hard disk and the same external drive enclosure on the same computer. Then I kicked it up a notch and stuck in a SSD disk into the external enclosure just … Read more

Debian EXIF PHP Picture data for WordPress and nextGEN

How to add or enable exif functions in php and Debian Linux. I use WordPress and the excellent nextGEN gallery software to manage my site and my photography. I like nextGEN gallery as it seems to do a good job managing pictures and presenting them. It also has the ability to display your exif data … Read more