Home > Domino Tips > Administrator > Server > Move a Lotus Domino server to a new certifier without a reinstall
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SERVER

Move a Lotus Domino server to a new certifier without a reinstall


Charles TANABAL
04.24.2008
Rating: -2.54- (out of 5)


Lotus Notes, Domino, Workplace and WebSphere tips and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Suppose that there is a company name change and you must to move your Lotus Domino server to a new certifier, without changing any server settings. Learn step-by-step how to move your Lotus Domino server without having to reinstall it or change any settings using the Server1/ExistingCertifier will be moved to Server1/NewCertifier example.
  1. Create a new certifier (/Newcertifier).
  2. Be sure to cross-certify in both directions (/Newcertifier-> /ExistingCertifier and /ExistingCertifier->/Newcertifier).
  3. Create a new server registration with the new certifier (Server1/NewCertifier).
  4. In your "all servers documents" view, duplicate the Server1/ExistingCertifier server document.
  5. Related resources from SearchDomino.com:
    Securely connect Lotus Domino servers on different domains

    Lotus Domino Server performance-tuning pointers

    Top 10 Lotus Notes Domino administration tips of 2007

  6. Edit the duplicate document and change the server name to "Server1Temp/NewCertifier."
  7. Edit the server document for Server1/Newcertifer (the newly registered document) and copy the value of the field "Certified Public Key" to your clipboard, under the Administration tab.
  8. Next, paste in your new server document by replacing the "Certified Public Key" value in the Server1Temp/NewCertifier server document.
  9. Delete the Server1/NewCertifier server document.
  10. Edit the document for Server1Temp/NewCertifier and change the name to Server1/Newcertifier. Save and close out.
  11. Duplicate all connexion documents where Server1/ExistingCertifer is the source or destination server.
  12. Next, change Server1/Existingcertifier to Server1/NewCertifier in all duplicated documents.
  13. With your admin client, add Server1/NewCertifier in the access control list (ACL) of all Lotus Notes databases marked with 'Manager' access. Specify it as "Administration Server," using the advanced tab for MailFiles and other Lotus Notes databases, if needed.
  14. Replicate names to all Lotus Domino servers.
  15. Use a code-generated button to send an email to all Lotus Notes users with Server1 as their home server, so that they can change the Mailserver Field in their location document. Below is the LotusScript code to create this button.

    Note: Clicking this button will change the servername information in all location and connections documents of the local address book. Domino administrators should adapt this code to meet their own specifications.

    Sub Click(Source As Button) 
    Dim session As New NotesSession 
    Dim db As NotesDatabase 
    Dim view As NotesView 
    Dim doc As NotesDocument 
    Dim nextdoc As NotesDocument 
    Dim destLocation As Variant 
    Dim privnab As New NotesDatabase
    ("","names.nsf") 
            
    If Not (privnab.isopen) Then 
                    privnab.Open "","" 
    End If 
    Set view = db.GetView("($Connections)") 
    Set doc = view.GetFirstDocument 
    While Not doc Is Nothing 
    destServer = doc.GetItemValue("Destination") 
    Set nextdoc=view.GetNextDocument(doc) 
    'THE BELOW LINE MUST BE MODIFIED 
    TO SPECIFY THE RELATIVE SERVER NAME: 
    If destServer(0) = 
    "CN=serverName/O=ExistingCertifier" 
    Then 
    'If you want to remove the document include this line: 
    'Call doc.Remove(True) 
    'If you want to update the Destination
     field include the below instead: 
    Call doc.replaceitemvalue
     ("Destination","CN=servername/O=NewCertifier") 
    'If you want to update the Destination 
    Server Address entry include the below: 
    'Call doc.replaceitemvalue 
    ("OptionalNetworkAddress",
    "<IP address>") 
    'Include the line below if you've 
    included either of the ReplaceItemValue calls: 
    Call doc.save (True,True) 
    End If 
    Set doc=nextdoc 
    Wend 
            
    Set view = db.GetView("($Locations)") 
    Set doc = view.GetFirstDocument 
    While Not doc Is Nothing 
    destServer = Lcase
    (doc.GetItemValue("MailServer")) 
    Set nextdoc=view.GetNextDocument(doc) 
    'THE BELOW LINE MUST BE 
    MODIFIED TO SPECIFY THE 
    RELATIVE SERVER NAME: 
    If destServer(0) = 
    "cn=servername/o=existingcertifier" 
    Then 
    'If you want to remove the document
     include this line: 
    'Call doc.Remove(True) 
    'If you want to update the Destination 
    field include the below instead: 
    Call doc.replaceitemvalue ("Destination",
    "CN=Servername/O=NewCertifier") 
    'If you want to update the Destination 
    Server Address entry include the below: 
    'Call doc.replaceitemvalue 
    ("OptionalNetworkAddress","<IP address>") 
    'Include the line below if you've included 
    either of the ReplaceItemValue calls: 
    Call doc.save (True,True) 
    End If 
    Set doc=nextdoc 
    Wend 
    End Sub
    
  16. Replace the "mailserver" field with "CN=Server1/O=NewCertifier" for all users specifying server1 as Homeserver. Stop the Lotus Domino server.
  17. Replicate names to all Lotus Domino servers.
  18. Stop Server1.
  19. Rename the existing Server ID (Server.id) file under the Domino Directory to ExistingCertifier as the extension (Server.ExistingCertifier).

    Note: Place the ID file that was created during the registration of Server1/NewCertifer and change the name to Server.id to ensure that it corresponds with what is in your notes.ini file.

  20. Copy the notes.ini file to Notes.ini.Existingcertifier.
  21. Edit your notes.ini file, find Server1/ExistingCertifier and replace it with Server1/newCertifier, and then save and close.
  22. Restart your Lotus Domino server.

Do you have comments on this tip? Let us know.This tip was submitted to the SearchDomino.com tip library by member Charles Tanabal. Please let others know how useful it 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 monthly 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.


Submit a Tip




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


RELATED CONTENT
Server
Securely connect Lotus Domino servers on different domains
Track and record Lotus Notes user logins to Domino Server
Use SMTP outbound authentication to relay hosts in Lotus Notes Domino 8
Log off idle Lotus Notes users for better Domino Server performance
Copy Lotus Notes databases from the Domino Server console command line
How to perform an in-place upgrade of Lotus Domino server hardware
Daylight Saving Time 2007 -- seven helpful tips for Lotus Notes administrators
FileZilla
How and why to change replica IDs during a Lotus Notes Domino upgrade
Finding unused databases in Lotus Notes and Domino

Lotus Notes Domino Performance
Repair Lotus Domino server 'Cannot write or create file' error
What is slowing down my Domino server?
A batch file for Lotus Notes Domino maintenance on Windows Server 2003
Top 10 Lotus Notes Domino administration tips of 2007
Lotus Domino Server performance-tuning pointers
Log off idle Lotus Notes users for better Domino Server performance
Slow Domino server performance and failure on agent managers
Top 10 Notes/Domino administration tips of 2006
Two fast and easy Domino Web Access performance tips
Top 10 Domino administration tips of 2005

Lotus Notes Domino Access, Permissions and Authentication
Update the ACL from the Roles view with LotusScript
Secure Lotus Notes 8 with the Internet password lockout feature
Find a Lotus Notes user within NAB Deny Access groups
Troubleshoot Lotus Notes Out of Office (OOO) agent error messages
Securely connect Lotus Domino servers on different domains
Avoid Lotus Notes Domino email archiving ACL issues with AdminP
Creating custom Lotus Notes Domino login forms
Protect Lotus Notes from malicious code with the Domino ECL
Use SMTP outbound authentication to relay hosts in Lotus Notes Domino 8
Detect and fix 'Manager' access control list settings in Lotus Notes Domino

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

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.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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