It work well after I repair IP and telnet :-??
Thanks a lot
Nghia Nguyen
----- Original Message ----
From: Matt Valerio <[EMAIL PROTECTED]>
To: Anh Nghia Nguyen <[EMAIL PROTECTED]>
Cc: Reece Arnott <[EMAIL PROTECTED]>; "[email protected]"
<[email protected]>
Sent: Friday, March 30, 2007 11:00:48 PM
Subject: Re: [Alchemi-users] Only one executor actually do its job
Alchemi has some issues with how it detects and recovers from errors.
In particular, the following error situation (among possibly others) will still
cause an executor to show up as "red" in the console, even though it should be
"grey":
1) Manager is started successfully
2) Executor connects to Manager on port 9000
3) Manager tries to connect to Executor on port 9001, but fails because either
a) DNS lookup of executor fails b) There is a firewall blocking port 9001
inbound to executor c) Some other network-related reason
I've personally experienced a) and b).
The log files are saying that the manager cannot connect to the two executors
(the ones that aren't running on the manager).
Try this:
1) On the Manager computer, open up a command line (Start>Run cmd)
2) Start the Manager
3) Start the Executor on, let's say executor1
4) On the command line type
telnet executor1 9001
If this opens up with a blank screen, type a few characters and it should spit
back some gibberish like
.NET☺☻☻♥☺♥☺☺hServer encountered an internal error. To get more info turn on
customErrors in the server's config file.t
Connection to host lost.
This means that the manager can contact executor1 on port 9001 successfully.
If not, then we've found the problem -- either the DNS lookup is failing or
port 9001 is not open.
Let me know what this turns up.
-Matt
On 3/30/07, Anh Nghia Nguyen <[EMAIL PROTECTED] > wrote:
hi Matt,
You know
I don't think that the manager can't see the executor
because i can use remote desktop from Manager computer to Executor computer (to
see %CPU)
About the executor name: In Alchemi console, i can see 2
different-(computer)name executors one from manager computer and another from
remote, again 2 executors are red (not gray - disable),
So the name-cause is not reasonable, right?
About the .... post either on mail-list/forum: I've just joined the mailist
recently(over one month) so It's very kind of you to send me the link or
forward that email again
Thanks
Nghia Nguyen
----- Original Message ----
From: Matt Valerio < [EMAIL PROTECTED]>
To: Anh Nghia Nguyen <[EMAIL PROTECTED]>
Cc: Reece Arnott < [EMAIL PROTECTED]>; " [email protected]"
<[email protected]>
Sent: Friday, March 30, 2007 9:03:05 PM
Subject: Re: [Alchemi-users] Only one executor actually do its job
Hey Anh,
I just took a quick peek at it (gotta get to class here) but there is a
System.Net.Sockets.SocketException: No such host is known
showing up.
Try to ping the executors from the manager and see if that works.
Also, there is a bug in the manager/executor code where only the computer name
of the executor is stored in the database, not the whole FQDN. So if an
executor is named executor1.domain.edu , then only "executor1" is stored in the
database. This may be what's causing you problems. You can get around this by
putting an entry in C:\Windows\system32\drivers\etc\hosts
Sorry so brief -- let me know and I can explain this more, or I think there was
a post either on the forum or in the email lists about this kind of thing a few
months ago.
So it appears to be a networking issue where the manager can't find out who the
executors are.
Let me know what you find out
-Matt
On 3/30/07, Anh Nghia Nguyen < [EMAIL PROTECTED]> wrote:
F.Y.I
----- Original Message ----
From: Matt Valerio < [EMAIL PROTECTED]>
To: Anh Nghia Nguyen <[EMAIL PROTECTED]>
Cc: Reece Arnott <[EMAIL PROTECTED]>; " [email protected]"
<[email protected] >
Sent: Friday, March 30, 2007 7:13:49 PM
Subject: Re: [Alchemi-users] Only one executor actually do its job
Hi Anh,
I'd take a look at the log files on both the Manager and the Executors to see
if they will give you any more clues.
They are in
<Alchemi Path>\Manager\dat\
and
<Alchemi Path>\Executor\dat\
If you really want to see what's going on,
1) Stop all executors
2) Stop the manager
3) Delete the \dat\ file on both the manager and executors
4) Start the manager
5) Start the executors
6) Try to start PiCalculator
Then check the freshly-created log files and look for errors and exceptions.
Let us know what you find.
HTH,
-Matt
On 3/30/07, Anh Nghia Nguyen < [EMAIL PROTECTED]> wrote:
hi Reece, Thanks for your reply
here are hints and what i did
all .exe files are built from code and deployed (there're some errors with
install version)
all firewall (in manager and executors) are turned off
all executor are red in Alchemi Console
The example was used for experiment is PiCalculator with default setting &
parameter
Only the executor in the Manager machine actually do it's job (80-90%CPU for
Alchemi.Executor.exe process)
Hope it's enough
Nghia Nguyen
----- Original Message ----
From: Reece Arnott < [EMAIL PROTECTED]>
To: Anh Nghia Nguyen <[EMAIL PROTECTED]>
Cc: " [email protected]" <
[email protected]>
Sent: Friday, March 30, 2007 4:12:00 AM
Subject: Re: [Alchemi-users] Only one executer actually do its job
At 06:00 a.m. 30/03/2007, Anh Nghia Nguyen wrote:
>hi all
>I attempt to setup a grid and it's well done
>but my grid consist of 3 executor
>When i run examples, only first executor actually do it's job (the %CPU ~
>80-90 for process Alchemi.Executor.Exe)
>the others are 0% CPU
>In addition, if i stop/disconnect the first one, the grid is down, i mean
>it do nothing when i run examples.
>
>Do i have to do some configuration?
Most often the problem will be with a firewall.
First thing to try is turning off all firewalls and seeing if it works. If
it still doesn't then thats a red herring and its something more
complicated. If it works with all firewalls off you could try just turning
them back on one at a time till something breaks or try a bit of logic.
If the executor thats working is on the same machine as the manager then
I'd say it was probably the firewall on the manager that was the problem,
otherwise its more likely to be the firewall settings on the individual
executors.
If you look in the Alchemi Console (comes with the SDK, under bin folder)
under Console Root\Executors do you see the other 2 executors? Are they
greyed out?
If you don't see them then somethings wrong at their end and the executor
never connected to the manager. If they are visible but greyed out then
they connected to the manager at some point but are not currently available
to run applications. In this case its most likely a firewall issue on those
machines but it may be that you have the wrong version of the executor
installed on these machines.
-------------------------
Reece Arnott
Learning Environments Specialist
School of Business
University of Otago
Dunedin
New Zealand
[EMAIL PROTECTED]
-------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users