Archive for September, 2010

My own referral…?


Funny story… at least I thought it was… I was on-site @ a customer’s data center the other day and I was tasked with configuring a SUN LTO-3 Quantum tape drive, similar to the photo on the left here, among other things… No biggie right…? Any way… in my usual way I was Googling lots of stuff, because I don’t remember anything… and while doing so, I came across my own blog, this very one you are reading for the answer.  I thought that was awesome… I answered my own question… LOL 🙂

, , , ,

Leave a comment

Backup Takanga… RHEL v5.5… Sounds like a dance?


Well what a surprise and well kind of an embarrassment I faced the last 2 days…  I guess I have gotten pretty lazy these days as I wouldn’t have expected to miss this one, but I did.  I was building a new system for a customer upgrade and they selected RHEL v5.5 as the platform… Cool.  So as usual I sent in my request to our Dell “Gold_Team” rep with specs of what I wanted for this build.  Nothing fancy, a nice PowerEdge T410, dual quadcore procs, 8GB RAM, RAID1 (Perc6i of course) and the infamous RD1000 internal tape drive.  Now I posed the question because I am, well lazy, inquiring to include Symantec’s 2010 Backup EXEC application if it in fact runs on a Linux server.  Well that’s all it took to screw things up a bit.  I guess this can go either way, but what they shipped was the remote Linux agent for Symantec backup EXEC due to the fact (which they failed in let us know) that Backup EXEC does NOT run natively on any Linux platform as a standalone master server.  Great… I guess I should have known and shame on me for wanting a commercial app to run on Linux, but hey… I also didn’t know that the tapes for the drive are NTFS formatted by default and of course Linux cannot play with that filesystem formatting, but nothing a little fdisk-ing couldn’t fix… I am waiting for a quote back from Dell on their NetBackup 7.0.1 product (Also from Symantec…LOL)

, but I think it will be overkill to say the least for 1 server.  So in the interim, I whipped up a temp fix in the event that we opt for nothing…

Here is what I came up with:

#!/bin/bash
# A straight forward system backup script
#
LOGBASE=/var/log/backup/log
#BACKUP_ROOT_DIR=”a boot var etc”                       ## Backup dirs; do not prefix /
BACKUP_ROOT_DIR=”a”                     ## Backup dirs; do not prefix /
NOW=$(date +”%a”)                                       ## Get todays day
TSTAMP=$(date +”%l:%M:%S”)                              ## Get time stamp H:M:S
TDATE=$(date -I)                                        ## Get todays date
TAPE=”/dev/sdb1″                                        ## Backup device name
TAR_ARGS=””                                             ## Exclude file
EXCLUDE_CONF=/root/.backup.exclude.conf                 ## Named file for file exclusion
LOGFILE=$LOGBASE/$TDATE.backup.log                      ## Backup Log file
FILELIST=$LOGBASE/$TDATE.backup.file-listing.log        ## Backup Log file list
# Path to binaries
TAR=/bin/tar
MKDIR=/bin/mkdir
#
full_backup(){
local old=$(pwd)
cd /
$TAR $TAR_ARGS -cvpf $TAPE $BACKUP_ROOT_DIR
cd $old
}
# Make sure all dirs exits
verify_backup_dirs(){
local s=0
for d in $BACKUP_ROOT_DIR
do
if [ ! -d /$d ];
then
echo “Error : /$d directory does not exit!”
s=1
fi
done
# if not; just die
[ $s -eq 1 ] && exit 1
}
# Make some kind of status report
report_backup_info(){
touch $LOGBASE/$TDATE.backup.file-listing.log
echo ”                                                                         ”
echo ” ————————————————————————- ”
echo “|                                                                         |”
echo ”  Backup start time: $TSTAMP                                               ”
echo ”  Operating System: `cat /etc/redhat-release`                              ”
echo ”  Size of the complete archive: `tar -tvf /dev/sdb1|wc -c` Bytes           ”
echo ”  Size of the logged archive: `cat $FILELIST|wc -c` Bytes                  ”
echo ”  File count of the completed archive: `tar -tvf /dev/sdb1|wc -l` Files    ”
echo ”  File count of the logged archive: `cat $FILELIST|wc -l` Files            ”
echo “|                                                                         |”
echo ” ————————————————————————- ”
echo ”                                                                           ”
} > $LOGFILE 2>&1
#
#### MAIN ####
#
# Make sure log dir exits
[ ! -d $LOGBASE ] && $MKDIR -p $LOGBASE
#
# Verify dirs
verify_backup_dirs
#
#
# Okay let us start backup procedure
# If it is Monday-Friday make a full backup;
# Weekend no backups
case $NOW in
Mon|Tue|Wed|Thu|Fri)    full_backup;;
*) ;;
esac > $FILELIST 2>&1
# make the simple report
report_backup_info

