admin@glassfish.java.net

Re: SSH Provisioning and create-node-ssh question

From: Joe Di Pol <joe.dipol_at_oracle.com>
Date: Wed, 30 Jun 2010 07:54:52 -0700

Carla Mott wrote:
> 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.

I will update the design doc. Some things I need to sort out:

sshnodehost
-----------
This was provided for a use case that may not be very
common. We may choose to drop it until the need for
it becomes more apparent.

ssh-auth type
-------------
We plan on adding username/password authentication in MS4.
I'll update the spec to reflect this, but support won't be
there for MS3.

Joe

>
> 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.
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>