
en.help.ref-nodeedit.html Maven / Gradle / Ivy
Show all versions of console-cluster-plugin Show documentation
Edit Node
Use the Edit Node page to update the configuration data of a
GlassFish Server node. You can also use this page to change the
type of a 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
User Name
Key File
The Edit Node page contains the following options:
- Name
The name that was assigned to the node when the node was created. This field is read only.
- Type
Drop-down list to specify the type of the node, which is one of the following types:
- SSH
The node supports communication over secure shell (SSH).
- CONFIG
The node does not support remote communication. If CONFIG, is selected, 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.
- Node Host
The name of the host that the node is to represent after the node is updated. 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.
- Node Directory
The path to the directory that is to contain GlassFish Server instances that are created on the node. If a relative path is specified, 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 this field is left empty, the configuration of the node is updated as follows:
If the type of the node is CONFIG, no directory for instances is specified for the node in the domain administration server (DAS) configuration. The node directory can be determined when instances that reside on the node are created.
If the type of the node is SSH, the node directory is as-install/nodes, where as-install is the base installation directory of the GlassFish Server software on the host.
- Installation Directory
The full path to the parent of the base installation directory of the GlassFish Server software on the host, for example, /export/glassfish3/.
If this field is left empty, the configuration of the node is updated as follows:
If the type of the node is CONFIG, no installation directory is specified for the node in the DAS configuration. The installation directory can be determined when instances that reside on the node are created.
If the type of the node is SSH, the installation directory is the parent of the default base installation directory of the GlassFish Server software for the DAS. This setting is useful only if GlassFish Server is installed in the same location on all hosts.
- Force
If the Enabled option is selected, the node is updated in the domain administration server (DAS) configuration even if validation of the node's parameters fails. To validate a node's parameters, the DAS must be able to contact the node's host through SSH.
- SSH Port
The port to use for SSH connections to this node's 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 the Node Host option is set to localhost-domain, the SSH Port option is ignored.
- SSH User Name
The user on this node's host that is to run the process for connecting to the host through SSH.
If you change the type of the node from CONFIG to SSH and leave this field empty, the User Name option is set to the user that is running the DAS process.
If the Node Host option is set to localhost-domain, the SSH User option is ignored.
- SSH User Authentication
Drop-down list to specify how the SSH user is authenticated when logging in to this node's host. The possible methods for authentication are as follows:
- Key File
The SSH user is authenticated through an SSH private key file. If you select this option, specify the absolute path to the file in the Key File field.
- Password
The SSH user is authenticated through a password that is stored in the DAS configuration.
Caution - This password is stored in clear text in the DAS configuration. For enhanced security, use a key file or a password alias.
If you select this option, the SSH Password field and the Confirm SSH Password field are activated to enable you to provide the password.
- Password Alias
The SSH user is authenticated through a password alias. If you select this option, select the password alias from the Password Alias drop-down list.
- SSH Password
The password that the SSH user will use when logging in to this node's host.
- Confirm SSH Password
Confirmation of the password that the SSH user will use when logging in to this node's host. The content of this field must match exactly the content of the SSH Password field.
- Password Alias
Drop-down list of password aliases that are defined for this domain.
- Key File
The absolute path to the SSH private key file for user that the User Name option specifies. This file is used for authentication to the sshd daemon on the node's host.
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 the SSH private key file is protected by a passphrase, the password file must contain the AS_ADMIN_SSHKEYPASSPHRASE entry.
The path to the key file must be reachable by the DAS and the key file must be readable by the DAS.
The default depends on whether you 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 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
Related Tasks
Equivalent asadmin Subcommands
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices