admincenter and test the connectivity Warnning

13 views (last 30 days)
Unable to identify the problem
Matlab is working fine but these warnings are not resolved by the application. When i use admincenter and test the connectivity the following warning occurs
Kindly Guide Me How To Fix It
ID # Start Time Stop Time Executing Node Subject Node Test Category Test Description Result Message
1 Sep 19, 2012 7:26:48 PM Sep 19, 2012 7:26:50 PM ac2-pc ac2-pc PORT_CONNECT PingServerSocketHost Test SUCCESS
2 Sep 19, 2012 7:26:48 PM Sep 19, 2012 7:26:50 PM aclp2 ac2-pc PORT_CONNECT PingServerSocketHost Test *WARNING Host AC2-PC does not respond to java.net.InetAddress.isReachable(). *
3 Sep 19, 2012 7:26:49 PM Sep 19, 2012 7:26:52 PM ac2-pc aclp2 PORT_CONNECT PingServerSocketHost Test *WARNING Host ACLP2 does not respond to java.net.InetAddress.isReachable(). *
4 Sep 19, 2012 7:26:52 PM Sep 19, 2012 7:26:52 PM ac2-pc aclp2 PORT_CONNECT ConnectToServerSocket Test (remote port 27355) SUCCESS
5 Sep 19, 2012 7:26:53 PM Sep 19, 2012 7:26:53 PM ac2-pc ac2-pc PORT_CONNECT ConnectToServerSocket Test (remote port 27355) SUCCESS
6 Sep 19, 2012 7:26:53 PM Sep 19, 2012 7:26:54 PM aclp2 ac2-pc

Answers (5)

Jason Ross
Jason Ross on 20 Sep 2012
You have a name resolution problem.
You need to check and possibly modify:
Firewall settings (if firewalls are in use)
DNS records (forward and reverse lookup)
DNS search domains
For each of the problematic hosts.
I can't tell you any exact fixes because you don't indicate what operating systems are in use, and these settings may or may not be accessible to you -- you will likely need root/Administrator privileges to change them. These settings can also vary widely by site, as well -- so you might need to contact networking staff (if you have them) to get the proper settings to make it work.
Please open new questions. Don't add on to existing ones that have been resolved for some time.

leo
leo on 21 Sep 2012
Sir there is no client server environment. Window 7 is Installed on both the clients. I have the administrative rights. Application is also added in the firewall. if we off the firewalls no effects appear on warnings. Application is working properly.I have allowed these ports for inbound or outbound traffic TCP 27350-27470 and 28350-27450.
What can i do now? Is there any particular service to restart? Is there any registry setting required over it? Does any Trojan virus leads to this? should we deploy matlab on client a server environment?
Kindly Help Me I Need Your Help To Fix It Out.
  3 Comments
leo
leo on 21 Sep 2012
Edited: leo on 21 Sep 2012
i am using hostfile for DNS Resolution. Both system are on workgroup, it means they don't have any domain.
I know what i am trying to do.If i would like to check that application ports are blocked or not, What command should i use for it
This condition is working perfectly, What should i have to look now?
from machineA:
ping (machineA IP address)
ping machineA
ping machineA.full.machine.name
ping (machineB.ip.address)
ping machineB
ping machineB.full.machine.name
from machineB:
ping (machineB IP address)
ping machineB
ping machineB.full.machine.name
ping (machineA IP address)
ping machineA
ping machineA.full.machine.name
Jason Ross
Jason Ross on 21 Sep 2012
Edited: Jason Ross on 21 Sep 2012
Leave the firewalls off until you get the DNS stuff figured out.
If you are using hostfiles, make sure that the above tests work with the short hostname and fully qualified one both ways.
Also, ensure that the NetBIOS setting is as you expect. It's a second level of name resolution beyond DNS, and it can add another place for the names to be inconsistent.
I would also make the assumption that both machines are on the same subnet as well as (likely) the same switch? Or are there other things on the network between the two hosts?
For port blocking, you can check with netstat -a and use "<matlabroot>\toolbox\distcomp\bin\nodestatus -infolevel 2" to see more information. But you must get the name resolution items down before you move on, as they are the foundation things build on.
Also, be on the lookout for multiple NICs where you might not expect them -- for example if you are on a laptop with a wireless connection and a wired connection -- that can cause confusion, especially if there is a duplicate hostname out on the network and it gets resolved first, since I think Windows favors a DNS response over the hosts file.

Sign in to comment.


