Giter Site home page Giter Site logo

Comments (7)

olljanat avatar olljanat commented on May 22, 2024

Looks hat "Get-TargetResource" cmdlet is implemented the way that it only supports these features:

  • SQLENGINE
  • AS
  • IS
  • SSMS
  • ADV_SSMS

You can use any combination of these features but these must be on that order.
Example:

  • "SQLENGINE,ADV_SSMS"
  • "AS,SSMS"

Other way test will fail and DSC will always try reinstall SQL.

Issue #3 is also connected to this one.

Right solution probably would be create "Get-TargetResource" function which supports all SQL features and these should be handled stored to sorted array which would fix all these issues.

Biggest issue is that detetion method is probably needed to implement for each feature differently.

Another option would be use discovery tool from installation media using command:discovery too
\setup.exe /ACTION=RUNDISCOVERY /QUIET
That stores HTML report of features to C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log

from sqlserverdsc.

abouman avatar abouman commented on May 22, 2024

I am experiencing the same issue while trying to add the following features:
BIDS, CONN, BC (Business Intelligence Design Studio, Client Tools Connectivity, Backwards Compatibility).
I receive the following error, even though the features get installed, same as reported above:
"PowerShell DSC resource MSFT_xSQLServerSetup failed to execute Set-TargetResource functionality with error message: Set-TargetResouce failed"

I am running WMF5.0 on Windows Server 2012R2

Is there a plan to enhance the Set-TargetResource to support the additional features of SQL Server? Is there a suggested work-around?

I am currently using DSC to install SQL Server 2012, Enterprise Edition.

Another issue: In the xSQLServer module, the "Paths" location for database files, log files, TempDB files, and Backup files are included (SQLUserDBDir, SQLUserDBLogDir, SQLTempDBDir, etc), however they are not included for Full Text Data. In my installs, I typically place my Full Text files on a separate drive for performance. I am not able to do this with the module as currently written.
Is there a plan to correct this?

Thank you kindly in advance!
Angela Bouman

from sqlserverdsc.

rolflobker avatar rolflobker commented on May 22, 2024

Also; looks like it is also failing on SSMS;

I only selected SQLEngine, SSMS as features to install.

The Get-TargetResource function contains;

$Products = Get-WmiObject -Class Win32_Product
switch($SQLVersion)
{
    "10"
    {
        $IdentifyingNumber = "{72AB7E6F-BC24-481E-8C45-1AB5B3DD795D}"
    }
    "11"
    {
        $IdentifyingNumber = "{A7037EB2-F953-4B12-B843-195F4D988DA1}"
    }
    "12"
    {
        $IdentifyingNumber = "{75A54138-3B98-4705-92E4-F619825B121F}"
    }
}

But it seems the SSMS feature for SQL 2014 Express is:

IdentifyingNumber : {839EF29A-3055-43DC-ADCE-8E84893798D5}
Name : SQL Server 2014 Management Studio
Vendor : Microsoft Corporation
Version : 12.1.4100.1
Caption : SQL Server 2014 Management Studio

from sqlserverdsc.

rolflobker avatar rolflobker commented on May 22, 2024

Also, the install state for the features fails if they are not CAPITALIZED in the configuration;

This works: Features = "SQLENGINE,SSMS"
This fails : Features = "SQLEngine,SSMS"

from sqlserverdsc.

abouman avatar abouman commented on May 22, 2024

Update: For the issue of no support for the following features:
BC, CONN, BIDS and REPLICATION, I have taken the xSQLServerSetup module and created a cSQLServerSetup custom module that allows for the support of these additional features.
Angela Bouman

from sqlserverdsc.

rodtobias avatar rodtobias commented on May 22, 2024

Hi @abouman,
What did you do to get the BC, CONN, and BIDS working for the xSQLServerSetup module? I understand you created a cSQLServerSetup custom module that allows for the support of these additional features. Is it possible if I see this code as well? Do you have it posted anywhere? Thanks in advance.

from sqlserverdsc.

johlju avatar johlju commented on May 22, 2024

xSQLServerSetup does not currently support RS_SHP or RS_SHPWFE shared features.
We should make sure to add these. They should also support the 'FilesOnly' support option.

from sqlserverdsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.