Archive for October, 2006

Home SysAdmin tasks

Saturday, October 28th, 2006

So I haven’t had much time recently to be doing sysadmin tasks that are needed on my personal systems. I have spent the past couple nights working on my systems.

The other night I got lvm up and running. I blogged about that in detail the other night.

Last night I got all my systems patched. Ran windows update on 2003 Server and my XP home system (both running under vmware). I have Windows update set to check for and download patches at 3 am every night. I am leery of having them installed automatically.

I discovered I had some spyware on the XP system (surprise surprise). So I did an update of Spybot and ran a full check. Also installed ClamWin on the XP system. Doing a full spybot/virus scan now.

I plan to automate the spy/virus checks and will write up how I do it and put it here and on my site.

Hmmm I think I’ll wait

Saturday, October 28th, 2006

So after reading http://element14.wordpress.com/2006/10/27/ubuntu-edgy-upgrades-a-disaster-for-many/

I think I will wait on the update to Edgy Eft. Of course people complaining like this shouldn’t have rushed out and updated their production system right away :) Gotta love VmWare. I should update my Edgy Eft beta 2 system and see how it works.

Motivations

Friday, October 27th, 2006

So the other night I got to thinking about why I am working on the OSER project. No one pays me. I have people interested in it and helping with it. But there really isn’t a “traditional” driving force behind it. No one person or entity requesting it. No deadlines. Etc etc etc.

When I first started the project I was 17 years old. I had just finished up a 6 month project helping OpenOffice/Gnumeric and Koffice with there excel file format functionality. Why did I do this? Well it started out by scratching a personal itch. I wanted to read an Excel file under Linux. I think it was for some sort of school project. I don’t remember. Anyway I looked at several solutions and finally found the most usable. It was a command line program called xlhtml. It was useful but lacked a documentation and functionality. So I got the source and started hacking on it. That led to my taking over of the project and a detailed and intimate understanding of the problem space that was compund/structured storage formats (the envelope) and the excel file format (the letter). I spent a good six months working with the OpenOffice and Gnumeric teams producing a number of artifacts including file format and encryption methodology documentation. I stopped working on the project for two reasons. Number 1: I got my first job doing grunt systems administration work. Number 2: VBA streams. This was a nut that I just couldn’t crack. I worked with some of the worlds best coders to crack it and was unable to. (It was later reverse engineered by members of the ClamAV team and a crack team of security engineers. I belive that Microsoft may have provided some documentation and assistance but I am not 100% sure of the fact).

So a while later I wanted to get more involved with the community. I sat down and thought about what was missing. I had done this once before which led to my first open source project Slidedraw. That was a presentation graphics program written in TCL/TK. This was soon superseeded by the fully open source release of StarOffice (open office). I also hacked on an access replacement for a while and assisted in documenting the access (mdb) file format. However those are stories/posts for another day.

Well I saw that there wasn’t alot missing from the average user perspective. So I wrote a windows to linux conversion guide. It was fairly simple. Basically a table with common Windows (actually only Microsoft) programs and the open source equivelents. At the time there were some gaps (like publisher for example). These have sense been filled. The table I wrote appeared over and over in various guides the most notable being the IBM Linux migration guide. I never received any credit or requests to use the material but thats ok :) It was hardly original or unique.

So I then said ok. What is missing from the server side. And I saw that an Exchange replacement was needed. So I set out looking for one. I found a lot of people asking for it and some howtos and loosely scattered notes on how to go about this mythical task of building an Exchange replacement. Well I tried doing some of that. I tried a whole bunch of things. Some of what I read was widly innaccurate or incomplete. In fact most of it was. So I stepped back and went to the source. microsoft.com/exchange. At this time Exchange 2000 had been released. So I sat down and enumerated the functionality and features offered by the project. Based on this and the existing documetnation/research I had done I developed the initial scope of my project. A lot has changed since then and I must write about it sometime.

However tonight I am writing about my motiviations. (For the writers of you out there yes this is a transition point and yes I should probably have come to it earlier. I need an editor. Any volunteers? :)

My original motivation was to fill a gap. I wrote about that in detail above :)

Then my goal was to compete with Microsoft on a toe to toe basis with Exchange. However I realized that this wasn’t really viable. Sure maybe I could underbid. Utilize off the shelf components vs doing everything myself. However at the end of the day it would just be a brown mouse trap instead of a blue one. Still a mouse trap. Still a product to manage your schedule/contacts/e-mail/todos. Nothing more.

However there is more to information management then that. When you sit down and think how information is managed you realize there are serveral parts to it. E-mail and scheduling etc is just one part of your day. The biggest part is interaction. The information itself just supports/guides that interaction.

So then my goal was to compete with Google in the information management space. Well more specifically the Google appliance and other things Google has aimed at the individual. See I don’t want to manage the worlds information. Just mine. And if you can use my product to manage your information thats great as well. If you want to pay me to implement the system so you can focus on what you do best then even better.

So I came up with a 2 part product plan:

1. Sell an appliance
2. Sell hosting

(And of course reselling of the above).

And I set out to build an appliance and software stack. Combining all the various elements of information and workflow management together.

Now I am having a ball learning about all the different technologies and pieces and how they interact. So my current motivation has nothing to do with money or competition. I simply want to learn as much as I can about Linux/LAMP/Wikis etc etc etc. And of course don’t forget reverse engineering. And building an active directory replacement. Also integrating voice into the mix. I have enough things to provide a hobby for the rest of my life :) (The best thing about this hobby, is that it doesn’t take up a ton of space and doesn’t cost money beyond overhead). How cool is that?

(I think that would make a good first chapter of a book. Mmmm)

LVM Stuff

Thursday, October 26th, 2006

I am recording this before I forget….

(Based on an article found here

Current/pre LVM server disk configuration:
/dev/hda1 15 GB (Root partition)
/dev/hda2 25 GB (Unused)
/dev/hdb 60 GB (Unused)
/dev/hdd 200 GB (Current data partition)

LVM Configuration (stage 1)
/dev/hda2 and /dev/hdb combined into one logical storage pool
(Stage 2 will be adding the current data drive once data has been moved into current storage pool).

Current (post LVM) server disk configuration:
/dev/hda1 15 GB (Root partition) [not going to do LVM root partition]
/dev/storage_pool/charles_home (15 GB home directory. Moving my non vmware/media
files into it now).
/dev/storage_pool/patti_home (15 GB home directory for patti. She will move her non
media files into it as well).

This should be enough for one night :)

Development Environment Update

Monday, October 23rd, 2006

I am rebuilding my Exchange environment. I had 2003 installed and am in the process of upgrading to 2007. Evidently I didn’t set either exchange or AD up in native mode. I have now fixed AD and am in process of reinstalling exchange 2003 and converting it native mode.

I am now officially dangerous

Monday, October 23rd, 2006

I have in my posession the

Windows Power Shell
(code name Monad). I am not afraid to use it.

It includes some very dangerous capabilities for scripting maglomaniacs (with server/network world take over/automation asperations) like me :

And I quote:

This Release Candidate 2 of Windows PowerShell addresses numerous customer requests including Direct ADSI support to allow IT Pros to more easily administer Active Directory and improved support for Windows Management Instrumentation through ability to change WMI properties via methods.

Me likes it. I can do pure shell scripting and no more of this vbscript stuff. I mean don’t get me wrong vbscript is cool and all. But its a royal pain to debug. I have often complained (to my computer) Give me decent tools Microsoft! Well they have clearly listened.

Current Score: Windows Power Shell 1. Bash: 0.

Calendar Server Evaulation

Sunday, October 22nd, 2006

I am currently in process of evaulating a calendar server solution. I have before me for consideration:

  • Bedework. This is a rewrite/rearch of the UW Calendar server which has been around for a good amount of time and is considered by many to be the de facto standard for educational sites. It is also the only open source production ready implementation of CalDAV I am aware of. Speaking of educational sites I have had 2 10,000+ student universtiys contact me in regards to deploying OSER at there sites. One of them I am in advanced talks with. It kind of died down over the summer but I plan to pursue it now that school is back in session.
  • Sync4J. While this doesn’t host calendars over the CalDAV protocol it does offer them over SyncML and supports mobile devices and Microsoft Outlook as well as being developed by a company I can turn to for support. I have been investigating adding a CalDAV plugin to it.

I have looked at a number of other solutions and they have been eliminated. I am thinking of integrating the two items above via a loosely defined coupling (most likely a CalDav plugin for Sync4j). If anyone would like to help with this effort (money/time/ideas/code/documentation etc) please contact me. I am working with the OpenConnector project and plan to deploy that as the client plugin solution for OSER. So I need a solid calendaring solution for OpenConnector to back into.

I envison auto provsioning OpenConnector via Samba/Group Policy Objects to XP systems joined to an OSER domain controller. Utilizing profman and things of that nature. (Don’t worry if you don’t understand that :) Its aimed at the Windows people reading this who want to get off of Exchange.)

Website Update

Saturday, October 21st, 2006

I have made some more updates to my website. Fixed some spelling errors and other minor edits. I will be working on the VmWare outline this evening and post it tomorrow.

Getting back in the Game….

Saturday, October 21st, 2006

So I am in process of getting my OSER development environment back online. I have added another gig of ram to my server and am now running concurrently under VmWare:

  • Windows 2003 SP1 and Exchange 2007
  • Windows XP Home SP2 and Outlook 2003/Visual Studio 2005 Express Edition
  • Debian Testing

The Windows 2003/Exchange 2007 system is my reference model. I have an Exchange account setup and will be doing some network traces today between the XP/Outlook system and the Exchange server. These will then be fed into NetDude for further analysis. I will also be using the OpenChange Mapi KB Portal. The OpenChange project had a lot of potential but is in reality a cathedral masquerading as a bazaar. However they have produced a few useful tools and I plan to use/exploit them as much as possible.

Debian Testing will be hosting the new fully open source (real bazaar) MAPI server code. I have written about this at length in the past on this blog and other places online. Feel free to search for samba/mapi/freedce for a summary.

Thats all for now. Will write more later this afternoon.

New Office

Tuesday, October 17th, 2006

I am posting this from my new home office. Yesterday, my wife Patti put together the desk we bought over the week end. Its a really nice desk. I can’t find a link for it at Ikea’s site. :(

It has 2 cubes on the left bottom side created by an adjustable height shelf. It has 3 drawers on the right. The top on is small and will have my office type supplies. The middle one is medium height. Haven’t quite figured out what to put in there. The bottom one is for holding files.

The desk surface is flat. No hutches or anything of that sort. I will be taking a picture of the desk later.

I have also wanted to write about my “portable office”. Phil Hughes (editor of Linux Journal) wrote about his a while ago. I am unable to find the link for it now. When I find it I will post a link to it and write about my “portable office”. Stay tuned!