December 10, 2010
by dhoytt
0 comments

Eventful Friday

 What a Friday! Okay first my Friday
started with me going to bed late after working on my freshly
installed system that had me manipulating the file system structure
as mentioned in a previous post (
http://www.dhoytt.com/mainblog/archives/2010/12/resize-switch-dynamicallyextended-logical-volume-successfully.html
). I worked on that anticipating a fairly easy day since I had gotten
a lot prepped the evening before for the IT project I was working on
downtown a relatively short drive from my house.

The first event happened in the
morning I have been working on redoing my loan on this house so in
the morning around 6am I had to make that call and try to get it out
of the way. This of course took forever and I had to rush to get
ready and get to work.

The short drive to downtown Sacramento
from the Northgate/South Natomas area in Sacramento turned rather
long as I got off on Q street they had that blocked off looking for a
gunman on a building with a rifle I was told as I took the detour
from a person getting out of a local news van. I know Sacramento very
well from my partying, hitting the old cruises on J street, Old Sac,
Broadway, Franklin, Bird Cage on Sunrise boulevard etc. and the fact
that I had jobs that took me all over the place in town and out of
town.

So I went around the blockade and
parked in another parking garage and walked to the building I was
performing the project at, and signed in with security. I noticed a
lot of people in the atrium and figured they were having another
holiday party or get together. I went up to the floor I was working
on and noticed not many people around and started my laptop and
remote logged into my servers I was using to scan the customers
network

I was doing my checks of processes
and getting into setting up the final process of scanning their
network when someone comes in and starts saying anyone left in this
side of the building has to leave this area because of the gunman
they were looking for was adjacent to the building I was working in!

Cool I started packing my stuff and
putting my coat and hat back on so I could leave go to the office and
come back when this was done and then was told I couldn’t leave the
building either since they didn’t want extra people out walking
around while they searched for this person. Now I’m wondering why
didn’t they stop me a few minutes ago from even coming in the
building! Now I’m stuck!

Well I went down to the cafeteria and
ate some breakfast drank coffee and tried to find out if there was
anyway to log in to the servers from anywhere in the building. After
a while I gave that up and started chatting with a former manager
from another place I worked previously and customers from another
floor I had worked with earlier this week and at another of their
sites in Sonoma, California a week ago.

Hours later when we can get back to
work of course a few other issues raise their heads that extends the
scan time even more and will take that into the evening. Well I had
to leave so I make arrangements to pick the equipment up later next
week since I will be out of town in the beginning of the week. This
also has the potential to impact the projects I have lined up later
this month.

I then get my mail when going home and
the court had screwed up the trial dates I had setup earlier in the
week and they sent the original screwed up date out. I’m still hoping
they correct that since on my initial paperwork I can prove that I
had said I was out of town on that date. Now I have to go online to
insure they have made the change as they said they would. They mailed
this notice out the day I went to correct the issue but I showed up
the last part of the day Tuesday and the notice was mailed that day
and the clerk correcting her friends mistake told me she would mail
the corrected date the next day which was Wednesday so I can only
hope that takes place!

The next issue I didn’t notice because
I was contemplating these other events which was that the power had
gone out in the area and rebooted my servers! I noticed when I looked
at my microwave and it had no time! I had been home for a while when
I noticed this and came upstairs right away! I knew all of my servers
would come up and start the web, blogs, gallery, E-commerce but not
the music stream. I came upstairs and got the music streaming and
corrected some database issues.

Oh yeah and I had to finalize my
traveling arrangements for the next two weeks that may get changed
because of some of the events I mentioned in this post!

Then I also spoke to my mother an she
informed me that some family friends had passed so there will be
consecutive memorials the next couple of weeks, danged!

In the days mail I had some other
paperwork come that I was asking for when starting the day @ 6am. I
still need to build a system really quick for a friend (I only do
this for one or two people) so the day isn’t even close to being
over!

May have even made some contacts
during the time they had us in the building today and they caught the
guy as well, I mean the guy was not close to where they were looking
or as menacing considering the effort but oh well! Check the
Sacramento news sites for this day to see the story.

Well there you have it the good and
bad of an eventful but productive day!

Enhanced by Zemanta

December 10, 2010
by dhoytt
1 Comment

Brief Power Failure Earlier Today

There appears to have been a power failure causing a brief outage of the dhoytt.com site. This power outage affected the entire area. I didn’t have my UPS engaged due to replacing the batteries and I haven’t had time to finish that project yet.

