pool and fully qualified node names

HEINRICH VENTER HEINRICH.VENTER@REDACTED
Tue Nov 11 08:28:15 CET 2003


Hi

Something is puzzling me.  
I start an erlang node with a fully qualified name

erl -name test@REDACTED -config sys

When I start a new pool from this node with

pool:start(thingy).

The results are a bit confusing.  My .hosts.erlang file contains two fully qualified node names

'dev.mynodes.net'.
'hsm.mynodes.net'.

But the pool creation gives the following errors

=ERROR REPORT==== 11-Nov-2003::09:24:31 ===
** System running to use fully qualified hostnames **
** Hostname dev is illegal **

=ERROR REPORT==== 11-Nov-2003::09:24:32 ===
** System running to use fully qualified hostnames **
** Hostname hsm is illegal **

BUT the slave node starts up correctly if I have a look at pool:get_nodes()

If I use short names I dont get the error, but then the local node is not included in the pool.

Then I have a second question:  Does the slave node only look for modules only in the standard lib directories?

Does any one have an example (or wisdom to share) of using pool?

-]-[einrich

#####################################################################################
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.
#####################################################################################



More information about the erlang-questions mailing list