Start here

Goodbye Vegas: A Friday Post :)

Thanks, I needed that. As I write this I am sitting on a plane outbound from Las Vegas. Aside from spending five marvelous days with great friends, I really needed the vacation. This was, far and away, my most enjoyable trip to that city; part of that is because it is my first visit that wasn’t for business, part because I was better able to afford to enjoy myself with shows, good meals, and so on, and partly because I just needed a few days to sit by the pool and in the hot tub, drinking and smoking cigars and talking to people.

On a number of my previous trips I had ventured out beyond the confines of my hotel/casino/conference centre to golf, eat, and more… but this was the first time I really went out a lot, and I got to see and enjoy a lot of the sights and sounds of one of the most opulent and ridiculous cities in the world.

IMG_0262I have said many times that Las Vegas is a city that was conceived of and engineered with the sole purpose of separating adults from their money, and that perception certainly has not changed. However if you look around the city, and especially the Las Vegas Strip, you can’t help but notice that there is no greater waste of money and resources anywhere in the world.

 

With that said, it is certainly a great place to spend a few days (although I think my visit was one day longer than it needed to be). Of the four complete days I was there, three days were spent lounging and enjoying myself by the pool. The fourth? Well, Nick and Jenna and I walked along the strip for a couple of hours, and then we got onto the Deuce Bus and headed out to see the Gold and Silver IMG_0272 - CopyPawn Shop of Pawn Stars fame. Before you ask, no I did not buy or sell anything. Although right across the street there is a discount ticket booth for shows, and I bought a dinner and show package for Saturday (the night that Nick and Jenna were doing their own thing). We walked for a bit, and then got back on the bus to return to the Monte Carlo.

 

If you happen to be a fan of Pawn Stars, it might surprise you that the neighbourhood in which the shop is located is not among the classiest; some of its neighbours include sex clubs, strip shows, and bail bondsmen. I wouldn’t want my kids walking around there alone. However it was a nice experience – we like the show, and seeing it first hand was a nice field trip.

A few weeks ago Jenna asked if I wanted to join them at the Las Vegas Comedy Club (in the V Theatre at Planet Hollywood) for the show, and I said sure. We saw a decent host and opening act, but the resident headliner at the club is a very funny man named Edwin San Juan who had us in stitches. Check him out online at www.edwinsanjuan.com, or on Twitter at @EdwinSanJuanESJ. After the show we went for a late dinner at the Harley Davidson restaurant on the strip, where we were able to enjoy dinner on the patio while people watching (an activity that you have not truly experienced until you do it on the Las Vegas Strip).

IMG_0278Friday was the big day. As the Best Man, Maid of Honour, Ring Bearer, Flower Girl, Photographer, and Witness I can proudly attest that I witnessed Ms. Jenna Dunlap become Mrs. Nick Duratz. She was an absolutely radiant bride, and with the fountain show of the Bellagio in the background it was an incredibly beautiful ceremony conducted by the Reverend Peck. Once the pictures were done we got back into the limo. First we headed to the Las Vegas sign to take some pictures, and then to the Stratosphere Hotel for dinner at Top of the World Restaurant, a magnificent experience on the rotating 106th floor, from which point the rest of Las Vegas looked gorgeous but small. The meal was fabulous – we all had the lobster bisque (which was to die for); I then had a Caesar salad, followed by the third best steak I have ever eaten in North America. We didn’t leave the restaurant much before midnight, and you know what they say about the best laid plans of mice… Jenna had spoken about going clubbing somewhere with one of the Kardashians after dinner (which appealed to me much on a level that root canal surgery might), but we were all absolutely beat. We took a taxi back to the hotel, and although I didn’t go right to bed, I did tone it down a bit.

It always amazes me that I can make temporary friends so easily; it isn’t that I go looking for them (although I am happy to talk to anyone), but they often search me out. That was the case Saturday by the pool, where a group of 25 year olds from Minnesota pulled me into their clique. They had rented a cabana for the day (a colossal waste of my money, but when someone else is spending it is a nice experience). They wouldn’t stop pouring drinks for me – and they were not chintzy with their booze. I am not usually a vodka drinker, but the five Grey Goose & Red Bulls that they poured me went down very nicely, accompanied all the while with a procession of cigars.

IMG_0290

Speaking of drinking by the pool, if you have been reading my non-technical articles for any period you will know that I am usually a scotch drinker. None of the bars at the pool stocked single malt scotch. Not a one. I had to make do with gin and tonic (when I was buying), and Grey Goose & Red Bull when the kids were. That is not entirely true; if you follow me on Facebook you will have seen a picture I posted a few days ago of my ‘Vegas Wallet’ – a leather folio with what looks like two cigar tubes, a cutter, and slots for credit cards. On closer inspection though you will discover that it only has one cigar tube; the other tube is actually a flask that I refilled with The Glenlivit 12 in my room every time I went back. It amused me that on the first morning Nick and I went to the pool straight from breakfast with our portable cups of iced tea; Marcus was standing at the pool entrance checking peoples’ bags and preventing them from bringing any outside alcohol in. He wouldn’t let us bring our iced teas in, but even after inspecting the Vegas Wallet he let me in with my scotch! He was actually a really nice guy… I spent a bit of time talking with him, and I was surprised that someone who sees a thousand people or more per day said to me the second time he saw me that ‘Don’t go looking for your room key… I remember you!’

IMG_0296That same day that I met Dean, TJ, and company in the cabana I also met Batman. Okay, his real name is Johnathan, and he is a big hulking African American dude from West Palm Beach. He and I had a great time together, chatting it up and smoking cigars. He was a very easy person to spot… I think the term ‘brick shithouse’ was coined for him. He’s a dude that someone like me looks at and thinks ‘I wouldn’t want to mess with him!’. Nicest guy though, and we laughed it up for two days straight!

If you have never been to Las Vegas you might not appreciate how omnipresent the advertising for shows and such are, but they really are everywhere, starting in the first minute you are off the plane. I probably saw a lot of the usual suspects (Cirque de Soleil, Jersey Boys, Elvis and MJ and Brittney and whoever else) that didn’t phase me before I saw one that stood out, but the minute I saw a billboard for Zombie Burlesque I started mocking it. You can like Burlesque or not (I have never been into it), but as much as some people may like zombies I think the whole concept of them is stupid. So when someone told me on Thursday that they saw it and it was fabulous I didn’t give it much thought. But then a second and a third person said the same thing… and so when it came time to buy a show ticket for Saturday night I said ‘What the Hell?!’ and decided to give it a shot.

The ticket I bought was actually for dinner and a show, so after I checked in at the box office and picked up my ticket, I headed over to Pampas, a Brazilian Barbecue in the Miracle Mile shopping mall. Since I didn’t think to make a reservation I had the option of waiting 90 minutes or sitting at the bar. SOLD, the bar won without a second thought. It was probably the third best Rodizio I’ve been to, behind Fogo de Chao in Sao Paulo and Brasa in Niagara Falls, Canada.

IMG_0289

What can I say about Zombie Burlesque? It might well be the most enjoyable show I have ever seen in Las Vegas. To say that I was pleasantly surprised is too much of an understatement… shocked is more like it. There was singing, dancing, comedy, and boobies… all of the components I look for in a burlesque show. The fact that all of the actors were zombies (real ones, I swear!) did not deter from the magnificence of it. I even bought the CD as I walked out… how can you not, with songs like ‘Eating Penis Doesn’t Make You Gay?’ J I am happy I was able to have my picture taken with many of the cast members… look at it, you will see that this is no ordinary cast of players! While I saw that, Nick and Jenna went to Divas Las Vegas, a drag show that they asked if I wanted to join them at which I did not. They then went to a club to hang out with some guy who is apparently the baby daddy of one of the Kardashians. They paid handsomely for this experience, and saw him for precisely two seconds. I can assure you I had a much better time.

IMG_0293

The weather Sunday morning did not look promising for lying by the pool, and the forecast predicted rain. Nick, Jenna, and I opted (for the first and only morning) to forego the gluttonous buffet and opted for brunch at the Café, still in the hotel. It was fabulous, and the only breakfast (possibly the only meal) I had in Vegas that I did not feel (too) guilty about. By the time we finished and paid it was around noon, and the sun was doing its best to beat the clouds back. The newlyweds occupied their usual chairs as I lit my first cigar of the day and headed for the hot tub. As had been the case both Thursday and Saturday, a cast of people rotated in and out of the tub throughout the day, and I chatted with many of them. Each day I got out for a few minutes now and then to swim the Lazy River, to talk to more people (Batman, etc…), but for the most part I held court in the hot tub.