It has been that type of Friday I’ll discuss more on another post since I will stick to one issue on this post. Anyway I didn’t notice that the systems had rebooted since I was very busy working and when I came in the house I didn’t do my normal due diligence of logging into my site and checking the various pages.
The only system that didn’t come back right away by itself was my music server evven thou my music blog site was up the sounds were not there. I’ll get working on that batch file soon so that in another event like this occurs when the music server comes back up if will login and commence to playing the music and starting the multiple elements it takes to get the music streaming when the UPS isn’t in place.

Well I gave been doing this 24/7 since 2004 so that’s one of the two longest times I have been without music even though the rest of the site was up.
I also had to fix some tables in my database that I use for my blogging software.
You know I get it going like that! 😉
Enhanced by Zemanta

December 10, 2010
by dhoytt
1 Comment

Resize Switch DynamicallyExtended Logical Volume Successfully

p { margin-bottom: 0.08in; }

I used the “-r” option to resize
the underlying filesystem with the “lvextend” command for the
first time. The “-r” option allowed the logical volume &
filesystem to be extended with just one command. I saw the “-r” switch there on the man page and decided to try it!

To top it off the partition I extended
was my root “/” partition. The man page says that the “-r”
option calls the “fsadm” command to extend or resize the
filesystem.

What caused me to use this option was
that I just did a fresh install of one of my Fedora Linux systems
that has served alternately as a game server, web server, backup
server. Currently in this iteration it will take over as my new game
server. I have all of my files in two logical volumes on a separate
physical drive from my OS drive so that I will not have to worry
about data files I don’t wish overwritten during OS installs or I can
just take that drive to the next server I build and manually mount it
on that new server.

The drive of course is using LVM and
is its own volume group so that information is on the drive is
imported easily into LVM. I have two logical volumes on this physical
drive within the volume group..

One logical volume I mount to /home
and the other to /usr/local/games. These logical volumes have files I
have downloaded to various home directories and working files &
binaries for the games I host on my servers.

I didn’t include this extra physical
drive that I store my data on as a target during the fresh Fedora 14
install, so I needed to unmount the /home that was created with the
install and then mount my logical volume that holds data for my home
directories I mount on “/home/” and game data which I mount on
“/usr/local/games/”.

The reason I ended up extending my “/”
partition was that I didn’t pay attention to how much space the
installation of Fedora 14 was giving “/home” or “/”. I
didn’t even intend for the install to make the “/home” a separate
partition but oh well it did and I needed the space the install
allocated for “/home” to move to “/”.

I won’t speak about partition sizing
and the reasoning’s for that since I started getting really liberal
with that with the partitions I used to be strict on since drives are
so large now.

Anyway not a big deal to those of you
who may have used this “-r” feature before but I never have, even
with HP-UX. I truthfully don’t know if HP-UX has the “-r” switch
for the lvextend command something I’ll research and find out later
since the person who was bringing by my HP-UX box hasn’t brought it
by yet.

Normally you would do the “lvextend”
and then use the “resize2” command which doesn’t take long but
its always nice to use the least amount of commands.

Anyway this is what I did:

  1. Logged in as root in “gdm”
    (Gnome Xwindows) after commenting out the “root” user lines in
    /etc/pamd.d/gdm & etc/pamd.d/gdm-password. I know, not what you
    are supposed to do but I didn’t feel like rebooting and wanted
    multiple windows up.

  2. Killed the processes that were
    still running on /home

    1. fuser -ku /home (didn’t work)

    2. lsof /home (showed pid)

    3. kill -9 “pid”

  3. unmout /home

  4. vgdisplay -v|more (showed my vg
    that was on my physical drive)

  5. vi /etc/ fstab

    1. /dev/mapper/home_vg-lvol1 /home
      ext4 defaults 1 2

    2. /dev/mapper/home_vg-lvol2
      /usr/local/games ext4 defaults 1 2

  6. mount -a

  7. df -kh

  8. lvchange -a n
    /dev/vg_system-name/lv_home

  9. lvdisplay
    /dev/vg_system-name/lv_home

  10. lvremove
    /dev/vg_system-name/lv_home

  11. llvextend -l <PE -total size>
    /dev/vg_system-name/lv_root -r

    1. Since its “/” it will not
      unmout but perform an online filesystem extension even if you
      answer “no’.

That was it in a nutshell, took much
longer to write this post! This is just my story of a new switch I
found and decided to play with if you decide to try this please if
your system or data is valuable back it up and do your research for
your environment! Make sure you have the online LVM packages etc. if
you want to do an online filesystem extension. As they say mileage
will vary!

LVM is different for HP-UX than with
Linux and a bit different on other UNIX systems as well so I couldn’t
find the command to see if the physical extents were concurrent but I
suspect they are not. Just an FYI. You know please post, I ran out of
time tonight and didn’t look much further.

