dsccommunity / dsccommunity/SqlServerDsc

SqlRS: Add support for SQL credentials for Reporting Services DB init

Open
#598 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
PowerShell
Stars
385
Forks
224
PR merge metrics
No merged PRs in 30d

Description

xSQLServerRSConfig resource currently does not support DB initialisation using SQL auth. This is needed in a scenario when deploying RS DBs to a remote SQL server in a non-domain environment.

Suggested .mof schema change:

[ClassVersion("1.0.0.0"), FriendlyName("xSQLServerRSConfig")]
class MSFT_xSQLServerRSConfig : OMI_BaseResource
{
       [Key, Description("Name of the SQL Server Reporting Services instance to be configured.")] String InstanceName;
       [Required, Description("Name of the SQL Server to host the Reporting Service database.")] String RSSQLServer;
       [Required, Description("Name of the SQL Server instance to host the Reporting Service database.")] String RSSQLInstanceName;
==>    [Write, EmbeddedInstance("MSFT_Credential"), Description("SQL authentication credential to be used for DB initialisation.")] String RSSQLCredential;
       [Read, Description("Is the Reporting Services instance initialized.")] Boolean IsInitialized;
};

Details of the scenario you tried and the problem that is occurring:

The DSC configuration that is using the resource (as detailed as possible):

Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:

What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:

Version of the DSC module you're using, or 'dev' if you're using current dev branch:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the xSQLServerRSConfig resource and its MOF schema. Review how Reporting Services database initialization currently receives server and instance settings, then trace the path used for remote, non-domain SQL Server deployments. Done means the resource schema accepts an SQL authentication credential and database initialization supports that scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.