This document will guide the user through getting the latest mib, rev, and cfg files copied and installed on their management server. Two procedures exist: one to install the MIB update on Windows platforms and the other to install the MIB update on HP-UX or Linux platforms.

The Windows update will automatically determine if Insight Manager 7 or Systems Insight Manager or both are running and then perform the appropriate steps. If Systems Insight Manager is installed, but Insight Manager 7 is not, the script will correctly update the MIBs for Systems Insight Manager but display this error at the end for Insight Manager 7:
	Insight Manager XE - Error: -2147024894 Invalid root in registry key 	"HKEY_LOCAL_MACHINE\SOFTWARE\Compaq\Insight Manager XE\CurrentDir".
	Insight Manager XE: No Mib update, Insight Manager XE is not running

This is expected behavior.  Note that Insight Manager XE and Insight Manager 7 are synonymous in this instance. When both applications are installed or if only Insight Manager 7 is installed, no errors of this type should be seen.

The procedure for HP-UX and Linux is the same for both Operating Systems and only runs if Systems Insight Manager (any version) is installed.

NOTE: The user must log in with administrator privileges on Windows and as root on HP-UX/Linux. In addition, when updating the MIBs for Systems Insight Manager, the log in account must also be a full-rights Systems Insight Manager user in order to execute tools such as MxMib.

NOTE: After a successful installation of the mibs for a platform running Insight Manager 7 or Insight Manager XE, the service must be stopped and restarted. This is not necessary for Systems Insight Manager.

NOTE: This kit has added a delete function for mibs that need to be deleted prior to the addition of the new mibs contained in this kit. If the mibs to be deleted are registered, a success message will be displayed. If the mibs to be deleted are not registered, an error message will be seen for each mib not registered. A displayed error message for the delete function should be ignored.

NOTE: This kit contains modifications to event types which if used in a query could cause the query to not trigger as the query mechanism uses a perfect match scheme.

To Update MIBs on a Windows Platform:

1)  Log in to Windows as a user with administrative rights
2)  Create a temp directory, such as c:\mgmtcd
3)  Launch your browser with this URL: http://www.hp.com/go/hpsim
4)  Download and save the zip file, upd731mgmtcd.zip, to the newly created directory, c:\mgmtcd
5)  Open My Computer and navigate to c:\mgmtcd.
6)  Using a Win-zip compatible program, unzip the contents of the zip file by double clicking on it and then extract the contents to c:\mgmtcd.
7)  Start a command console by clicking on Start->Run and entering cmd in the dialog box that appears and then click OK.
8)  In the Command Console, navigate to c:\mgmtcd ( cd c:\mgmtcd )
7)  In c:\mgmtcd, execute the following command exactly:
    cscript updatemibs.js
8)  The script will run and display messages on the command console.
9)  When the script completes, you may delete the temp directory c:\mgmtcd and all its contents


To Update MIBs on an HP-UX/Linux Platform:

1)  Log in to HP-UX/Linux as root
2)  Create a directory such as /root/mgmtcd ( mkdir mgmtcd), It does not have to exist off of the root but for the purposes of this document it does)
3)  Launch your browser with this URL:  http://www.hp.com/go/hpsim
4)  Download and save the tar file, upd731mgmtcd.tar to the newly created directory, /root/mgmtcd
5)  Start a terminal and navigate to the new directory ( cd /root/mgmtcd )
6)  Extract the contents of upd731mgmtcd.tar by entering the following command:
    tar -xvf upd731mgmtcd.tar
7)  Execute the following:
    chmod +x updatemibs
8)  Execute the following:
    ./updatemibs
9)  The script will run and display messages on the terminal.
10)  When the script completes, you may remove the directory /root/mgmtcd and all its contents
