admin@glassfish.java.net

Re: SSH Provisioning and create-node-ssh question

From: Carla Mott <carla.mott_at_oracle.com>
Date: Tue, 29 Jun 2010 22:15:19 -0700

there should be an sshnodehost attribute and I will add that. we talked
about type and decided not to use it for now. I think we need to update
the design doc.

Thanks,
Carla

Anissa Lam wrote:
>
> I am looking at the design spec of SSH Provisioning, section 9.0
> http://wiki.glassfish.java.net/Wiki.jsp?page=3.1SSHProvisioningDesign#section-3.1SSHProvisioningDesign-9.0Configuration
> where it gives a domain.xml snippet as an example:
> <!-- An SSH node -->
> <node name="ssh_node" nodehost="gf1.sfbay.sun.com" nodehome="/export/gf">
> <ssh-connector port="22" sshnodehost="gf1.sfbay.sun.com">
> <ssh-auth type="key" username="dipol" keyfile="~/.ssh/id_dsa" />
> </ssh-connector>
> However, the current create-node-ssh command doesn't take in
> sshnodehost nor ssh-auth type as valid option.
>
>
>
>
>
> Usage: asadmin [asadmin-utility-options] create
> </node>
>
> -node-ssh --nodehost <nodehost>
> --nodehome <nodehome> [--sshport <sshport>] [--sshuser <sshuser>]
> [--sshkeyfile <sshkeyfile>] [-?|--help[=<help(default:false)>]] name
>
> Looking at config-api, I don't see the 'type' attribute for SshAuth.
> But for ssh-connector, i did see SshHost as one of the attributes.
> Is this a bug in the CLI for missing those options or the domain.xml
> example is wrong ?
>
> thanks
> Anissa.
>
>