When we were done lazing by the pool we got cleaned up and took the bus to Freemont Street, or ‘The Freemont Street Experience.’ I didn’t know what to expect from Old Las Vegas, and was pleasantly surprised by how much more I like walking around there than I do along the Strip. Jenna really wanted to do the Zip Line, and Nick (being married to her) went along. I had no interest, so as they waited in line to get harnessed I walked around taking pictures, and then when it was almost their turn I camped out in a place where I thought I would get the best shot of them plunging to their deaths flying safely through the air from tower to tower.

Did I mention that I love my Digital SLR camera? Some time ago I decided I wanted to get into photography, and having pushed the limits of what my PhD (Press here, Dummy!) camera could do, a couple of months ago I bought a (used) Nikkon D5000 with an 18-105 lens. Wow, what a difference. I was shocked by how incredible it is to shoot with, and while I did not bring it to Chicago a few weeks ago, I certainly brought it to Vegas… complete with tripod. It is the first time I have ever gotten onto a plane when my camera gear outweighed my computer gear… and got much more use during the trip.  I should mention though that all of the pictures in this article were taken with my iPhone camera.  It’s just what is currently available!

With the Duratzes safely back on terra firma we walked to the end of Freemont Street and then back trying to decide where to eat dinner. By this point not only were we hungry, but it was nearly 10:00pm, and I had to go back to the hotel, pack, and try to get some sleep ahead of a 3:30am wake-up call to catch a 6:15am flight. Neither of them had ever heard of the Heart Attack Grill, but I had. While I didn’t really want to gorge myself, they thought it was funny and we should try it. Let me tell you folks, this is a great hamburger. We all stuck to the single patty… they are very clear that if you leave foodIMG_0299 over on your plate they paddle your ass (and if you think I am kidding or that they take it easy on you, let me assure you that during our meal a number of diners were escorted to the tower of shame, strapped in, and the waitresses (sorry… NURSES) spanked them HARD with a paddle. Folks, I am a trained fighter and I know when someone is pulling their punches… these women were taking a running start and the crack of the paddle echoed throughout the restaurant. I was at the same time reminded of two great movie scenes: the first was Animal House, during the initiation scene where the frat boy (I am tempted to say it might have been Kevin Bacon) grabbed his ankles and got whacked, screaming ‘Thank you Sir may I have another?!’ and Biloxi Blues, where the Drill Sergeant (Christopher Walken) examines the trays as the soldiers leave mess and says ‘This is the army, son… we don’t waste food. You take what you want, but you eat what you take.’ Fortunately for Jenna (who failed the test) we were sitting in close proximity to a garbage can, and she was able to destroy the evidence. We all left with our bottoms intact.

The bus ride back to the Monte Carlo was much longer because of traffic. After nearly an hour sitting on the bus and hardly moving we decided to get off at the Bellagio and walk the rest of the way. On the first night I wore a pair of black dress shoes with my suit that I hadn’t worn since probably 2008, and I paid the price… they didn’t fit properly, and my feet were in pain the rest of the week. I was relieved that the other pair of shoes that I brought (my running shoes) are black with black laces, so I wore them every night (I wore sandals during the days) and it’s a good thing too because boy were my feet hurting. I was glad that I was still able to walk between 12,000 and 18,000 steps every day, despite the bad feet, and was also able to wear a suit and tie most nights (Freemont Street didn’t call for it) with the black running shoes and not look too stupid.

So along the way, when all is said and done, I walked about 75,000 steps (42 miles); I smoked 8 cigars (maybe 9). I had about one third of a bottle of The Glenlivet (along with about a score gin & tonics and vodka & Red Bulls). I ate three ridiculously gluttonous and one reasonable breakfast, and three reasonable dinners with two gluttonous ones. I had zero lunches. I saw two shows, I witnessed two friends getting married. I took about 800 pictures, spent about 20 hours by the pool, and applied Coppertone Sport SPF 15 Sunscreen 4 times. I lost exactly how much money I set aside for gambling, and stayed on budget for the rest of my activities. Most importantly, I had ONE amazing time.

Goodbye Vegas; I will see you again soon.

IMG_0279

Help! My free storage cannot be used for an iSCSI Virtual Disk!

I have written at length in the past about both Storage Spaces (Storage Pools: Dive right in!) and Software iSCSI Targets (iSCSI Storage in Windows Server 2012), as well as Failover Clusters (See list).  These are all great technologies that IT Professionals should know.

Recently I got an e-mail from a reader who had all of the pieces in place, but he couldn’t create the iSCSI virtual disk.  “…Even though I have plenty of space available, the New iSCSI Virtual Disk Wizard is showing no eligible servers available.  What am I doing wrong?

There is a caveat that I am sure is documented somewhere, but I haven’t seen it.  You cannot create an iSCSI Virtual Disk on a server that has Failover Clustering installed.  Now, this doesn’t actually mean that you cannot have an iSCSI Target Server that is clustered… but unlike the chicken and the egg, we absolutely know which has to come first here… You have to create your iSCSI Virtual Disks before you install Failover Clustering.

I hope this clears things up!

That Was the Week That Was…

This has been one of those weeks that I love as an IT Professional.  I have succeeded in keeping meetings to a minimum, and got to play with a lot of cool technology.

If I look back on the week, and this is without reviewing my notes, I have built:

  • Storage Pools
  • iSCSI Targets
  • Failover Clusters
  • Scale-Out File Servers
  • AlwaysOn SQL Instances
  • Secure Windows To Go (WTG) keys
  • Azure RemoteApp
  • Azure Virtual Machines
  • Azure Active Directory

… that is to say nothing of the Cluster-Aware Updates that I got to play with, the PowerShell scripts I got to figure out, the tunneled VPN I got to test and start using for my company, Designated Names, Hyper-V, Windows 10, Server 2016, Group Policy Objects, and so much more.

I expect that most of my readers are IT Professionals, and most of us got into the business because we were passionate about the technologies.  I am equally sure that many of us spend a lot of time doing the type of monotonous minutiae that can make us forget that we get to come to work and play with toys most of the time.  Well, it’s weeks like this one that serve to remind us, and reinvigorate the joy in what we do.

The next few weeks will be interesting, leading right up to the days I will be taking off working at the PanAm Games.  Until then, it looks like an exciting time.

Have a great week-end folks!

Distinguished Names for Complex Items

Distinguished Names are pretty simple, right? Well… it depends on several factors.  To figure out the DN for swmi.ca it is… dc=swmi,dc=ca.  An Organizational Unit is not much harder… Let’s take an OU called Toronto in the swmi.com domain… ou=Toronto,dc=swmi,dc=ca.  Simple.

But what happens when we add a little complexity to our environment?  Say… OUs within OUs, and domains within domains?  Here’s an example:

Domain: Canada.swmi.ca
OU: OntarioToronto

Okay, this is a little more complex… but it’s actually pretty easy, once you know what you are doing.

OU=Toronto,OU=Ontario,DC=Canada,DC=swmi,DC=ca

See? That’s not that much harder than the simple Distinguished name…it’s just longer.

Spaces… what happens when you add spaces into the names of your OUs?  Of course, the space is not a valid character in a domain name, but there is nothing stopping you from putting them into your OU names.  You know… aside from common sense ;’)

