Cloud Software Group, Inc. EBX®
Documentation > Administration Guide > EBX® Metadata Management application > Metadata Agent
Navigation mode Documentation > Administration Guide > EBX® Metadata Management application > Metadata Agent

# Administration of TIBCO® Metadata Agent

## EBX® Metadata Management application subscription

### New connection for a previously deleted agent

On the first start, the agent subscribes to the corresponding EBX® system. As a result of this interaction, a GUID will be stored in the agent storage and used for all exchanges between the agent and EBX®. If you delete a managed agent in the EBX® Administration perspective, the GUID stored on the agent’s side will no longer be valid. To recreate a deleted agent, you have to delete the agent’s H2 database (`configDB.mv.db`) and restart the agent. It will automatically subscribe to the EBX® Metadata Management application and obtain a new GUID.

### Public key update

The Public key (JWT) is a unique token used for additional security in exchanges between the agent and the EBX® Metadata Management application.

It is valid 60 days and expires automatically after. Connections with an expired JWT are not accepted by the EBX® Metadata Management application and a specific exception is generated to notify the agent that its public key is no longer valid: JWT for the Agent with id xxx has expired or is not valid. Please, get update the JWT in the Agent’s properties.

After seeing this message you need to obtain a new JWT from a EBX® administrator, copy-paste it in the public-key property in the agent’s properties file and restart the agent.

## Agent Migration and Backup

If you need to migrate your existing Agent and preserve its connection to the EBX® Metadata Management application, please, follow the process below:

1. Stop agent.

2. Backup agent’s database and Quarz Scheduler database by copying files `configDB.mv.db` and `quartzDB.mv.db`

3. Backup your `application.properties` file.

4. Install the agent on the new instance.

5. Copy databases backup into `[[Installation folder]]/storage`.

6. Copy properties file into `[[Installation folder]]/conf`.

7. Update `ma.http.ws-url` and `ma.http.port`.

8. Update other properties if necessary.

9. Restart agent. It will automatically update registration information in EBX®.

Documentation > Administration Guide > EBX® Metadata Management application > Metadata Agent