![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Intelligent Management: hadmgrRemove command
The hadmgrRemove command removes a highly available deployment manager from a cell. The command must be run within the deployment manager profile that is being removed.

Syntax
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[z/OS]](../images/ngzos.gif)
hadmgrRemove -hostname (primary_dmgr_host) [-port (primary_dmgr_port)] [-user (uid)] [-password (pwd)] [-quiet] [-logfile (filename)] [-replacelog] [-trace] [-help]
Parameters
The following options are available for the hadmgrRemove command:
- -hostname <host name>
- Specifies the host name that is used to connect to the existing deployment manager.
- -port <port>
- Specifies the port that is used to connect to the existing deployment manager.
- -user <user>
- Specifies the user name that is used to connect to the existing deployment manager.
- -password <password>
- Specifies the password that is used to connect to the existing deployment manager.
- -quiet
- Suppresses the progress information that the hadmgrRemove command prints in normal mode.
- -logfile <filename>
- Specifies the location of the log file to which information gets written. By default, the log file is called hadmgrRemove.log and is created in the logs directory of the profile for the node being added.
- -replacelog
- Replaces the log file instead of appending to the current log. By default, the hadmgrRemove command appends to the existing trace file. This option causes the hadmgrRemove command to overwrite the trace file.
- -trace
- Generates additional trace information in the log file for debugging purposes.
- -help
- Displays syntax help.