Software Deployment - How To's
How to install SNMP component using Desktop Central?
Description
This document provides you with the steps required to install SNMP component in remote client computers.
For Computers using operating system released before Windows Vista
You will use sysocmgr.exe to install SNMP components for the computers using the following operating systems,
- Windows 2000
- Windows 2003
- Windows XP
- Windows 2003 R2
Create a text file
The first step in using sysocmgr.exe is to create a text file with the following information.
[NetOptionalComponents] SNMP = 1 [SNMP] Contact_Name = Michael Khanin Location = Canada Service = Physical, Applications, End-to-End Community_Name = Public Traps = server1.thesystemadministrator.com, server2.thesystemadministrator.com Send_Authentication = Yes Accept_CommunityName = Public:Read_Only Any_Host = No Limit_Host = server1.thesystemadministrator.com, server2.thesystemadministrator.com |
Note: /q - runs sysocmgr.exe in quiet mode (without display pages) and /r - suppresses reboot (if needed).
Steps to Deploy
To install SNMP component, using Desktop Central, in remote client computers, follow the steps given below:
- Click the Software Deployment tab
- Click Add Package
- Select the MSIEXEC/EXE/ISS/Command option
- Enter Installing Windows Components as the name of the application
- Enter the following command in the Installation Command with Switches/Arguments field:
%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:<path-to-answer-file> /r /q
Note: The <path-to-answer-file> must be a path to the text file in your network share. For example, %windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u: "\\machine1\DCSWRepository\ocm.txt " /r /q
- Click Add Package
- In the Actions column, against the package you created, click the Install/Uninstall Software icon
- Enter a name and description for the configuration
- Specify the required deployment settings
- Select the required client computers using the Define Target option
- Click Deploy
Similarly to install other windows components like games,telent etc., refer to http://support.microsoft.com/kb/222444.
For Computers using Windows vista and later versions of operating system
You can ocssetup.exe to install SNMP component in client computes using the following operating systems,
- Windows Vista
- Windows 2008
- Windows 7
- Windows 2008 R2
Create a xml file
you need to a create a xml file as mentioned below.
<PermittedManagers> <A1>networkhost</A1> </PermittedManagers> <RFC1156Agent> <sysContact>MyContact</sysContact> <sysLocation>MyLocation</sysLocation> <sysServices>65</sysServices> </RFC1156Agent> <TrapConfiguration> <TrapConfigurationItems wcm:action="add"> <Community_Name>Private</Community_Name> <Traps>ComputerName</Traps> </TrapConfigurationItems> <TrapConfigurationItems wcm:action="add"> <Community_Name>Public</Community_Name> <Traps>123.456.7.89</Traps> </TrapConfigurationItems> </TrapConfiguration> <ValidCommunities> <ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity> <ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity> </ValidCommunities> |
Steps to Deploy
To install Microsoft SNMP component, using Desktop Central, in remote client computers, follow the steps given below:
- Click the Software Deployment tab
- Click Add Package
- Select the MSIEXEC/EXE/ISS/Command option
- Enter Installing Windows Components as the name of the application
- Enter the following command in the Installation Command with Switches/Arguments field:
run start /w ocsetup.exe SNMP.
%windir%\system32\ocsetup.exe /i:%windir%\inf\sysoc.inf /u:<path-to-answer-file> /r /q
Note: The <path-to-answer-file> must be a path to the text file in your network share. For example, %windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u: "\\machine1\DCSWRepository\ocm.txt " /r /q
- Click Add Package
- In the Actions column, against the package you created, click the Install/Uninstall Software icon
- Enter a name and description for the configuration
- Specify the deployment settings
- Select the required client computers using the Define Target option
- Click Deploy
You have successfully installed SNMP components using Desktop Central.