Runtime Reconfiguration (reconfigure-mms) Utility

Reconfigures local or remote Unwired Servers to use different consolidated database (CDB) properties. You can enter new values for the CDB host, port, server name, user name, password, or start mode. This utility is located in <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\bin.

This script updates connection values for the cluster database, endpoints and DSNs for the Unwired Server. If the CDB is on the same host (local), the script also recreates the CDB Windows service.
Before using this command:
  1. If the CDB installed on a different host from Unwired Server, ensure that the CDB server is running.
  2. If the CDB server is co-hosted with Unwired Server, ensure that all the services, including the CDB services, are stopped.

Syntax

reconfigure-mms.bat [-installtype {default | remote}] [-servicemode {auto | manual}] [-cdbuser {cdb_user_name}] [-cdbpwd {cdb_user_password}] [-cdbhost {cdb_host}] [-cdbport {cdbport}] [-cdbserver {cdb_server_name}]

Parameters

Examples

Usage

The usage varies depending on whether or not the CDB is co-hosted with Unwired Server:
  • When CDB is hosted separately – Perform these steps:
    1. If you are moving the CDB to a new host, copy the .db and .log files from <UnwiredPlatform_InstallDir>\UnwiredPlatform-XX\Servers \UnwiredServer\data from the existing host to the new host.
    2. Start the CDB server.
    3. Run reconfigure-mms.bat by passing necessary property values as described in syntax.
    4. Restart Unwired Platform services.
  • When CDB is co-hosted – Perform these steps:
    1. Stop all Unwired Platform services, including CDB services.
    2. Run reconfigure-mms.bat by passing necessary property values as described in syntax. At minimum, the cdbhost property is required.
    3. Restart Unwired Platform services.