dsccommunity / dsccommunity/SqlServerDsc

SqlSetup: When installing R Services (In-Database) it should be able to use MRCACHEDIRECTORY argument

Open
#588 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

Details of the scenario you tried and the problem that is occurring:
When installing R Services (In-Database) it should b able to use MRCACHEDIRECTORY argument for doing offline install.

https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-2016-from-the-command-prompt

As @kewalaka points out in issue #340, there need to be a mechanism to copy the files to the target node. Maybe we can leverage the already present SourceCredentials, which when set will copy the media to the target nod in a temporary location.
So if MRCACHEDIRECTORY is set to the source UNC path, and if SourceCredential is assigned credentials, the source UNC path is copied to the target node.

There s some more information in the section '
Scenario 4: Unattended setup of SQL Server 2016 RTM' in the article Do it right! Deploying SQL Server R Services on computers without Internet access.

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

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

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

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

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 at the SqlSetup resource and trace how MRCACHEDIRECTORY and SourceCredentials are handled during installation. Reproduce the offline R Services installation scenario described in the linked SQL Server documentation and verify that the source media reaches the target node and setup completes without Internet access.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, sql
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.