"SC" Scom-agent installation-based on Uinx\linux

Source: Internet
Author: User

"SC"scom-agent installation -based on Uinx\linux

--------uinx\linux---scom-agent installation------

For the scom agent installation, there are quite a lot of graphic tutorials on the Internet, why do you want to write it? In fact, there are some other online tutorials are flawed, novice if only look at one of the estimates will be a lot of wall, so re-collation is very necessary. It is in this perspective that only the agent is installed from the client, and there is not much explanation for the operations on the Scom Management Server. In addition, in order to present the overall process, this time more rough, violent-straight text (not enough time to draw the process), as well as the author's work encountered some details to share. Also hope that you crossing while thinking quietly while slowly looking.

Premise

Client open port:

servers involved: IP, Hostname

account password involved: root, admin, scomadmin, username

SCOM Management Pack: (%linux%). MP

Tips : The username in the article is replaced by the actual ordinary account name.

1 , install the corresponding supported Management packs on the Scom Management Server.

Local%windir%\program Files\System Center Management Pack, select the appropriate Management Pack based on the Linux distribution you want to monitor. If no management Pack is installed, search for the installation yourself.

2 , create an account.

Open the scom console and choose Manage-run mode configuration.

  • Unix/linux account (can be understood as a normal account)---username.

  • Create a run as account.

  • Select the monitoring account.

  • Enter a display name, description.

  • Enter the Monitoring account (username).

  • Select a higher security level and click Create.

Assign the Unix/linux account----username----to scom.

    • & nbsp;                           

    •                Select a higher security level, then click Add.

    •                add the scom Management Server host, Click Save.       

      

    • & nbsp;            

    •                Create a Basic authentication, Fill in the display name.

    •               

    •               

Assign an account----root----to scom.

    • Assign the previously created account to the Scom Management Server.

    • After saving, right-click the newly created Basic authentication account and select Properties.

    • Add the scom Management Server host and click Save.

Tips: note There are two ways to account, which can be likened to the Web to remember the account password function (automatic login).

3 , associate an account with a run as profile (it is recommended that the agent is installed before the client is configured).

    • Unix/linux account (can be understood as a normal account)---username.

    • account (which can be understood as a privileged account)----root.

Tips : You do not have to create a duplicate account if you have already configured it.

----Linux----- Daily Installation Agent------------

4 , name resolution (bidirectional need to resolve traffic, FQDN).

    • for scom to be able to monitor Linux smoothly, it is important to ensure that both sides can resolve each other's names to IP addresses and communicate with each other.

    • Log on to the Linux computer, use the command vi/etc/hosts, and add name resolution for the scom computer.

    • Log on to the scom computer, and also modify the Hosts file to add name resolution for the Linux computer.

5 , install the agent.

The Agent installer is generally in the Scoom installation directory agentmanagement\unixagents, copy the corresponding version of the agent installer to the Linux server for installation, enter the installation command:

rpm-iscx-<version>-<os>-<arch>.rpm

Or

RPM-UVH scx-1.4.1-270.sles.11.x64.rpm

such as:

rpm-uvh/home/username/scx-1.4.1-270.sles.11.x64.rpm

6 , the replication agent certificate to the Scom Management Server.

After the installation is complete, locate the file on the Linux system and copy it to the scom server.

"/etc/opt/microsoft/scx/ssl/scx-host-

7 , copy the agent certificate to scom, and request a new certificate.

Administrator privileges to run the cmd command, enter the command to request a certificate.

syntax:. \SCXCERTCONFIG–SIGNSCX-HOST-<HOSTNAME>.PEM SCX_NEW.PEM.

You can enter:

"C:\Program Files\System Center 2012\operationsmanager\server>scxcertconfig.exe". \scxcertconfig-signc:\linuxzs \scx-host-gejkdb01.pem C:\LinuxZS\scx-host-gejkdb01_new.pem

Or, first locate the directory where the Scxcertconfig.exe program is located:

CD "C:\ProgramFiles\System Center 2012\operations manager\server\"

Execute on the path again

. \SCXCERTCONFIG-SIGNC:\LINUXZS\SCX-HOST-XXX.PEM C:\LinuxZS\scx-host-xxx_new.pem

8 , overwrite the agent certificate.

Copy the generated SCX_NEW.PEM files to the "/etc/opt/microsoft/scx/ssl/" directory of the Linux server and execute each

CP SCX-HOST-<HOSTNAME>.PEMSCX-HOST-<HOSTNAME>.PEM.BAKMV SCX_NEW.PEMSCX-HOST-<HOSTNAME>.PEM

Tips: It is recommended that you back up the original certificate file *.bak before operation.

9 and restart the agent service.

Root under Permissions

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

View status:

Scxadmin-status

Restart service:

Scxadmin-restart

Ten , associate the account with the run as configuration file.

    • & nbsp;      in scom console-management-run as configuration.

    •               

    • account (which can be understood as a normal account)---username.

    •       

Tips : It is recommended to configure the agent after the client is installed, where the specified object (specific host) is configured. Environments that are not complex can be configured according to (classes, groups) so that the account is associated with the configuration file.

One and discover computers.

  • Open the Scom Operations console, right-click Manage, Tap Discovery Wizard, select Unix/linux computer.

  • Fill in the IP address of Linux-Select certificate Discovery-Set the user credentials for the installation agent.

  • Fill in the user credentials of the installation Agent (here the General Account (username) is based on the actual login situation).

  • Click Save.

  • Select notification Resource pool and click Discover.

  • Click Manage after checking.

Tips : In particular, if the discovery is unsuccessful, most of the certificate issues, please strictly follow the process of the certificate to reduce errors.

A , verify that the installation is successful.

    • Login to the Scom operations console and see the Linux server successfully monitored after 15 minutes.

    • Agent Management can see the green status of the agent.

This article is from the "Heart" blog, make sure to keep this source http://bennychen.blog.51cto.com/6323894/1770033

"SC" Scom-agent installation-based on Uinx\linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.