How To Clear Disk Space under /opt/pancfg When Panorama is Deployed in FIPS mode

How To Clear Disk Space under /opt/pancfg When Panorama is Deployed in FIPS mode

1883
Created On 09/21/21 22:10 PM - Last Modified 10/23/26 20:14 PM


Objective


This article explains some of the steps/recommendations that can help reduce disk utilization under /opt/pancfg directory for a virtual panorama in FIPS mode.

Environment


  • VM Panorama
  • PANOS 9.0/9.1/10.0
     


Procedure


NOTE: When panorama is deployed in FIPS mode, that means we do not have a way to access the device from Root. Hence, we do not have the visibility to check what data is consuming the disk space under /opt/pancfg partition.

  1. Please ensure the system requirements meet the recommendations in the below document. Reference link:https://docs.paloaltonetworks.com/panorama/9-0/panorama-admin/set-up-panorama/set-up-the-panorama-virtual-appliance/setup-prerequisites-for-the-panorama-virtual-appliance.html
  2. Try deleting old software images, dynamic updates etc as documented in the below article to see if that can help free up the disk space.
    Reference:  https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000008V5bCAE
  3.  Also try to clear up the device monitoring data, please run the following commands on the panorama CLI to clear device monitoring data:
> debug mongo clear database pan_devmon instance mdb
> debug mongo clear database mon_summary instance mdb
  1. If none of the above options helped to reduce the disk space, we will have to spin a new VM instance.

    Executing the following commands will stop the mdb process:
> debug mongo clear database pan_devmon instance mdb Are you willing to delete the data? This operation can not be reverted (y or n) Delete data 'pan_devmon' under path: /opt/pancfg/mgmt/mongo/data Process 'mdb' executing STOP

> debug mongo clear database mon_summary instance mdb Are you willing to delete the data? This operation can not be reverted (y or n) Delete data 'mon_summary' under path: /opt/pancfg/mgmt/mongo/data

 

  1. After the database cleanup is complete, restart the mdb process by running the following command:

 

sparveen@panorama01.swz0.service-now.com(primary-suspended)> debug software restart process mdb Process mdb was restarted by user sparveen 

Verify that both the dmdb and mdb processes are running:

sparveen@panorama01.swz0.service-now.com(primary-suspended)> show system software status | match mdb 

Process dmdb running (pid: 5906) 
Process mdb running (pid: 12604) 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000004LqgCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail