Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

OpsMgr XPlat Agent Discovery Problem

Posted on 2010-09-01
2
Medium Priority
?
1,189 Views
Last Modified: 2013-12-06
hi, I am using SCOM 2007 r2 and tried to discover Redhat 7.3 Virtual Machine.
I have updated the SCOM server with the cross platform cummulative update.
I have also created the linux Run as Account and Privileged account in the SCOM .
The Redhat agent has been imported as well.
I copied the GetOSVersion.sh file to the RedHat machine using WinSCP and run the command #sh GetOSVersion.sh

and the return was

# <OSName>Unknown<\OSName>

I found the same error header in SCOM discovery wizard.

Could not detect OS type and version.
Detail: <DataItem type="Microsoft.SSH.SSHCommandData" time="2010-09-01T15:24:01.7306944+08:00" sourceHealthServiceId="5068B005-0603-A764-97F9-95DB57A66B8F"><SSHCommandData><stdout>&lt;OSName&gt;Unknown&lt;/OSName&gt;
</stdout><stderr></stderr><returnCode>0</returnCode></SSHCommandData></DataItem>

I have installed debug view and  following is the result during the RedHat machine discovery process.
 
[3624] 10| Microsoft.Unix.DiscoveryScript.Deploy.Task task started.
[3624] 10| Executing DiscoveryScript.Deploy.Task
[3624] 10| Returned from DiscoveryScript.Deploy.Task
[3624] 10| DiscoveryScript.Deploy.Task returned as succeeded
[3624] 10| Return from DiscoveryTaskHelper.DeployOSInformationScript()
[3624] 10| Call to DiscoveryTaskHelper.ExecuteOSInformationScript()
[3624] Beginning ExecuteOSInformationScript on thread id: 10
[3624] 10| Executing DiscoveryScript.Discovery.Task
[3624] 10| Returned from DiscoveryScript.Discovery.Task
[3624] 10| DiscoveryScript.Discovery.Task returned as succeeded
[3624] 10| Return from DiscoveryTaskHelper.ExecuteOSInformationScript()
[3624] 4b7cbda5-5d24-4e2b-bb6f-d9160739c7c2 | 10 | Return from DiscoveryTaskHelper.ExecuteSSHDiscovery()
[3624] Microsoft.MOM.UI.Console.exe Information: 0 :
[3624] 4b7cbda5-5d24-4e2b-bb6f-d9160739c7c2 | 10 | 172.16.3.156: ExecuteSSHDiscovery successful.
[3624] Microsoft.MOM.UI.Console.exe Information: 0 :
[3624] 4b7cbda5-5d24-4e2b-bb6f-d9160739c7c2 | 10 | 172.16.3.156: ExecuteSSHDiscovery successful but script returned "Unknown".
[3624] Beginning OnDiscoveryTaskCompleted on thread id: 1
[3624] Beginning startNextDiscoveryTask on thread id: 1

I also had created the /tmp/scx-username directory in RedHat.

I tried to manually install the agent, but due to dependencies, i failed to complete the process.
But, I think the problem is regarding detecting the OS version of the Red Hat 7.3 machine...

There should be no connection issues since the ssh ports enabled at both side.

I hope somebody can help on this.
0
Comment
Question by:DeeBeeVee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Nopius earned 2000 total points
ID: 33633343
Hi.

RedHat 7.3 is quite obsolete and even not supported by RedHat... I guess your management pack doesn't match your OS version. The only supported versions are RHEL AS 4 and RHEL ES 5 (which are much newer than RedHat 7.2, which is a dinosaur).

You should either use supported OS (say RHEL5 or not supported, but almost the same CentOS5)  OR build custom management pack and install it instead.
Here are some usefull articles:

http://blogs.msdn.com/b/scxplat/default.aspx?PageIndex=1

http://blogs.msdn.com/b/scxplat/archive/2010/01/18/building-a-centos-management-pack-part-3.aspx

Regards,
Arty
0
 

Author Closing Comment

by:DeeBeeVee
ID: 33741338
I had change the OS version where I create a new VM using RedHat 5 and configured the network...

Then , I discovered the new RedHat using SCOM and it was successfully discovered.

But, when I navigate to the diagram view, there is no hierarchy for the RedHat machine where the
child count = 0.....

I had tried to remove and installed back the agent... The was no improvement at all.... I hope somebody can help on this..Thank You
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question