Adding a DataMiner Agent to a DMS running STaaS
To add a DataMiner Agent to a DMS running STaaS:
Verify the prerequisites listed on Adding a regular DataMiner Agent.
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\CcaGatewayPersistedand 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 DataMinerfolder, open DB.xml.Configure the Database tag with type="CloudStorage" as illustrated below:
For setups without proxy, use the following configuration:
<?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>For setups with proxy (this requires DataMiner 10.4.5/10.5.0 or higher), use the following configuration, filling in the fields as required:
<?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"> <Proxy> <Address>[Enter Address Here]</Address> <Port>[Enter Port Here]</Port> <UserName>[Enter UserName Here]</UserName> <Password>[Enter Password Here]</Password> </Proxy> </DataBase> </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.
Optionally, if the new DMA is not intended to host the CloudGateway DxM, you can safely uninstall it.
Note
In this case, the Admin app will still display connection information indicating that CloudGateway is not running. To remove this invalid state, contact DataMiner Support.