mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-24 10:30:22 +00:00
48 lines
1.2 KiB
Markdown
48 lines
1.2 KiB
Markdown
nodeping(8) -- Pings a node or a noderange.
|
|
==============================
|
|
## SYNOPSIS
|
|
`nodeping [options] noderange`
|
|
|
|
## DESCRIPTION
|
|
**nodeping** is a command that pings the default NIC on a node.
|
|
It can also be used with the `-s` flag to change the ping location to something that is 'non primary'
|
|
|
|
|
|
## OPTIONS
|
|
* ` -f` COUNT, `-c` COUNT, --count=COUNT
|
|
Number of commands to run at a time
|
|
* `-h`, `--help`:
|
|
Show help message and exit
|
|
* `-s` SUBSTITUTENAME, --substitutename=SUBSTITUTENAME
|
|
Use a different name other than the nodename for ping. This may be a
|
|
expression, such as {bmc} or, if no { character is present, it is treated as a suffix. -s -eth1 would make n1 become n1-eth1, for example.
|
|
|
|
|
|
## EXAMPLES
|
|
* Pinging a node :
|
|
`# nodeping <node>`
|
|
`node : ping`
|
|
|
|
* Pinging a group:
|
|
`# nodeping <groupname>`
|
|
`Node1 : ping
|
|
Node2 : ping
|
|
Node3 : ping`
|
|
|
|
* Pinging BMC on a node:
|
|
`# nodeping -s {bmc} <noderange>`
|
|
` Node-bmc : ping`
|
|
|
|
* Pinging by specifying a suffix:
|
|
`# nodeping d1-d4 -s -eth1`
|
|
`d2-eth1: no_ping`
|
|
`d1-eth1: no_ping`
|
|
`d3-eth1: no_ping`
|
|
`d4-eth1: no_ping`
|
|
|
|
* Fail to ping node:
|
|
`# nodeping <node>`
|
|
`node : no_ping`
|
|
|
|
|