Tag: Tech

Get AD site name on Locked Down XP System

Everyone on the web seemed to point to

Found myself on a locked down XP system needing to get this programmatically and came up with the below

Not fast but it works reliably to date

XenDesktop 5.5 Second Hard Drive

So running my first Citrix XenDesktop 5.5 Deployment, Did the pilot and the design on 5.0 SP1 but when 5.5 came out the first day i saw no reason not to jump straight to 5.5. As i work for a software development company the requirements for developer are quite high so we took some careful consideration when designing the environment as one must when every user us utalising their own Oracle or MS SQL Database plus some JBoss and Eclipse thrown in for good measure.

Long story short we split up the system to a C: and a D: drive for OS and installs respectively, All well and good, nothing in any of the citrix design guides i read saying this wasent possable? XenDesktop just links into VMware and esentially clones the VM right? Wrong! think its best summed up by the one line i got from Citrix support

The Machine Creation Service will always recognise only the first drive, if you require desktops with multiple drives you would work around the MCS by using PVS to stream disks, use partitioning, or manually add disks after MCS has deployed the VM’s.

Thanks Citrix…..

Limit Apache Bandwith Debian

Install and Enable the mod

Apply config to vhost

Restart Apache

Install Crowd Apache2 Module

For all those who use Atlassian Products such as Jira or Confluence, you may or may not be familiar with Crowd now for anyone using Jira and Confluence it can allow you to use your existing user DB for multiple other systems, Personally i use it as a client access database to keep external users out of my AD database wherever possible while allowing internal users to still access these systems with their AD accounts.

With the right plug-in’s you can hook the system into pretty much everything, the most flexible one is the Apache 2 module, personalty i use it mostly as i had endless troubles getting recursive sub group lockups working with the free Apache modules floating around.

If you need to use a proxy, set it now

For Debian just copy and past the commands below, for other Distrobutions you will need to install the equivalent packages

Then to download, install and build the required modules the commands below should work.

From Here the Atlassian Article Integrating Crowd with Apache is the best place to go

Debian: Upgrade Svn 1.6.1 to 1.6.3

My Previous post Subversion 1.6 on Debian Lenny has been quite popular! So i thought i should post this next snippet for people, Its the process i used for upgrading my 1.6.1 setup as detailed in the previous post to 1.6.3.

The previous post pulled packages from the experimental branch, This one pulls from the Sid (unstable) branch as it is more up to date then experimental.

Below are the commands i used for a 64bit OS, dont have any 32bit SVN servers lying around anymore so i don’t have a system to work out the require 32bit packages but in theory it should be as simple as changing “amd64” to “i386” in all the URL’s below

You will need to restart Apache after the upgrade

Subversion 1.6 on Debian Lenny

Currently the Version of Subversion in Debian Lenny is 1.5.1, there are a few bugs in this that could be show stoppers if you are using a write through proxy setup for your SVN Repo’s as i have. There are two bugs that keep cropping up, one that is solved in 1.5.5, the other in 1.6, however if you want to use debian packages the easiest way i have found to install them is as follows

Update 1: Few people are having problems, this guide assumes your running lenny with the default svn packages already installed, to do this try running the command below to install the latest version from apt (1.5.x as i write this) including the required Apache modules

Update 2: New post on how to extend this guide to go from svn 1.6.1 to svn 1.6.3 – Debian: Upgrade Svn 1.6.1 to 1.6.3

Update 3:This post was originally just some notes for me on highly critical production servers that all had to be running exactly the same versions and i had to have a very controled upgrade, However google sends a few hundred people here a month! So i thought id include the better general way that has been in the comments for awhile

Update 4: Guide now available for SVN 1.7

The best way are the commands below.

Original Post

32Bit

64 Bit

Hidden VMWare ESXi Console!

This little hack allows you to run commands directly at the server itself and is very handy for doing things like enabling SSH in inetd.conf. First thing first. This only works on the fee based version not the free one and you must be sitting at the server and not RCLI.

  • Step One: At the server console type ALT-F1
  • Step Two: Now you’ll just see basically a console log with no prompt. Don’t sweat it! Just type: unsupported and hit enter. This does not echo back so you will not see your input.
  • Step Three: Now a big scary tech support warning will pop up. Just laugh it off and enter your server password at the prompt.

And you’re in! I really just do this to enable SSH but I have also used this to edit etc/hosts to rule out DNS issues.

From NetworkWorld

Install VMware Tools – Debian Lenny

Quick tip for anyone running Debian Lenny under VMware. As the tools were open sourced you can now find an implementation in your apt tree. Although personally i haven’t seen a quick and easy guide floating around.

Run the fowling as root

Update!: If you are getting out of date tools in your vmware see this comment for an explination

Sydney Apple Store

Yes i was one of those in line for over an hour waiting to get in to claim my free t shirt. This was rather disappointing when i ran into a few friends who didn’t join the line till after it opened and still managed to grab a T-Shirt. They were still handing them out when i left. at time of writing there is already three on ebay, one currently going for $90.

Sydney Apple Store

So why did i brave the crowds? My excuse was that i work less the 100 meters from the new store so i couldn’t Not go could i now? Due to Apples Cult like fowling they don’t need to advertise events, the media does it for them. One MacTalk Forum member got interviewed over 15 times while waiting in line. Not such events are truly complete without a good Bonehead. I felt it only right that i should facilitate this factor.

Apple Store BoneHead
Click for Full Video