By Garth Jones
In my last two blog posts, Step-by-Step Instructions on How to Install a CentOS 7 Linux Virtual Machine in Windows Hyper-V Server, and How to Install CentOS 7 on Hyper-V With Integration Services, I showed you how to install and setup your CentOS 7 server.
In this blog post, I will show you how to install the System Center 2012 Configuration Manager (CM12) client agent on a CentOS 7 server.
- Download and extract the TAR files for the *nix Configuration Manager client from one of the following Links:
- Copy all of the TAR files to your CentOS 7 server.
3. On your CentOS 7 server, open a Terminal Window; change the directory location to the install location, as per the above example, and change the attribute of the install file to allow for it to be executed. chmod +x install
4. Execute the following command line and don’t forget to adjust it for your site.
./install -mp <mp FQDN> -sitecode <side code> ccm-Universalx64.tar
For my test site, I used this command line: ./install -mp cm12-cm4.gartek.tst -sitecode cm4 ccm-Universalx64.tar (see the above screenshot).
5. Wait until the installation is complete.
In the above screenshot, you can see that the installation is complete.
6. Move to the CM12 Console and Update Membership for the All Systems collection. However, notice that once the collection membership is refreshed that my CentOS client is not approved.
7. Right click the client and click Approve.
8. Once the hardware inventory is returned to CM12, you will see the inventory data within Resource Explorer from your CentOS 7 server. You can then treat this client just as you would any other.
Below are a couple of useful commands to know for your CentOS 7 server.
Perform a policy request:
/opt/microsoft/configmgr/bin/ccmexec -rs policy
Perform a hardware inventory request:
/opt/microsoft/configmgr/bin/ccmexec -rs hinv
I hope that you find this blog post useful in order to manage your CentOS 7 clients.
Now that I have confirmed what steps are needed to inventory CentOS 7 servers, I can say with confidence that yes it can be done! I hope that you have found this blog post series useful.