Archive

Archive for the ‘Software’ Category

Using Windows Deployment Services (WDS) to install Linux over Network (PXE)

March 10th, 2010 bietiekay No comments

Developing software is hard work – especially when you target several operating systems. One task that you have to perform quite often would be to deploy a new installation of an operating system as fast as possible on a test machine.

Doing this with Windows is easy – you can use the Windows Deployment Services to bootstrap Windows onto almost every machine which can boot over ethernet using PXE. Everything needed to make WDS work on a Windows Boot-Image is located on that image. Since it’s that easy I won’t dive into more detail here.

What I want to show in greater detail is how you can use WDS to deploy even Linux over your network.

Step 1: Get PXELINUX

What’s needed to boot Linux over a network is a dedicated PXE Boot Loader. This one is called PXELINUX and can be downloaded here.

“PXELINUX is a SYSLINUX derivative, for booting Linux off a network server, using a network ROM conforming to the Intel PXE (Pre-Execution Environment) specification.”

On the homepage of PXELINUX is also a short tutorial which files you need and where to copy them.

Step 2: Setup WDS with PXELINUX

I suppose you got your WDS Installation up and running and you are able to deploy Windows. If that’s the case you can go to your WDS Server Management Tool and right-click on the server name – in my case “fileserver.sones”. If you select “Properties” in the context menu you would see the properties windows like in the screenshot below:

wds_pxelinux

You have to change the Boot-Loader from the standard Windows BootMgr to the newly downloaded PXELINUX bootloader. Since this bootloader comes with it’s own set of config files you can edit this config file to allow booting into Windows.

Step 3: Edit PXELINUX configuration filewds-pxelinux-2 

The first entry I made into the boot menu of the PXELINUX boot loader is the “Install Windows…” entry. Since the first thing the users will see after booting is the PXELINUX loader menu they need to be able to continue to their Windows Installation. Since this Windows Installation cannot be handled by the PXELINUX loader you have to define a boot menu entry which looks a lot like this:

LABEL wds
MENU LABEL Install Windows…
KERNEL pxeboot.0

To add OpenSuSE to the menu you would add an entry looking like this:

LABEL opensuse
MENU LABEL Install OpenSuSE 11.x
kernel /Linux/opensuse/linux
append initrd=/Linux/opensuse/initrd splash=silent showopts

The paths given in the above entry should be altered according to the paths you’re using in your installation. I took the /Linux/opensuse/ files from the network install dvd images of OpenSuSE.

wds-pxelinux-3

That’s basically everything there is about the installation of Linux (Debian works accordingly) over PXE and WDS.

And finally this is what it should look like if everything worked great:

 

Source 1: http://en.wikipedia.org/wiki/Preboot_Execution_Environment
Source 2: http://syslinux.zytor.com/wiki/index.php/PXELINUX

Categories: Linux, Microsoft, Software, networking Tags:

Developing on a Microsoft Surface Table

February 20th, 2010 bietiekay 2 comments

At sones I am involved in a project that works with a piece of hardware I wanted to work with for about 3 years now: the Microsoft Surface Table.

I was able to play with some tables every now and then but I never had a “business case” which contained a Surface. Now that case just came to us: sones is at the CeBIT fair this year – we were invited by Microsoft Germany to join them and present our cool technology along with theirs.

Since we already had a graph visualisation tool the idea was to bring that tool to Surface and use the platform specific touch controls and gestures.

surface_visualgraph
the VisualGraph application that gave the initial idea

The good news was that it’s easier than thought to develop an application for Surface and all parties are highly committed to the project. The bad news is that we were short on time right from the start: less than 10 days from concept to live presentation isn’t the definition of “comfortable time schedule”. And since we’re currently in the process of development it’s a continueing race.

Thankfully Microsoft is committed to a degree they even made it possible to have two great Surface and WPF ninjas who enable is to get up to speed with the project (thanks to Frank Fischer, Andrea Kohlbauer-Hug, Rainer Nasch and Denis Bauer, you guys rock!).

