2011년 5월 6일 금요일

How to Install CentOS agent on SCOM

Yesterday, I posted a blog about how to import CentOS MP. As a follow-up of the blog, I'm going to tell you about installing agent for CentOS.


Make agent install needs some of manual works. 


After import MP, then next step is installing agent that makes it possible for monitoring by SCOM. If you try to add computer to manager from the Console, you encounter the following error. (It cannot go to the next step)



The error message is "there is no agent to install."  This message is natural, SCOM doesn't have any CentOS agent. You only see existing other agent files.


So, What am I going to have to do with no agent? but, there is a workaround.
Both architectures of CentOS and Redhat are very similar. They are the twins come from the same kernel. Let's copy it from redhat agent and rename it like the below. I renamed it as "scx-1.0.4-265.centos.5.x86_64.rpm"


And the next step is modifying MP file named Microsoft.Linux.CentOS.5.xml. 
The point is to make the same version between file name and the xml. 
The first version number in agent's name,1.0.4, should be matched "version" element in the MP. And the second number, 265, should be matched "Build" element.


After finish modifying the mp file, you have to import it again to SCOM. Compare to the first figure, it is able to go the next step. 



Agent is installed successfully.


To verify, I queried the information of the linux server, then communication worked fine.




댓글 4개:

  1. I want to install CentOS agent, thanks already to guide how to install.

    답글삭제
  2. Hi, Beta.
    Thanks for visiting my blog.

    답글삭제
  3. Yeonki, wanted to point you to an MS blog where this process was documented in very fine detail and even a sample management pack provided. see http://blogs.msdn.com/b/scxplat/archive/2010/01/18/building-a-centos-management-pack-part-3.aspx

    답글삭제
  4. Thanks Pete for inform me.
    I don't think I found the site you recommend at the time of writing this post.

    답글삭제