What the hell happened to you blog maan?

#vmware #hyper-v #Synology #wordpress #

Wow, long story but I’ll make is short Winking smile

So I used to run my blog in Hyper-v using an old Mac Pro.  I made the decision to upgrade it to VMware 4, and purchased a new Shuttle PC:

  • Shuttle SX58J3 XPC Barebone for SKT1366 Intel CPUs – 500W PSU
  • Intel Core i7 960 3.2 GHz Socket 1366 8MB L3 Cache Retail Boxed Processor
  • Intel PRO/1000 PT Dual Port PCIe Server Adapter
  • Asus HD 5450 SILENT 512MB DDR2 DVI HDMI VGA Out PCI-E Low Profile Graphics Card
  • 2x Seagate ST2000DL003 Barracuda Green 3.5-inch 2TB SATA 6 Gb/s Drive
  • Synology DS211+ (for ISCSI storage of my VMs)

Scott send me a website (http://www.vm-help.com//esx40i/esx40_whitebox_HCL.php) with VMware whiteboxes and that was shweet.  BUT around the same time, VMware 5 came out.  So I thought, stuff it, lets go VMware 5.  Ah, not so fast .. I just could not get it to install!  The installer would start and just hang, even if I left it for days on end, which the faint hope it would finish.

Bollox! so I tried VMware 4 and that worked fine.  It appears that the HCL for VMware 5 is very different to VMware 4 so I was screwed!

That was it, stuff VMware, lets go back to hyper-v.  Done some reading and thought how about Windows 2008 r2 core?

Nice, but i was expecting a Unix type interface, but you still get GINA and once you log in all you get is a command prompt windows and a funky script called sconfig to do everything.

After a bit of googling, I found Core Configurator 2.0 (http://coreconfig.codeplex.com/)  over on codeplex and this is a god send, but you need to get Windows PowerShell installed on core, which is a bit of fun, but i managed it.

Next was Hyper-v.  This worked fine, but the networking was as slow as a one legged dog.  Then it dawned on me that the built in NIC on the shuttle was pants. Once I switched everything to the Intel Pro NIC, it was fine.

I built up an SCVMM box, and started to move my vm’s from the mac pro to the shuttle.  It was slow but worked a treat.

Last to move was my blog.  It turned out that one of the physical disks had a problem, which turned out to be on one of the virtual disks used by my Blog, and to make it worse it was the C drive.  I was screwed!

After a lot of heart ache, I managed to get the blog backup and running, but community server that was running my blog just didn’t want to play ball. I upgraded the versions but still not joy, I just couldn’t get a “single” blog working properly.

I contacted the community server support guys, and the basically said, you need to buy  a licence before we will help you.

Screw you  thought, so I went on the hunt for another package which is WordPress.

I built a new windows 2008 r2 server and followed these excellent steps (http://webmasterformat.com/blog/install-wordpress-on-windows) and there you have it!

Back in the blogosphere.  Still working on converting my old posts from community server, and they will come, but at least I have my voice back now.

Hope you enjoy the posts

Who locked me out?

#powershell

So following on from my last post, once and AD account is locked out, who or what the hell done it!

Typically you start with the account lockout tool (http://www.microsoft.com/download/en/details.aspx?id=15201) which will tell you when and what DC locked the account.

Next thing to do is to check the Security Event log out on the DC that locked you out to see who or what locked you out.

I have been playing cat and mouse with this over the last few days, and knocked this little baby up

#Script Start

PARAM([String]$DC="", [String]$Time = "")
$xtime  = get-date $time
$xstart = $xtime.AddSeconds(-1)
$xEnd   = $xtime.AddSeconds(1)
Write-Host "DC:…. " $DC
Write-Host "Start:. " $xstart
Write-Host "End:… " $xend
Get-WinEvent -ComputerName $DC -FilterHashtable @{logname="Security"; id=4740; StartTime=$xstart; EndTime=$xEnd} | fl TimeCreated, Message

#Script End

Save the above as “get-lockout.ps1”,  I found get-winevent a shed load quicker than get-event

Usage:

.get-lockout.ps1  -DC <DC> -Time "12/09/2011 09:33:00"

enjoy

AD Account Lockout

#powershell

So whose great idea was it to force a password change on service accounts every 60 days? Bunch of donkeys!?!

Anyway, so if you AD account gets locked out, check this out.  On tried with Windows 2008R2

import-module activedirectory

Unlock-ADAccount <account> –Server <DC>

NB the DC needs to have the “Active Directory Web Service” started

Microsoft Exchange Server 2010 Service Pack 2

#Exchange2010

Thanks for the link Ari http://www.microsoft.com/download/en/details.aspx?id=28190

Microsoft Exchange Server 2010 SP2 helps IT Professionals achieve new levels of reliability with greater flexibility, enhanced user experiences, and increased protection for business communications.

  • Flexible and reliable – Exchange Server 2010 SP2 gives you the flexibility to tailor your deployment based on your company’s unique needs and a simplified way to keep e-mail continuously available for your users.
  • Anywhere access – Exchange Server 2010 SP2 helps your users get more done by giving them the freedom to securely access all their communications – e-mail, voice mail, instant messaging, and more – from virtually any platform, Web browser, or device.
  • Protection and compliance – Exchange Server 2010 SP2 delivers integrated information loss prevention, and compliance tools aimed at helping you simplify the process of protecting your company’s communications and meeting regulatory requirements.

What’s New in Exchange 2010 SP2
http://technet.microsoft.com/en-us/library/hh529924.aspx

Release Notes for Exchange Server 2010 SP2
http://technet.microsoft.com/en-us/library/hh529928.aspx

Exchange 2010 Prerequisites
http://technet.microsoft.com/en-us/library/bb691354.aspx

The Exchange Team Blog
http://blogs.technet.com/b/exchange/archive/2011/12/05/released-exchange-server-2010-sp2.aspx

** Nothing about the schema update Disappointed smile **

Exchange 2010: DisconnectedAndResynchronizing

Been getting this on a single database, that has four copies. Been driving me nuts and the error has no real explaination and I cant get rid of it.

So yesterday bit the bullet and moved 366.46GB from 147 mailboxes off to other databases. Interesting in that it would only use 3 of 5 CAS servers.

Anyway, time to toast the database and recreate it, but check it out, 546, 923 log files ;-)