Vmware VCSA Disk Size Log Retention

      Yorum yok Vmware VCSA Disk Size Log Retention
service-control --stop vmware-vpxd
shell.set --enable True
shell
chsh -s /bin/bash root
chsh -s /bin/appliancesh root
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres \d
SELECT nspname || '.' || relname AS "relation", pg_size_pretty(pg_total_relation_size(C.oid)) AS "total_size" FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) WHERE nspname NOT IN ('pg_catalog', 'information_schema') AND C.relkind <> 'i' AND nspname !~ '^pg_toast' ORDER BY pg_total_relation_size(C.oid) DESC LIMIT 20;
/opt/vmware/vpostgres/current/bin/psql -U vCenter-Server-database-user -v TaskMaxAgeInDays=task-days -v EventMaxAgeInDays=event-days -v StatMaxAgeInDays=stat-days -d database-name -t -q -f download-path/2110031_Postgres_task_event_stat.sql
/opt/vmware/vpostgres/current/bin/psql -U vCenter-Server-database-user -v TaskMaxAgeInDays=task-days -v EventMaxAgeInDays=event-days -v StatMaxAgeInDays=stat-days -d database-name -t -q -f /tmp/2110031_Postgres_task_event_stat.sql
/opt/vmware/vpostgres/current/bin/psql -U postgres -v TaskMaxAgeInDays=10 -v EventMaxAgeInDays=10 -v StatMaxAgeInDays=10 -d VCDB -t -q -f /tmp/2110031_Postgres_task_event_stat.sql
/opt/vmware/vpostgres/current/bin/psql -U postgres -v TaskMaxAgeInDays=1 -v EventMaxAgeInDays=1 -v StatMaxAgeInDays=1 -d VCDB -t -q -f /tmp/2110031_Postgres_task_event_stat.sql
service-control --start vmware-vpxd

VCSA Emergency Mode
# e2fsck -y /dev/log_vg/log

wincp
shell /usr/libexec/sftp-server
/opt/likewise/bin/domainjoin-cli join domain.com Domain_Administrator Password

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

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