Windows 2008 R2 Failover Cluster Manual Failover

January 16th, 2012

Recently I had to fail over a cluster to test a script, but instructions kept telling me to do one service at a time manually. So here’s a way you can do the whole cluster with two commands.

  1. RDP to one of your cluster nodes.
  2. Start up PowerShell as an Administrator
  3. Import the failover clustering module with this command.
    PS> import-module FailoverClusters 
  4. Fail the cluster over
    PS> Get-ClusterGroup | % { Move-ClusterGroup -Name $_.Name }

This is best used when having a two node cluster.

vCenter as a VM with DRS Groups and Rules

February 26th, 2011

I recently deployed a new vSphere 4.1 cluster and I wanted to run vCenter as a VM, but every time I put the host into maintenance mode or standby I had to manually move the vCenter VM to a different host since I had the VM set to manual automation.

I came across this article about how to use DRS Groups and Rules to keep that VM on a specific host if that host is available without having to set the VM to “manual.” After working through Gabe’s article make sure to set your VM back to fully automatic.

Now the next time you want to put the host into maintenance mode the VM will move automatically and come back once the host is back to normal. DRS will move the VM back within the default 5 minute DRS rule scan.

Thanks Gabe.

Drive Platter Racing

August 3rd, 2010

Gasp!

July 9th, 2010

Source: http://xkcd.com/742/

Google I-40

July 2nd, 2010

Google really wants you to know you’re on I-40

GoogleI40

Exploiting Vulnerabilities in Smart Phones through Barcodes

June 11th, 2010

In building my barcode (shown in the sidebar) you can put a good amount of data into a 2D barcode. So my thought is what if a hacker could exploit a vulnerability in an Android, iPhone, etc. by scanning the barcode? The text hidden in the barcode could be a string of text that could cause a buffer overflow or something to that effect which could damage the phone or cause some sort of remote access.

The problem is that the person scanning the barcode has no idea what data is contained in the barcode when it could be something harmful. Granted most people wouldn’t do such a thing (myself included) but the possibility is there.

Final thought: Trust the source from where the barcode is coming from and turn on scan confirmation because you have no idea what is in there.

Site has been on Hiatus

June 8th, 2010

It’s been awhile since I posted something due to some real life issues. Updates are occurring as I get time to. Check out the Home Network section.

Openfire Content Filter Patterns

April 9th, 2009

Recently I’ve been working with Openfire which has a function for a content filter. There are words that I wanted to be rejected and replaced with ***’s, but I couldn’t find many good resources on the Internet about a predefined list of patters. I had to make my own and by combining many different resources and came up with the following.

Patterns:
\B(?i)(bad|words|to|be|rejected|inside|larger|words)\B,(?i)(stand|alone|bad|words)\b

The comma separates the patterns (there are two patterns above). I had to create two filters because some words like ass are included in legit words like assignment. The first pattern is for bad words that could be contained in larger words and the second pattern is for words like ass or asshole where you want ass and asshole to be blocked but not assignment. The upper and lower case “b” is what makes the difference. The lower case “b” means to match the word only and the uppercase “b” means to match the word plus any other letters that follow the matched word. In my example I am blocking words that match before and after the matched pattern by placing the \B in front of pattern.

The (?i) means to match any iteration of the matched word like Shit, SHIT, sHiT, etc. Use the pipe | to separate your words.

Downloaded Data Caps

April 6th, 2009

Many of you have heard of the the downloaded data caps in the test cities of San Antonio, TX (Timewarner) and Reno, NV (AT&T). Timewarners rates are much more restrictive than AT&T, but it is not the rates that are the problem; it is the concept.

Here’s my take on it. Currently most of us are paying for how fast we download our files, pages, movies, music, etc. then we are capped at that speed. This proposal would cap how much we download as well as our speed. This would be like ordering from Whataburger where you can have your internet access have a thousand combinations. Most home subscribers would not be able to tell how much they are downloading over a months time and who’s to say the providers would be honest if a subscriber wants to check how much they have downloaded. What about those households that have music and movie lovers with 2 or more children of age to download music and movies? You can easily go over the proposed bandwidth caps below.

Timewarner is proposing to charge customers 5, 10, 20, and 40 gigabytes and is between $29.95 to $54.90 a month.

AT&T is proposing to charge customers 60 to 150 gigabytes, but prices are still up in the air.

Why are they (Timewarner & AT&T), the service provider, doing this? My theories are this:
- They are losing money due the increased internet content such as Youtube, Hulu, network broadcasted internet episodes (ABC, CBS, NBC). Using the rate plans would limit on how much we could watch on the internet and would force us back to the TV so they would not loose customers.
- They are losing money to Internet video rental services such as Netflix, Blockbuster, PSN’s (Playstation Network) movie store, and many others.

What are the consequences for the providers?
- Subscribers will migrate to a provider that has a larger cap or one that does not have a cap at all.

Other issues for consumers
- Consumers would not be able host their own family websites out of their own home.
- If you download movies from Netflix, Blockbuster, Playstation Network movie store, etc. you would have to pay for the movie, which you’re doing in the first place, then you would have to pay the service provider to download the movie if you are over your bandwidth cap.

Updates will follow.

Clicker CTL1

April 6th, 2009

I recently purchased a Clicker Products CTL1 rev. B from eBay that came with a manual but with one page being spanish and second page being english. After sifting the interweb for hours I finally came across the manual by searching for the part number of manual printed at the bottom left corner of page two. Here is the manual for those of you who are having trouble finding it.

CTL1 Instructions