Verification of dynamic domain manager settings

About this task

Run the following steps to verify your dynamic domain manager settings after upgrading:

Procedure

  1. Update the URLs of the Resource Advisor on the master domain manager, as follows:
    1. Browse to <MDM_installation_dir>/TDWB/bin.
    2. Export the list of dynamic domain manager instances by running the following command:
      ./exportserverdata.sh -dbUsr <database_user> -dbPwd <database_password>
      For more information about this command, see exportserverdata.
    3. Review the generated server.properties file. Ensure the IP address or hostname for both the master domain manager and the backup master domain manager are correct.
    4. If the information is not correct, update the server.properties file as necessary.
    5. Apply the updates by running the following command:
      ./importserverdata.sh -dbUsr <database_user> -dbPwd <database_password>
      For more information about this utility, see importserverdata.
  2. Align the data in the BrokerWorkstation.properties file.

    During a parallel upgrade, the new master domain manager is first installed as a backup master domain manager and only later promoted to the role of master domain manager. Because it is initially configured as a backup, the BrokerWorkstation.properties file is created with incomplete information. This file is not automatically updated when the backup master domain manager is promoted to master, which results in missing or outdated configuration details. In addition, this behavior causes the dynamic domain manager—which is installed by default on every master domain manager and backup —to use the incorrect information stored in the BrokerWorkstation.properties file.

    To prevent this problem, copy the BrokerWorkstation.properties file from the master domain manager and modify it with the information related to the new master domain manager. Ensure the following properties are correct and up-to-date:
    • all hostnames
    • MasterDomainManager.Name
    • MasterDomainManager.HostName
    • DomainManager.Workstation.Name
    • DomainManager.Workstation.Address

    Also add the following line, if not already present:Broker.CertificateExpirationInterval.

    The file is available in the following path, depending on your operating system:
    On Windows systems
    <TWA_home>\broker\config
    On UNIX systems
    <TWA_DATA_DIR>/broker/config
    For more information about this file, see BrokerWorkstation.properties file.
  3. Restart WebSphere Application Server Liberty, as described in Application server - starting and stopping. The database tables are automatically updated based on the information in the BrokerWorkstation.properties file.