...
Flow: Xconf Xconf-server -> Common -> Environments
Click on Create Button.
Click on Create, Enter the ID and Description fields, click on Save.
ID ID : <Unique Identifier> Identifier> ; Description : <Description>
FlowFlow: Xconf-server -> Common -> Models
Click Click on Create, Enter the ID and Description fields, click on Save.
Image Removedi Image Added
Flow: Xconf-server -> Common -> MAC Lists -> Create -> Add your Device MAC address -> Save.
Image Removedi Image Added
Flow: Xconf-server -> Common -> IP Lists -> Create-> Create -> Add your device IP address -> Save.
Image Removed Image Added
Feature Validation: LogUpload
...
- In Xconf UI Change Application to stb in top right corner of the window.
Image RemovedImage Added
- Defining the Upload repositories
Flow: Xconf-server -> DCM -> Upload repository -> create ->save
Name: <Unique Identifier>
Description: <Unique Identifier>
URL: HTTP: http://35.161.239.220/xconf/telemetry_upload.php
Image Removed Image Added
Flow: Xconf-server -> DCM -> Formulas -> Create
Name: <unique name for log upload>
Description: <Short description for log upload>
Percentage: 100
Build condition: estbMacAddress IS <MAC Address> OR estbIP IS <IP Address>
(or) estbMacAddress IS <MAC Address> AND model is <Model Name> (Model name is already configured under Common Tab)
Image RemovedImage Added
- As soon as the formula is saved, then a ‘define Settings’ tab with ‘Create Device Settings’, ‘Create log settings’, Create VOD settings’ will be available.
Image Removed Image Added
- Click on 'Create Device Settings' tab and edit the Device Settings.
Image RemovedImage Added
- Click on ‘Create Log Update setting’ and Edit the Log upload Setting (Create schedule & add the upload repository created beforehand).
Name: Enter the name given during Log Upload Formula Creation.
Note: The formula will be effective only if we select 'Are Settings Active' option to 'true' in 'Create Device Settings' and 'Log Upload settings'.
Image RemovedImage Added
Verification at Xconf UI.
...
- Flow: Xconf-Server -> DCM ->Test
...
- Parameters: give a parameter that will match the one of the formulas that you have created.
- estbMacAddress < MAC Address> or
- estbIP <IP Address>
- model <Model Name>
Image Removed Image Added
Log Upload: Client End Verification (In RPI)
- Remove already existing DCM Settings config files under /tmp
rm -rf /tmp/DCM* - Restart the log upload service in Raspberry Pi using the command
systemctl restart CcspTelemetry.service
root@RaspberryPi-Gateway:~# systemctl restart CcspTelemetry.service - Verify through CURL command
curl -i 'https://xconf.rdkcentral.com:9092/loguploader/getSettings?estbIP=<IP ADDRESS>'
or
curl -i 'https://xconf.rdkcentral.com:9092/loguploader/getSettings?estbMacAddress=<MAC-Address>'
Image Removed Image Added
- On successful Log upload, conf file will be created under /tmp directory. This file contains the details of log upload settings which are already configured in the server.
File : /tmp/DCMSettings.conf
Image RemovedImage Added
- Verify the logs in /rdklogs/logs/dcmscript.log file
- The log file contains the details of
- Service status, tftp details, reboot flag , check on reboot flag ,
- Upload settings details – location, protocol.
- Shows list of files which are to be uploaded to the server as a tar file (logs will be zipped and creates a tar file on every bootup/service restart), Backup folder details (/rdklogs/logs/PreviousLogs_backup)
- HTTP request processing status.
Image RemovedImage Added
Image RemovedImage Added
Image Removed Image RemovedImage Added