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.

Linux
Migrate WordPress site to another hosting service.

IntroductionThis article details the migration of WordPress site (exactly this site you are now on) from one service provider to Amazon Lightsail. There might be various reason to do that (mine is outlined below) but in general I hope to share the message that especially with WordPress, migration can be …

VMware
VMware Workstation and Fusion can be installed and use for free (even for the enterprise)

For a while now, the VMware Workstation (and Fusion for MacOS) can be used without any additional fee for Personal use. That was a great Broadcom news and nice gesture from that software vendor. Recently Broadcom announced that the software will be available for all, even the commercial sector. This …

Linux
Salt, VMware implementation – part 1, introduction

As every IT administrator knows, the infrastructure (meaning storages, compute, VMware virtualisation stack) is just a fundaments to run various operating systems (OS) and finally (containerized) application. Therefore, installation of (let’s call it) infrastructure in the datacenter (SDDC), in that sense is just the beginning of the adventure. No wonder, …