My External Memory

Mapping templates on my thumb drive under the NotesData directory.

January 12 2010 09:03:55 AM
Call me paranoid, but I just don't like leaving my development tools and notes templates that I've built over the years on personal time, or at other jobs on my current work computer.  I still need access to them though, as I have built up quite a little knowledge base for myself.  Paltry by other people's standards I'm sure, but important to me nonetheless.    It's not that I don't trust others that I work with, as I'm the only developer here.  It's just a really political environment, and you never know when they'll be sending the 'box brigade' around to pack someone up and toss them out.  

I usually keep these templates on a separate thumb drive and just navigate out of Notes Data to access them.  It's been a pain, but nothing worth spending any time thinking about.   It occurred to me that on all my servers that I simply map the external san drives as a subdirectory under NotesData when I need more space for something.   Regular old shortcuts don't do the trick in Windows, but maybe you could map a drive to a subdirectory.  I've been running windows for years and never even bothered to try.  Lo and behold, you can and it's fairly pain free.

1.  Create a new subdirectory on your computer under your NotesData directory.

2.  Right-click on My Computer and select Manage from the menu.

3.  Click Disk Management on the left under the Storage category.

4.  Right-Click the drive you want to map to the directory you previously created and select Change Drive Letter and Paths.  A box should open, and then you click the Add button.

5.  Select Mount in the following empty NTFS folder, and use the Browse button to navigate to your folder.

6.  Click OK when needed to navigate out of the dialog boxes.  Verify  in Windows Explorer that the contents of your thumb drive now show up in your new NotesData subdirectory.

Notes deployment

January 6 2010 09:55:51 AM
Per IBM recommendations, and borrowed from www.andypedisich.com.  Here for my reference, as I need to throw away the printed piece of paper I'd been hanging onto.

1.  Use Multi-user client install as default unless unique situation requires the users to switch ID and maintain the rest of the desktop

2.  Seamless setup on first startup.   Include the redesign of the mail file with desktop policy.

3.  User ID fetched from ID Vault

4.  If migration step needed, use startup utility with script.

5.  User settings and data populated through roaming user.  Makes easer to manage core config, and restore data after workstation failures.

6.  Notes settings driven through Domino policies.



Those silly cluster commands I only use once a year

January 6 2010 09:51:58 AM
Notes to self...

Show status:  Cluster Resources

turn off resource:  i.e.:  Cluster iPrint offline, or Cluster iFolder offline

Cluster iPrint online, etc.


To turn off and restart:
cluster leave
cluster join


For that pesky ifolder, a quick restart script:

------------------

#!/bin/bash
echo "Stop Apache"
rcapache2 stop
echo "Remove temp files"

rm -rf /tmp/.wapi
rm -rf /tmp/mod_mono_server*
rm -rf /tmp/wwwrun-temp-aspnet-0/

killall mono
killall simias

sleep 10
echo "Starting Apache"
rcapache2 start


Sync your Gmail Contacts with Thunderbird Address book

January 5 2010 12:57:30 PM
I'm terribly cluttered when it comes to keeping track of addresses and phone numbers.  It's not my fault.  I use WordPerfect,  Lotus Notes, Gmail, and a Moto phone that I can only push contacts to it via it's Moto Tools software.

In Moto's defense, I can sync my Notes contacts with it's address book.  Pretty slick in fact... when the software want's to recognize my phone.  It's buggy as hell, and has never worked acceptably on MS NT, XP, or Vista, through my V400, V600, or A1200 motorolas.  Then getting all that to my WP address book?  Don't even bother, I've had enough of tinkering with that.  I've had it working, but don't remember how.



In my quest to be more productive, I think I'll be moving to an Android based phone.  I love my A1200, it makes great calls and the clamshell design is superior to those candy bar phones.  I really have no complaints.  If only it had wifi, and I could get away from the crippled motorola linux.

Ok, I'll admit, I've had it 3 years and I want a Droid.   I'm not completely sold I NEED a new device.  I'm still feeling a bit burned from my Palm T3 that has sat in a drawer for five years now that didn't live up to expectations.

Regardless,  the first thing I needed to do was start organizing my Address book.  For that, I found 'Zindus', a google and Thunderbird contact sync tool.  You just add it as a plugin to Thunderbird, and start adding and syncing all your gmail addresses.  It's a mess, but I'm getting there.

