HP DL360 HP Insight Management WBEM Providers for Windows Server 2003 and Wind - Page 14

Scripting commands for uninstalling HP Insight Management Agents, through 7.60

Page 14 highlights

If OpenSSH is not installed, install it on the target servers: a. From the HP SIM menu, select Deploy > Deploy Drivers, Firmware, and Agents. b. Select Install OPENSSH. c. Follow the instructions to install OpenSSH on the target servers. 5. After OpenSSH is installed, configure HP SIM to authenticate the managed systems by choosing one of the following options: o Execute the following command from an HP SIM CLI prompt: mxagentconfig -a [-n hostname] [-u login user name] [-p password] o From the HP Systems Insight Manager menu, to configure the target systems, select Configure > Configure or Repair Agents. For more information, use the help system. 6. Execute the Identify Systems task for all nodes by selecting Options > Identify Systems, selecting the target nodes, and then executing the task. To run the Uninstall Agents Tool from HP SIM: 1. Use a web browser to log in to the HP SIM console. 2. From the HP SIM menu, select Deploy > Deploy Drivers, Firmware, and Agents. 3. Select Uninstall HP Insight Management Agents. 4. Select the list of target servers to remove Agents from, and then click Apply. 5. To confirm the list of target servers, click Next. 6. To remove Agents from the target servers, click Run Now. The Uninstall Agents Tool displays the task results in the Stdout results area. Scripting commands for uninstalling HP Insight Management Agents Use the following scripting command to uninstall HP Insight Management Agents. Scripting commands for HP Insight Management Agents 6.30 through 7.60 To uninstall HP Insight Management Agents, run the following commands from a script or from a Windows® command prompt on a target system: $WINDIR\system32\cpqmgmt\aguninst.exe /s $SYSTEMDRIVE\hp\hpsmh\bin\smhreset The $WINDIR environment variable refers to the Windows® directory (for example, c:\winnt on Windows® 2000 or c:\windows on Windows Server® 2003). The $SYSTEMDRIVE environment variable refers to the system drive (for example, c:). The aguninst.exe /s command uninstalls the HP Insight Management Agents. The smhreset command resets the HP System Management Homepage. Uninstalling SNMP-Based HP Insight Management Agents 14

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41

Uninstalling SNMP-Based HP Insight Management Agents
14
If OpenSSH is not installed, install it on the target servers:
a.
From the HP SIM menu, select
Deploy > Deploy Drivers, Firmware, and Agents
.
b.
Select
Install OPENSSH.
c.
Follow the instructions to install OpenSSH on the target servers.
5.
After OpenSSH is installed, configure HP SIM to authenticate the managed systems by choosing one
of the following options:
o
Execute the following command from an HP SIM CLI prompt:
mxagentconfig -a [-n hostname] [-u login user name] [-p password]
o
From the HP Systems Insight Manager menu, to configure the target systems, select
Configure >
Configure or Repair Agents.
For more information, use the help system.
6.
Execute the Identify Systems task for all nodes by selecting
Options > Identify Systems
, selecting the
target nodes, and then executing the task.
To run the Uninstall Agents Tool from HP SIM:
1.
Use a web browser to log in to the HP SIM console.
2.
From the HP SIM menu, select
Deploy > Deploy Drivers, Firmware, and Agents
.
3.
Select
Uninstall HP Insight Management Agents
.
4.
Select the list of target servers to remove Agents from, and then click
Apply
.
5.
To confirm the list of target servers, click
Next.
6.
To remove Agents from the target servers, click
Run Now.
The Uninstall Agents Tool displays the task results in the Stdout results area.
Scripting commands for uninstalling HP Insight
Management Agents
Use the following scripting command to uninstall HP Insight Management Agents.
Scripting commands for HP Insight Management Agents 6.30
through 7.60
To uninstall HP Insight Management Agents, run the following commands from a script or from a
Windows® command prompt on a target system:
$WINDIR\system32\cpqmgmt\aguninst.exe /s
$SYSTEMDRIVE\hp\hpsmh\bin\smhreset
The $WINDIR environment variable refers to the Windows® directory (for example, c:\winnt on
Windows® 2000 or c:\windows on Windows Server® 2003).
The $SYSTEMDRIVE environment variable refers to the system drive (for example, c:).
The
aguninst.exe /s
command uninstalls the HP Insight Management Agents.
The
smhreset
command resets the HP System Management Homepage.