Sunday, February 21, 2016

IBM Domino , how to make a silent setup and configuration of a server

IBM Domino can be silently installed and also silently  configured through script.

Silent Install
Inside the domino setup package IBM provides a file named unix_response.dat and if you like to setup an Enterprise server , in default path with default users you can basically use that response file as is.

Obviously you need to create at least the notes users and group so your script could start with


  • useradd -ms /bin/bash notes
  • usermod -aG notes notes
  • usermod -d /local/notesdata notes
and than you can run the silent install with something like 

  •  /bin/bash -c "/tmp/sw-repo/install -silent -options /tmp/sw-repo/unix_response.dat"
assuming we have uncompress domino901 setup inside /tmp/sw-repo folder



Silent setup
Silent setup was a little bit more complicated because we have moore to generate a recorded server config , copy that file with the ID's involved toghether a txt with the pw to the data and than run the silent configuration.

One way to generate the recorded config, (a PDS file) is runneing the Remote server setup utility with record options.

  • start a cmd 
  • go inside Notes directory
  • run serversetup.exe -silent
At second windows you have to insert a profile name and set where the server setup will place the pds file:



After that you will be asked to usual questions like server name, admin, OU , etc.

At the end of setup you will obtain a file.pds that is what you need. 

If you are adding a server though existing Domino env you have at least provided an existing ID and certifier so you have to insert all password involved inside a txt file named like the pds file.

This is a sample of the txt file:

Server=

AddServer=

Certifier=certificatore

OUCertifier=certificatore

Administrator=passw0rd

In this case i've provided the pw of the admin of an OU certifier and of the main certifier that i've involved on my recorded setup.

Now we have to copy the setupconfig.psd file , the setupconfig.txt file and all IDs involved inside the /local/notesdata of the server installed and run for example 

 su notes -c "cd /local/notesdata && /opt/ibm/domino/bin/server -silent /local/notesdata/serverconfig.pds /local/notesdata/serverconfig.txt"


after some minutes you will have the Domino configured.

Here an official documentation from the Domino knowledge center and here an unofficial documentation from Tom Bosmans blog about modifying a pds file (thanks Tom for your post! )



No comments:

Post a Comment