surface_simulator
a Surface simulator

I was able to convice UID to jump in and contribute their designing and user interface knowledge to our little project (thanks to Franz Koller and Cristian Acevedo).

During the process of development I made some pictures which will be used here and there promoting the demonstration. To give you an idea of the progress we made here’s a before and after picture:

Surface_Finger2
We started with a simple port of VisualGraph to the surface table…

Surface_Finger
…and had something better working and looking at the end of that day.

I think everyone did a great job so far and will continue to do so – a lot work to be done till CeBIT! :-)

Source 1: http://www.sones.com
Source 2: http://www.microsoft.de
Source 3: http://www.uid.com/

Turning Linux ISO Images into bootable USB sticks

January 8th, 2010 bietiekay No comments

Today was Linux-Distribution-ISO-Install-Day. And it turned out that the only existing external DVD drive was fubar.

So what to do? We had a spare USB stick and it turns out that you can quite easily convert that USB stick into a bootable Linux-Distribution-Install-USB-Stick. Awesome!

Just download the tool called “UNetbootin”, start it and you can turn virtually any ISO Distribution Image into an USB Stick that boots and installs that ISO:

 screenshot

Source: http://unetbootin.sourceforge.net/

Categories: Linux, Modding, Software Tags:

Windows 7 GOD Mode

January 4th, 2010 bietiekay No comments

godmode Create a new folder, rename it to:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

After hitting <return> the folder will be a shortcut to the Windows 7 Administration GOD Mode. Enjoy. (Thanks Damir)

Source: http://tomicic.de/2010/01/03/Windows7GodMode.aspx

Categories: Microsoft, Software, makes-my-day Tags:

How to shut off Outlook 2007 Security Questions

December 18th, 2009 bietiekay No comments

I had the task to make my Outlook Task List appear on my iPhone. As everyone knows Apple did not do anything about todo lists or tasks on their phone… well there’s an app for that: Most of the task applications on the iPhone use Toodledos services to sync task lists with the desktop.

To sync the Toodledo service with the desktop you need another tool. This tool uses your Toodledo account and your locally running Outlook to sync between both. So this little desktop sync tool needs access to the Outlook data: This means you will maybe be bugged by Outlook that some program wants to have access to the data. You can allow it for a number of minutes but not forever.

Okay one solution would be to install appropriate antivirus tools to suit the operating systems security needs. Because this wasn’t a solution in my case I needed something more sophisticated to solve the problem.

Now that’s the point where “Advanced Security for Outlook” from MapiLab comes into play. This Outlook Plugin extends Outlooks Security Dialog and adds things like “always allow”:

security_outlook2

 

Source 1: http://www.toodledo.com/
Source 2: http://www.mapilab.com/download/

Categories: Microsoft, Software Tags:

One step closer to digital nirvana…

November 23rd, 2009 bietiekay No comments

Thanks to a podcast I found a great software for my iPhone and iPod touch. It’s a small tool which does cost less than 3 Euro and it’s served by a server tool which runs on Windows and Mac OS X.

It’s called Air Video and it’s frikin’ awesome! ™

What you do is you install the server software and point it to all your directories / drives that might contain video material. You then take your iPhone and install the client app. If you configured the server to be available over the internet you can now connect from anywhere you want using a pass-pin (which is generated) and a password (which is set by you). And by “from anywhere” they mean “anywhere”. WLAN or 3g didn’t make any difference in my test. You start the client, point to a video file and most of the time you are asked if you a) want to directly play is (if the file is ipod-compatible) or b) if you want to live-convert it and play it (when the file isn’t compatible and needs to be re-encoded live for you) or c) if you want to add the file to a conversion queue which will off-line convert the video for you.

In terms of “finding your video” it does look like this:

Air Video