This isn’t meant to be a tutorial but
if you have any question please ask! Maybe I’ll clean this up at a
later time and present it in more of a tutorial fashion with better
explanations but its time for me to go to bed!

Man how verbose no wonder I don’t
post as much as I should!

Dude I even have charts from Wikipedia:

Linux Logical Volume Management (LVM) v1 Diagram

Image via Wikipedia

Unix filesystem

Image via Wikipedia

Enhanced by Zemanta

December 3, 2010
by dhoytt
1 Comment

Grant Pacers Face Folsom for Northern California Rights to Be Number 1

Grant High of Sacramento of which I’m an alumni plays Folsom High School from Folsom tonight with their number 1 state ranking and number 4 national ranking on the line!

Grant is a little beat up but the Pacers always fight to the finish!
Looking to go back to the State championship after missing out last year!
I’ll keep you posted headed to the game now!
Game is @ Sacramento State!
Oh yes I did and to all of you De La Salle folks from the Bay I really did mean number 1 in Northern Cali!
PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!, PACERS!

September 27, 2010
by dhoytt
0 comments

Loving New Drink Ty-Ku With Mint Leaves From Garden

Made some delicious drinks over the weekend with this new liqueor Ty-Ku its a light liquor and it seems to mix nicely with a wide variety.

I mixed it with some Remy Ma VSOP Cognac to make something they call Godzilla. Even made what they called an Asian Mojito!

Tonight I wanted something light to sip and started to make a nice neat traditional martini but then mixed some Ty-Ku, Grey Goose Citron, Bombay Gin and mint leaves from my garden shook it up in the shaker with some ice and it it is delicious!

Only issue is its Monday so will not be able to indulge too much but this weekend I’ll be sipping more! Now just trying to find things to fill my bar out and give a lot of options when people stop by.

That and a quick dip in the pool in the night about 9 pm PDT after Monday Night Football worked just fine to relax me with some cool a$$ music on my site @ http://dhoytt.com/snake-ice-radio-blog/

23 Health Benefits of Mint Leaves, According to Science (+ 11 Delicious Recipes)

Enhanced by Zemanta

August 27, 2010
by dhoytt
0 comments

Grant Pacers of Sacramento on ESPN2 Tonight @ 0700 PDT

That’s right the number 4 ranked team in the nation per two different polls relating to high school football teams in the Grant Pacers of Sacramento are playing the Folsom Bulldogs in Folsom tonight. Folsom is ranked number 2 in the Greater Sacramento region with the Grant Pacers being number 1 in the Sacramento Region.

Grant has the longest running tradition of excellence in football in the area with people who went to the school as far back as the 1930’s still attending home games.
This being my high school alma mater I will of course be watching the game on ESPN2 the only reason I will not be there in person is that I was too busy to get tickets and with my schedule I would have been struggling to get to Folsom after work.
All I have to say is  GO GRANT PACERS!!! Then to the tune of the chant  that Snoop heard when the Grant Pacers beat his alma mater Long Beach for the California state championship 2 years ago and ironically used in his song “I Wanna Rock”…….. PACERS….PACERS…PACERS …….. PACERS….PACERS…PACERS …….. PACERS….PACERS…PACERS …….. PACERS….PACERS…PACERS
Enhanced by Zemanta

August 18, 2010
by dhoytt
0 comments

Power Outage Affects Blog Temporarily

Had a power outage today and I was away
from the office but everything came back online by itself except the
music didn’t begin streaming. The cause of the power outage I am
guessing is the street construction about a block away. I have not
been told that the construction is officially the cause of the power
outage so I will have to check sources later but its my guess.

I will have to design a batch script
for the various components of the music to come up in proper order
once the system is rebooted for my music server since this is the
only system that didn’t restart the software I use properly. When I
get a chance I will test it on my backup music server. The challenge
will be automating the music stream start and encoders.

My Linux boxes that host my web
servers & game servers appear to have come back and executed the
start-up scripts just fine, the server that streams the music is on
Windows.

I am posting this message on my all of
my blogs:

Home: http://www.dhoytt.com/

Darryl Hoytt’s Personal Blog:

http://www.dhoytt.com/mainblog/

Snakeice’s “House of Beats” Radio
Blog:

http://www.dhoytt.com/snake-ice-radio-blog/

Da’ Hoytt’s Online Games Blog:

http://www.dhoytt.com/da_hoytt_games_blog/

Darryl’s Sales Items:

http://www.dhoytt.com/forsale/

Enhanced by Zemanta