- Management Packs from Microsoft don't support Fedora
- Authentication on VM Amazon are certificate based by default
When SCOM detect Fedora, it stop straight forward:To get the Linux version, SCOM execute this shell script here:By the way, this folder also contains RPM package installed next (daemon). Getting on our goal will need works...
To keep you on, here is one result when it works:You got it, it's about getting SCOM to believe we have a Red Hat. In fact we have 2 ways:
- Create our own Management Pack for Fedora.
- Disguise Fedora as if it was a Red Hat by fooling SCOM.
The first one is the more elegant, but it will take lot of time to get it and then to keep up. So i preferred the second one, as a Fedora is not that far from a Red Hat...
Changes on Linux Amazon EC2
Then you need to set a root password:
Then reload configuration:
Then create a SCOM account:
hostname checkBy default, the VM got it's internal IP as hostname. SCOM will deploy an RPM to get a daemon running, and will generate a certificate to authenticate.
The RPM package from Microsoft depend at least on this 2 libraries:
- /usr/lib/libssl.so.6
- /usr/lib/libcrypto.so.6
If your system is more up to date (so.8 …), you will need to make symbolics links (ln -s target realfile):
I recommend you to copy over the rpm (scx-1.0.4-248.rhel.5.x86.rpm), to check for the good installation result. Else, it will be SCOM that do it during discovery, and error messages are not that explicit.
Moreover, it shows up the name with which the certificate is made:
You can always remove it:
TCP Ports- SSH
- port 1270 (scom agent)
You will have to set up the Amazon firewall to get these 2 ports reachable. If port 1270 is not reachable, SCOM raise an error about time out, which doesn't help a lot. Traffic to this ports is confirmed by a network trace:
/etc/redhat-releaseBy default, Fedora create a symbolic link from /etc/fedora-release to redhat-release. You must break it and create a true redhat-relase file with this text inside::
Changes on SCOM 2007 R2
Tasks to do:
- Allow WinRM to get basic authentication
- Import Management Packs Linux/Unix generic and Red Hat
- Add a Basic Authentication account to log on Linux (not root)
- Add a Basic Authentication account to log on Linux (Root)
- Link them to profiles "Unix Action Account" and "Unix Privileged Account"
- Discover the VM and sign certificate
Adding the VM is straight forward if you followed the tasks before. So i will cover the problems i met.
Allow WinRM to do nasic authentication:If you don't have the good hostname, the certificate is refused when it's time to sign it:If you don't add linux account to profiles, workflow don't work:
At the beginning, the VM is not monitored and seen as unknown:
Then it switch to green and known:
Here we go, your VM is now monitored by SCOM 2007 R2.
Here are some screenshots once it works:
1 comment:
Hi
I try install agent on Fedora 13.
But on all servers receive same error
WS-Management cannot process the request. The operation failed because of an HTTP error. The HTTP error (12152) is: The server returned an invalid or unrecognized response .
Install is fail.
Can you help?
Post a Comment