How to generate a VMware Blockchain support bundle without core files
search cancel

How to generate a VMware Blockchain support bundle without core files

book

Article ID: 316736

calendar_today

Updated On:

Products

VMware Blockchain

Issue/Introduction

This article provides instructions for generating a VMware Blockchain support bundle of the nodes without core files included


Symptoms:
  • You are unable to generate a support bundle for the VMware Blockchain nodes without core files.
  • You see that frequent Concord core dumps are present and the concord container is restarting frequently.


Cause

VMware Blockchain core files can be quite large. When these core files are collected as part of a support bundle, free disk space may become critically low on the node(s) with the core file(s) and the support bundle is not successfully created.

Resolution

Use the following steps to generate a support bundle of the nodes without including core files in the tar.gz file:

  1. Login to the VMware Blockchain orchestrator appliance as the root user. Note: You will login as the blockchain user and then use su - to switch to the root user account..
  2. Issue the following command to take a backup of the existing /opt/vmware/blockchain/deployment_support.py file:
cp /opt/vmware/blockchain/deployment_support.py /opt/vmware/blockchain/deployment_support.py_default
  1. Issue the following command to comment out the line in the /opt/vmware/blockchain/deployment_support.py file responsible for collecting the VMware Blockchain core dump files in the support bundle:
sed -i '/^   "\/mnt\/data\/cores/s//#&/' /opt/vmware/blockchain/deployment_support.py
  1. Execute the command to capture the support bundle for the nodes per the instructions at Generate the VMware Blockchain Orchestrator Support Bundle for vSphere.


Additional Information

Generate the VMware Blockchain Orchestrator Support Bundle for vSphere