Monitoring Linux Using SCOM 2007 R2

来源:百度文库 编辑:神马文学网 时间:2024/04/29 12:48:00
SCOM 2007 R2 can help you with out of box functionality to monitor  Linux /Unix. With SCOM 2007 SP1 you need to get Management Pack from Quest/Jalasoft to name few partner who had developed MP to monitor Unix/Linux.
With the release of SCOM 2007 R2 Unix and Linux MP come along with product.
To Monitor Linux Server you can follow steps below…….
RunAs accounts that will be used by Operations Manager 2007 to install, and to monitor/manage the target Linux machines. For this, two user accounts are created:
· Non-privileged user, used to remotely monitor the Linux/Unix server.
· Privileged User, used to deploy the Unix/Linux agent, as well as to restart processes where privileged rights are required.
Creating a Non-Privileged UNIX User Run As Profile
1. In the Operations console, click Administration to open up the Administration space
2. Under the Run As Configuration node of the tree, click Profiles

3. In the Profiles pane, look for the Unix Action Account profile. Right-click on Unix Action Account and select Properties. This opens the Run As Profile Wizard

4. At the Introduction screen, click Next >

5. At the General Properties screen, click Next >

6. At the Run As Accounts screen, click Add... to create a new Run As Account. The Add a Run As Account dialog will open. NOTE: If you examine the list of current Run As accounts you will see none for UNIX/Linux, so we have to create one.

7. Click New... to open the Create Run As Account Wizard

At the Introduction screen, click Next >

9. Under the General Properties screen a. Select Basic Authentication from the Run As Account type drop-down list. b. Set the display name to "UNIX non-privileged account"


Click Next >
Provide Credential for Non Privileged Account

Click Next >
Under Distribution Security, select the More Secure... option.

When the creation is complete, you will see a warning message that the Run Account must be associated with an appropriate Run As profile. We will do this in just a moment. Click Close to return to the Add a Run As Account dialog
Click Select ... and choose Class... from the drop down.

In the Class Search dialog, enter Unix in the Filter By text box, and click Search

From the list of items returned from the search, select Unix Computer and click OK

Unix Computer now appears as the selected class against which the Run As Account will be applied. Click OK to close the Add a Run As Account dialog

You will now see the UNIX non-privileged account Run As Account just created within the list of accounts for this profile. Click Save.

We now have to associate the Run As account with the RMS management server. Click on the UNIX non-privileged account hyperlink to open the Run As Account properties.

Check to see you are in the Distribution tab.
Click Add

In the Option: drop down, select Show Management Servers and click Search.
Select RMS Server Name from the results, and click Add

Creating a Privileged UNIX User Run As Profile
In the Profiles pane, look for the Unix Privileged Account profile.

Right-click on Unix Privileged Account and select Properties. This opens the Run As Profile Wizard
At the Introduction screen, click Next >

At the General Properties screen, click Next >

At the Run As Accounts screen, click Add... to create a new Run As Account. The Add a Run As Account dialog will open.


Click New... to open the Create Run As Account Wizard
At the Introduction screen, click Next >

Select Basic Authentication from the Run As Account type drop-down list . Set the display name to "UNIX privileged account

Under the Account screen Set The credential for Privilege

Click Next >
Under Distribution Security, select the More Secure... option. Click Create.

When the creation is complete, you will see a warning message that the Run Account must be associated with an appropriate Run As profile. We will do this in just a moment. Click Close to return to the Add a Run As Account dialog.

Notice that the UNIX privileged account you just created now appears as the selected option in the drop down box.

Click Select ... and choose Class... from the drop down

In the Class Search dialog, enter Unix in the Filter By text box, and click Search

From the list of items returned from the search, select Unix Computer and click OK


You will now see the UNIX privileged account Run As Account just created within the list of accounts for this profile. Click Save.


We now have to associate the Run As account with the RMS management server. Click on the UNIX privileged account hyperlink to open the Run As Account properties

Check to see you are in the Distribution tab

Select RMS Server Name from the results, and click Add and Click OK

Open the Operations console with an account that is a member of the Operations Manager 2007 R2 Administrator profile
Select the Administration view.
At the bottom of the navigation pane, select the Discovery Wizard link.
In the Computer and Device Management Wizard, select Discovery Type, choose Unix/Linux Discovery Wizard, and then click Next.

On the Discovery Method page, click Add to specify criteria for discovering UNIX-based systems and Linux-based systems on your network.
On the Define discovery criteria page, type the credentials and necessary information to locate the computer you want to discover, and then click OK


Enable SSH

 
Click Discover to initiate system discovery



On the Discovery results page, in the Select the systems you want to manage: list, select the check box for the system or systems that you want to manage, or click Select All to include all discovered systems
If there are systems listed in the Select the systems you want to manage list on the Discovery results page that the wizard was unable to discover, you can click Details to get information about why the discovery failed. Correct the problem and repeat the discovery step




After you have selected the systems you want to manage, click Next to start the deployment, and to close the Discovery results page
On the Deployment complete page, the Computer and Device Management Wizard displays the agent deployment status in the Status menu.

Click Done to close the wizard.
IMPORT MP For Linux

Performance Monitoring by Using Default MP



Active Alert

Health Explorer

Performance Report