Imposing Order...
Category Lotus Notes Global Catalog
Bookmark :
Bookmark :
During a recent engagement, a particular client had an issue where they would bill for Lotus Notes applications hosted on their environment. (Charging for server disk space is a good way of ensuring that applications dont hang around on the servers after they've stoppd being useful). However, there was little faith on the catalog.nsf database containing all items, and little appetite for a globally replicated solution. So how can you do this ?
- Start off by writing an agent which sends 'sh dir -xml' to all servers' consoles from LotusScript. This returns the server directory as an XML stream, and is extremely fast. It also causes very little load on the target server, and little network load.
- Parse this XML into memory (which in LotusScript is pretty horrible) and build up a memory structure (using Lists and Classes) which bind individual databases together (using Replica ID).
- So by this time, we now have a very up to date directory listing on all servers. We can now impose order. For instance,
- if its a mail server, and the database is in a 'mail*' directory, then its a mailfile..
- If its on an application server, in the 'apps' directory, then its an application.
- If an application has a second-level directory, then its a complex application comprised of more than one database.
- If its on a hub server, then its on a globally replicated application.
- Now spit this out as an Excel spreadsheet. Ah. Now only an insane person would wish to load a copy of Excel onto the server, so the scheduled agent can construct an actual excel spreadsheet. So spit out a CSV (Comma Separated Values) file. most office/openOffice users associate *.csv with the spreadsheet program.
I guess it boils down to having decent standards for your mailfile and application deployments.. How do you do yours ?








Comments
Posted by Karl-Henry Martinsson At 19:56:11 On 30/06/2008 | - Website - |
Ummmmmm... why not? Even when something is told not to be in the catalog, it's still in the catalog. It's just excluded from most of the selection formulas.
Posted by Nathan T. Freeman At 21:04:59 On 30/06/2008 | - Website - |
@2. You and I both know that..
---* Bill
Posted by Wild Bill At 21:33:07 On 30/06/2008 | - Website - |
Posted by karl-Henry Martinsson At 13:11:14 On 01/07/2008 | - Website - |
---* Bill
Posted by Wild Bill At 23:45:27 On 02/07/2008 | - Website - |
- is an email file somewhere else than all the others
- is there a nsf in a directory where emails are that is no longer associated with a name entry
- Add scanning of the ACLs to the picture and you might get the "owners" too.
Posted by Stephan H. Wissel At 16:12:47 On 03/07/2008 | - Website - |
See also, "why I don't run Domino on Windows any more" and cross reference with "why I tell users to shove it a lot more now."
Posted by Turtle At 05:33:43 On 13/07/2008 | - Website - |