We know that in PowerShell (and most scripting- and command-line interfaces) you have to put quotes around names that have spaces.  But when I run a PowerShell script that includes the DN of an object, it will already have quotes around it… do I have to double-quote?

No.  Distinguished Names do not change because you are scripting.  So let’s look at an example:

Domain: Canada.swmi.ca
OU: OntarioToronto – File Servers

Take a deep breath… relax, and let’s do what we did before…

OU=File Servers,OU=Toronto,OU=Ontario,DC=Canada,DC=swmi,DC=ca

We can go on and on with this game… one particular client that I am working with right now has a domain with OUs embedded six levels deep.  It is crucial that I get the DN right when I am scripting… refer to my article on Failover Cluster OUs and you will see why.  My clusters must be placed in the right place.  So I spent the time to make sure I had it right… and it worked!

…So what if you are hesitant, unsure, unconfident?  Before you run your script, run a simple command to test it:

dsquery ou “OU=File Servers,OU=Toronto,OU=Ontario,DC=Canada,DC=swmi,DC=ca

A simple dsquery should return the following response:

“OU=File Servers,OU=Toronto,OU=Ontario,DC=Canada,DC=swmi,DC=ca”

Now this isn’t very exciting… it is just parroting back to me what I said, right?  Well know that the alternative is an error message (dsquery failed: A referral was returned from the server, or dsquery failed: Directory object not found) and not getting that is golden.

