vCenter100-Server-clone-5-1-0-1123961
vCenter Server 5.1 Update 1a | 22 May 2013 | Build 1123961
update to:
vCenter Server 5.1 Update 3d | 24 May 2016 | Build 3814779
https://kb.vmware.com/s/article/2056448
Version:
VMware vCenter Server Appliance 5.1.0.30400 Build 3868380vpbx:~ # lsblk -f
vpbx:~ # vmtoolsd -v
VMware Tools daemon, version 9.0.17.55356 (build-3774305)
NAME FSTYPE LABEL MOUNTPOINT
sda
├─sda1 ext3 /boot
├─sda2 swap [SWAP]
└─sda3 ext3 /
sdb
├─sdb1 ext3 /storage/core
├─sdb2 ext3 /storage/log
└─sdb3 ext3 /storage/db
BEFORE
vpbx:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 9.8G 5.0G 4.3G 55% /
/dev/sdb1 20G 20G 0 100% /storage/core
/dev/sdb2 20G 8.2G 11G 44% /storage/log
/dev/sdb3 60G 14G 43G 25% /storage/db
vpbx:~ #
AFTER
vpbx:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 9.8G 5.0G 4.3G 54% /
/dev/sda1 128M 22M 100M 18% /boot
/dev/sdb1 20G 20G 0 100% /storage/core
/dev/sdb2 20G 547M 19G 3% /storage/log
/dev/sdb3 60G 13G 44G 22% /storage/db
vpbx:~ #
Files to delete
rm -rf /storage/core/core.vpxd-worker.*
rm -rf /storage/log/vmware/vpx/sps/sps.log.*
rm -rf /storage/log/vmware/vpx/sps/wrapper.log.*
rm -rf /storage/log/vmware/vpx/tomcat/logs/localhost_access_log.20*
rm -rf /storage/log/vmware/vpx/sms.log.*
rm -rf /storage/log/vmware/vpx/vsm.log.*
rm -rf /storage/log/vmware/vpx/vws.log.*
rm -rf /storage/log/vmware/vpx/cim-diag.log.*
rm -rf /storage/log/vmware/sso/localhost-access-20*
rm -rf /storage/log/vmware/sso/status-live.log.*
rm -rf /storage/log/vmware/sso/ssoAdminServer.log.*
rm -rf /storage/log/vmware/sso/rootlogger.log.*
rm -rf /storage/log/vmware/sso/backup/imsRuntimeAudit.20*
rm -rf /storage/log/vmware/sso/backup/imsTrace.20*
rm -rf /var/log/audit/audit.log.*
> /var/log/cron
vPostgre cleanup
cat /etc/vmware-vpx/embedded_db.cfg | grep PASSWORD
EMB_DB_PASSWORD='xxxx'
vpbx:/storage/core # sudo -u postgres /opt/vmware/vpostgres/9.0/bin/vacuumdb -a -e -v -f -U postgres > /tmp/vacuumdb.log
Password:
INFO: vacuuming "pg_catalog.pg_statistic"
INFO: vacuuming "pg_catalog.pg_type"
INFO: vacuuming "vpx.vpx_hist_stat4_67"
INFO: vacuuming "vpx.vpx_hist_stat4_116"
...
INFO: vacuuming "vpx.vpx_event" !!!!!!!! very long time to complete