Configuration of MSSQL-based assets

This guide describes how to configure assets whose data is read by a MSSQL instance. MSSQL instances are accessed via Powershell. Asset-specific steps are marked accordingly.

Requirements

To access MSSQL instances via powershell, the hosts running the MSSQL instances must be configured as described in Configuring Windows Hosts via Domain Controller.

Configuration of the MSSQL instance

Without exception, the configuration is carried out via the Microsoft SQL Server Management Studio. The Ingram Micro COCKPIT user created in Configuration of Windows Hosts via Domain Controller is used as user.

1. Login for Ingram Micro COCKPIT users

The Ingram Micro COCKPIT user is authorized to log on to the database instance.

Navigation: "Object Explorer" -> "Security" -> "Logins": In the context menu "New Login". The "Login - New" window appears. Select "General" (left bar) -> Enter the Ingram Micro COCKPIT user in the box next to "Login name:". The search function located to the right of the box ("Search…") may be helpful here. If the user cannot be found, the correct domain should be selected under "Locations". The window can be closed via "OK".

Figure: Create Ingram Micro COCKPIT-User in MSSQL-Instance

Figure: Create Ingram Micro COCKPIT-User in MSSQL-Instance

2. Roles of the Ingram Micro COCKPIT user on system views

The Ingram Micro COCKPIT user gets the role "db_datareader" on the "master" and "msdb" view of the instance.

Navigation: "Object-Explorer" -> "Security" -> "Logins" -> Ingram Micro COCKPIT-User: Select "Properties" in the context menu. The "Login Properties" window opens. Go to the left bar and click on "Select User Mapping". Go to the "Users mapped to this login" table for the database "master" and "msdb" in the lower table under "Database role membership for: (master or msdb)" and set the hook at "db_datareader". The window can be closed via "OK".

Figure: Select Ingram Micro COCKPIT-User-Properties

Figure: Assign Ingram Micro COCKPIT-Roles for msdb database

Figure: Assign Ingram Micro COCKPIT-Roles for master database

2a. Veeam only: Additional role of the Ingram Micro COCKPIT user on Veeam database

The Ingram Micro COCKPIT user gets the role "db_datareader" on the Veeam database, analogous to step 2.

Figure: Assign Ingram Micro COCKPIT-Roles for Veeam database

3. Permissions on MSSQL instance

The Ingram Micro COCKPIT user needs the "View any definition" and "View server state" permissions on the MSSQL instance.

Navigation: In the "Object Explorer" open the context menu on the MSSQL instance and select "Properties". The "Server Properties" window opens. Select "Permissions" in the left bar, and in the right section of the window select the previously authorized Ingram Micro COCKPIT user from the list under "Logins or roles". Permissions for this user can be set in the table "Permissions for (Ingram Micro COCKPIT User)" under the list "Logins or roles". Under the tab "Explicit" the permissions "View any definition" and "View server state" must be set by checking the "Grant" column. The window can be closed via "OK".

Figure: Select Ingram Micro COCKPIT-Server-Permissions

Figure: Assign Ingram Micro COCKPIT-Permissions on the server

Back to Top