Rebuilding a New Data Tier Host Node

In a database server host failure, install a data tier in a new host.

  1. Install a data tier in a new host.
  2. Copy the latest full backup database file and latest incremental database log to the new host.
    If the backup database and transaction log have been kept in the host that is the recovery server, skip this step.
  3. Apply the incremental log to the full backup database to make sure the database file is recovered to the last correct status.
    For example, use the dbeng16 command to apply the latest incremental log file to the defaultdb.
    dbeng16 -o
    defaultError.log C:\smpbackup\full\default.db  -ad C:\smpbackup\incremental\
  4. Copy the restored database files to the data directory of the data tier.
  5. Restart SAP Mobile Platform services on the data tier.
  6. Stop SAP Mobile Server services on the application node.
  7. To change the data tier connection information for SAP Mobile Server, run change-datatier.bat, located in SMP_HOME\Servers\UnwiredServer\bin, as administrator on each application node and scale out node.
    Note: Run change-datatier.bat only when the data tier host information has been changed, and you need to adapt the SAP Mobile Server node to the new data tier host.
    For example:
    change-datatier cdbHost cdbPort cdbUser cdbPwd cldbHost cldbPort cldbUser cldbPwd monitordbHost monitordbPort  monitordbUser monitordbPwd domainlogdbHost domainlogdbPort domainlogdbUser domainlogdbPwd
    

    Parameters:

    • cdbHost – The name of the machine where the existing database server is running.
    • cdbPort – The port over which communication with the CDB takes place.
    • cdbUser – The CDB username.
    • cdbPwd – The CDB password.
    • cldbHost – The name of the machine where the cluster database is running.
    • cldbPort – The port over which cluster database communication takes place.
    • cldbUser – The clusterdb username.
    • cldbPwd – The clusterdb user password.
    • monitordbHost – The name of the machine where the monitor database is running.
    • monitordbPort – The port over which monitor database communication takes place.
    • monitordbUser – The username for the monitor database.
    • monitordbPwd – The password for the monitor database.
    • domainlogdbHost – The name of the machine where the domain log database is running.
    • domainlogdbPort – The port over which communication with the domain log database takes place.
    • domainlogdbUser – The username for the domain log database.
    • domainlogdbPwd – The password for the domain log database.
  8. Restart SAP Mobile Server services on the application node or scale out node.  Repeat steps 5 through 7 on each application node and scale out node.
Related concepts
Database Server Host Failure