Monday, 17 November 2014

Linux client - machine policy and hardware inventory

Back to ConfigMgr main menu
Back to Linux menu

Previously we copied the ConfigMgr client installation files to a Linux server and installed the client. However, the default setting for a ConfigMgr site is to automatically approve only computers in trusted domains.

Our Linux server clearly is not in a trusted domain so we must manually approve it.

Search for the Linux server in All Systems. Right click and choose Approve.

Select Yes to accept.

Linux server is now approved. At this point the Linux server is now managed by ConfigMgr. The server will get policy according to the schedule you have configured. We can force the download of the policy (in the same way that we can initiate "Machine Policy Retrieval" on a Windows device).

Request Machine Policy by executing the following command:

/opt/microsoft/configmgr/bin/ccmexec -rs policy

Perform hardware inventory by executing the following command:

/opt/microsoft/configmgr/bin/ccmexec -rs hinv

Examine the end of the ConfigMgr log file:

tail -F /var/opt/microsoft/scxcm.log

(Tip: press ESC & q together to leave the log view and return to command line).

See the successful inventory in the MP_HINV.log file.

Inventory of the Linux Server.

In the next section we will deploy a Linux patch to the server via ConfigMgr.

1 comment:

  1. My client installed with no problems, but the Linux PC doesn't show up in the SCCM console at all, so I can't approve it. Is there something that would stop it from showing up?

    I've verified that the client service is running.