Verifying network operation with the mmnetverify command
Verify network operation with the mmnetverify command.
With the mmnetverify command, you can do many types of network checks either before or after you create or reconfigure a cluster. Run the command beforehand to verify that the nodes can communicate properly. Run the command afterward at any time to verify communication or to analyze a network problem. For more information, see the topic mmnetverify command.
The mmnetverify command uses the concepts of local nodes and target nodes. A local node is a node from which a network test is run. You can enter the command on one node and have it run on multiple separate local nodes. A target node is a node against which a test is run.
mmnetverify connectivity --N node1 --target-nodes node2,node3
mmnetverify connectivity --N node1,node2 --target-nodes node1,node2
mmnetverify data --N node1 --target-nodes node2,node3
(1) mmnetverify data-medium --N node1
(2) mmnetverify data-medium --target-nodes node2,node3,node4
To run all the tests, omit the test
parameter:mmnetverify --N node1 --target-nodes node2,node3,node4
The groups of tests include connectivity, port, data, bandwidth, and flood tests. You can run tests individually or as a group. For example, you can run resolution, ping, shell, and copy tests individually, or you can run all of them by specifying the keyword connectivity.
mmnetverify port --N node1 --target-nodes all --log-file results.log
node node_starting
node node1
node node2
node node3
node node4
Run the
command in the usual way and include the configuration
file:mmnetverify ping --N node1,node2,node3,node4 --target-nodes
node1,node2,node3,node4 --configuration-file config.txt
You
can also use the configuration file for other purposes, such as specifying a nondefault shell
command or file copy command.