question

TonyStrother-2074 avatar image
0 Votes"
TonyStrother-2074 asked CyrAz commented

SCOM 2019 Monitoring Linux - errors and more

Evening,
SCOM 2019 UR3. My Linux admin is attempting to bring over servers from our 2012R2 environment in this new one, and she is really having a time.
I gave her a link to the 2016 Linux from Kevin Holman which helped, but there are still issues.
Once the servers are seen, SCOM 2019 wants to upgrade them to same version they are already at? 1.6.8-0
Why? Can I make this go away? Is this the version of the Linux agent for SCOM 2019 UR3?
The other error she is seeing is the following. I went back and checked the run as accounts and there was not Resource Pool associated, so I fixed that. Would that cause the error below?

Unexpected DiscoveryResult.ErrorData type. Please file bug report.
ErrorData: Microsoft.EnterpriseManagement.Common.InvalidJobConfigurationException
The task has invalid configuration. The most likely cause is that a $RunAs account was not distributed to the target healthservice.
at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout)
at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions)
at Microsoft.SystemCenter.CrossPlatform.ClientActions.DefaultDiscovery.InvokeWorkflow(IManagedObject managementActionPoint, DiscoveryTargetEndpoint criteria, IInstallableAgents installableAgents)

Lastly,
clicking the little “use Runas cred” is not working., almost as if it is not even trying to reach out to the server and giving the error . She has to manually enter “scxmaint” and the password and then it uses sudo fine and installs the agent, gets the certs, etc.. All we should have to do is click the box “use Runas Cred”, correct?

Thanks as always for you assistance and time!!
Tony

msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlexZhu-MSFT avatar image
0 Votes"
AlexZhu-MSFT answered

Hi,

Firstly, thank you very much for sharing so detailed information. If I understand correctly, after we tick the 'use runas credential' checkbox (as shown in below screenshot), the agent is installed successfully, right? If I'm wrong, please correct me.

To monitor Linux server, the management servers need to sign the certificate and get back to Linux server, which is well documented in Kevin Holman's link. Although the Linux agent version is already 1.6.8-0, we still need to install the agent again. After re-installing the agent, is there any other problem we are facing? If we do not tick 'use runas credential', we still can click the 'set credentials' button to set the credentials manually, other than using the pre-defined runas account credentials.

115229-scom-use-runas-cred.png

Alex
If the response is helpful, please click "Accept Answer" and upvote it.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TonyStrother-2074 avatar image
0 Votes"
TonyStrother-2074 answered

Morning,

Thank you for the response!
So, I did not know it would have to the upgrade over the same version, that is sort of crazy!

No, that part is not working.
When she "ticks" the Run as credential checkbox, it fails. She has to manually enter the account name and password.

Thanks,
Tony

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlexZhu-MSFT avatar image
0 Votes"
AlexZhu-MSFT answered

Hi,

Thank you very much for the clarification with detailed information. Actually, it is not a version upgrade. As Kevin Holman mentioned in the link, the management server need to sign the certificate (generated by Linux servers) and send it back, which is used for later communication between the management server and the agent. Since the SCOM 2019 is new, I'm afraid this is a part job of migration (from old SCOM2012R2).

As for the Run As credentials for installing SCOM agent, the privileged one is required. Here's a sample from my lab environment. Have we also configured the Run As account?


115794-scom-linux-runas-account.png

Alex
If the response is helpful, please click "Accept Answer" and upvote it.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TonyStrother-2074 avatar image
0 Votes"
TonyStrother-2074 answered CyrAz commented

Morning and thank you for the response and info.
I watched as the Linux admin did the "upgrade steps" successfully on five servers, no issues to note.
However, 24 hours afterwards, the upgrade option is still available when you select any of the Linux servers which has had the upgrade done.
Is this normal?

Thanks again,
Tony

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I believe I had the same issue back with SCOM 1801/1807 at one of my previous customer, but I never had the chance to investigate it properly... let us know if you find something!

0 Votes 0 ·