Ahhh… The “Ghetto-scripts” live on… 🙂

This is the output that I guess I could send in an email blast:

————————————————————————-
|                                                                                                                       |
Backup start time:  9:27:36
Operating System: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Size of the complete archive: 4295 Bytes
Size of the logged archive: 4295 Bytes
File count of the completed archive: 93 Files
File count of the logged archive: 93 Files
|                                                                                                                       |
————————————————————————-

, , , , , , , , ,

2 Comments

Multidimensional Ramblings on String Theory


So as I was falling asleep last night and driving to work this morning I just had so many thoughts in my mind that I thought I would simply “jot” them down here…  That being said, nothing here is intended to really make any “typical” sense, but then that is the point isn’t it? Oh and the photo… is g-string theory… LOL ya I know it’s lame, but who doesn’t like the pic?? common’.. really?

As I was thinking about multidimensional space and how the 5th dimension is curled up so small that we cannot perceive it, it made me wonder if in fact we are looking at everything upside down.  To elaborate, although we exist in the 3rd dimension, as we understand dimensions, the 3rd dimension could be the highest dimension in PHYSICAL existence.  So if in fact we are going to count them and try to visualize them, 3 would be the MOST physical and 26 the least (or 10) so we are on top.  Not sure if order is even relevant in terms of visualization but I am trying to get my mind around a concept which cannot be conceived in a visual sense from a 3 dimensional perspective.   I have found Bosonic String Theory to be a complex mathematical postulate, with a difficulty in rendering a physical model, although this site has made an attempt to do just that.  Here is an overview:

Abstract:
The 26 dimensions of Closed Unoriented Bosonic String Theory are interpreted as the 26 dimensions of the traceless Jordan algebra J3(O)o of 3×3 Octonionic matrices, with each of the 3 Octonionic dimenisons of J3(O)o having the following physical interpretation:
4-dimensional physical spacetime plus 4-dimensional internal symmetry space;
8 first-generation fermion particles;
8 first-generation fermion anti-particles.
This interpretation is consistent with interpreting the strings as World Lines of the Worlds of Many-Worlds Quantum Theory and the 26 dimensions as the degrees of freedom of the Worlds of the Many-Worlds.

Ya that’s a tough one right? We somehow need to get this into a frame of reference for our collective peoples.  Is that even possible?  Do you even care?

Although we cannot really comprehend any of this, to illustrate something, I will start with a singularity.  In a black-hole there is postulated to be a singularity @ its center, of ultimate power. This is the power source behind the nearly immeasurable power of the black-hole.  The comparison I draw is this… although the singularity is immeasurable, and frankly my not even exist in our 3 dimensional space, it’s influence is massive to say the least.  From this indescribably small point the incomprehensible power of the black-hole is realized in the 3rd dimension.  Therefore, possibly this model represents the underlying power of influence other, sub-physical, dimensions have upon everything we experience in physical reality.  Would it be unreasonable to think that if were were to traverse a black-hole we would in fact be traversing all 26 dimensions?  Something we could not possibly survive based on the immense amount of energy required to bend space-time in that way?

So this begs the question, can we experience God?  Possibly we can only experience the influence of God, just as we (all lots of other stuff 🙂 ) experience the influence of a black-hole.  It is in fact an indirect experience relative to position… LOL I had to throw that in there 🙂

, , , , , , , , , ,

Leave a comment