Manage SCOM agent Part V : Deploy Linux Agent 2

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email
Table of Contents

introduction

in this article we will continue to perform task to deploy SCOM linux agent on Suse Linux Enterprise Server SLES 

network diagram

For Better View > Open Image in different TAB

please have a look to pioneers.lab network diagram above :

we have SCOM server called SCOM142 with IP address 172.16.100.142

regarding SCOM client we have :

linux agent [suse OS ] :

  • SLES123 : Suse Linux Enterprise Server V15-SP1 with IP address 172.16.100.123
  • SLES124 : Suse Linux Enterprise Server V15-SP1 with IP address 172.16.100.124

Deploy SCOM linux Agent tasks

tasks of Deploy SCOM linux Agent include : 

  • install MP Management Pack for SLES >> already DONE in Previous Article 
  • enable firewall for secure shell SSH  on SLES >> already DONE in Previous Article 
  • add unprivileged account [linuxmon] >> already DONE in Previous Article 
  • create resource pool for Linux agent >> already DONE in Previous Article 
  • create run as linux monitoring account >> already DONE in Previous Article 
  • create run as linux agent account >> already DONE in Previous Article 
  • create linux action profile >> to be DONE in this Article 
  • create linux agent maintenance profile >> to be DONE in this Article 
  • create linux privileged profile >> to be DONE in this Article 
  • deploy linux agent from SCOM  server >> to be DONE in this Article 
  • verify deploy linux agent >> to be DONE in this Article 

create linux action profile

The Privileged Account Profile will always be associated with a Run As account like we created above, that is Privileged (root or similar) OR a unprivileged account that has been configured with elevation via sudo.  This is what any workflows that typically require elevated rights will execute as.

The Action account is what all your basic monitoring workflows will run as.  This will generally be associated with a Run As account, like we created above, but would be used with a non-privileged user account on the Linux systems.

in this step we will create linux action profile 

select properties of linux action account
next
add linuxmon account
save
DONE

linux agent maintenance profile

The agent maintenance account is strictly for

  • agent updates,
  • uninstalls,
  • anything that requires SSH

  This will always be associated with a privileged account that has access via SSH [root] ,

and was created using the Run As account wizard above, but selecting “Agent Maintenance Account” as the account type.  

select properties of maintenance account
next
add root account
save
DONE

linux privileged profile

repeat above step to add privileged profile 

select properties of privileged profile
next
next
select root account for privileged profile
save
DONE

deploy linux agent

now it’s time to deploy SCOM linux agent from SCOMserver [SCOM142.pioneers.lab ] to linux server [SLES123.pioneers.lab] 

from administration > devie management > discovery wizard
select linux computers
For add SLES name : SLES123,.pioneers.lab > set credential View > Open Image in different TAB
for credinetial : set root with password
roto credential added
selec resource pool that we created above >discover
this is normal error for restrict security policy on SLES server which related to SSL certificate >>see next how to fix it
error details

to fix error SSL certificate above 

connect ot SLES123 with SSH 

go to path 

cd /opt/microsoft/scx/bin/tools/

run command 

/opt/microsoft/scx/bin/tools/scxsslconfig -f -v

then continue to deploy SCM linux agent 

run command /opt/microsoft/scx/bin/tools/scxsslconfig -f -v
error fixed
some client get green [healthy] > and some client get gray > don't worry > just wait some rimes until ALL client get green 🙂

verify deploy linux agent

we can verify SCOM linux agent deployment from SCOM server side and from client side 

on server side > ALL client get green healthy
from client side : run zypper info ocx > which show that SOM agent installed

Conclusion

agent  linux is on of three type of SCOM agent  like windows agent and network devices 

next article we will see howto monitor network devices 

thank you in anticipation 

 

Share this post
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

About Me

Our Power in Numbers

 17 

Courses

321

Articles

3,882

Images
and All configurations images are proudly made in Pioneers Lab

Articles By Course

Recent Articles

Subscribe

Contact us

have a challenge ? don’t hesitate to contact us