Yosemite 10.10.3 – F5 Big IP Edge VPN

So as any curious developer I installed the latest 10.10.3 beta Yosemite update. One issue from then on connecting to BigIP Edge Webclient would throw and SSL Connection Error, over and over…in FireFox, Safari, and Chrome.

So I had the IT administrator send me the F5-BigIP-Edge-Client for Mac, installing this solved my issue immediately. However, when I got home the issue changed…when I connected using the Client it would crash immediately…

Apparently there is a bug in this program with multiple monitors…to solve the issue I changed my Preferences to the following:
Screen Shot 2015-03-09 at 5.56.25 PM

Hope this helps you if you happen to be in the same unusual boat as me…

Chef what is it and why you should of been using it all along…

Configuration Management is nothing new, since the advent of System Administrators scripts have been written to stand servers up and configure them to at least a basic level.

What’s new? Chef.io and puppet

These amazing tools allow you to configure each of your systems differently or group them together to be configured in a unified manor.  This is extremely valuable because it allows for a somewhat slower startup time to a 0 time everytime after that.  And as an Systems Administrator can tell you, if you have stood up anything you’ll likely need to stand it up all over again at some point.

Look into these tools and really try to see them for the saviors they are, the god sends that shall guard your IT fortress with all the powers of Zeus behind them.

In the Windows World…how should you deploy?

If you are a release engineer, release manager, source control engineer, jack of all trades, or even just a one man shop at some point that question comes to mind.

You need to put these websites you wrote onto a Windows server, but how should you do it?

The answer for a lot of people is simple; i’ll make a Shared Folder (SMB share) and copy the files to it (xcopy, robocopy).

Then they run into issues with IIS running and maybe they write a bat file that disables IIS via WMI, or Entity (in C#), or psexec.

Or maybe you are a windows nut and said MSDeploy will solve all my issues…

If one of these was your answer, or you still can’t think of the answer please feel free to learn from my mistakes.

And then there was configuration management (Puppet and Chef being the forerunners), here is a more comprehensive list from wikipedia: http://en.wikipedia.org/wiki/Comparison_of_open-source_configuration_management_software

You might be wondering how is configuration management going to help me do a website deployment, to be honest it is a good question.

With chef you will consume the IIS cookbook, as well as writing some custom recipes. In this recipe, you will want to stop the website you are deploying.  Next, you should download the artifact from the resulting build.  From here it is pretty easy, you are going to unzip (using the windows cookbook) to the wwwroot dir and then start IIS back up.  So from this you can see you are probably going to want some variables.  I’d recommend the following url to artifact, directory, website name.  With these 3 variables you’ll be deploying websites to windows servers, easy and painless.

The chef recipe itself isn’t very complex but when you think about it, this allows any number of webservers in your farm to download the artifact and then deploy the code changes themselves.  All at the same time, now I did say artifacts…bummer right? wrong.  Artifacts are singularly one of the best choices for releases, this allows you to release the same exact code over and over from environment to environment and from server to server.  This means you don’t have some random change that happens because someone made a simple typo.

Anyways, enjoy!

Netduma R1 Review

The Netduma R1 router isn’t snake oil, they’ve done a lot of hard work to allow for a much more enjoyable gaming experience (purely from a lag point of view). The router is really nice and is made by gamers for gamers. The community around the router seems strong, and the support behind the router are actual developers.

Pros

  • QoS (Congestion Control)
    • This is made extremely easy, especially in comparison to OpenWRT/DD-WRT/Stock Firmware
    • Even if someone is downloading using torrenting or UseNet and saturating your network you don’t have any lag in-game.
      Host Filtering/Geo-Filter
    • This is made extremely easy, makes gaming much better because it limits the range that you are connecting to other players.
    • Connecting to a VPN is much more simple and pretty than OpenWRT/DD-WRT/Stock Firmware(if they even support it).
    • More importantly you can VPN only certain attached devices instead of the whole network (every device on the router) this is perfect for gamers because you can attach only your console to the VPN.
  • Responsive UI
    • Similar to Luci but it appears they hired a graphic designer
    • Network Monitor
      • Real Time graphs
      • More modern UI then competitors
    • Support
      • This is the biggest PRO, the developers are actively working with customers to fix issues and make this router everything that gamers want.
      • They have been providing support even during the Christmas holiday (night and day)
      • They have used Skype and TeamViewer to help users that have complex network issues

    In the Middle

    • Hardware
    • 600MHz single core CPU
    • 128MB Ram
    • Wireless N only no AC

    Cons

    • Bugs that are being “addressed”
      • As this list is constantly changing go here
    • No SSH/Telnet only a web manager (missing multiple settings)
    • Wifi:
    • netduma-r1-wifi

      • Only 20MHz channel width no option for 40MHz option
      • Low Tx Rate for wireless N should be around 300Mbps as with other routers
      • UI for WiFi isn’t perfect and is somewhat confusing if you don’t know what you are doing.

    Summary
    If you are a gamer on a console or on PC, this router is worth the money [PERIOD]. However, if you are looking for a top of the line amazing hardware/wireless experience this isn’t the router for you.

    Let me clear that up, because this router is running OpenWRT as the backbone 600MHz is more than enough to handle anything you throw at it. There really aren’t any better (hardware wise) routers out there if you are looking for real OpenWRT support.

    Routers I’ve owned recently:

    • Netgear R7000 “Nighthawk”
      • Dual core 1GHz CPU
      • Only DD-WRT support
      • Wireless AC
    • Linksys (“Belkin”) WRT1900AC
      • Dual core 1.4GHz CPU
      • Only McWRT support (and a bad wifi driver even in Stock Firmware)
      • Wireless AC

Remove Transfer List in Unison

Every time I launch unison2 I am getting a list of saved items…but they are invalid.

To fix this simply delete the following file with the application closed then relaunch the app:

rm -f ~/Library/Application\ Support/com.panic.Unison2/transfers.db

Reset your AD password back to original

For the below code to work you’ll need to install in Windows Features all items under Remote Server Administration Tools:
Screen Shot 2014-04-21 at 9.37.29 AM

The parameters to call this are as follows:
-user [Your AD username]
-current [Your current AD password]
-new [The new AD password you want, can be the current AD password]

Import-Module ac*
param ( [string] $user, [string] $current, [string] $new)
if($user -eq "") {
    $user=Read-Host "Enter the username"
}

if($current -eq "") {
    $current=Read-Host "Enter the current password"
}

if($new -eq "") {
    $new=Read-Host "Enter the new password"
}

for ($i=1; $i -le 6; $i++)
{
    $temppass = "p0A#s4s4" + [string]$i
    
    if($i -eq 1) {
        Set-ADAccountPassword $user -OldPassword (ConvertTo-SecureString -AsPlainText $current -Force) -NewPassword (ConvertTo-SecureString -AsPlainText $temppass -Force)
    }
    else {
        $previous = "p0A#s4s4" + [string]($i - 1)
        Set-ADAccountPassword $user -OldPassword (ConvertTo-SecureString -AsPlainText $previous -Force) -NewPassword (ConvertTo-SecureString -AsPlainText $temppass -Force)
    }
}

Set-ADAccountPassword $user -OldPassword (ConvertTo-SecureString -AsPlainText $temppass -Force) -NewPassword (ConvertTo-SecureString -AsPlainText $new -Force)