Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

OpsMgr XPlat Agent Discovery Problem

Posted on 2010-09-01
2
Medium Priority
?
1,196 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
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
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…

927 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