leo
leo on 24 Sep 2012
Edited: leo on 24 Sep 2012
Ping with ip and by hostname is successful but DNS Resolution Errors "Inbound And Outbound Name Resolutions" are still on my way
For port blocking, you can check with netstat -a and use "<matlabroot>\toolbox\distcomp\bin\nodestatus -infolevel 2" when i run nodestatus bat file a blank command prompt appears with no information.
Host File is place on each system put in a TCP/IP Connection 192.168.0.1 is used as a preferred dns
On One System While Configuring Network Adopter Multiple Default Gateway appears when we change static ip ACLP2
I don't know what is the reason with it.
I have turned off the firewalls but it has no effect on admin center connectivity test.
While adding host to admincenter Multicast added by default and it is not resolved by the Matlab.
How to check NetBios Setting?
I have completely describe the situation below.
rogram called Matlab installed under Program Files\Matlab\R2011a Relevant Toolbox of the program is under \toolbox\distcomp\bin\
The toolbox is used to create a cluster of computers (called Nodes)
A Node can be a Client, a Job Manager or a Worker
Many cased a host can be a client and a job manager and also one of the workers
For example PC1: Client, JM, W PC2: W
Host Name: PC1 (this machine) is AC2-PC (192.168.0.8) PC2 is ACLP2 (192.168.0.11)
Service is called MDCE and must be isntalled and running on the JM and each Worker.
Problem 1: unable to remote start service. Example start mdce service on PC2 remotely from PC1
Problem 2: unable to check (sometimes) status of service remotely
Problem 3: service status erratic
How to install mdce -run cmd as Administrator and go to the distcomp direcoty -run "mdce uninstall -clean" -run "mdce install" -run "addMatlabToWindowsFirewall" -run "mdce start" -to check status run "nodestatus -remotehost
How to create jobmanager and worker on PC1
-open admincenter as Administrator

leo
leo on 25 Sep 2012
Edited: leo on 25 Sep 2012
How to edit Hostfile For DNS Resolution?
PC1 (this machine) is for Host Name AC2-PC (192.168.0.8) PC2 is Host Name ACLP2 (192.168.0.11)
Just Write this code at the bottom will work for Window 7?
AC2-PC 192.168.0.8 ACLP2 192.168.0.11
What Should be the preferred DNS Server in TCP/IP Ver 4?
If 192.168.0.1 is default gateway?
Should the similar configuration file should be placed on each system and what should be the preferred DNS for each system ?
Kindly Help Me Out As Soon As Possible
  1 Comment
Jason Ross
Jason Ross on 25 Sep 2012
You will need to populate the hosts file with the ip addresses and hostnames in the ways they will be addressed. According to Microsoft, this is one entry per line. So you would need these entries in the file. Make sure to use the same file on both PCs.
192.168.0.8 AC2-PC
192.168.0.8 ac2-pc
192.168.0.8 AC2-PC.YOURDOMAIN.COM
192.168.0.8 ac2-pc.yourdomain.com
192.168.0.11 ACLP2
192.168.0.11 aclp2
192.168.0.11 ACLP2.YOURDOMAIN.COM
192.168.0.11 aclp2.yourdomain.com
Note that the hostnames above are case-sensitive!!!! Were I doing this, I would keep everything lower-case, as is Internet convention. You also need to be sure that in DNS, the "Use hosts file for name resolution" is checked, to ensure that these names are resolved. You also need to replace "yourdomain.com" with the DNS domain settings for your network.
192.168.0.1 is by convention the preferred gateway for a network -- but that's a convention. You need to confirm it with the people who run your network.
DNS is another setting that is per-network. You need to check with the people who run your network what the DNS Server(s) should be set to. I have no way of knowing.
The bottom line here is that you need to get the network working properly. Right now it's not working properly, and you really need to reach out to people who understand how the network you are running on is configured, as correct hostname resolution is an absolute requirement for any clustered system to work.

Sign in to comment.


leo
leo on 2 Oct 2012
when firewall is off every thing is oka, but when firewall gets on the following Warning comes our way
ID # Start Time Stop Time Executing Node Subject Node Test Category Test Description Result Message 1 Sep 19, 2012 7:26:48 PM Sep 19, 2012 7:26:50 PM ac2-pc ac2-pc PORT_CONNECT PingServerSocketHost Test SUCCESS 2 Sep 19, 2012 7:26:48 PM Sep 19, 2012 7:26:50 PM aclp2 ac2-pc PORT_CONNECT PingServerSocketHost Test *WARNING Host AC2-PC does not respond to java.net.InetAddress.isReachable(). * 3 Sep 19, 2012 7:26:49 PM Sep 19, 2012 7:26:52 PM ac2-pc aclp2 PORT_CONNECT PingServerSocketHost Test *WARNING Host ACLP2 does not respond to java.net.InetAddress.isReachable(). * 4 Sep 19, 2012 7:26:52 PM Sep 19, 2012 7:26:52 PM ac2-pc aclp2 PORT_CONNECT ConnectToServerSocket Test (remote port 27355) SUCCESS 5 Sep 19, 2012 7:26:53 PM Sep 19, 2012 7:26:53 PM ac2-pc ac2-pc PORT_CONNECT ConnectToServerSocket Test (remote port 27355) SUCCESS 6 Sep 19, 2012 7:26:53 PM Sep 19, 2012 7:26:54 PM aclp2 ac2-pc
How to allow java.net.InetAddress.isReachable() that it can easily through from firewall
What are the recommended ports should be added into the firewall?
  9 Comments
Jason Ross
Jason Ross on 3 Oct 2012
If you are connecting from a client, 27370-27470 should be open, as well.
Jason Ross
Jason Ross on 3 Oct 2012
And you are already up and running ... it's just fiddling with the firewall settings that's tripping you up a bit. Once you get that figured out you are good to go.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!