A remote PowerQuality Database in Same Workgroup
- Powermanager system and database system are in same workgroup.
- You have created two workgroup users with administrative rights.
For example: PM3 user is Powermanager system user and PM4 user is database system user.
- Open system where you wish to host PowerQuality database.
For example: Log in using PM4 user. - Navigate to Start > Windows Administrative Tools > Computer Management.
- Computer Management window appears.
- Navigate to System Tools > Local Users and Groups > Users.
- Create a new user with same credentials as Powermanager system user.
For example: PM3 is user created for Powermanager system, add same PM3 user into database System. - Install SQL Server, and SQL Server Management Studio (SSMS).
NOTE 1: Database system administrative rights are required to install applications.
NOTE 2: SQL Server Express 2019 edition is provided with the Powermanager setup and located at [setup folder] > DCC > GMS > Prerequisites > SQL 2019. For other supported SQL Servers, you need to download manually. See Microsoft SQL Server.
NOTE 3: Ensure Startup type for SQL Server Browser is selected as Automatic. See Enable the SQL Server Browser
NOTE 4: SQL authentication is not supported. - Open SQL Server Management Studio, and connect to server.
- Under Object Explorer navigate to [SQL Server] > Security > Logins.
- Add windows user of Powermanager system, and assign Server Roles as sysadmin.
For example: add PM3 Powermanager system user. - Navigate to Start > Windows Administrative Tools > Computer Management.
- Computer Management window appears.
- Navigate to Services and Applications > SQL Server Configuration Manager > SQL Server Network Configuration > Protocol for [SQL name].
- Ensure Shared Memory, Named Pipes and TCP\IP are enabled.

- Navigate to Start and search for Allow an app through Windows Firewall.
- Allow apps to communicate through Windows Defender Firewall window appears.
- Click Change Settings.
NOTE: Database system administrative rights are required to perform this step. - Click Allow another app.
- Add an app window appears.
- Click Browse.
- Select below mentioned files one after another.
- Select the file C:\ProgramFiles\MicrosoftSQLServer\<version_InstanceName>\MSSQL\Binn\sqlservr.exe.
- Select the file C:\ProgramFiles(x86)\MicrosoftSQLServer\90\Shared\sqlbrowser.exe. - Click Add and select Domain checkbox for both the files.
- Click OK.

- Create an Inbound-outbound rule. For more information, refer Creating Inbound and Outbound Rule for Remote Database.
- Navigate to drive where you wish to host database and create a new folder named GMSDatabases.
- Open GMSDatabases folder and create another new folder named Backups.
- Open Backups and create another new folder named RecoveryLog.
- Open Powermanager system.
For example: Login using PM3 user. - Navigate to Start > Windows Administrative Tools > Computer Management.
- Computer Management window appears.
- Navigate to System Tools > Local Users and Groups > Users.
- Create a new user with same credentials as database system user.
For example: PM4 is user created for database system, add same PM4 user into Powermanager System. - Navigate to Start > Windows Administrative Tools > Local Security Policy.
- Local Security Policy window appears.
- Navigate to Security Settings > Local Policies > User Rights Assignment > Log on as a service.
- Open Log on as a service and select Add User or Group.
- Enter the database user name and click on Check Names.
For example: enter PowerQuality database (PM4) credentials. - Click OK.

- Open SMC, and select Database Infrastructure.
- Click Scan Network and select SQL server from database system.
- Click Link
. - Select System node.
- Navigate to Settings > System Account, select Specific account.

- Click Browse.
- Select User window appears.
- Click Other Domains, select domain and search for windows user of database system, and click OK.
For example: select PM4 user of database system. - Enter Password for the selected user.
- Navigate to Services expander and select Siemens GMS PQDB Service.
- Under Service Account expander, select Specific account.

- Click Browse.
- Select User window appears.
- Click Other Domains and select domain and search for windows user of database system.
For example: Select PM4 user of database system. - Enter Password for the database user.
- Click Apply.
- Navigate to Database Infrastructure > [SQL Server from database system].
- Click Create
and select Create Powermanager PowerQuality Database. - Enter DB name, and select Database size.
NOTE: Ensure DB Owner and DB User are not same. - Click Save
.
- Remote PowerQuality Database created successfully.