Editing a node updates configuration data of a GlassFish Server node. Editing a node also enables you to change the type of the node from CONFIG to SSH to enable SSH communication for the node.
If you change the type of the node from CONFIG to SSH , default values are applied if any of the following fields is left empty:
SSH Port
SSH User Name
Key File
The Edit Node page opens.
If you select CONFIG, no options for SSH configuration are displayed. If the current type of the node is SSH and you select CONFIG, SSH configuration data is removed from the node's configuration when you save your changes.
Whether this field is mandatory depends on the type of the node:
If the type of the node is CONFIG, the name of the host may be omitted. The name of the host can be determined when instances that reside on the node are created.
If the type of the node is SSH, the name of the host must be specified. Otherwise, an error occurs.
If you type a relative path, the path is relative to the as-install directory, where as-install is the base installation directory of the GlassFish Server software on the host.
If you change the type of the node from CONFIG to SSH and leave this field empty, the SSH Port option is set to 22.
If you change the type of the node from CONFIG to SSH and leave this field empty, the SSH User Name option is set to the user that is running the DAS process.
Note - GlassFish Server also supports password authentication through the AS_ADMIN_SSHPASSWORD entry in the password file. The password file is specified in the --paswordfile option of the asadmin(1M) utility.
If you change the type of the node from CONFIG to SSH and leave this field empty, the Key File option is set to a key file in the user's .ssh directory. If multiple key files are found, GlassFish Server uses the following order of preference:
id_rsa
id_dsa
identity
Caution - This password is stored in clear text in the DAS configuration. For enhanced security, use a key file or a password alias.