Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerShell – DSC Linux MOFs and logs

$
0
0

working with DSC on Linux, there are a few things to know that don't seem to be documented anywhere obvious. 

OMI stuff  lives in
/opt/omi/lib
/opt/omi/bin

 For troubleshooting you look at the logs which are here:
cat /var/opt/omi/log/omiserver.log         #the OMI CIM server
cat /var/opt/omi/log/dsc.log               #the LCM and DSC logging. Start your troubleshooting here!

the MOFs are in /etc/opt/omi/conf/dsc/configuration
backup.mof
Current.mof
Failed.mof
MetaConfig.mof
DSCEngineCache.mof

modules live in  ls /opt/microsoft/dsc/modules
the zips get downloaded to ls /opt/microsoft/dsc/module_packages 

getDscConfiguration is a Python script,  run from
/opt/microsoft/dsc/Scripts

sudo /opt/microsoft/dsc/Scripts/GetDscConfiguration.py 

see also:
sudo ./GetDscConfiguration.py
sudo ./TestDscConfiguration.py
sudo ./SetDscLocalConfigurationManager.py
sudo ./RestoreConfiguration.py
sudo ./PerformRequiredConfigurationChecks.py
sudo ./InstallModule.py

 


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>