Distinguished Names can be intimidating… but with a little bit of knowledge, you should be on easy street!

Failover Cluster OUs

I recently created a proof of concept for a client that was built into their production environment.  The POC required me to create a couple of failover clusters, so I got the names from the customer, and created them… like I’d done a thousand times before.

Several weeks went by and the customer called me and asked why they weren’t able to move the cluster name object (CNO) into an Active Directory (AD) Organizational Unit (OU).  Before I went chasing unicorns I opened an AD console and tried to move it myself.  Sure enough, I got an Access Denied response.

Hmmm… I was using my Domain Admin account… Wasn’t that supposed to give me the keys to the kingdom?

Like every object in your computer, the CNO has security properties, and by default, these protect them from being moved.  Of course, you can change these permissions if you like, but I am not a huge fan of doing that if I don’t have to.  Instead, what I would rather do is place the CNO into the proper OU when it is created, and then leave it there.

The problem with that is the New Failover Cluster Wizard… there is no option to place the cluster into a non-default OU.  Well, that’s not entirely true… the option is there, and it is hiding in plain sight.  In the Cluster Name dialogue box, simply enter the canonical name… CN=ClusterName,OU=Clusters,DC=SWMI,DC=ca

Simple, huh?  It’s so simple that I’ll bet you will want to know how to script this, so you can do it over and over again, right?  So watch this:

PS C:\> New-Cluster -Name CN=ClusterName,OU=Clusters,DC=SWMI,DC=ca -Node Server1, Server2, Server 3

Simple as pie, right?  It is… but make sure you get your canonical name right, otherwise this will fail, and you won’t know why.

No get back to work!

An Open Letter to Application Developers

Dear Developers,

I want to thank you for continuing to build applications and programs and other software that makes my life better.  As an Infrastructure Specialist I feel my kind and your kind have developed a nice symbiosis over the years – I build the environments on which your solutions run, and you make my infrastructure more than just a pretty face.  This has allowed us (in collaboration with our good friends, the DBA types) to deliver solutions to our users that make their lives easier.

We have come a long way from the time when WordPerfect consisted of a single file, and that all of what we did ran off individual floppy disks.  As the solutions get bigger, it is understandable that, at least under the hood, they are going to become more complex. So I get why I have had to step up my game in a lot of aspects.  My environment will be as complex as you need it to be, while remaining as simple as it can be.

There are times though when I think you are taking a simple path, and that path of yours can complicate my life.  I will give you an example:

I have been testing a particular monitoring solution for one of my customers.  It is a solution that I suspect will make my life easier, so I decided to install it.  Okay so far.

And then I needed to uninstall it.  It wasn’t that I didn’t like the product, it was that I hadn’t checked on some of the requirements, and rather than trying to adjust them later on (or live with them).  I opened the Uninstall or change a program window, and poof… there were suddenly 25 ‘programs’ that I needed to uninstall… one by one.

Before you say it I know… some applications have an Uninstall program which will clean your system of every last remnant of its installation.  Most don’t.  So when I uninstall one component, I have to uninstall all of them, lest the installation program see that the remnants are still there, and not re-install properly later on.

I understand you think I am asking a lot of you.  After all, what is 20 minutes of my pressing ‘Uninstall’ over and over again in the grand scheme of things?  Well here’s the thing… when I have to do it five or ten times (whether I am testing it or writing about it or whatever) it can really add up.  With that said, how difficult would it really be for you to create an installation log that an Uninstall application can follow?

What about Snapshots and Checkpoints Mitch?

Ah, that is a good point… Virtual Machine Snapshots (and Checkpoints) do give me the ability to go forward and then back out to that point… but I have to know in advance that I am going to go through the uninstall-reinstall dance… and when your application links to an external database on a different machine they are often rendered useless.

So if you feel I am being unreasonable, please understand that is not my intention.  I just feel that a little extra effort from you could go a long way to making my life a little easier.

But we don’t want you uninstalling our applications!  Use them!

