Scroll to navigation

wwnodescan(1) General Commands Manual wwnodescan(1)

NAME

wwnodescan - Scan for new systems making DHCP requests.

SYNOPSIS

wwnodescan [options] nodes

DESCRIPTION

You can scan for any number of nodes; this program will exit after all specified nodes have been found. The IP address provided will be incremented for each node found, and nodes will be added in the order given on the command line.

OPTIONS

wwnodescan options:

General options

-d, --debug

Enable debug output.

-h, --help

Show the help/utilization summary.

-d, --debug

Display debugging information.

-v, --verbose

Be more verbose in output.

-f, --file <file>

Create Warewulf script instead of auto-import.

-l, --listen <iface>

Interface to listen on (tcpdump -D for list).

-c, --tcpdump <cmd>

Specify the full path to the tcpdump command.

-T, --tshark <cmd>

Specify the full path to the tshark command (Only IB Mode).

-x, --max [<cnt>]

Exit after <cnt> new nodes (0 for auto).

Modes

-t, --test

Test mode; do not modify data store.

-r, --replace

Replace existing nodes (by name).

-a, --autoconfig

Assign HW addresses to unassigned nodes.

-I, --infiniband

Use tshark to look for Client Identifier, compatible with Mellanox FlexBoot.

Settings

-n, --netdev <dev>

Network device for the new node(s).

-i, --ipaddr <addr>

IP address for the new node(s).

-m, --netmask <mask>

Netmask for the new node(s).

-V, --vnfs <vnfs>

VNFS for the node(s).

-b, --bootstrap <name>

Bootstrap for the node(s).

-g, --groups <groups>

Groups for the node(s).

DEFAULTS

As with all object types, you can create a template node object called DEFAULT whose attributes will be used as the default values for all new nodes. You can override some of these defaults using the options shown above.

EXAMPLES

# wwnodescan --ipaddr 10.0.1.10 --netmask 255.255.0.0 --vnfs=sl6.vnfs 

--bootstrap=`uname -r` n0000 n0001 # wwsh node new DEFAULT --groups=grp1,test # wwsh provision node DEFAULT --vnfs=sl6.vnfs --bootstrap=`uname -r` # wwnodescan --ipaddr 10.0.1.100 --netmask 255.255.0.0 n00[02-19]
Dec 21 2017 Warewulf 3.8