Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ PI Server Installation and Configuration (PI Server 2024 R2)

Use PI AF Audit Trail

  • Last UpdatedNov 13, 2025
  • 1 minute read

You can use PI AF Audit Trail in a SQL Server availability group.

  1. Enable Audit Trail on the Primary/Principal machine.

  2. Force a failover to cause a secondary machine to become the new Primary/Principal machine.

  3. Enable Audit Trail on that secondary machine, now the new Primary/Principal machine.

  4. Run the following stored procedure on the SQL Server for the new Primary/Principal machine: EXEC dbo.usp_audit_verify_monitor_job_exists N'PIFD';

    The command will create the OSIsoft Monitor CDC (PIFD) SQL job.

  5. Repeat for each secondary machine.

  6. Test Audit Trail for each secondary machine by modifying an AF object using PI System Explorer and viewing the audit data.

TitleResults for “How to create a CRG?”Also Available in