That is another great point… but I assure you that if I create a server specifically for your application (as I did in this case), if I decide to NOT use your application then uninstalling it will not be an issue, I will simply blow the server away.  I want to use your applications, that is what makes my environment shine.  This will just help me a little bit more.

Thank you!

Server Core: Every bit the Full Server as the GUI is!

Microsoft introduced Server Core with Windows Server 2008, which means that it was the same kernel as Windows Vista.  Now, nobody is going to stand up and sing the praises of Vista, but Server 2008 was a very solid OS.

You may (or may not) remember that there was a campaign around Vista called ‘The WOW starts NOW!’ Catchy, huh?  Well, because Server Core was literally taking the ‘bling’ out of Windows Server, there was an internal joke at the time that ‘The Wow STOPS Now.’

While Server Core never looked very exciting for end users, for IT Admins, and especially those who were building virtualized environments, Server Core was a godsend. Let’s go through this one more time to demonstrate why:

  • The Windows Graphical User Interface (GUI), which is the difference between Server Core and not, takes resources.  How much?  Well, depending on the server it might be as much as 3-4GB on the hard drive and as much as 350MB of RAM.  Neither of these is a big deal in a world where servers have 128GB of RAM and terabytes of storage on them, right?  Well on a virtualization host that may have on average 100 virtual machines running simultaneously, that translates to 400GB of storage and a ridiculous 35GB of RAM… Ouch.
  • Every component that is installed in Windows has to be patched from time to time.  The fewer components you have installed, the less patching that has to be done.
  • The more you have installed in Windows the larger your attach surface.  By removing components, you can minimize this, making your computer more secure.

servercore01In Windows Server 2008 here’s what we saw when we initiated the installation… a menu with all three editions (Standard, Enterprise, Datacenter) Full Installation, and the three editions with Server Core Installation.

I have been singing the praises of Server Core for as long as it has been available, but often to deaf ears.  I always assumed this was because most IT Admins liked the GUI.  Recently I was in a presentation given by Jeffrey Snover, who gave me another perspective on it… the terminology in Server 2008 was part of it.  You see, people look at the options ‘Full Server’ versus ‘Server Core’ and they immediately think ‘power & performance.’ A Full Server must do more than a server core server… why?  It is FULL!

Of course, in Server 2008 it didn’t help that Server Core actually was a hobbled version of Server… there were a few roles that worked on it, but not too many.

As with so many Microsoft products, that got better in 2008 R2, and even better in Server 2012 and 2012 R2.  Today you would be amazed at what can run on Server Core… in fact, nearly everything that you do on a server can run on Server Core.  So there is little wonder that Microsoft made a change to the terms…

servercore02No longer is it a question of FULL versus CORE… Now our options are Server Core Installation and Server with a GUI.

There are two differences to notice in this screen shot… the first is that there are only four options because Microsoft eliminated the Enterprise SKU.  The second is that the default option (a la next – next – next installations) is Server Core.  While some admins might say ‘Yeah I wasn’t paying attention so I ended up with Server Core and had to reinstall,’ the reality is that most of us, once we understand the benefits and the manageability options, will want to install Server Core instead of the GUI servers.

Of course, there are admins who will still be afraid of the command line… but because most of the ongoing administration of our servers (the things we usually do with MMC consoles) Server Core, or at the very least MinShell will make our lives easier.  MinShell removes most of the GUI, but leaves the MMC consoles.

But what if I wanted to use the GUI to configure the system, and then get rid of it completely?  We can definitely do that.  One method of doing it is to use the Server Manager’s Remove Roles and Features option.  (The GUI is a feature, and is listed under User Interfaces and Infrastructure – Server Graphical Shell)  This will uninstall the components and save the RAM… but it will not free up your hard disk space.  To do that, use the following PowerShell cmdlet:

Uninstall-WindowsFeature –Name Server-Gui-Mgmt-Infra,Server-Gui-Shell –ComputerName <Name> -Remove -Restart

The -ComputerName option allows you to do this to remote computers, and the -Remove option actually removes the bits from the hard drive.

What can you do with Server Core? I won’t say everything… but nearly so.  It is no longer just your Hyper-V hosts… it is your domain controllers, SQL Servers, Web Servers, and so much more.  As long as you are able to learn a little bit of PowerShell… and how to enable remote management on your servers.

Now go forward and save your resources!

DONATE

%d bloggers like this: