Adding a DataMiner Agent to a DMS running STaaS
To add a DataMiner Agent to a DMS running STaaS:
Make sure that the DMA you are adding is a clean DMA, meaning that it is a newly installed DMA or a DMA that has been fully reset.
Install the DataMiner Cloud Pack on the new DMA.
Stop DataMiner and CloudGateway on the new DMA.
From a DMA in the cluster where CloudGateway is running, copy the folder
C:\ProgramData\Skyline Communications\DataMiner CloudGateway\Data\CcaGatewayPersisted
and place it in the same location on the new DMA.Remove the following files from the folder you just copied to the new DMA:
- DmsAccessToken.data
- DmsAccessTokenExpiration.data
- DmsRefreshToken.data
- DmsRefreshTokenExpiration.data
Start CloudGateway on the new DMA.
Configure DB.xml to use STaaS:
In the
C:\Skyline DataMiner
folder, open DB.xml.Configure the Database tag with type="CloudStorage" as illustrated below:
<?xml version="1.0"?> <DataBases xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.skyline.be/config/db"> <DataBase active="true" local="true" search="true" cloud="true" type="CloudStorage"/> </DataBases>
Start DataMiner on the new DMA.
Join the DMA to the cluster using the steps described under Adding a regular DataMiner Agent or Failover configuration in Cube for a Failover Agent.
The DMA should now be connected to the DMS running STaaS.