Search your Lotus Notes Mail Journal archives

December 22 2009 12:55:44 PM
Part 1 of 2

The ability to archive all mail traffic with mail journaling is a very powerful tool that can be used either by a private company to monitor mail, or perhaps a government agency that is required to keep all mail for Open Records purposes.  In addition, it's a lot easier to go through mail journals from a document production standpoint if you're involved in a lawsuit, than it is to go through hundreds of individual user mailboxes.  This assumes of course that your organization has determined that it's best interest is to maintain this documentation, and you have some kind of document retention and disposition schedule in place.

As you probably know, by default the journaling process encrypts the body and recipient fields in the mail documents when journaling, and can only be accessed with the proper user id that contains the encryption key.  While this is great for super tight security, it's a bit overkill for many situations where  you need to search across multiple archives, and a tight control of the mail journal ACL would suffice.  The following procedure is an overview of what I've done in my organizations, but you'll need to weigh the pro's and con's and determine if it would be appropriate in your situation.

1) You will need to set this up on a server that isn't mission critical if possible.  Your mail archives and their corresponding indexes will take up a whole lot of space, and you might want to consider some expandable storage.  Security may be an issue and you may prefer to put this on a server that only certain administrative folks have access.  In addition, with hundreds of mail archives you probably don't want this on your production mail server as they consistency checks on a restart could take an uncomfortable amount of time (See the 'Fast Restart' IBM Technote as it may help if you can't run another server).

2) If your just setting up journaling, or modifying a current environment, the first order of business is to ensure you are archiving all mail, and that the fields are not encrypted so that the server can index those fields for Full Text search queries.


Exclude fields from encryption that you will want to search.




Set up your mail rule to journal all messages.
See your Administration help for specifics.






3) After journaling is set up the way you want it, you'll need to update your journaling template, and then unencrypt all your old mail archives so that the server can index them.
- Replace the design of your mail journal db with the custom template you can download below  that is based on the R8 journaling template.   Make sure that  you select the properties "List in db Catalog", and "Include in multi-db indexing".


4) Copy all your mail journals to a subdirectory in your Notes Data directory (for organizational purposes) and the run the designer process on the server console to update them (load design).



5) Log in with your Journaling ID that has the authority to read the mail documents (has the encryption key), and one at a time go through the databases and unencrypt the docs by clicking the 'Process Encrypted' view, selecting all the documents and clicking the 'Unencrypt' button (as shown in the picture below).





This is tedious and will take some time.  I suggest doing this on a secondary workstation as it will be tied up while the agent works.  In one instance, I had over 200 databases to process, and it took me a week and a half of off and on attention to it to get this done.

Note:  I suspect there should be a way to give your server ID the encryption key from your Journaling ID, however I was unable to find anything in the Notes Help databases.  It would sure save some time by eliminating the task of processing all the documents.

6) Under domino administrator, select all the journaling databases and modify the ACL (Access Control Level) to include the current server, as well as any relevant employees that need to Read this database.

7) Run the domain index process.

8) You should now be able to go into catalog.nsf, and if you are an authorized user, click on Domain Search and run a multi-db query on all of your mail journals.  Pretty slick huh?    Except that now you'll notice that as fast as a multi-db search is, you can't search by specific fields (ie From, or Sender), and the results are not in any useful order.  Additionally, you can't grab the results and throw them into another container/mailbox for production purposes.  The multi-db domain search is still very handy for getting just a few narrow results, but for advanced needs we now need to build on it and actually do something with our search results.

->Part Two: Advanced Actions Coming Soon...

Download custom template    

Rebuild the Domain Index for the Domino Server

December 22 2009 12:35:57 PM
Lotus® Domino® server's Domain Index needs to be recreated due to corruption, or other reasons.  

From the admin client, verify the desired databases to be indexed have the properties 'List in Database Catalog', and 'Include in multi-database indexing' selected.

At the domino server console type:

tell domidx q

Navigate to the domino data directory and delete ftdomain.di directory.

From the Admin client, delete the catalog.nsf from the files view.


Restart the Domino Server.  If your catalog isn't already set to run in your Notes.ini, type:

load catalog

