Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xSQLServerSetup: Impossible to update paths and service account of an existing instance? #253

Closed
Yvand opened this issue Dec 23, 2016 · 5 comments
Labels
enhancement The issue is an enhancement request.

Comments

@Yvand
Copy link

Yvand commented Dec 23, 2016

Details of the scenario you try and problem that is occurring:
I have an existing SQL Server 2016 instance and I'm trying to update following settings:

  • Path for SQL database files
  • Path for SQL log files
  • Service account for the SQL service

The DSC configuration that is using the resource (as detailed as possible):
The only resource that seems capable of doing that is xSQLServerSetup, but it seems only designed to add new instances, not update existing ones.
Is there a way to achieve what I need?
I tried this but it fails because it doesn't find setup.exe:

xSQLServerSetup ConfigureSQLServer
{
	SetupCredential = $AdminCreds
	InstanceName = "MSSQLSERVER"
	SQLUserDBDir = "F:\DATA"
	SQLUserDBLogDir = "G:\LOG"
	SQLCollation = "Latin1_General_CI_AS_KS_WS"
}

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

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

@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Dec 23, 2016
@johlju
Copy link
Member

johlju commented Dec 23, 2016

@Yvand thanks for submitting this issue!

Unfortunately today xSQLServerSetup is currently limited to install SQL Server, and does not handle any drift in desired state. There is a issue for that, see issue #37.

I keep this issue open since this particular properties could be resolved in either by xSQLServerSetup or in a new separate resource. The discussion around this issue will pan out which way to go.

@johlju johlju changed the title Impossible to update paths and service account of an existing instance? xSQLServerSetup: Impossible to update paths and service account of an existing instance? May 28, 2017
@randomnote1
Copy link
Contributor

I believe part of this is being addressed in issue #656.

@nabrond
Copy link
Contributor

nabrond commented Sep 19, 2017

Part of this was covered in issue #706. @Yvand managing service accounts was added through pull request #795. Not sure when it will be formally released, but you grab a copy of dev if you want to jump on this now.

@Yvand
Copy link
Author

Yvand commented Sep 20, 2017

Thank you!
I'll wait for this PR to be published in an official release and I'll test it.

@johlju
Copy link
Member

johlju commented Sep 21, 2017

There is a community call on the 27:th (see agenda). Release is normally schedule within two weeks from that (but can differ). Usually the release date is announced during the community call.

Closing this as this (the missing functionality) is being tracked in other issues.

@johlju johlju closed this as completed Sep 21, 2017
@vors vors removed the help wanted The issue is up for grabs for anyone in the community. label Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request.
Projects
None yet
Development

No branches or pull requests

5 participants