HP XP7 Command View Advanced Edition Installation and Configuration Guide (TK981-96001, May 2014)
ActionDescription
Return value
(hexadecimal)
Use the hdvmagt_setting command to specify the IP ad-
dress or host name of the Device Manager server again.
A failure occurred while
connecting to the Device
Manager server specified
in HDVMAgent.conf.
0x9D
Device Manager agent unattended removal
The unattended removal of an agent eliminates the need for user responses during agent removal.
This function is useful when agents are installed on multiple hosts.
To perform an unattended agent removal, you create and run a script file.
Removing a Device Manager agent from a Windows host (unattended removal)
You can perform an unattended Device Manager agent removal in a Windows environment.
1. Log in to the Windows operating system with a user ID that has administrator permissions.
2. Copy the following file to any location:
Device-Manager-agent-installation-folder\bin\agent_uninstShortcut.bat
3. Run the following command at the command prompt:
copy-destination-folder\agent_uninstShortcut.bat /s
If the UAC function is enabled in Windows, use the command prompt window that you opened
as an administrator.
4. To verify removal, enter the following command:
echo %ERRORLEVEL%
If the returned value is 0x00, the Device Manager agent is removed.
5. Delete the copy of agent_uninstShortcut.bat you made in step 2.
Related topics
• Prerequisites for removing Device Manager agents, page 103
• Verifying the Device Manager agent unattended removal, page 122
Removing a Device Manager agent from a UNIX host (unattended removal)
You can perform an unattended Device Manager agent removal in a UNIX environment.
1. Log in to UNIX as the root user.
2. Open a shell, and enter the following command:
• Solaris, Linux, HP-UX
/opt/HDVM/HBaseAgent/bin/.uninstall.sh -s
• AIX
/usr/HDVM/HBaseAgent/bin/.uninstall.sh -s
Installation and Configuration Guide 121