In Part 1 of this post, we went through getting the Linux machine setup for ConfigMgr client installation(http://blogs.msdn.com/b/teju_shyamsundar/archive/2014/05/22/installing-the-system-center-2012-r2-configuration-manager-client-on-linux-part-1.aspx)
In this post, we will go through getting the ConfigMgr 2012 R2 client for Linux installed, as well as commands that can be run via Terminal to manage the machine.
The installation files for the Linux client can be found here –
SCCM 2012 SP1: http://www.microsoft.com/en-in/download/details.aspx?id=36212
SCCM 2012 R2: http://www.microsoft.com/en-in/download/details.aspx?id=39360
You will need to download these files onto a Windows machine, and extract the contents. These contents then need to be copied onto the Linux machine.
3. To use root credentials to run the install script as a program, type
Chmod +x install
4. ./install –mp fc-cm01.fourthcoffee.local –sitecode FCH ccm-Universalx18.104.22.168.458.tar
--MP = management point FQDN
--sitecode = SCCM Site Code that machine will report to
The installed client will run with root credentials, root credentials are required to collect HW/SW Inventory and perform software deployment
5. Linux clients also support a Fallback Status Point
-FSP <FQDN of FSP>
6. At this point, you will see the client start to install
The screenshot below (right) shows that the installation has successfully completed.
By default, this log file is created in the following location: /var/opt/microsoft/scxcm.log
To change the location of the log file, edit /opt/microsoft/configmgr/etc/scxcm.conf and change the PATH field. You do not need to restart the client computer or service for the change to take effect.
You can set the log level to one of four different settings:
To change the log level, edit /opt/microsoft/configmgr/etc/scxcm.conf and change each instance of the tag MODULE to the desired log level.
This is the log file for the CIM service of the Configuration Manager client for Linux and UNIX (omiserver.bin). This log file contains information about the ongoing operations of nwserver.bin.
By default, this log is created in the following location: /var/opt/microsoft/configmgr/scxcmprovider.log
To change the location of the log file, edit /opt/microsoft/omi/etc/scxcmprovider.conf and change the PATH field. You do not need to restart the client computer or service for the change to take effect.
You can set the log level to one of three different settings:
To change the log level, edit /opt/microsoft/omi/etc/scxcmprovider.conf and change each instance of the tag MODULE to the desired log level.
Command Line Operations for Linux
Example - SCXCM Inventory Class
/opt/microsoft/nanowbem/bin/nwcli ei root/cimv2 SCXCM_ComputerSystem
7. Uninstall the Client - /opt/microsoft/configmgr/bin/uninstall
Software Distribution (packages & programs)
Creating collections & Queries
Custom Client Settings
Compliance Settings (including Power Management)
Client Health Check
System Center Endpoint Protection
i. SCCM will not sync updates for Linux distros in the console - to update a Linux machine, you will need to download the updates outside of SCCM, then create a software distribution package with the update files included, and deploy to the Linux Clients
ii. Lumension provides the option to deploy Linux software updates directly
Supported Hardware Inventory Classes for Linux
Note that all software distribution for Linux must be machine based, SCCM 2012 does not support user based deployments for Linux/UNIX machines
b. Prerequisite i. Use configurations intended for machine based deployments only ii. Configure programs to download software from the DP and run programs from the client ccm cache iii. Configure Network Access Acount for DP access(because Linux machines are treated as WORKGROUP machines)
Linux Software Distribution Details - <http://technet.microsoft.com/en-us/library/jj573943.aspx>
Operating System Deployment
Although it is not supported to use SCCM OSD to deploy any Linuxdistro, it can potentially be done as outlined here -
Note that this is not supported in either SCCM 2012 SP1 or SCCM 2012R2
Introduction to the Linux/UNIX Client - http://blogs.technet.com/b/manageabilityguys/archive/2013/04/11/configmgr-2012-sp1-and-unix-linux-clients-part-1-introduction-and-client.aspx
General Operations & Inventory - http://blogs.technet.com/b/manageabilityguys/archive/2013/05/03/configmgr-2012-sp1-and-unix-linux-clients-part-2-general-operations-and-inventory.aspx