Answered by:
Error while executing LINQToHPC DupPic2 Sample

Question
-
I have set up Windows HPC PACK 2008 R2 environment with 1 head (Windows Server 2008 R2 ) and 2 compute nodes (Windows Server 2008 R2 ) , and client (Windows 2003 Server) I can able to execute SOA samples from the client .
But when I try to run LINQToHPC samples, DupPic2 , when it tries to check context.DscService.FileSetExists(inputFileSetName), it throws exception saying {"Failed to get fileset /user_DupPicImages from DSC service headnode. Cannot connect to headnode."} Source=Microsoft.Hpc.Dsc
ErrorCode=290.I am unable to trouble shoot the issue .
Note: On the client machine i separatly installed LINQToHPC client utils as it didn't get installed as part of Windows HPC client setup.
when i debug the program HPCLinQContext object has ClientVersion = {3.2.3718.0} and ServerVersion = {3.2.3639.0}, I suspect some sort of version compatability.
Aravindakumar.VMonday, August 22, 2011 2:42 PM
Answers
-
Hi Aravindakumar,
I think client and server version mismatch is most likely what's causing you the problems. And I think there are two things you can try here"
1. go to C:\Program Files\Microsoft HPC Pack 2008 R2\Bin on your headnode, copy everything and paste into your client machine, the overwriting should get rid of any version mismatch.
2.re-install L2H on your headnode, compute node, and client, using the same installation file.
Hope this helps, and please let me know how things goes.
Michael
- Marked as answer by Aravindakumar1 Thursday, August 25, 2011 4:29 PM
Wednesday, August 24, 2011 9:03 PM
All replies
-
Hi Aravindakumar,
Do you hve the DSC server setup? Can you check if you have the process "hpcdsc" running on your head node?
Monday, August 22, 2011 9:50 PM -
Thanks Michael for your reply.
hpcdsc service is running on the head node.
Also when i tries to run the DSC Node List command from client machine , I am getting error ,Please see details below
>DSC NODE LIST /Service:headNodeInst
Error: Failed to list nodes. Cannot connect to headNodeInst.
But I can able to telnet to headNodeInst on port 6498
Aravindakumar.V
- Edited by Aravindakumar1 Tuesday, August 23, 2011 12:42 PM corrected
Tuesday, August 23, 2011 5:13 AM -
Hi Aravindakumar,
What happens if you run DSC node list from the headnode? Do you get any response?
Michael
Tuesday, August 23, 2011 4:27 PM -
Yes Michael, I am getting the response when I run from head node.
Aravindakumar.VWednesday, August 24, 2011 5:52 AM -
Hi Aravindakumar,
I think client and server version mismatch is most likely what's causing you the problems. And I think there are two things you can try here"
1. go to C:\Program Files\Microsoft HPC Pack 2008 R2\Bin on your headnode, copy everything and paste into your client machine, the overwriting should get rid of any version mismatch.
2.re-install L2H on your headnode, compute node, and client, using the same installation file.
Hope this helps, and please let me know how things goes.
Michael
- Marked as answer by Aravindakumar1 Thursday, August 25, 2011 4:29 PM
Wednesday, August 24, 2011 9:03 PM -
Thanks Michael, copying the bin folder, to client machine worked out...
One thing i want to clarify...i copied the bin folder dlls to a 32 bit client machine and a 64 bit client machine...
In both client machines DSC command prompt commands worked out...but DupPic2 sample failed at context.DscService.FileSetExists(inputFileSetName)on 32 bit client machine saying unable to connect to head node but 64 bit client machine is fine.... Any thoughts why?
Aravindakumar.VThursday, August 25, 2011 4:28 PM -
Hi Aravindakumar,
32-bit DSC client is not supported, please stay with 64-bit client, thanks.
Michael
Thursday, August 25, 2011 5:05 PM