Simple, eh? Taping a video will bring up this screen:

IMG_0388

As I said – Play directoy, Play with Live Conversion and Offline-Conversion-Queue…

It did work with EVERY Video I tried. When I tried Full-HD Movies my serving PC wasn’t able to handle the load but everyhing in SD worked great which is perfect for me.

onwindows

Therefore I can highly recommend this tool – it really does work better than anything I’ve seen before.

Source: http://www.inmethod.com/air-video/index.html

Categories: Apple, Movies, Software, TV, networking Tags:

Finally Aero Glas!

October 29th, 2009 bietiekay No comments

Hurray for VMWare! – I am using their products for years now – both private and on my job. It’s a blast to work with the Workstation and Fusion. Now they brought a major update to version 7 for VMWare Workstation and version 3 for VMWare Fusion. I upgraded my VMWare Fusion installation and finally the one feature that I missed the most on my Windows Vista and 7 virtual machines is available now: Aero Glas!

aeroglasOh… and it’s faster too :-)

Source: http://www.vmware.com/de/products/fusion/index.html

Categories: Development, Software Tags:

a Visual Studio documentary

October 2nd, 2009 bietiekay No comments

There’s a great Visual Studio documentary on CH9. Highly recommended to anyone who wants to see what happened from the start till now.

“Welcome to the first installment of the Visual Studio Documentary.This is an hour long documentary that is split into two parts, roughly a half hour each. Welcome to part one, where we take you back to the days of MS-DOS and Alan Cooper who originally sold Visual Basic to Bill Gates back in 1988.  Next week we will feature Part Two but for those that would like to watch it sooner, here is Part Two. In addition, each week we will post a longer and more in-depth stand alone interview from the interviewees that were featured in the documentary.”

Source 1: Part I
Source 2: Part II

Categories: Development, Microsoft, Software Tags:

want some more expresso?

September 23rd, 2009 bietiekay No comments

Almost three years ago I wrote about this nice little Regular Expression Tool which provides not only a RegEx-Builder but also a clean and nice interface to test and play.

It was a CodeProject sample project in that time and as it turns out it became a full blown version 3!

Obviously the user interface was revamped completely:

expresso3 So you now not only get the Testing and playing but also a Regular Expression Library, a cool How-To, a more useable design mode and you can even output your final regular expressions to C#, VB.NET or managed C++!

Great stuff! Even better is the fact that it does not come at any costs. Despite the fact that there’s a registration you can just get your free license on their website.

Source 1: http://www.ultrapico.com/Expresso.htm
Source 2: want some espresso?

Categories: Development, Research, Software Tags:

a new version of Notepad++ is available.

September 22nd, 2009 bietiekay No comments

Great stuff this week: Notepad++ was released in  a new version 5.5. Nice new features all around:

notepadplusplus

Source 1: http://notepad-plus.sourceforge.net/uk/site.htm

Categories: Development, Software Tags:

this new Windows Resource Monitor…

September 22nd, 2009 bietiekay No comments

…is just great! A cool tool to find bottlenecks and the cause why your machine is just slow right now.

love_monitor

Categories: Microsoft, Software Tags:

APC PowerChute Business Edition and VMware Server…

September 22nd, 2009 bietiekay No comments

I’ve run into several problems while trying to install the current 8.1 version of the APC PowerChute Business Edition.

Basically I get this error message when I am trying to install it:

powerchute-novmware

So you can simply not install this version of PowerChute on this machine – OR you could go here and follow the link to the Download of the 8.0 version of the software. This will start the setup with this screen:

powerchute-novmware2

Great! Just get the “old” version and use it.

Source 1: APC PowerChute and VMWare

Categories: Hardware, Software Tags:

Welcome to the world of tomorrow!

September 20th, 2009 bietiekay 2 comments

So here we are on a new blog engine. It took me the better part of two days to do the Migration of 2,869 posts and 2,732 comments, a lot of pictures and movie files.

