Wednesday, December 12, 2012

The Lotus Notes 64GB database limit


One solution to this limitation is to use DAOS: Domino Attachment and Object Service:
http://www.ibm.com/developerworks/lotus/library/domino-green/

Another solution is to use Domino-DB2 Integration:
http://www.ibm.com/developerworks/lotus/library/domino-db2/

Or, create a new database where all attachments of the current database will moved to.
Then the rich text field of the original document will contain a document link to where the attachment has been moved to.

How to fix a database that has reached the 64gb limit:
  1. Temporarily prevent replication
  2. Purge views
  3. Delete the database index
  4. Create an archive database
  5. Copy large documents to the archive database.
  6. If possible, delete the copied documents from the database. 
    • Sometimes this is not possible because document links that point to these large document will be broken. In this case, remove the contents of the document and replace it with a document link that points to the document you copied to your archive database.
  7. Run Fixup on the database. We need this to ensure that we can compact the database.
  8. Compact the database.
    • If compact does not reduce the size of the database, try creating a new replica of the database. Then delete the old replica and replace it with a new replica
  9. Re-create the index. 
  10. Re-enable replication.
  11. If the database has a replica that has also reached the 64GB limit, force a replication so that we get any update from that replica. Then delete that replica and create a new replica from our fixed replica.

More importantly, design your applications with scalability in mind!
Instead of performing a workaround by archiving large documents, a new database should be created, let's say: per quarter, per half year, or per year.

Tuesday, December 4, 2012

How To Install IBM Notes Client and Domino Server for Development

Last Updated: August 4, 2013

You will need to download three files from IBM:

  1. Notes Client
  2. Domino Designer and Domino Administrator
  3. Domino Server

Notes Client:
File: NOTES_9.0_WIN_EN_EVALUATION.exe




















Domino Designer and Domino Administrator:
File: DOMINO_DESIGNER_DEV_9.0_WIN32_EN.exe















DOMINO_SERVER_9.0_Trial_WIN32_EN.exe









Keep Calm and Domino




Install the Domino Server


 Lotus is now dead. We better reflect it’s death in the directory so that it does not haunt us.


 Select customize because there are components that we just would not use forever.
 
We will never need the Billing component. Ever.
We do not need clustering, this sample is for a development server only.


 Keep Calm and Domino


 Run the server

















 For a development server, select all except for Billing which we will never user. Ever.








 We should allow Anonymous access so that we would be able to test more features regarding logging in.


 
Keep Calm and Domino





And there it is on our desktop!

 Run the server

 On second run, it displays like this:




Install the Notes Client







  
Select IBM Connections and Composite Application Editor

Because Notes is slow, I’d rather not select these:


Keep Calm and Domino

 

And there it is on our desktop!











 Use the Admin id from our server setup.



  
The console should show that the Admin id has been given a session.

Keep Calm and Domino


I love Notes, but we all know how slow it opens :)


“It’s alive!” - Dr. Frankenstein

 



 The console should show that the email was routed



 Check the Workspace
 All shiny and new!

 Install the Designer and Administrator









 



I guess we do not need to install with three files; we only need this file to install all the clients...







 Keep Calm and Domino




  
And there they are, alive and healthy!

The brand new Designer:


The not so brand new Administrator:


Create a test team room database




Open from the browser to check if XPages works.

With Notes 9, we do not need to install the extension library, it is already built in!



Now stop grumbling that Notes has no future and start building the next killer application! :)