
en.help.task-editnode.html Maven / Gradle / Ivy
Show all versions of console-cluster-plugin-help
To Edit a Node
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
- In the navigation tree, expand the Nodes node.
- From the list of nodes, select the node that you are editing.
The Edit Node page opens.
- From the Type drop-down list, select the type of the updated node.
- To enable the node to support communication over secure shell (SSH), select
SSH.
- To remove support for remote configuration from the node, select CONFIG.
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.
- In the Node Host field, type the name of the host that
the updated node is to represent.
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.
- In the Node Directory field, type the path to the directory that
is to contain GlassFish Server instances that are created on the node.
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.
- In the Installation Directory field, type the full path to the parent
of the base installation directory of the GlassFish Server software on the host,
for example, /export/glassfish3/.
- To force the node to be created in the configuration of
the domain administration server (DAS) even if validation of the node's parameters
fails, enable the Force option.
- In the SSH Port field, type 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.
- In the SSH User Name field, type the name of 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 SSH User Name option is set
to the user that is running the DAS process.
- Specify how the SSH user will be authenticated when logging in to
this node's host.
- To specify authentication through an SSH private key file, perform these steps:
- From the SSH User Authentication drop-down list, select Key File.
- In the Key File field, type the absolute path to the SSH
private key file for user that the SSH User Name option specifies.
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
- To specify authentication through a password that is stored in the DAS
configuration, perform these steps:
Caution - This password is stored in clear text in the DAS configuration. For
enhanced security, use a key file or a password alias.
- From the SSH User Authentication drop-down list, select Password.
- In the SSH Password field, type the password that the SSH user
will use when logging in to this node's host.
- In the Confirm SSH Password field, type the password again.
- To specify authentication through a password alias, perform these steps:
- From the SSH User Authentication drop-down list, select Password Alias.
- From the Password Alias drop-down list, select an existing alias.
- Click Save.
See Also
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices