Monday, 10 August 2009

Outlook and the orphaned shared private appointment

Had a bit of an issue this morning when 'someone' accidentally put a private appointment into a shared Outlook Calender thinking it was their own.

Once the (recurring!) appointment was saved no users of the calender were able to read, modify or delete the item - even the 'person' who put the appointment in there. How to fix?

I created a new Outlook profile for the user who owns the mailbox and then opened with Outlook 2007. Straight into the Calender and removed the appointment for this user, great, problem solved, or so i thought. Went back and checked the shared Calender with my profile and the appointment was still there, disappointing, still unable to edit it too.

After a fair bit of playing (cached mode, reopening the mailbox, creating duplicate appointments) I found a way to remove the item.

Open the mailbox through Outlook and salvage the appointment from the deleted items folder. Once it is back in the Calender, remove the "Private" status and then delete. This seemed to do the job but there was a fair bit of hassle, not sure if this is a 'feature' of Outlook and Exchange or whether it is meant to behave like that!

For the record we are running Exchange 2003 and the Outlook client was 2007.

Wednesday, 5 August 2009

Installing ESXi and XenServer on a Sun X6240

So here goes my first real (second technically) blog!

We recently took delivery of three Sun X6240 blades modules to slot into the rather loud Sun 6000 chassis. The plan for these AMD based blades is to be the corner stone of a new project that will enlarge our virtual infrastructure (scoped by my colleague Julian), with two hosting VMware ESXi 4.0 and one hosting Citrix XenServer 5.5.

All three blades were out of the box, had a 16GB RAM upgrade, fibre and network modules all installed within half an hour. Gotta love that, especially as the only screwdriver required was to pierce the tape holding the boxes together!




The original plan was to install two SAS disks in each server to install the local files required for ESXi and Xen. On booting the blades and accessing the system through the 6000 web GUI it became apparent that there was an issue with the local disks not appearing in the bios or being seen by either installation procedure.

After a bit of fiddling about, reading of online guides, viewing every menu in the BIOS, switching cables internally on the mobo and poking around in the SPP the disks were still not recognised by the installation. Eventually we found this page stating that the server required a REM card to use SAS disks....would have been nice if either our reseller had mentioned is this or if it was mentioned prominently next to the disks Sun website. Just for the record SATA are fine and need no additional hardware.

So, we had a dilemma;

  • Go back to the reseller, ask for a quote for the 3 REM modules required (subsequently found out they are about £250 list) and then to the boss cap in hand asking for some more pennies

OR

  • Try and install the ESXi 4.0 and Xen Server 5.5 on a USB key and place inside the server on an internal mobo USB socket.

Obviously the later option is more preferable from a technological point of view and we can state we have "saved money" to the management....

After digging around the office for a bit we found some USB key rings, two 32GB keys and one 1GB.

First up was Xen Server. Ran the install, all seemed fine. Rebooted the server, the splash screen popped up and then disappeared and the server rebooted. A little disappointed but some more Googling lead us to Virtualisation Review which describes how modify the boot partition on the installation...worked like a dream and Xen Server is now up and running.

Now on to ESX, similar installation onto the USB stick. Rebooted the server and received the following error message:

Panic: Cannot Get Disk Parameters.



Initial investigation lead to this page on Yellow Bricks, where plenty of people seem to have seen this error.

A fix was to take part of the VMware installation tgz file and write directly to the USB device using dd. Retrieving the stick from the blade and putting it into my handy CentOS installation we ran the appropriate commands, all appeared to install correctly so back into the blade it went. Booted and received the same error.

We then had a look at the BIOS (again!) as we thought there must be something simple that we were missing. Two options initially jumped out:

Under the Advanced IDE Configuration menu "SATA Controller 0" was set to Enabled



Under the "USB Mass Storage Device Configuration" menu the "Emulation Type" was set to Auto (other options are Floppy, Forced FDD, Hard Disk and CDROM)



Putting all our eggs in one basket both were changed, the first to "Disabled" for both disks and the second to "Hard Disk" (naturally).

Rebooted the server and as if by magic the ESXi's majestic yellow splash screen appeared.

Further investigation has shown that only the second change of USB emulation was needed to make the stick boot correctly. Perhaps the Xen installation wouldn't have required the extra modification if this option has been changed in the BIOS too....I suspect I will get around to finding out one day, and I'll be sure to put the findings up as another blog entry.

JW

Monday, 3 August 2009

Getting Started

I thought it was about time i started my own blog to document all the outstanding and amazing technical solutions that I do at home and work.


More realistically thought this blog will contain issues encountered, work-arounds and hacks that have been implemented and anything else that i think is funny or interesting.


JW