Home > Domino Tips > Administrator > How and why to change replica IDs during a Lotus Notes Domino upgrade
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SERVER

How and why to change replica IDs during a Lotus Notes Domino upgrade


Andy Pedisich
12.28.2006
Rating: -4.78- (out of 5)


Lotus Notes and Domino tips, tutorials and how-to articles
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Learn how and why you should change your replica IDs after a Lotus Notes Domino server upgrade with these tips and helpful advice from longtime SearchDomino.com contributor Andy Pedisich.

"Whoo hoo, a Notes/Domino new server release! Let's do the upgrade tonight!" That was me when I first started out as a Lotus Notes consultant. I was a real shoot-from-the-hip kind of guy, especially when it came to fixing problems.

It's an old story. A Notes/Domino server is getting ready to keel over, and you really want to upgrade it to the newest version because of the fixes it offers. Nothing wrong with that, is there?

Who cares if it's the first server to be on Notes/Domino Release 7? We can prevent the design of the name and address book from escaping into the production environment using access control lists (ACLs), right? Wrong!

In most cases, upgrading a Lotus Domino server almost guarantees a Notes/Domino name and address book redesign, along with an upgrade of system databases like the Admin4, the Log, and many others. This generally will happen even if you go through the trouble of carefully setting the ACLs of those databases so that the design doesn't replicate.

Here's why.

As new Lotus Notes/Domino versions are released, the replica IDs of most of the system templates stay exactly the same as the previous release. They also have the same template names.

When you upgrade to a new release of the server, these new templates with the same old replica IDs are placed on the new Lotus Domino server. These templates are then replicated out to every Domino server in your environment. Then, when the design task runs, whammo! All system databases are now at the new Notes/Domino version.

Most of the time this is not a terrible issue, since IBM Lotus tries to take great care in making sure all the designs are backward compatible.

But to make it even more interesting, the replica IDs of the templates in your domain are exactly the s...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Lotus Notes Domino Deployment and Migration Advice
Build your own Domino multi-server test environment
IBM Lotus to end Notes/Domino 7.x support
How to upgrade to Lotus Notes 8 and retain Lotus Notes 7
Resolve Notes 8 migration error: 'Database has not been opened yet'
Understanding a Lotus Notes Smart Upgrade rollout
How to export data from a Lotus Notes database to a CSV file
How to install Lotus Notes on Linux CentOS-4
How to install Lotus Domino Server on SUSE Linux
How to perform an in-place upgrade of Lotus Domino server hardware
Moving a remote user mail database to new Lotus Domino server

Lotus Notes Domino Replication and Synchronization
LotusScript agent automates selective mail file replication
Give external users access to workflow-based Notes Domino applications
Tivoli Directory Integrator synchronizes Notes Domino 8 directories
Use DXL utilities for advanced replication settings in Notes
Avoid replication issues when editing Lotus Notes response documents
Use LotusScript to create encrypted replicas
Lotus Notes Domino replication primer
More efficient local Lotus Notes database replication
BlackBerry Intellisync error: 'A Lotus Notes error has occurred. Please see log for details.'
Setting up local replication of a Lotus Notes database for offline employees

Lotus Notes Domino Database Management
Domino Domain Monitoring hints and gotchas
LotusScript code rebuilds corrupted busytime.nsf file
LotusScript agent automates selective mail file replication
Configuring Domino Domain Monitoring (DDM)
How to move Notes databases off Domino 8 servers and save disk space
What is Notes 8.5's DAOS (Domino Attachment and Object Storage) feature?
LotusScript agent indexes Lotus Notes/Domino databases
An introduction to Domino Domain Monitoring (DDM)
'Customize this view' options are disabled in Lotus Notes databases
LotusScript button saves time searching large Lotus Notes databases

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


ame as the templates in mine.

Take a few moments to look at your pubnames.ntf right now. If it has the following template name and replica ID, we're twins!

Template Name: StdR4PublicAddressBook
Replica ID: 852560CF:00644F08

[IMAGE]

This can make it very interesting when you replicate across domains, or when an administrator or developer who has made test customizations to these templates replicates with production servers Your domain might accidentally pick up unintended customizations! Wouldn't that be an exciting morning?

The newest IBM Redpaper about upgrading, "Lotus Notes and Domino 7 Enterprise Upgrade Best Practices" covers this issue quite nicely. I consider this document mandatory reading, even if you are a grizzled old Lotus Notes consultant like me.

This Redpaper recommends changing the replica IDs of templates as a way to control the release of the new designs into the environment. I'm 100% behind this idea, and it's something that I have been preaching since I started working with Lotus Notes and Domino back in the Stone Age .

IBM recommends two ways of changing the replica IDs. The first way is to make non-replica copies of all of the templates in the new version. That means a File…Database…New Copy of every single template.

I've personally done this many times in the past, and I have to tell you it is a tedious, glacially slow, mind-numbing experience that will cause your eyes to glaze over and your head to hit the monitor as you nod off to sleep.

The Redbook makes a second recommendation. It says to use a free replica-changing product from the folks at TurtleWeb.

This is a nice little freebie of a tool! It works on databases as well as templates. It's very simple, and it changes only one replica ID at a time. And you'll need to provide the new replica ID yourself.

Rocky Oliver took the TurtleWeb app a lot further with a Lotus Notes application for changing replica IDs of multiple templates and posted it to OpenNTF.Org.

[IMAGE]

This nice little application will discover all the templates on a Notes/Domino server and let you change replica IDs on as many or as few as you like all at once.

When you're getting ready to upgrade, simply install a new server on your laptop or a test machine and make a copy of Surely Template on it. Let it find all the new templates for the new version, and then change all of their replica IDs. Personally, I also customize the ACLs of these new templates, but that's the subject of a different article.

Shut down the test server and copy all those templates with their new replica IDs to a new location. I usually copy them to the network location that I use to store server installation kits.

After I install a new or upgrade a Lotus Domino server, but before I start it, I delete all the original system templates. I then replace them with these specially prepared ones with replica IDs that are different from any others in the world.

This easy-to-do preparation protects my templates from unintended modifications and helps keep me in control of my Notes/Domino universe.

About the author: Andy Pedisich is President of Technotics, Inc. He has been working with Lotus Notes and Domino since Release 2. Technotics provides strategic consulting and training on collaborative infrastructure projects for customers throughout the world. You can contact Technotics through their Web site at www.technotics.com.

Do you have comments on this tip? Let us know.

Related information from SearchDomino.com:

  • Dos and Don'ts Checklist: 10 tips for running a Notes/Domino 7 upgrade pilot
  • 15 tips in 15 minutes: Managing Domino servers

    Please let others know how useful this tip is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our tip contest and you could win a prize.

    Rate this Tip
    To rate tips, you must be a member of SearchDomino.com.
    Register now to start rating these tips. Log in if you are already a member.




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts