HP Insight Cluster Management Utility v7.1 User Guide

cmu_scan_macs(8)
NAME
cmu_scan_macs -- Scan IP addresses and create HP Insight CMU node definitions.
SYNOPSIS
# /opt/cmu/bin/cmu_scan_macs -h <hostname> [-p <hostname_prefix>] -i
<first_ip_address> -m <netmask> -t <BMC_type> [-b <BMC_ip_address> [-n
<num_to_discover>] | -b <BMC_ip_address,...>] [-f <BMC_ip_add_file>] [-a
<architecture>] [-N <NIC_num>] [-s <start_val>] [-S <skip_val>] [-o
<output_file>]
If no options are specified, then they are gathered through an interactive session.
DESCRIPTION
This command scans a set of management card IP addresses and creates HP Insight CMU node
definitions for each node that is found using the MAC address of the NIC attached to the HP Insight
CMU management network. The node definitions can be loaded directly into the HP Insight CMU
database or placed in a file. You can use the command interactively or enter parameters on the
command line.
OPTIONS (naming)
-h hostname
The compute node hostname format. Within the hostname the following % characters may be
used. The minimum field width is given by x, where x is an integer >0.
%xi
Replace with an integer representing the number of the node as it was discovered.
Numbering starts at 1. (Use -s to alter the starting value.) If x is not specified, it defaults
to the field width necessary to represent the number of nodes found by the scan.
(ILOCM only) For each slot that does not contain a cartridge, the node IP is incrementally
increased to force gaps in the numbering. These gaps allow for natural numbering should
the slots be installed with cartridges in the future. The default increment is calculated to be
the nodes in the largest cartridge on the current ILOCM. (To vary this behavior, see -S.)
%xL
(ILOCM only) Replace with an integer representing the number of the ILOCM as discovered.
Numbering starts at 1. If x is not specified, it defaults to the field width necessary to represent
the largest generated ILOCM number.
%xc
(ILOCM only) Replace with the cartridge number. If x is not specified, it defaults to the field
width necessary to represent the largest discovered cartridge number.
%xn
(ILOCM only) Replace with the node number within the cartridge. If x is not specified, it
defaults to the field width necessary to represent the number of nodes in the largest cartridge
discovered.
-s start_val
Start the integer value represented by %xi at start_val rather than 1.
-S skip_val
(ILOCM only) Use -S to adjust the hostname token %xi and the node IP by skip_val for
each slot that doesn't contain a cartridge. See the default behavior defined in -h. For example,
if the hostname format is n%i and the last generated hostname and IP were n36 and
10.10.10.21, -S 4 causes the next generated hostname and IP to be n41 and 10.10.10.26
170