I will write an article on this but for now only two captures images from the migration:

php-xpath
yeah PHP rocks!

regex-magic 
had to do some regex action to do the url rewrites

maybe I should…

September 18th, 2009 bietiekay 1 comment

…switch this website to another weblog software in the future. The dasBlog development isn’t exactly what I would call fast-paced. It even seems that there was no movement at all for the last year at all regarding new features.

I took a short look at a current WordPress installation we did for our Developer Website at sones – and I have to admit that feature-wise this WordPress is way beyond anything I could achieve in dasBlog anytime soon.

sonesdev 

Additionally the fact that the skin of this site seems to be broken (especially for older browsers) I would have to do a skin-redesign – turns out that this is way easier in WordPress than it is in dasBlog.

Categories: Blog-o-Sphere, Employer, Internet, Software Tags:

In case of low performance: check your systems latency

September 8th, 2009 bietiekay No comments

I ran into some strange problems with a notebook that leaded to sound drop-outs or things like sluggish UI and HDD performance. So I tried almost everything troubleshootig the problem. That worked for some problems but there are occasions when I want to have a more systematic approach to those kinds of hardware / driver related problems.

One tool that can help to find hardware / driver problems is the DPC Latency Checker. This tool measures and displays the latency of your system. All you have to do is watch as the measurements scroll by and remove / disable one device after another from your machine. As soon as the latency turns green again there’s a high probability that the device you removed last has a problem of some kind.

dpclatency

On my machine everything is in the greens now – after some BIOS and driver updates. If your system has some issues you would see something like that:

cdrom 
(courtesy of Gnawgnu’s Realm)

Source 1: http://www.thesycon.de/deu/latency_check.shtml
Source 2: http://gnawgnu.blogspot.com/2009/01/dell-latitude-e6400-sound-problem-fixed.html

Categories: Hardware, Software, hack-the-planet Tags:

Useful tools: OnTopReplica

September 7th, 2009 bietiekay No comments

Normally I am using a notebook and a 24” Widescreen TFT as a Dual-Monitor solution. In fact I am mostly using the 24” TFT for work and the notebook 14” TFT for all the things that don’t need to be in focus right now like Instant Messengers.

Now in those few cases when a video needs to be played I want it on the main monitor but I want it to take as little of space as possible. And I want it On Top of everything else… maybe sometimes I even want to control it’s opacity a bit…

Now there’s this cool tool called “OnTopReplica” – It’s available for free on Codeplex and works out of the box without installation.

After you start it you’ll end with a small glas window where you can right-click to get a menu. You choose a Window which needs to be replaces – for example the YouTube Browser Window. After that you can even control which region of this Window should be displayed. You can resize, move and of course control the opacity of this window.

ontopreplica 

It’s also great for presentations because it allows you to simply resize any window you like. It will resize it and while it does that the window always is “live” – so everything you’re doing in the original window will be displayed in the replica.

ontopreplica2 

Source: http://ontopreplica.codeplex.com/

Categories: Software, graphics Tags:

making things up…

August 28th, 2009 bietiekay No comments

While trying out the new Mozilla Weave I came across the nice interface the guys built into their sync service. Funny messages included.

tehcloud 

Source: http://labs.mozilla.com/weave/

Categories: Internet, Riot, Software Tags:

How to remove a team project from Team Foundation Server 2008

August 10th, 2009 bietiekay No comments

Well, if you don’t want to have them removed just form your Team Explorer in Visual Studio you want to go to your Team Foundation Server Remote Desktop and open a commandline.

Change to the folder %program files%\Microsoft Visual Studio 9.0\Common7\IDE and do this:

tfsdeleteproject /force /server: "
"
Categories: Development, Microsoft, Software Tags:

cool new feature: reduce volume

August 10th, 2009 bietiekay 1 comment

