Olivier,

For what i know, the hostname is the full hostname including the domain whereas
the name is the node name used in OSCAR. However, i am not one of the initial
ODA developers, therefore i may be wrong.

Anyway, your patch, even if not perfect is still better than the current code so
i just checked it in (r9079).

Thanks,


Selon Olivier LAHAYE <olivier.lah...@cea.fr>:

>
> hostname column is not set in the Nodes table for nodes
> (set_node_with_group).
> Unfortunately, this field is required by
> /var/lib/oscar/packages/sge/api-post-clientdef line 61 (qconf -ah $hostanme)
>
> Maybe my patch is bad as there are other fields that are not set at this
> stage and they may be setup later.
> The problem is that the hostname must have a value before
> /var/lib/oscar/packages/sge/api-post-clientdef is run.
>
> Or this script could be changed to use the name instead of the hostname to
> declare the queue....
>
> I chose to set the hostname field to name in the Node table when a node is
> created: patch attached.
>
> In the nodes table, what is the difference between name and hostname fields?
>
> --
>       Olivier LAHAYE
>       CEA Saclay
>       DRT-LIST-DETECS-SSTM
>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to