All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-editnode.html Maven / Gradle / Ivy

The newest version!



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

  1. In the navigation tree, expand the Nodes node.
  2. From the list of nodes, select the node that you are editing.

    The Edit Node page opens.

  3. 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.

  4. 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.

  5. 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.

  6. 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/.
  7. 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.
  8. 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.

  9. 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.

  10. 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:
      1. From the SSH User Authentication drop-down list, select Key File.
      2. 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.


      1. From the SSH User Authentication drop-down list, select Password.
      2. In the SSH Password field, type the password that the SSH user will use when logging in to this node's host.
      3. In the Confirm SSH Password field, type the password again.
    • To specify authentication through a password alias, perform these steps:
      1. From the SSH User Authentication drop-down list, select Password Alias.
      2. From the Password Alias drop-down list, select an existing alias.
  11. Click Save.

See Also

Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2025 Weber Informatics LLC | Privacy Policy