Type the following command:
asadmin create-node-agent --host das-host --port port-no --user das-user [--savemasterpassword=true] nodeagent |
To enable the node agent to be started without prompting the user for a password, save the node agent's master password to a file. To save the node agent's master password to a file, set the --savemasterpassword option to true in the command to create the node agent.
If you set --savemasterpassword to true, you are prompted for the master password. Otherwise, you are not prompted for a password.
Specifies the name of the host where the Domain Administration Server (DAS) is running.
Specifies the HTTP/HTTPS port number for administering the domain.
Specifies the DAS user.
Specifies the name of the node agent that you are creating. This name must be unique in the domain.
asadmin create-node-agent --host myhost --port 4848 --user admin nodeagent1 |
This command creates a node agent that is named nodeagent1. The DAS with which the node agent communicates is running on the machine myhost. The HTTP port for administering the agent's domain is 4848. The name of the DAS user is admin.