Administration Guide
Name
getmacs - Automatically gathers and stores MAC addresses in the CSM
database.
Synopsis
getmacs [-h] [-v |
-V ] [node_list ]
Description
The getmacs command automatically gathers MAC addresses and stores
them in the InstallAdapterMacaddr attribute of the PreManagedNode
object in the CSM database. It is called by csmsetupks to gather MAC addresses during installation, but it can also be
used manually by an administrator to update the database, for example, when a
network adapter card is changed manually for a node.
The following prerequisites must be met before running the getmacs
command:
- Set the node boot order to the following:
- Floppy
- CD-ROM
- Network
- Hard disk
- The definenode command must be run with the
HwControlPoint and ConsoleServer attributes provided before
getmacs is run. This is because a node must have the service
processor and remote console attributes defined in order for getmacs
to gather its MAC address; that is, the rpower and the
rconsole commands must already having been set up for all
nodes.
See the rpower and rconsole man pages and the IBM CSM for Linux: Hardware Planning and Control Guide for more
details on the remote power commands.
- The csmsetupks command must be run before getmacs can be
run manually.
The getmacs command reboots each node to gather its MAC
address. If a Macaddr value is already defined for a node and
getmacs is run, the original Macaddr value is overwritten
with the new MAC address.
- Note:
- When getmacs is called and run by csmsetupks, it does not
overwrite an existing Macaddr value.
The node_list parameter is a space-separated list of
ManagedNode or PreManagedNode objects. If a MAC address already exists,
it will be overwritten. After running getmacs manually, you
should rerun csmsetupks so that the /etc/dhcpd.conf
file gets updated with the correct MAC address.
Options
- -h
- Displays usage information to standard output.
- -v | -V
- Writes the command's verbose messages to standard output.
Files
- /opt/csm/bin/getmacs
- Location of the getmacs command.
- /csminstall/pxelinux.cfg/HEX
- Location of the pxelinux configuration file. HEX represents the
node IP address as a hexadecimal value. This file is created for each
node by csmsetupks.
See Also
- The definenode and csmsetupks man pages.
- IBM CSM for Linux: Software Planning and Installation Guide for
more information on the installation processes.
- IBM CSM for Linux: Hardware Planning and Control Guide for more
information about the remote control commands.
Author
Vallard Benincosa - cluster@us.ibm.com
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]