Related tasks when upgrading SSO in Linux - CustomerID

This page describes the steps that need to be performed concerning Ubisecure CustomerID when the Ubisecure SSO product used by Ubisecure CustomerID is upgraded.

If you upgrade Ubisecure SSO, you need to copy the Ubisecure CustomerID SSO Adapter configuration files from the old Ubisecure SSO installation to the new one.

To copy the Ubisecure CustomerID SSO Adapter files from an old Ubisecure SSO installation to a new one in Linux:

  1. After upgrading the Ubisecure SSO (as instructed in page  Upgrading SSO in Linux ), prior to removing the temporary ubilogin-sso-old folder, go to the folder containing the old configuration files: 

    cd /usr/local/ubisecure/ubilogin-sso-old/ubilogin/webapps/uas/WEB-INF/
  2. Copy the existing configuration files to the new installation folder: 

    cp -a attribute-prefix.index /usr/local/ubisecure/ubilogin-sso/ubilogin/webapps/uas/WEB-INF/
    cp -a eidm2-authorizer.properties /usr/local/ubisecure/ubilogin-sso/ubilogin/webapps/uas/WEB-INF/
  3. Define UBILOGIN_HOME environment variable for the Ubisecure SSO server so that it points to the Ubisecure SSO installation path: /usr/local/ubisecure/ubilogin-sso/ubilogin 

    export UBILOGIN_HOME=/usr/local/ubisecure/ubilogin-sso/ubilogin
  4. Transfer the cid-sso-adapter-package-x.x.x-linux.tar.gz file to the Ubisecure SSO server and extract it for example under the following folder: /usr/local/ubisecure
  5. Run the Ubisecure CustomerID SSO Adapter update script: 

    cd /usr/local/ubisecure/cid-sso-adapter
    ./update.sh

    The Ubisecure CustomerID SSO Adapter jar files will be integrated to the Ubisecure SSO installation.

  6. Remove older versions of duplicate jar files from Ubisecure SSO: /usr/local/ubisecure/ubilogin-sso/ubilogin/webapps/uas/WEB-INF/lib
  7. Run update on Ubisecure SSO in order to finalize the installation of the Ubisecure CustomerID SSO Adapter. This can be done with the following command: 

    /usr/local/ubisecure/ubilogin-sso/ubilogin/config/tomcat/update.sh
  8. Ensure that the diagnostics log (uas3_diag.yyyy-mm-dd.log, which is by default located at /usr/local/ubisecure/ubilogin-sso/ubilogin/logs) contains the following rows (with the current time): 

    2016-09-20 13:33:17,465 init CustomerID Authorizer started
    2016-09-20 13:33:17,465 authz eidm.authorizer: CidAuthorizer init started.
    2016-09-20 13:33:17,606 init CustomerID SQL: customeriddb PostgreSQL x.x.x
    2016-09-20 13:33:17,632 authz eidm.authorizer: CidAuthorizer init done.
    2016-09-20 13:33:17,632 init eidm: com.ubisecure.customerid.authorizer.CidAuthorizer: started