Install PI AF in a SQL Server availability group
- Last UpdatedOct 02, 2024
- 2 minute read
- PI System
- PI Server 2024 R2
- PI Server
You can use PI Asset Framework (PI AF) for use with a SQL Server availability group when an availability group does not yet exist or within an existing availability group. Use the procedures in these sections to install PI AF and its components on the machines that will be used for the SQL Server availability group.
Before you begin the procedure, make sure to:
-
Verify that the SQL Server machines are configured to support AlwaysOn Availability Groups:
-
On each SQL Server machine to be used in the availability group, open the SQL Server Configuration Manager.
-
Right-click the SQL Server service and select Properties. Select the AlwaysOn High Availability page.
-
Verify that the AlwaysOn Availability Groups check box is selected. If it is not selected, select it and restart the SQL Server service.
Note: The instructions for installing and upgrading PI AF in a SQL Server availability group are the same for both Always On Availability Groups and Always On Basic Availability Groups.
Install PI AF while creating an availability group
Note: It is important to complete the procedures in the order listed here.
-
Install PI AF in primary replica machine within a SQL Server AlwaysOn availability group.
-
Create SQL Server logins for the secondary replica machines in a SQL Server availability group.
Install PI AF in an existing SQL Server availability group
Note: It is important to complete the procedures in the order listed here.
-
Install PI AF in primary replica machine within a SQL Server AlwaysOn availability group.
-
Create SQL Server logins for the secondary replica machines in a SQL Server availability group.
In This Topic
Related Links
- Install PI AF in primary replica machine within a SQL Server AlwaysOn availability group
- Install PI AF on the secondary replica machines
- Install PI AF Application Service on a separate machine
- Create a SQL Server login for the primary replica machine
- Back up the PI AF SQL Server database
- Create SQL Server logins for the secondary replica machines in a SQL Server availability group
- Create a network share for a SQL Server availability group
- Create a SQL Server availability group for use with PI AF
- Configure the PI AF connection string
- Add a PI AF database