Troubleshooting Trust Protection Foundation Migration Issues During Upgrade

Troubleshooting Trust Protection Foundation Migration Issues During Upgrade

91
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:55 PM


Symptom


If migration tasks do not complete during an upgrade, various performance issues (among other issues) may occur. If you are having performance issues after an upgrade, check the Upgrade Status page in Aperture. You should be able to expand the server nodes and see which migration task is running. Depending on the status of the task, you may need to take corrective action. The following suggestions should help with troubleshooting migration issues. 



Environment


24.1;24.3;25.1;25.3 TPP/TLSPDC TLSPDC

See if there are any migration related events in the log. You can use a custom view for VCC that will quickly show this information:

  1. Open VCC
  2. Click on the Events Node
  3. Expand and then click on 'Custom Views'
  4. From the Actions Pane select 'Import Views...' and import the attached json file (Migration and Errors.json).
  5. Then click on each added custom view and select 'Save Events Log As...' to export the data.
  6. Also take a look at the data, perhaps there is enough information there to help you move the customer along

If you are having issues getting VCC to load, then most likely the migration that is having issues is the Object Store migration.  In this case, check the next section for a SQL method of looking at migrations and their duration.



Cause


--The following SQL query will show all of the migrations that have been run and how long each took:

DECLARE @classid INT;

DECLARE @starttimeid BIGINT;

DECLARE @stoptimeid BIGINT;

 

SELECT @classid = Id FROM config_classes where Name=N'Engine Upgrade';

SELECT @starttimeid = Id FROM config_attributes where Name=N'Start Time';

SELECT @stoptimeid = Id FROM config_attributes where Name=N'Stop Time';

 

with DistinctNames (PID) as (

               select distinct co.PID

               from config_objects co

               where ClassId = @classId

),

NameIds (PID, Id) AS (

               select PID, ROW_NUMBER() OVER (order by PID) as Id

               FROM DistinctNames

),

AllTasks (PID, Id, Engine, StartTime, StopTime, Diff) AS (

               select ids.PID, ids.Id, co.Name, CONVERT(DATETIME2, startsv.Value),CONVERT(DATETIME2, stopsv.Value), (DATEDIFF(second, CONVERT(DATETIME2, startsv.Value), CONVERT(DATETIME2, stopsv.Value)))

               from config_objects co

               INNER JOIN NameIds ids ON co.PID=ids.PID

               LEFT JOIN config_contains starttime ON co.Id=starttime.ObjectId AND starttime.AttributeId=@starttimeid

               LEFT JOIN config_n_stringattribute startsv ON starttime.StringId=startsv.Id

               LEFT JOIN config_contains stoptime ON co.Id=stoptime.ObjectId AND stoptime.AttributeId=@stoptimeid

               LEFT JOIN config_n_stringattribute stopsv ON stoptime.StringId=stopsv.Id

               where ClassId = @classid

), Tasks (PID, Id, Engine, StartTime, StopTime, Diff, RN) AS (

               SELECT t.PID, t.Id, t.Engine,t.StartTime,t.STopTime, t.Diff, ROW_NUMBER() OVER(PARTITION BY t.Id order by t.Diff DESC) as rn

               FROM AllTasks t

               INNER JOIN DistinctNames d ON d.PID=t.PID

)

select SUBSTRING(pdn.Dn, 15, 1000) as version, co.Name, t.Engine, t.Diff

from Tasks t

INNER JOIN config_objects co ON t.PID=co.Id

INNER JOIN config_parentdns pdn ON co.PID=pdn.Id

where t.RN = 1 and pdn.dn like '\VED\Upgrades\25%' or pdn.dn like '\VED\Upgrades\24%' or pdn.dn like '\VED\Upgrades\23%'

ORDER BY t.StartTime DESC, pdn.Dn DESC



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000vZTCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail