Hi,
We want to use DSC to build our test environments (mainly ESX, though there is some Hyper-V usage), and also to run automated tests. Because these are test environments, they all exist in separate domains. When we’re done, we want to have a configuration (or set of configurations) which will
- create a vm and configure it as the domain controller with a new domain
- create whatever test machines are required for that environment and join them to the domain
- install and configure a specified build of our product
- install fitnesse and run the fitnesse tests, and collect/publish the results
And then do the whole thing again the next day with a different build
Right now, though, I am just trying to get a single machine set up in my test domain (I’ll worry about creating the domain later). I can ping the machine just fine, and connect with a remote PowerShell session. However, Start-DSCConfiguration is giving me this error:
PS> Start-DscConfiguration -Path .\SqlServerSetup\ -Verbose -Wait VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'. VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'. WinRM cannot process the request. The following error occurred while using Kerberos authentication: Cannot find the computer e1-sql.e1.local. Verify that the computer exists on the network and that the name provided is spelled correctly. + CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : HRESULT 0x80070035 + PSComputerName : e1-sql.e1.local VERBOSE: Operation 'Invoke CimMethod' complete. WinRM cannot process the request. The following error occurred while using Kerberos authentication: Cannot find the computer e1-ev.e1.local. Verify that the computer exists on the network and that the name provided is spelled correctly. + CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : HRESULT 0x80070035 + PSComputerName : e1-ev.e1.local VERBOSE: Operation 'Invoke CimMethod' complete. VERBOSE: Time taken for configuration job to complete is 0.028 seconds
(I’m basically following this example to get my SQL Server set up: - YouTube)
I’ve had stuff working in the past from VM-to-VM, so I think this appears to be because I’m connecting from a different domain.
One thing I did try was copying everything to a VM in that environment and then running Start-DscConfiguration from a remote session. That gave me a different error about the logon session not existing.
Any ideas or suggestions would be appreciated