When you start a Skype call WIndows 7 will immediately reduce the volume of all other sounds by a defined value. 80% is default. Great and useful feature!

volumedownoncommunicate

Categories: Microsoft, Software Tags:

the .NET Framework sourcecode release and how to unpack it…

August 6th, 2009 bietiekay No comments

It’s great to finally have the .NET sourcecode for debugging purposes – inconveniently it’s in a format you might have your difficulties just browsing along. A little tool is here to help!

After you installed, let’s say the WCF sourcecode and debug symbols you get a directory structure similar to this:

wcfsource

This source.zip.tmp file holds the whole sourcecode as one big package. It can’t be unpacked – even one would suggest that by just looking at that .zip ending in the name of the file.

Instead this is a plain-text file of a certain yet simple format. I wrote me a little tool to unpack this file into it’s original files and directories.

You can get the little tool, including sourcecode, here: UnpackMSSources.zip

To start the magic, you would like to go to the command line and start the tool with two parameters. Parameter 1 is the path and filename of the source.zip.tmp file. Parameter 2 is the part of the Path that needs to be cut-off. For the WCF Sources it’s “/DEVDIV/depot/DevDiv/releases/Orcas/SP/ndp/cdf/src/” for example.

The tool will then start to whirl through the file and extract all the files it founds into directories it’s creating along the way. After some seconds you would end with a directory tree like this:

unpacked

Have fun!

Source 1: http://referencesource.microsoft.com/netframework.aspx
Source 2: http://www.schrankmonster.de/content/binary/UnpackMSSources.zip

farewell Songbird

June 20th, 2009 bietiekay No comments

sonb

After not less than 3 and a half hour Songbird finished with importing the iTunes library I am using for about 6 years.

The first impression is: Cool, it’s got plugins!

The second impression is: Booh, it wants to restart (while stopping the music) to install!

It’s not faster than iTunes. And this is a sad thing, because the only thing I hoped it would be was faster. It’s not – the UI it’s as fast and responsive as iTunes’ UI – at best. With just a few clicks the whole songbird window went into sleep mode and the well known beachball came into the play.

Even worse: for some strange reason Songbird consumes considerably more CPU time while just sitting there and playing an MP3 than iTunes does:

songbirdcpu

18,7% CPU load used by songbird just by playing an mp3 (no filtering, no visualisation, no nothing)

itunescpu

2,3% CPU load for iTunes while doing exactly the same. Even the same mp3 was played.

iTunes even takes less memory… oh dear: A long way to go for the Songbird team.

Categories: Apple, Research, Software Tags:

taking Songbird for a spin (again)

June 20th, 2009 bietiekay No comments

Since my last Songbird experiences were not that great I thought it would be a great idea to take the newly released 1.2 version of Songbird for a spin.

It’s said that the new version is faster and more stable. I installed 3 hours ago and I still cannot use it since it’s syncing with iTunes ever since.

songbird

More on that topic when songbird is ready….

Source: http://getsongbird.com/

Categories: Music, Software Tags:

a new version of the TFS Build Status Screen

June 11th, 2009 bietiekay No comments

There’s an update of the beloved TFS Build Status Screen tool. And the most frequently asked feature is now built-in: Scaleability.

You can scale the status screen now to fut even on the smallest screens…hurray!

tfsst

Source: http://raquila.com/software/team-foundation-server-build-notification-screen/

Categories: Development, Software Tags:

getting System.ServiceModel.AddressAccessDeniedException in automated WCF Tests

June 5th, 2009 bietiekay No comments

We’re currently running several build processes. So each time someone checks new code in one of the build machines gets the whole package and builds it, runs tests on it and stores the result of this whole process on the Team Foundation Server. Great stuff so far.

Until you start to do things like automated WCF Testing. We’re using the selfhosting capabilities of the WCF to start a ServiceHost and then run tests against it. This works great locally. It does not on the build machines. Even if you promote the Build-Service User to Administrator you won’t get the love.

