IDPA vCenter yükseltmesi, "vCSACliInstallLogger - ERROR - vCenter Server Data Export failed" (vCSACliInstallLogger - HATA - vCenter Sunucu Verilerinin Dışa Aktarımı Başarısız Oldu) hatası vererek başarısız oluyor

Summary: Bu KB makalesi, vCenter db'nin dışa aktarımının başarısız olmasından kaynaklanan bir vCenter yükseltme hatası ile ilgili size rehberlik sağlar. Bu durum, vCenter DB bozulmasından kaynaklanabilir. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



ACM'de vCenter'ın failed (başarısız) olarak gösterildiğini fark edebilirsiniz.

"/data01/tmp/patch/logs/VCSA" dizini altındaki vCenter yükseltme günlüğüne bakıldığında, vcsaclientinstaller günlüğünde aşağıdaki hatalar görülebilir:


Progress: 42% Exporting VMware vCenter Server Database data...
2020-03-26 03:41:00,145 - vCSACliInstallLogger - ERROR - vCenter Server Data Export failed.
2020-03-26 03:41:00,145 - vCSACliInstallLogger - ERROR - Upgrade failed:
Status: ERROR
Progress: 42% Exporting VMware vCenter Server Database data...
Error:
Problem Id: None
Component key: upgrade_framework
Detail:
Error while exporting source SET tables: pg_dump: Error message from server: ERROR:  invalid page in block 9 of relation base/16384/25164

Resolution: Read the log files and address the issues found in your source SET tables.
2020-03-26 03:41:00,145 - vCSACliInstallLogger - INFO - See /data01/tmp/patch/logs/vclogs/monitor-firstboot-progress-oczvL_.json file on local machine or /var/log/vmware/upgrade/export.json file on remote machine for details.



Ayrıca vCenter Server'da, "/var/log/vmware/upgrade" dizini altındaki yükseltme günlükleri de doğrulanabilir ve bu günlüklerde aşağıdaki hata mesajı gösterilebilir:

VMware License Service data...
2020-03-26 17:09:01,732 - vCSACliInstallLogger - INFO - vCenter Server Data Export: Progress: 42% Exporting VMware vCenter Server Database data...
2020-03-26 17:09:12,296 - vCSACliInstallLogger - ERROR - vCenter Server Data Export failed.
2020-03-26 17:09:12,296 - vCSACliInstallLogger - ERROR - Upgrade failed:
Status: ERROR
Progress: 42% Exporting VMware vCenter Server Database data...
Error:
Problem Id: None
Component key: upgrade_framework
Detail:
Error while exporting source SET tables: pg_dump: Error message from server: ERROR:  invalid page in block 9 of relation base/16384/25164

Resolution: Read the log files and address the issues found in your source SET tables.
2020-03-26 17:09:12,296 - vCSACliInstallLogger - INFO - See /data01/tmp/patch/logs/vclogs/monitor-firstboot-progress-tmcn2I.json file on local machine or /var/log/vmware/upgrade/export.json file on remote machine for details.
2020-03-26 17:09:12,305 - vCSACliInstallLogger - INFO - Gathering VC support log bundle. This can take a few minutes.
2020-03-26 17:09:12,583 - vCSACliInstallLogger - INFO - Uninstalling vmware-upgrade-requirements-* on 192.168.100.99.
2020-03-26 17:09:13,881 - vCSACliInstallLogger - ERROR - (u'Failed to uninstall %(rpm)s on %(host)s: %(error)s', {'host': u'192.168.100.99', 'rpm': u'vmware-upgrade-requirements-*', 'error': CommandError(u"Failed to run and wait for command in guest with error 'Command '/bin/rpm' exited with non-zero status 1'",)})



vCenter'daki postgres.log günlüğünde aşağıdaki hata mesajı gösterilir: 

816 UTC 5e7ce0cc.7647 24294965  LOG: automatic analyze of table "VCDB.vc.vpx_event_arg" system usage: CPU 0.02s/1.53u sec elapsed 6.15 sec
2020-03-26 17:08:19.502 UTC 5e7ce180.2530 24295002  LOG: automatic analyze of table "VCDB.vc.vpx_event" system usage: CPU 0.00s/2.40u sec elapsed 2.79 sec
2020-03-26 17:08:58.326 UTC 5e7c377f.3892 0 VCDB vc LOG: unexpected EOF on client connection with an open transaction
2020-03-26 17:08:58.326 UTC 5e7c3796.3a7b 0 VCDB vc LOG: unexpected EOF on client connection with an open transaction
2020-03-26 17:08:58.327 UTC 5e7c3796.3a81 0 VCDB vc LOG: unexpected EOF on client connection with an open transaction
2020-03-26 17:09:09.530 UTC 5e7ce1b3.3c67 0 VCDB postgres ERROR: invalid page in block 9 of relation base/16384/25164
2020-03-26 17:09:09.530 UTC 5e7ce1b3.3c67 0 VCDB postgres STATEMENT: COPY vc.vpx_topn_past_month (counter_id, sample_time, integral_value) TO stdout;
SET zero_damaged_pages = on; select * from <corrupted table>; SET zero_damaged_pages = off;

VCDB=# select counter_id from vpx_topn_past_month;
ERROR: invalid page in block 9 of relation base/16384/25164

Cause

vCenter Postgres Veritabanı bozulması, DB Export (Dışa Aktarma) görevi sırasında vCenter yükseltmesinin başarısızlıkla sonuçlanmasına neden oldu. 

Resolution

1. Adım: IDPA vCenter kullanıcı arayüzünde oturum açın.

2. Adım: vCenter VM'nin bir klonunu oluşturun.
  • VCSA VM'ye sağ tıklayın --> Clone to Virtual Machine (Sanal Makineye Klonla) seçeneğini belirleyin. 
  • Klonun adını ve diğer ayrıntıları seçin, ardından OK (Tamam) öğesine tıklayın. 

3. Adım: ACM kullanıcı arayüzünde vCenter VM için geri alma işlemi gerçekleştirin. 
  • Troubleshooting Options (Sorun Giderme Seçenekleri) onay kutusuna tıklayın. Rollback for vCenter Upgrade (vCenter Yükseltmesi için Geri Alma) öğesine tıklayın.  

4. Adım: vCenter VM'ye SSH bağlantısı açın ve vpxd hizmetini durdurun.
  • service-control --stop vpxd

5. Adım: vCenter Postgres DB'de oturum açın.
  • /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
6. Adım: vCenter Postgres db'de aşağıdaki sorguları/komutları çalıştırın:
  • SET zero_damaged_pages = on;
  • VACUUM FULL ANALYSE VERBOSE;
  • REINDEX table vpx_topn_past_month;
  • select * from vpx_topn_past_month;
  • SET zero_damaged_pages = off;
7. Adım: ACM kullanıcı arayüzüne gidin, Retry for vCenter Upgrade (vCenter Yükseltme için Tekrar Dene) öğesine tıklayın ve işlemi izleyin. 


    Additional Information

    Yukarıdaki adımlar tamamlandıktan sonra sorun çözülmezse VMware destek ekibini de sürece dahil edin. 

    Affected Products

    Integrated Data Protection Appliance Family

    Products

    PowerProtect DP4400, PowerProtect DP5300, PowerProtect DP5800, PowerProtect DP8300, PowerProtect DP8800, PowerProtect Data Protection Software, Integrated Data Protection Appliance Family, PowerProtect Data Protection Hardware , Integrated Data Protection Appliance Software ...
    Article Properties
    Article Number: 000173289
    Article Type: Solution
    Last Modified: 27 May 2025
    Version:  3
    Find answers to your questions from other Dell users
    Support Services
    Check if your device is covered by Support Services.