The unifi command supports the addition of hosts and domains directly from the command line during the host registration process. The additional roles that must be provided in the Framework User Manager are:
To allow creation of host records during registration
Module: unifi Role: register_host
Module: unifi Role: register
To allow creation of domain records during registration
Module: unifi Role: register_domain
Module: unifi Role: register
For example:
To create a host record from command line:
Syntax: /opt/netiq/npum/sbin/unifi regclnt register <Manager IP Address> 29120 <Agent IP Address> /Host <admin> <password>
To create a host under a domain:
Syntax: ./unifi regclnt register <Manager IP Address> 29120 <IP or hostname of agent></DomainPath/HostName of the agent> <admin> <password>
DomainPath: If you want to register an agent to a domain, you must specify the domain path in the format Domain/SubDomain1/SubDomain2/AgentName. If the domain or sub domains does not exist, registration process creates the domain automatically and places the agent under them. DomainPath is case insensitive.