The error you might get would look something like this:

Capture

The exception contains an URL which tells you to add the Service URL to the machines URL Access Control List. On Windows XP and 2003 you have to install the Windows Support Tools and use the httpcfg command. On Windows Vista and 2008 you should use the already installed netsh commandline tool.

Since we need to get this to work on all current and future build servers I decided to add the netsh call to the build script, which looks like this:

” border=”0″ alt=”” src=”http://www.schrankmonster.de/content/binary/WindowsLiveWriter/get.AddressAccessDeniedExceptioninautoma_9859/Capture2_thumb.png” width=”400″ height=”109″ />

Add this Target before any tests in the .proj file and you’re set.

Source 1: http://go.microsoft.com/fwlink/?LinkId=70353

Categories: Development, Employer, Software, sones Tags:

small and reliable SFTP server for Windows

May 24th, 2009 bietiekay No comments

I had to transfer some data the last days and I wanted to do it fast, encrypted and using only one tcp port. SFTP is one of those protocols that come in handy in these cases.

Since the machine that would host the SFTP service is a Windows machine I reached out to find a free, reliable and easy to install and use SFTP Server.

Bild 1

I found Core FTP mini-sftp-server. It’s a small download of just one .exe file. When you start it up it’ll show the dialog above. You can configure username, password, port and path. Click “Start” and off you go. Works as advertised.

Source: http://www.coreftp.com/server/

Categories: Internet, Software Tags:

The Samsung UE46B6000 + Apple Mac Mini + Plex

May 6th, 2009 bietiekay 8 comments

So it’s been some days with the new Mediacenter Setup. And all I can say is: Oh boy that is some serious cool setup. I wouldn’t want to chance anything beside adding a new Sound System (>5.1 FTW!).

The Display itself is thinner than thought:

IMG_5394

I strongly recommend the Mac + Plex + Full HD display setup. Even if you don’t get any HD content from your cable provider you can live-stream or download HD content through the different provider plugins inside Plex. The plugin infrastructure with the built-in “App Store” is just great.

Since Plex is a XBMC based Mediacenter software you have tons of information scrapers regarding series and movies. So you’re eventually huge collection gets indexed and presented in a way you would not get from any other Mediacenter. You get pictures, movie posters, descriptions and many more just by automatic indexing your collection.

IMG_5404_2

MST3k FTW!

Needless to say that HD content is something different. I only had some HD content on normal computer displays in the last years – having it now huge and sharp is different – better.

BTW: It’s on the floor right now because my wife couldn’t decide until now which tv-stand would suffice…

Source 1: http://av.samsung.de/produkte/detail2_main.aspx?guid=b6c1306c-f57d-4ce7-a944-56cc7346ed2e
Source 2: http://www.apple.com/macmini/
Source 3: http://plexapp.com/

Categories: Apple, Hardware, Software, graphics, private Tags:

new GPS track analyzer found

April 25th, 2009 bietiekay 1 comment

My beloved GPS analyzer “GPS-Track” has been discontinued :-( I wasn’t able to locate an old version of it so I had to find a new tool which does the trick. On the other hand I upgraded my Windows Mobile phone to a newer version – resulting in the not-running of my previous gps logging tool. So I had to find another new tool.

First the GPS Logging tool:

It’s freeware, written in .NET and worked out of the box with my bluetooth gps. It’s called “GPS Cycle Computer” and has a lot of cool features like Google-Earth KML export, the obligatory GPX support and a great several display modes.

GPS-Cycle-Computer

The GPS Logger exports an .GPX file which then is imported into the Analyzer called “GPS-Track-Analyse.NET”. This tool – obviously designed to analyze hiking – allows you to view the data in different ways, edit waypoints and export it to several other formats.

Bild 1

Source 1: http://www.gps-freeware.de/Vorschau.aspx
Source 2: the previous GPS Tracker Tool I used
Source 3: the new Windows Mobile GPS Logger tool

Categories: Mobile, Motorsport, Software Tags:

If you want to backup and restore your stored windows passwords…

April 24th, 2009 bietiekay No comments

You might want to do this:

run

 

This will spawn a nice little dialog looking like this:

stored 

There you go – you can add, remove, edit, backup and restore your stored passwords. I didn’t know that was possible until now – amazing B-)