To speed things up, you can go into the server document, change 'Server Tasks -> Domain Indexer ->Repeat Interval of' to a shorter indexing interval.  You can verify with Show Schedule at the console.

Note that the domain indexing process can take a considerable amount of time to create, and the server will be taxed heavily.  You may need to temporarily stop any server tasks that aren't critical until finished.

You can verify the database is indexed by going to the admin client, opening catalog.nsf and moinitoring the domain indexer status.  When everything has indexed, don't forget to go back into the server document and lengthen the indexing interval so as not to unnecessarily use resources, and re-enable any tasks that were temporarily terminated.

Lotus Rooms and Resources Manager - fix busytime.nsf issues

December 17 2009 04:10:09 PM
Most issues with the Reservations database can be tracked down to duplicates, improperly removed rooms and resources, or a corrupt busytime.nsf database.  Verify that your resource names are correct, and that they are no longer in the 'mail in databases' section of your Address book if they have been deleted.

A corrupted busytime.nsf database can take quite some time to rebuild depending on how big your reservations database is, so look for other problems first.  

- You may have users that no longer exist in your domino directory but have outstanding calendars and reservations.  Resolve these first.  Check the schedule db with:  Tell sched validate

-Additionally, check the RnRmgr with:  tell rnrmgr validate


To recreate busytime.nsf, you can simply shut the server down and delete the file.  Most often however, you can't afford any downtime on that server, so the procedure is to shut down services using it, and delete the file quickly after forcing the server to release the file for a moment.  

- Verify that you have the busytime.NTF template on your server before continuing.  
- Stop the sched, calconn, and rnrmgr tasks
- Navigate to the notes data directory containing your busytime.NSF database.
- Enter dbcache flush into the server console, and then quickly alternate back to the data directory and delete busytime.NSF
- Once successful, load sched, calconn, rnrmgr and busytime.nsf will begin rebuilding.


Domino Blog - RSS publishing Fix

November 24 2009 02:37:53 PM
Appears Syndication does not have a default ISO type thus throwing the following error


XML Parsing Error: XML declaration not well-formed
Location: http://domino-69.prominic.net/A55CF7/technotes.nsf/3F36F5CACBC314CB802571690058604F
Line Number 1, Column 31:
------------------------------^

[Domino Blog 8.x template]
Note that this is when the RSS option is set to pull from a view, as none of the others worked either. Appears the computed form and value it's referencing doesn't exist.  
Image:Domino Blog - RSS publishing Fix

It's the computed value after 'encoding', and has the  Formula:  @DbLookup("";"":"";"vConfig"; 1;"config_xmlencoding")

This form (vConfig) does not exist in the DB.  The Form "Config" does.. however the default value for config_xmlencoding appears to be blank.

The Fix
-  Added the value 'ISO-8859-1' to the configuration document, under the Syndication tab, field " XML/Content Encoding:" down towards the bottom.

When replacing the computed value with "ISO-8859-1", it appears to be working.  Have not changed the lookup form value.  This is probably in some documentation somewhere.. but there's no documentation with the template.

Airstream Office updates

November 19 2009 03:25:18 PM
My home office is being commandeered for a quick trip.  Have to go visit the in-laws for a couple of days.  Our choice is to stay on location in a tent or the trailer, or in a hotel 30 minutes away from the family we're hassling.

The idea of a tent sounds a bit uncomfortable considering the cold weather, so I'm now clearing my computer and other peripherals out of the Airstream.

In preparation, we've also:
- Replaced 2 tires ($250)
- Replaced the main front window glass (rock damage - $58)
- Replaced the hot water thermostat (old one wouldn't shut off) ($20)
- Updated the tag ($25)
- Replaced a fuse in the Univolt so all the lights in the front will work (free!)
- Replaced the door hold-open mechanism. ($8)

I'm now questioning my judgment as to why I don't want to stay 30 minutes out of the way,  in a maintenance free hotel room for less than I'm putting into this old girl to get her back on the road.

Run multiple instance of Google Talk

November 15 2009 08:46:48 AM
Run second instance of Google Talk.  (windows)

Modify (or make) your desktop shortcut with the switch /nomutex to allow work and personal accounts accounts to run at the same time.  

"c:\program files\google\google talk\googletalk.exe" /nomutex