MVA Module 4 Update-DSCConfiguration

This topic contains 5 replies, has 2 voices, and was last updated by Profile photo of Alex Aymonier Alex Aymonier 1 year, 8 months ago.

  • Author
    Posts
  • #28895
    Profile photo of Ernesto Lombardi
    Ernesto Lombardi
    Participant

    So I have spent about 10 hours in the last 3 days trying to resolve this.

    I have.
    Installed the preview ps 5
    installed mva* modules
    Checked the permissions for my share (everyone everything)
    Changed my share (MOF instead of DSCSMB)

    I am using server 2012 r2 the evaluation VHD from Microsoft

    I can log on S1 and browse \\AD\MOF and see the files
    I can delete and rename the files
    The GuID # Matches my configuration file name (generated with the MVA scripts)

    I have done much more but my brain is numb, any suggestions??

    PS C:\> Update-DscConfiguration -ComputerName S1 -wait #Check to see if it installs
    The file \\Ad\MOF\da28698b-ed04-4b7f-9d2c-796e6fec2ec9.mof is not found.
    + CategoryInfo : ObjectNotFound: (\\Ad\MOF\da2869...96e6fec2ec9.mof:String) [], CimException
    + FullyQualifiedErrorId : DSCFileFileNotFound,Microsoft.PowerShell.DesiredStateConfiguration.DownloadManager.FileGetActionCommand
    + PSComputerName : S1

  • #28900
    Profile photo of Alex Aymonier
    Alex Aymonier
    Participant

    Hi Ernesto,

    Whats the output from Get-DscLocalConfigurationManager?

  • #28973
    Profile photo of Ernesto Lombardi
    Ernesto Lombardi
    Participant

    On the Box with the share or "pushserver"

    PS C:\> Get-DscLocalConfigurationManager

    ActionAfterReboot : ContinueConfiguration
    AllowModuleOverWrite : False
    CertificateID :
    ConfigurationDownloadManagers : {}
    ConfigurationID :
    ConfigurationMode : ApplyAndMonitor
    ConfigurationModeFrequencyMins : 15
    Credential :
    DebugMode : {NONE}
    DownloadManagerCustomData :
    DownloadManagerName :
    LCMCompatibleVersions : {1.0, 2.0}
    LCMState : Ready
    LCMVersion : 2.0
    MaxPendingConfigRetryCount :
    StatusRetentionTimeInDays : 10
    PartialConfigurations : {}
    RebootNodeIfNeeded : False
    RefreshFrequencyMins : 30
    RefreshMode : PUSH
    ReportManagers : {}
    ResourceModuleManagers : {}
    PSComputerName :

    On the Remote Server I am attempting to load windows server backup onto

    [S2]: PS C:\> Get-DscLocalConfigurationManager

    ActionAfterReboot : ContinueConfiguration
    AllowModuleOverWrite : True
    CertificateID :
    ConfigurationDownloadManagers : [ConfigurationRepositoryShare]DSCSMB
    ConfigurationID : 98a8ee0a-94f4-4d09-8b21-19eea1e49383
    ConfigurationMode : ApplyAndAutoCorrect
    ConfigurationModeFrequencyMins : 15
    Credential :
    DebugMode : {NONE}
    DownloadManagerCustomData :
    DownloadManagerName :
    LCMCompatibleVersions : {1.0, 2.0}
    LCMState : Ready
    LCMVersion : 2.0
    MaxPendingConfigRetryCount :
    StatusRetentionTimeInDays : 10
    PartialConfigurations : {}
    RebootNodeIfNeeded : False
    RefreshFrequencyMins : 30
    RefreshMode : Pull
    ReportManagers : {}
    ResourceModuleManagers : {}
    PSComputerName :

    My ConfigurationID may be different then the above post because I attempted to repeat the process multiple times. Each a failure. I could post my step by step but that's a lot of code.

  • #29040
    Profile photo of Alex Aymonier
    Alex Aymonier
    Participant

    I believe that DSC runs under the system account. Does the system account have access to that smb share?

    If you expand [ConfigurationRepositoryShare]DSCSMB using something like show-object is the path correct 100%?

    Show-object is in the powershellcookbook module by Lee Holmes

  • #29123
    Profile photo of Ernesto Lombardi
    Ernesto Lombardi
    Participant

    The Share path is correct but I did not think about the system account not having access to the SMB Share.

  • #29357
    Profile photo of Alex Aymonier
    Alex Aymonier
    Participant

    Did you get this fixed?

You must be logged in to reply to this topic.