Categories: Microsoft, Software Tags:

sones portiert sein Speichersystem auf das Speichermedium der Zukunft!

April 15th, 2009 bietiekay 1 comment

Aufgrund neuester Entwicklungen im Speichermedien-Segment wird ab dem nächsten Release des sones Speichersystems auch das angesagteste Speichermedium der Stunde unterstützt: die Speichergurke.

Durch die sensationelle Speicherdichte und unerreichte Zuverlässigkeit ist die Speichergurke das perfekte Speichermedium für den Datenhunger von gestern, heute und morgen.

Source 1: http://www.sones.de
Source 2: http://www.speichergurke.de

Bugs Bunny

April 6th, 2009 bietiekay No comments

Welcome our newest office Member!

From the sales department with love:

006

Bugs Bunny

Categories: Development, Employer, Software, sones Tags:

Go little Mailserver, go!!!

April 1st, 2009 bietiekay No comments

Since we moved into a new apartment in the last 3 weeks I had no stable internet connection – neither had my private Mailserver.

As of today everything is in place – the mail- and fileserver is up and running and connected to the internet again. So I had a server which buffered all the mail that came in during that time. That sums up to:

Bild 3

63.671 Mails in about 18 days. Hussah!

Bild 1

Go little Mailserver, go!!!

Categories: Hardware, Internet, Reallife, Software Tags:

two times unfortunate stuff

March 1st, 2009 bietiekay No comments

First my Vista x64 machine at home seems to get slower by any minute it is powered on – most likely because one service is eating up all the installed memory:

5gb
(screenshot from Process Explorer)

I wasn’t able to figure out what’s the problem with it – restarting the associated services did nothing at all – killing it and restarting the services resulted in 5 gb of free memory…

And then there’s the other thing that happened this morning. We ordered a pile of 20 hard disks before christmas – and now 4 of them died.

business

Farewell you little 1 Tbyte hard disk – we never had the chance to get to know each other better.

Categories: Employer, Hardware, Software, sones Tags:

Configuring Build Triggers in Visual Studio Team Foundation Server 2008

February 26th, 2009 bietiekay No comments

We have several source-trees in one VSTFS project which are separated by paths in the source control. Now there are several build definitions which are triggered on every checkin.

The problem now is: How do I just build the projects that are affected by the checkin?

Easy! Just cloak the paths in the build definition.

buddybuild_cloaking

In the example: Every check-in below $/sones/branches and $/sones/PandoraDB is ignored and the code itself isn’t even checked out.

Categories: Development, Software Tags:

Jabber Logging Windows Service Sourcecode

January 27th, 2009 bietiekay No comments

I promised you the sourcecode of the Jabber Logging Client Service I’ve written. You can read about it here.

It’s now a fully blown Windows Service which monitors the EvenLog Datasource you specify. You can specify filters now so that you won’t get overwhelmed by uninteresting messages from the Windows Event Log of the monitored machine. You don’t need to restart the service if you changed a filter – it’ll pick the new filter up automatically. The same stands for the target users. Just change the XML and the Service will pick that information up. If you change the EventLog Datasource or the Jabber-Settings you’’ll need to restart the service.

So here it is: JabberLoggingService Version 0.2

If you’re going to use it and you like it please drop me a line. Oh and don’t forget to read the readme.txt for full instructions.

Oh I almost forgot: You can grab the Sourcecode of the Linux version here: http://www.ahzf.de/itstuff/XMPPLogger/

