1 - Copy the provided “.mdf” and “.ldf” files in the Microsoft SQL Server instance used for the PI Vision database.

 

1.png

 

2 - Attach the “.mdf” file in the Microsoft SQL Server Management Studio.

 

2.png

 

3.png

 

4.png

 

If you would like to merge the display with your current database, please skip to step 5.

3 - Go to the PI Vision Admin site and change the PI Vision Database to the newly attached database.

 

3.png

 

4 - Open the PI Vision Display Utility and remap the PI Data Archive and PI AF servers as needed.

a)       Your MS SQL Instance here:

 

6.png

 

b)      Select all displays:

 

7.png

 

c)       Source PI AF (OSIsoft-ExampleKit) and source Database (Water Leakage Control Example Kit FULL):

* The names in bold may vary according to the Example Kit.

 

8.png

 

d)      Source PI Data Archive (OSIsoft-ExampleKit)

 

9.png

 

Hit GO on the next screen and you are all set!

 

5 - To be followed only in the case of merging Example Kits displays with your current one.

Open the PI Vision Display Utility and remap the PI Data Archive and PI AF servers as needed.

a) Your MS SQL Instance here with the PI Vision Example Kit database and your current one:

 

10.png

 

b) Select all displays:

 

14.png

 

c) Source PI AF (OSIsoft-ExampleKit) and source Database (Water Leakage Control Example Kit FULL):

* The names in bold may vary according to the Example Kit.

 

12.png

 

d) Source PI Data Archive (OSIsoft-ExampleKit)

 

13.png

 

Select GO on the next step and it is done!