Miejsce w appliance vcsa – ver . 6.0

VCSA działa stabilnie – do czasu aż się nie skończy miejsce w /storage/log.

Oprócz usunięcia wszystkich (niepotebnych) archiwalnych plików bz2 i gz można uruchomić następujące polecenie:

 

find /storage/log -iname "*bz2" -exec rm {} \;

oraz

find /storage/log -iname "*gz" -exec rm {} \;

W dalszej kolejności proponuję zastosować się do artykułu: https://kb.vmware.com/s/article/2147261 dotyczącego pliku /storage/log/vmware/cloudvm/cloudvm-ram-size.log i niedziałającego dla niego logrotate

W celu naprawy należy:

touch /etc/logrotate.d/cloudvm_ram_size.log

vim /etc/logrotate.d/cloudvm_ram_size.log i dodać:

/storage/log/vmware/cloudvm/cloudvm-ram-size.log{
missingok
notifempty
compress
size 20k
monthly
create 0660 root cis
}

 

Uruchomienie czyszczenia:

 

logrotate -f /etc/logrotate.conf
No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

VMware
VCF, backup configuration

Backup implementation for VMware component is fairly easy. Just the requirements is to configure SFTP server in proper way and make it network available to the VMware components. SDDC Manager and NSX Manager backup In VCF Operations it is possible to configure backup for SDDC Manager and NSX Manager. Go …

VMware
VCF Automation, fresh environment configuration with identity providers and access control.

Introduction Login Login as user admin to the Organization name: system or if selected manual: Check the connections (in Administration section), where you should see connection to the vCenter and NSX-t manager as those are provided automatically via VCF Operations: the same for VCF Instances: Also check your networking: Identity …

VMware
VCF SoS

SoS (Supportability and Serviceability) command can be used for troubleshooting purpose to generate VCF (per component) log bundle, massively enable/disable ssh service on ESXi, vCenter, password and certificates expiry status, verify cluster health and many other. while troubleshooting, the following commands can be helpful: