NetWorker: VMware gruppi che non hanno avuto errore nel caricamento dell'inventario da vCenter

Zhrnutie: NetWorker gruppo di VMware con associazione dinamica non riuscita con errore di caricamento dell'inventario da vCenter

Tento článok sa vzťahuje na Tento článok sa nevzťahuje na Tento článok nie je viazaný na žiadny konkrétny produkt. V tomto článku nie sú uvedené všetky verzie produktov.

Symptómy

1. NetWorker workflow associati al tipo di gruppo: VMware e ha attivato l'associazione dinamica (Tag based Association), ha esito negativo con errore "Impossibile caricare l'inventario".
2. I workflow non segnalano le VM sotto di essa quando viene effettuato un tentativo di avvio di singoli client.
3. Gli errori riportati di seguito sono noti in Daemon. log:

 

nsrdisp_nwbg stato sessione di inventario NSR Critical restituito con un errore. Error: Impossibile caricare l'inventario da' < nome vCenter >'. Impossibile caricare i metadati di categoria/tagging: Impossibile effettuare il login al servizio CIS all'indirizzo ' HTTPS://< vCenter Name >/Rest/com/VMware/CIS/Session ': Post https://< nome vCenter >/Rest/com/VMware/CIS/Session: NET/http: Request annullato (client. timeout superato in attesa di intestazioni)'. nsrdisp_nwbg stato sessione di inventario NSR Critical restituito con un errore. Error: Impossibile caricare l'inventario da' < nome vCenter >'. Impossibile caricare i metadati di categoria/tagging: l'indirizzo di memoria non valido o lo stato della sessione di disriferimento del puntatore Nil ha restituito un errore. Error: Impossibile caricare l'inventario da "< vCenter nome >".  Impossibile caricare i metadati di categoria/tagging:  Impossibile inviare REST richiesta al vCenter: Post https://< vCenter nome >/Rest/com/VMware/CIS/tagging/Tag-Association/ID: urn: vmomi: InventoryServiceTag: 73f530b9-ea0b-48dB-B657-c6cf308c2a53: GLOBAL? ~ Action = List-Attached-Objects: NET/http: Request annullated (client. timeout superato in attesa di intestazioni)'.

 


Príčina

1. Errore da vCenter in cancellazione dei tag non aggiornati da CS. Identity:

Ciò può essere identificato eseguendo i seguenti comandi in vCenter CLI. Connetti a vCenter database Postgres:

/opt/VMware/vpostgres/Current/bin/psql-d VCDB-U Postgres


Per eseguire una query sul tag non aggiornato associato alla Virtual Machine:

# SELECT Count (*) from cis_kv_keyvalue where kv_provider like ' tagging:%' e kv_key like ' tag_association urn: vmomi: VirtualMachine:%' and regexp_replace (kv_key,' tag_association urn: vmomi: VirtualMachine: VM-([0-9] +). *',' \ 1'):: bigint not in (SELECT ID from vpx_vm);


Per eseguire una query sul tag non aggiornato associato all'host: 

# SELECT Count (*) from cis_kv_keyvalue where kv_provider like ' tagging:%' e kv_key like ' tag_association urn: vmomi: HostSystem:%' and regexp_replace (kv_key,' tag_association urn: vmomi: HostSystem: host-([0-9] +). *',' \ 1'):: bigint not in (SELECT ID from vpx_host);



2. L' endpoint VAPI non è riuscito a vCenter crunch di memoria a causa di un dump di memoria heap:

Ciò può essere identificato eseguendo i seguenti comandi in vCenter CLI:

# LS-ltrh * hprof * | awk {' Print $9'} java_pid62528. hprof java_pid45649. hprof java_pid36715. hprof java_pid2514. hprof java_pid43896. hprof java_pid52081. hprof

Ciascuna delle suddette corrisponde a un'ora in cui sono stati riscontrati gli errori su daemon. login NetWorker. 

Riešenie

Ciascuno di questi casi deve essere risolto da un amministratore VMware seguendo le indicazioni riportate di seguito:

1. Tag non aggiornati:

 Per cancellare i tag non aggiornati:

a. Interrompere il servizio vpxd & Content Library:

Service-Control--stop VMware-vpxd Service-Control--stop VMware-Content-Library

B Connetti a vCenter database Postgres
 

/opt/VMware/vpostgres/Current/bin/psql-d VCDB-U Postgres


Per eliminare i tag non aggiornati:
 

eliminare da cis_kv_keyvalue dove kv_provider come ' tagging:%' e kv_key come ' tag_association urn: vmomi: VirtualMachine:%' and regexp_replace (kv_key,' tag_association urn: vmomi: VirtualMachine: VM-([0-9] +). *',' 1'):: bigint not in (SELECT ID from vpx_vm) restituzione kv_key, kv_value; eliminare da cis_kv_keyvalue dove kv_provider come ' tagging:%' e kv_key come ' tag_association urn: vmomi: HostSystem:%' and regexp_replace (kv_key,' tag_association urn: vmomi: HostSystem: host-([0-9] +). *',' 1'):: bigint not in (SELECT ID from vpx_host) restituzione kv_key, kv_value; eliminare da cis_kv_keyvalue dove kv_provider come ' tagging:%' e kv_key come ' tag_association urn: vmomi: datastore:%' and regexp_replace (kv_key,' tag_association urn: vmomi: datastore: datastore-([0-9] +). *',' 1'):: bigint not in (SELECT ID from vpx_datastore) restituzione kv_key, kv_value;


a. eseguire nuovamente due comandi SELECT query per assicurarsi che count sia 0.
b. Avvia servizi:

controllo del servizio--avvio di VMware-vpxd Service-Control--Start VMware-Content-Library

c. disconnessione di vCenter sessione e login nuovamente e convalida dell'ambiente, tag, NSX, backup, provisioning ecc.

Se vCenter non sembra in buona salute, si prega di raccogliere i log dal vCenter con il comando "VC-support" e contattare VMware.


2. VAPI si blocca:

un. Identificare la memoria allocata a VAPI e aumentare se la memoria è troppo bassa, le best practice possono essere determinate dal supporto di VMware.

 

#cloudvm-RAM-size-l | grep-i VAPI VMware-vapi-endpoint = 256


in:

#cloudvm-RAM-size-l | grep-i VAPI VMware-vapi-endpoint = 1120

 


Vlastnosti článku
Číslo článku: 000181215
Typ článku: Solution
Dátum poslednej úpravy: 22 jan 2025
Verzia:  6
Nájdite odpovede na svoje otázky od ostatných používateľov spoločnosti Dell
Služby podpory
Skontrolujte, či sa na vaše zariadenie vzťahujú služby podpory.