Problems encountered setting up SCOM 2007 R2 in a lab

While setting up a SCOM 2007 deployment to do some testing from 2007 to 2012 I came across some annoying as F issues, this is what I did to clear the logs. If more pop up I shall append to this post.

The first hurdle with installing SCOM 2007 I came across was the default database not installing. The workaround is in the toolkit on the install disk/iso under SupportTools\AMD64\DBCreateWizard.exe . This will walk you through setup of the Database. Once that is done rerun the installation tool and you should be good to go.

The next bump in the road was what looked to be a common issue where you get a periodic event in the Operation Manger event log with ID 11464, even after I thought I had created the SCOM AD SCP correctly. For some reason the SDKServiceSCP was not being created. Creating that manually using ADSIEdit solved that WTF.

For some reason the permissions on the OperationsManager container where also screwed up, adding the SCOMAdmin group resolved that tidily.

Of course I had to remember to restart the HealthService (net stop HealthService && net start HealthService) each time otherwise you will wait around an hour to see if the error has been eradicated.

Advertisements

Customising actions on USB using USBDLM

There are many problems with USB in Windows. One being that every time you insert a drive it can have almost any drive letter, another running something automatically from the drive. Will discuss the second first:

Microsoft had Autorun for many years, since Windows 95, but they have had to nerf the hell out of it to stop the prevalence of virus’s and Trojan’s propagating using sneaker-net. A clever chap by the name of Uwe Sieber (http://www.uwe-sieber.de) has come to the rescue with USBDLM (USB Drive Letter Manager).

USBDLM is a Windows service that gives control over Windows’ drive letter assignment for USB drives. Running as service makes it independent of the logged on user’s privileges, so there is no need to give the users the privilege to change drive letters.
It automatically solves conflicts between USB drives and network or subst drives of the currently logged on user.
Furthermore you can define new default letters for USB drives and much more.

On my flash drive I have a TrueCrypt install with a 4GB container for my documents and wanted it to mount automagically whenever that drive is inserted into one of my computers. One of the features of USBDLM is to execute a command when a specific device is attached.

First things first, go fetch USBDLM ZIP file from http://www.uwe-sieber.de/usbdlm_e.html and unzip to a folder. I recommend using C:\Tools for this sort of stuff, makes backups easier. Once unzipped run the _install.cmd file as Administrator, if you are not logged on as an Administrator use the RunAs Administrator option in the context menu. To get started rename the USBDLM_sample.INI to USBDLM.INI, this file is read every time a device is inserted so no need to restart the service while testing.

To have the “Autorun” mount a TrueCrypt you will need a section like this one

[OnArrival20]
DeviceID1=USB\VID_125F&PID_312A9021000000000003637772282
FileExists=%drive%\MyTrueCryptFile.TC
open=”%drive%\TrueCrypt\TrueCrypt.exe” /q /v %drive%\MyTrueCryptFile.TC /letter N

To open an item on the drive you need to create an [OnArrival] section.
The DeviceID can be determined using the included ListUsbDrives_To_Notepad.cmd which will open a text file through which you can find the USB DevID for the USB device your Truecrypt file is on.
The FileExists portion is optional, use this to first check the file is actually on the device. The %drive% is a placeholder for whatever drive letter the USB device is mounted as.
The open portion is where you will put the command line to open whatever you want, here it is a TrueCrypt file.

Once my TrueCrypt container is mounted another OnArrival section opens my KeePass database. A really useful feature when you have applications automatically running is the OnRemovalRequest section which can then run the commands to un-mount the TrueCrypt volume after closing my KeePass database.

Another very useful feature of USBDLM is the initial purpose behind the service, the ability to enforce the assignment of USB drives to specific drive letters. This is done thusly

[DriveLetters]
Letters=F,G,H,I,-

[DriveLetters10]
DeviceID1=USB\VID_125F&PID_312A9021000000000003637772282
Letters=A

This is far simpler, [DriverLetters] defines what letters are available to be assigned to USB drives.

[DriveLetters10] is a bit more complex, a very small bit. Using this example it will assign the drive letter A whenever the device with DeviceIS1 is attached.

There are lots of additional things you can do, all well documented in the help file included with the download.

My experience with tablets

I had been able to avoid the tablet “craze” for a while, but the need for a more portable computing device that wasn’t under 4″ in size started becoming a reality after lugging a Dell XPS L502X around for 6 months.

I tried to survive using a GalaxyS and a Blackberry but the screens and browser experience was just not up to par with something a bit larger.

So I started looking around at the tablets available. I tried a Galaxy 10.1″, and the 7″ along with a Toshiba wi-fi tablet someone acquired from Dubai. They are all great devices in their own rights but they all suffered from the same lag issue I have with my GalaxyS, especially when flipping thorough pages.

I have now ended up with the only tablet that seems to do as advertised, provide a smooth stable consistent experience. First National Bank are running a promotion where you get a 16GB iPad with 3G for ZAR220 a month over 24 months which if you exclude the monthly cheque account is fee is R420 less than retail. BARGAIN!!!

I have now had the thing for a week and am wondering why it took so long to take the plunge. I am actually typing this post using the WordPress app, and am able to type at a fair tick, even though I am unable to actually “touch type”. Other uses I have found useful

  • Watching Podcast video
  • House shopping for the move end of the month
  • Reading my Google Reader and Twitter feed using FlipBoard
  • General Browsing
  • All in all I think I can safely give the iPad an A+ for doing what they say and doing it properly.

    The only con I have is OMG why did they bother with the cameras, these ones SUCK more than those in my old Blackberry 8520

    Timesheets – You’re doing it wrong – Dominic White

    Dominic has this so right

    Timesheets – You’re doing it wrong

    When managing teams of “information workers”, I believe the use of time sheets is indicative of a management failure. Here’s why:

    If you have to rely on a timesheet to know what your staff are doing – you’re doing it wrong

    If you can’t trust your staff to work hard – you have problems a timesheet won’t fix

    If you believe you have too many staff to manage – get more managers

    If you think anyone completes them accurately – you drank the kool aid

    If you think the time it takes to actually complete them accurately is worth it – you hate your staff

    If you manage your business from these inaccurate stats – you’re making bad decisions

    If your senior people have PAs complete their timesheets for them – you’re a hypocrite

    If you spent millions on a new timesheet system, but didn’t make it any easier for the staff using the system – you just suck

    Posted by Dominic White in Life at 20:00 | Comments (3) | Trackbacks (0)

    via Timesheets – You’re doing it wrong – Dominic White.

    %d bloggers like this: