So… I took the decision to ‘upgrade’ to Windows 8, which works well enough but as I spend most of my time in the windows desktop, I really missed the traditional start menu and was relieved when a friend told me about some software from StarDock which answered my prayers…
Generally I think Windows 8 works well but it is clear that it was designed with one thing in mind… touchscreens. It may be a while until I can invest in a touchscreen laptop 🙂
Just thought I’d share this – I can’t remember how I stumbled across is but this app is just wicked. It allows really easy management of project tasks, collaboration and easy to see at a glance where you are.
They have iPhone/iPad/Android apps too and are really tactile and brilliant to use…and the best part….it’s free!
So, I was talking about the ‘iDiscovery’ application I developed in order to aide with database discovery, usage and also migration.
Continuing from Part 1 – using this categorised list of databases I had, I was able to delete a large number based on whether they had usage logged against them, and whether they had secondary replicas. Quite often I found that when users’ moved from one location to another, the ‘Move Database’ AdminP function didn’t actually remove the old replica, so this stayed dormant in most cases.
In our environment we use IIS sitting on top of the Domino HTTP stack along with the Websphere Application Server Plugin to provide single sign on with Active Directory. This means that in every person document there needs to be the AD username listed as the last item in the ‘Fullname’ field. Another good way for us to find stale users was to modify the iDiscovery application so it not only trawled the domino servers for NSFs, but also, to look up the database in the NAB to see if there was a matching person document.
To do this I had to modify the names.nsf and add a custom view. This isn’t something I do lightly as I am aware of the impact of doing such activities (performance, stability etc) but there was no other way to achieve what I was trying to do so I added a new view which had a first sorted column of a concatenation of MailServer and MailFile fields. I then used this view in the ‘discovery’ agent to lookup databases against. This function produced an amazing number of databases that should have been deleted by AdminP when the user was removed, but didn’t.
We used the same code to check for orphan mail archives and also found a lot of large databases that could be removed
So with these things in place we’ve deleted hundreds of databases and have already saved over 2TB of storage AND reduced the number of databases we need to migrate which was great.
Next things I’ll talk about:
- How we sync’d the Local Address Books for each user with the mail database in order for the migration suite to migrate them to Outlook Contacts.
- How we produced a list of each ‘Mail Distribution’ group and internet addresses of each member (trying to exclude groups used to provide access to notes databases, admin/system groups etc)
- How we produced a list of each generic mailbox (i.e. email@example.com) and who had access to them.
So….in preparation for mail migration, we needed to catalog our entire Domino estate as when the mail migration project was completed, the next task would be to move away from the Lotus Notes Client.
We really had no idea how many databases were in use or even how many we had. I looked into some third party apps – namely a Cooperteam application which scanned through servers, collecting data on the databases and produced some good reports as to the complexity of the applications and type/category of applications etc. It was a top product and we would have gone down that route had it not been for our budget, which was near to nothing.
So I thought I’d develop our own, and it was a good job in the end as the app ended up being customised quite heavily to accomplish a number of other requirements.
The iDiscovery app had an agent which ran every morning in the early hours and catalogued the server, it would check if the database had been logged before, and if so, it would just update the bits that may change (size, usage info, document count, etc). If it was a new database it would log all the details required and also create an alert. The agent automatically categorises the databases based on location, and/or template name.
I had this iDiscovery database replicated to each of our servers and set up replication settings so only the hub server was set to hold data for all servers. This was then used for reporting etc.
From this data, we then knew how many apps were using ‘out of the box’ templates, how many were custom applications and based on the number of design elements etc, a complexity rating (albeit crude). We found a number of users had replicas of their mailbox in multiple locations so I then added a lookup to a custom view in the NAB to allow the app to determine which is the ‘Primary Replica’.
We began a mail migration project from Lotus Notes to Microsoft Outlook in May 2012. It was a bit of a mission as the company have had Lotus Notes for around 15 years, and Lotus Notes & Domino does have a habit of entangling itself into businesses due to the worklow and collaboration capabilities.
The planning phase took a few months and I ended up creating a bespoke discovery application that would facilitate a smooth transition from Domino to Exchange. I will blog more about this application in coming posts as I think the tasks it accomplished will be common to other Lotus Domino migration projects.
We have domino servers in Europe and APAC with multiple mail servers in all regions. Once we understood the number and size of mailboxes, it soon became clear that the migration process would be impossible with the migration tools that were installed on servers in the Exchange datacenter in the US. The WAN link between the migration tools and the domino servers in some cases just would not facilitate the load. To get us over this, we did two things:
- Implemented a strict 30 day archiving policy in order to reduce the file size of some of the mailboxes.
- Created replicas of the mailboxes to be migrated on a new domino server that we built alongside the exchange servers and migration suite.
The 30 day archiving was done using the built in policy based server archiving in Lotus Domino. It was pretty straight forward although I found a few ‘gotchas’ along the way, may well blog about these later too.
The creation of replicas wasn’t as easy as it sounded due to the sheer volume of data and the disk space available, although the saviour here was LZ1 Compression, DAOS and De-Duplication.
Until the next time…
Sublime Text: The text editor you’ll fall in love with…and I really have!
I always used to use e-Text Editor on the windows platform as it has a great multi-line selection facility to allow multi-line editing (as per Textmate on Unix). Sublime 2 has taken this way further and it just seems so quick and simple.
To get you started – Tuts+ have made a Sublime 2 video course of theirs available for free!
Fancy being able to use a custom status on OCS? Well I looked on the web today to try and find out how and if it was possible to do this (as it was ‘out of the box’ in Lotus Sametime).
Thankfully it is possible but wasn’t quite as straightforward as it seemed so I thought I’d write this a) for you and b) for me (my memory is atrocious!).
First, open your favourite text editor and paste the following:
<?xml version="1.0"?> <customStates xmlns="http://schemas.microsoft.com/09/2005/communicator/customStates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://schemas.microsoft.com/09/2005/communicator/customStates http://livecommteam/sites/main/ice/Wave%2012%20Docs/CustomActivities.xsd"> <customState ID="1" availability="online"> <activity LCID="1033">Working from Home</activity> </customState> <customState ID="2" availability="busy"> <activity LCID="1033">In a Live Meeting</activity> </customState> <customState ID="3" availability="busy"> <activity LCID="1033">Meeting with Customer</activity> </customState> <customState ID="4" availability="do-not-disturb"> <activity LCID="1033">Interviewing</activity> </customState></customStates>
Save this somewhere (I used c:program files (x86)microsoft office communicator) as presence.xml
Open Regedit and open:
Look for a Communicator key and if there isn’t one, create it.
Under [HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftCommunicator], create a new String with name: CustomStateURL and value of:
file://c:program files (x86)Microsoft Office Communicatorpresence.xml.
If you want the option to appear offline also, add a DWORD with name: EnableAppearOffline and value of 1.
All the above info is freely available on the net and easily found, however it didn’t work without the following, add a new DWORD with name EnableSIPHighSecurityMode and value of 0.
Restart OCS and bingo.