How do I check that the hostname of a cluster node is bound to an IP address on one of the host's network interface cards (NIC)?

12 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Oct 2020
Edited: MathWorks Support Team on 27 Oct 2020
Distributed computing processes will work correctly on machines with multiple NICs. For every node on the cluster, its hostname must be bound to an IP address that matches an address on one of its network interface cards (NIC). Your MATLAB client and your other cluster nodes must be able to contact it using this address. To determine if your configuration is correct, at a system prompt (such as DOS), enter the command
hostname
At a system prompt (such as DOS), enter the result of the hostname command as an argument to the ping command:\n
ping yourhost (for any non-Solaris platform)
ping -sn yourhost (for Solaris)
The ping command prints an IP address for yourhost. You can interrupt the ping output with Ctrl+C. Ensure that this same IP address is among those printed out by either of the following commands:\n
ifconfig -a (for UNIX)
ipconfig /all (for Windows)
NOTE: One of the requirements for setting up a cluster is the presence of a DNS service on the network, or an equivalent. For more information, see the MDCS system requirements below:
https://www.mathworks.com/support/requirements/matlab-parallel-server.html

More Answers (0)

Categories

Find more on MATLAB Parallel Server in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!