Tips & tricks for installing and running ICS products

    Domino 9 setup for Sametime - silent setup using .pds file

    Tom Bosmans  13 January 2014 13:04:51

    Configure Domino using a silent setup file


    Record a response file:



    su - notes
    /opt/ibm/domino/bin/server -record


    Note that you can leave some values at "*default" - these will be swapped with whatever is default.  For instance, you can use if for the hostname and servername.

    When done, you have a .pds file.  The annoying thing however, is that this file is not editable using a simple text editor.

    Editing a response file


    There is an undocumented method to modify some settings, however :

    Verify what options you can change:

    -bash-4.1$ /opt/ibm/domino/notes/latest/linux/java -cp /opt/ibm/domino/notes/latest/linux/cfgdomserver.jar lotus.domino.setup.DominoServerProfileEdit -dump /tmp/Sametime.pds
    isFirstServer = true
    AdminFirstName = Sametime
    AdminIDFile = *default
    AdminLastName = Administrator
    AdminMiddleName =
    AdminPassword =
    CountryCode =
    DominoDomainName = stissc
    HostName = *default
    OrgUnitIDFile = null
    OrgUnitName =
    OrgUnitPassword =
    OrganizationIDFile = *default
    OrganizationName = stissc
    OrganizationPassword =
    OtherDirectoryServerAddress =
    OtherDirectoryServerName =
    ServerIDFile = *default
    ServerName = *default
    ServerPassword =
    SystemDatabasePath = null


    To edit a specific parameter in the pds file, you can use this command :
    For instance, to change the DominoDomainName to "test", you can use this command :

    /opt/ibm/domino/notes/latest/linux/java -cp /opt/ibm/domino/notes/latest/linux/cfgdomserver.jar lotus.domino.setup.DominoServerProfileEdit -DominoDomainName test /tmp/Sametime.pds


    Use the -dump command to verify .


    Passwords


    It you use existing id files, you need to use a text file with the passwords :
    The file needs to contain this :
    Server=
    AddServer=
    Certifier=
    OUCertifier=
    Administrator=

    And you need to reference it to the setup command after the actual response file.


    Alternatively, you could pass all of these (passwords and editable parameters) on the commandline, eg :

    -AdminPassword -OrganizationPassword  -ServerPassword -HostName `hostname` -OrganizationName  -ServerName  


    Setup the Domino server



    /opt/ibm/domino/bin/server -pb -s /tmp/Sametime.pds


    If you would have existing certifiers, you'd need to use this command for the passwords :


    /opt/ibm/domino/bin/server -pb -s /tmp/Sametime.pds /tmp/passwordfile.txt



    Check the logfiles to see if the installation succeeded.


    Autostart Domino


    There's an excellent start script for Domino on *Nix out there.  You can request it here :

    http://www.nashcom.de/nshweb/pages/startscript.htm

    If you use Linux (CentOS in this case) , you could also use Upstart start scripts as well .  Check this blog for an example : http://www.wissel.net/blog/d6plinks/SHWL-8YG9KB



    Comments

    1Matteo bisi  21/02/2016 23:45:09  Domino 9 setup for Sametime - silent setup using .pds file

    thanks for this post Tom i was needing something about pds edit

    2Milan Matejic  14/03/2017 11:22:20  Server ID stored in Domino Directory

    Thank you very much Tom, I was looking for a way to automate the setup process.

    Is it also possible to use a server id file, in this setup process, which is stored in Domino Directory and password protected?

    That would allow me to install the server without copying the ID file on the server manually.

    3Milan Matejic  14/03/2017 11:24:02  Domino 9 setup for Sametime - silent setup using .pds file

    Thank you very much Tom, I was looking for a way to automate the setup process.

    Is it also possible to use a server id file, in this setup process, which is stored in Domino Directory and password protected?

    That would allow me to install the server without copying the ID file on the server manually.