Check security credentials and connections
- Last UpdatedOct 02, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
To ensure that you have the required access permissions and that you can connect to each SQL Server in the collective, follow these steps:
-
Using the Windows credentials that you will use to create the collective, login to the workstation from which you will create the collective (do not do this on the SQL Server computer) and connect to each PI AF server that will be part of the collective.
-
On the same workstation, verify that you can perform a simple file share access to each SQL Server:
-
Select Start > Run.
-
Enter for each SQL server.
This ensures that your credentials authenticate to each SQL Server at the Windows level.
-
-
Establish a connection to each SQL Server via SQL Server Management Studio (SSMS) or sqlcmd.exe.
-
Once connected, run the following query:
SELECT IS_SRVROLEMEMBER ('sysadmin') "is sysadmin", CURRENT_USER "connected as", SYSTEM_USER "login user" ;
where
returns
returns
returns the user’s Windows user principal
Note: Do not proceed until the connection and query succeeds for each SQL Server that will be part of your PI AF collective.