The add-host command adds predefined host data to the system before agent installation. The agent on the host adds the host automatically. If there is already a host in the system with the given host name, the command results in an error.
To get valid values for the -D parameter, use the -ld command. The value of -h must not already be in the output of the -lah command.