Source 1: http://www.schrankmonster.de/2009/01/22/UsingJabberToMonitorWindowsEventLogs.aspx
Source 2: http://www.schrankmonster.de/content/binary/JabberLoggingService0_2.zip
Source 3: http://www.ahzf.de/itstuff/XMPPLogger/

Categories: Development, Software, sones Tags:

the feeling of success

January 26th, 2009 bietiekay No comments

When your brand new build server compiles and tests your code automatically and successfully for the first time… oh what a great way to end the work day:

buildtests

Categories: Development, Software, sones Tags:

Jabber Instant Messaging Eventlog Service with Presence Information

January 23rd, 2009 bietiekay 5 comments

I found out what to do to get the Jabber Eventlog Service to display status information in the Jabber Client…

serverZ

nice, eh? ;)

Categories: Development, Software, sones Tags:

DPM 2007 problem – why can’t I install the Remote Agent?

January 23rd, 2009 bietiekay No comments

I tried to install a Data Protection Manager 2007 Remote Agent remotely and on the machine locally. Trying to install it remotely will always fail with this error message:

dpmfailed

 

Since “tfs” is the only x86 server we have and everything else including the DPM 2007 Server is x64 this is my only bet – but so far even the local installation (which worked) did not change anything. I installed the remote agent and did the console setup setting the dpm server. I then added the production server to the DPM 2007. But the error message remained. I just don’t know what else to do.

Any ideas?

Categories: Microsoft, Software Tags:

Using Jabber to monitor Windows EventLogs

January 22nd, 2009 bietiekay 6 comments

Like every company we also got several machines working just for our infrastructural needs like Sharepoints, Activedirectory, Databases, Backup-Servers and so on.

To monitor many machines we came across the idea to use Jabber Instant Messaging to monitor the machines. For example the VPN should drop a line to specified jabber adresses if someone connects or disconnects. Every single machine is maintaining it’s own log – which means you would have to consolidate them in some ways. And since consolidation is not the masterplan – since you would need an event alarm system which sends out alarm calls if something weird is happening, you would need that alarm system too.

So we wrote (while waiting for the machines to install) several small tools which provide a gateway between syslog-ng, windows event logs and Jabber.

Since we are using this productively my Jabber Client Window looks something like this:

psi 

As you can see there are 3 machines online right now – and since these are Linux machines they also provide some status information like load averages and free memory. The Linux version was written by ahzf in perl – and obviously his library can handle the presence and status information much better than the one I used for the Windows version :-) – So there are no presence and status informations for the Windows machines right now.

The Windows version is written in C# and relies on the Jabber.NET library. It comes with a small setup and runs as a windows service.

jabbereventlog_windows

In the setup you have to enter the username+password of a user that can access the local Windows Event Log. After the successful setup you need to edit the config file:

editconfig

It’s XML and quite easy to understand (I think) – so you define the jabber server, the user, the password, the Users that you want to receive the messages and the EventLog you want to monitor.

After starting the service you get the startup message via the jabber server and from now on everything that is written into the Windows Event Log is sent to the accounts you specified. Easy eh?

P.S.: sourcecode release will be after we packaged everything.

Source: http://code.google.com/p/jabber-net/

Categories: Development, Employer, Software, networking, sones Tags:

When x64 hasn’t quite arrived…

January 7th, 2009 bietiekay No comments

…I really thought that if I start using x64 only machines my live would be easier related to those resource hogs like SQL Server and Team Foundation Server. But I had to find out just now that obviously…:

 

tfsx64

Categories: Development, Riot, Software Tags:

Power Install Party

December 15th, 2008 bietiekay No comments

Hmm… setting up the new gear for the office infrastructure can be somewhat time consuming…

powerinstallparty2

Having relatively huge VMWare Server Host machines we’re power-installing all the virtual machines that are needed for your inhouse infrastructure…

Categories: Employer, Software, sones Tags: