Deleting a Replica ActiveMatrix Administrator Server

Note: Do not run the deletion script on the machine that is running the ActiveMatrix Administrator instance that you want to delete.

For example, assume your cluster consists of ActiveMatrix Administrator instance A running on machine X and ActiveMatrix Administrator instance B running on machine Y. To delete instance B, run the script from machine X.

Procedure

  1. On the machine that is running the ActiveMatrix Administrator server instance that you do not want to delete:
    1. Make sure that the super user specified in the following file has force_delete permission:
      CONFIG_HOME\admin\enterpriseName\samples\remote_props.properties

      Only users with explicit force_delete and super user permission are allowed to delete an ActiveMatrix Administrator server instance.

    2. Edit the following file to update the node and host name properties:
      CONFIG_HOME\admin\enterpriseName\samples\deleteAdminInstance_data.xml
    3. Open a command window in the following folder:
      CONFIG_HOME\admin\enterpriseName\samples
    4. Run the following command:
      ant -f deleteAdminInstance_build.xml
      The replica node is deleted from the environment and the replica host is unregistered. However, if the replica host has any runtime nodes, the replica host is not unregistered.
  2. If the replica host is unregistered, go to the machine on which the deleted ActiveMatrix Administrator instance was running and terminate the tibcohost process.