Data Collector and database issues
The Data Collector uses a name and a passcode to identify itself with the Data Receiver. If this name or passcode is changed on the Portal, it needs to be changed on the Data Collector side.
To find and update name and passcode information on the Data Collector server, follow these steps:
Changing the Name and Passcode on a Windows Data Collector Server
- Edit the following file:
$APTARE_HOME/mbs/conf/wrapper.conf
by modifying the following entries accordingly:
wrapper.app.parameter.2="$COLLECTOR_NAME$" wrapper.app.parameter.3="$COLLECTOR_PASSWORD$"
- Edit the following file:
$APTARE_HOME/mbs/bin/updateconfig.bat
to modify the name and passcode. They are the two parameters immediately following "com.storage.mbs.watchdog.ConfigFileMonitorThread".
Changing the Name and Passcode on a Linux Data Collector Server
- Edit the following files:
$APTARE_HOME/mbs/bin/updateconfig.sh $APTARE_HOME/mbs/bin/startup.sh
The name and the passcode will be passed as program arguments to the Java program in the above two scripts.
In updateconfig.sh, the name and passcode are the two parameters immediately following "com.storage.mbs.watchdog.ConfigFileMonitorThread".
In startup.sh, the name and passcode follow "com.storage.mbs.watchdog.WatchDog".