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)?

35 Ansichten (letzte 30 Tage)
I would like to know if my distributed computing processes will work correctly on machines that have multiple NICs.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 23 Okt. 2020
Bearbeitet: MathWorks Support Team am 27 Okt. 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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by