As per below Tech Doc we ran the cleanupComponents.sh script but we received errors as we are using port 8582 and HTTPS protocol.
How do I remove inactive elements?
https://knowledge.broadcom.com/external/article?articleId=15856
Any
By default cleanupComponents.sh script is configured to use port 8581 and HTTP protocol
Run the following commands to update the port, protocol and curl calls:
1.- [[email protected]]# sed -i.bak1 's/8581/8582/' cleanupComponents.sh
2.- [[email protected]]# sed -i.bak2 's/curl -s/curl -sk/' cleanupComponents.sh
3.- Replace
DAHOST="$BASE:8582/rest/devices/components/filtered"
to
DAHOST="https://$BASE:8582/rest/devices/components/filtered"
4.- Replace
curl -sk -H "Content-Type: application/xml" -X GET "$BASE:8582/rest/dataaggregator" > /tmp/dataaggregator_$$.xml
to
curl -sk -H "Content-Type: application/xml" -X GET "https://$BASE:8582/rest/dataaggregator" > /tmp/dataaggregator_$$.xml
5.- Replace
DAHOST="$BASE:8582/rest/syncable/deletelist"
to
DAHOST="https://$BASE:8582/rest/syncable/deletelist"
6.- Save the file
How do I remove inactive elements?
https://knowledge.broadcom.com/external/article?articleId=15856
413 errors: Request entity is larger than limits defined by server error using REST.
https://knowledge.broadcom.com/external/article?articleId=95411