Loading

Risoluzione dei problemi di replica dei dati

Data pubblicazione: Nov 19, 2025
Descrizione
Ambiente: STG

Questo articolo tratta la risoluzione dei problemi delle repliche, sia "Staging to Production" (Da gestione temporanea a Produzione) che "Staging to Development" (Da gestione temporanea a Sviluppo).
Risoluzione

Il primo passo del monitoraggio della gestione temporanea è monitorare lo stato del processo di replica dei dati nell'istanza di gestione temporanea (istanza di origine). Se l'istanza di gestione temporanea non riesce, controllare i registri di gestione temporanea per trovare i messaggi relativi all'errore.

 
Esaminare prima i registri di gestione temporanea dell'istanza di staging. Consultare il file staging-blade-yyyymmdd.log più recente. Molte volte un singolo registro di gestione temporanea conterrà in un file eventi di gestione temporanea per diversi giorni.

https:///on/demandware.servlet/webdav/Sites/Logs 

Cercare l'inizio del processo di replica nei registri. Avrà un'indicazione oraria simile a quella dell'operazione di replica dei dati avviata.
 
(Operazioni singole create in Business Manager)
 
[2007-01-15 21:17:12.848 GMT] ISH-CORE-2250: New replication task "1168895828901" in domain "Sites-Site" successfully created.
[2007-01-15  21:18:34.171 GMT] ISH-CORE-2250: New replication task "1168895910472"  in domain "Sites-YourStore" successfully created.
[2007-01-15  21:21:13.574 GMT]  ===================================================================================================
[2007-01-15 21:21:13.574 GMT] ReplicationPublication process created.
[2007-01-15 21:21:13.575 GMT] Start date: Mon Jan 15 21:21:12 GMT 2007
[2007-01-15 21:21:13.575 GMT] TargetSystem: Production (http://216.75.207.174:80)
[2007-01-15 21:21:13.575 GMT] Process uuid: bcvh6iaalTxJYaaacowN3YFqCG)
[2007-01-15 21:21:13.575 GMT] --------------------------------------------
 
Da questo punto iniziare a scorrere verso il basso nel file registro. Il processo sarà costituito da passaggi, ad esempio la raccolta delle statistiche per tutte le tabelle.
 
[2007-01-15  21:27:06.602 GMT] ISH-CORE-2070: SQL (64ms, rows=1): begin  dbms_stats.gather_table_stats(user, 'PRODUCTOPTION_AV$1', method_opt  => 'for all indexed columns', cascade => TRUE); end;
[2007-01-15  21:27:06.654 GMT] ISH-CORE-2070: SQL (52ms, rows=1): begin  dbms_stats.gather_table_stats(user, 'PRODUCTOPTION$1', method_opt =>  'for all indexed columns', cascade => TRUE); end;
[2007-01-15  21:27:06.826 GMT] ISH-CORE-2070: SQL (171ms, rows=1): begin  dbms_stats.gather_table_stats(user, 'BUNDLEASSIGNMENT$1', method_opt  => 'for all indexed columns', cascade => TRUE); end;
[2007-01-15  21:27:06.869 GMT] ISH-CORE-2070: SQL (43ms, rows=1): begin  dbms_stats.gather_table_stats(user, 'PRODUCTOPTIONPRICE_AV$1',  method_opt => 'for all indexed columns', cascade => TRUE); end;
[2007-01-15 21:27:06.869 GMT] ISH-CORE-2067: Starting new transaction...
[2007-01-15 21:27:06.872 GMT] ISH-CORE-2069: Commit transaction.
[2007-01-15 21:27:06.882 GMT] ISH-CORE-2067: Starting new transaction..
 
A questo punto inizierà l'esecuzione del processo di risincronizzazione, che predispone le directory di sistema dei file effettive per la copia nell'istanza di destinazione
 
[ 2007-01-15 21:27:08.317 GMT] StagingGroup: Site specific content search index (Relative directory: search/content)
[2007-01-15  21:27:08.317 GMT] ISH-CORE-2486: Synchronize Files of unit  'Sites-YourStore-Site' in site 'Sites-YourStore-Site' to exchange  directory at '/remote/aaas/staging/stg'.
[2007-01-15 21:27:08.318  GMT] Executing command: /build/2.0.0/system/bin/synchronize.sh  /remote/aaas/aaas_stg/sharedata/sites/Sites-YourStore-Site/1/search/content/  /remote/aaas/staging/stg/Sites-YourStore-Site/search/content/ ()
[2007-01-15  21:27:08.402 GMT] rsync debug (/usr/bin/rsync -tr --delete  /remote/aaas/aaas_stg/sharedata/sites/Sites-YourStore-Site/1/search/content/  /remote/aaas/staging/stg/Sites-YourStore-Site/search/content/)
[2007-01-15  21:27:08.476 GMT] ISH-CORE-1956: Files in path 'search/content' of site  'Sites-YourStore-Site' are successfully prepared
 
La fase finale dell'istanza di staging deve essere il passaggio a una destinazione (server di produzione). Nel registro di gestione temporanea verrà visualizzata la riga seguente.
 
[2007-01-15 21:27:09.783 GMT] Staging pipeline in live system sucessfully called.
 
Se questo messaggio di esito positivo non viene visualizzato, cercare gli errori nel modo seguente e seguire la procedura consigliata.
 
ISH-CORE-2491:  Setting state of process with uuid='dC8KAANna1AAAAEOTN9h9md4' from  'StartingStagingProcess' to 'ErrorAcquiringEditingLocks
 
Soluzione:
 
se si verifica questo errore di gestione temporanea, eseguire i passaggi seguenti.
 
1. Riavviare la destinazione (PRD o DEV), poi riavviare l'istanza di staging tramite il Control Center.
2. Ripetere il processo di gestione temporanea non riuscito con gli stessi parametri.
 
Se il registro di gestione temporanea nell'ambiente di gestione temporanea non mostra errori, passare al registro di gestione temporanea di produzione.
 
https:///on/demandware.servlet/webdav/Sites/Logs
 
I registri di gestione temporanea di produzione inizieranno con un messaggio del seguente tipo.
 
[2007-01-15  20:29:30.321 GMT] Copy staging process with  uuid=bcFvkiaalTMxMaaaco4bVYFqBX[2007-01-15 20:29:32.347 GMT] Starting  StagingResources-Acquire@Sites-Site
 
In base all'elemento di gestione temporanea utilizzato, ha inizio la copia della tabella db.
 
[2007-01-15  20:30:20.296 GMT] ISH-CORE-2070: SQL (123ms, rows=1): INSERT /*+ APPEND  */ INTO CATALOG$1 dest SELECT  CATALOGDOMAINID,ID,TYPECODE,STATUS,PROXYFLAG,STARTMAINTENANCE,ENDMAINTENANCE,POSITION,UUID,OCA,DOMAINID,LASTMODIFIED  FROM CATALOG$S src WHERE src.DOMAINID NOT IN  ('bcIxgiaalXEYQaaacmKaN9rLDa')
[2007-01-15 20:30:20.665 GMT] ISH-CORE-2070: SQL (369ms, rows=0): TRUNCATE TABLE CATALOGSITEASSIGNMENT$1 REUSE STORAGE
[2007-01-15 20:30:20.769 GMT] ISH-CORE-2070: SQL (100ms, rows=1): INSERT /*+ APPEND */ INTO CATALOGSITEASSIGNMENT$1
 
Dopo la copia, si passa dalle tabelle temporanee a quelle di origine da 2 a 1$
 
[2007-01-15  20:35:43.935 GMT] ISH-CORE-2300: Switching synonym  PRODUCT_AV from PRODUCT_AV$2 to PRODUCT_AV$1...
[2007-01-15  20:35:43.935 GMT] ISH-CORE-2300: Switching synonym  DELETEDPRODUCT from DELETEDPRODUCT$2 to DELETEDPRODUCT$1...
[2007-01-15 20:35:43.935 GMT] ISH-CORE-2300: Switching synonym PRODUCT from PRODUCT$2 to PRODUCT$1...
[2007-01-15  20:35:43.935 GMT] ISH-CORE-2300: Switching synonym  PRODUCTLINK from PRODUCTLINK$2 to PRODUCTLINK$1...
[2007-01-15  20:35:43.935 GMT] ISH-CORE-2300: Switching synonym  PRODUCTOPTION from PRODUCTOPTION$2 to PRODUCTOPTION$1
 
Se l'operazione viene completata correttamente, viene visualizzato il seguente messaggio alla fine dei registri.
 
[2007-01-15 21:31:17.434 GMT] ReplicationPublication process finished with state 'StagingProcessCompleted'.
[2007-01-15 21:31:17.435 GMT] Process uuid: cfbcMiaalTlpoaaado7llYFqCL)
[2007-01-15 21:31:17.435 GMT] End date: Mon Jan 15 21:31:16 GMT 2007
[2007-01-15 21:31:17.435 GMT] =======================================
 
 
Vedere anche:
Numero articolo Knowledge

000391175

 
Caricamento
Salesforce Help | Article