Users Guide

Conguring Multiple CMCs through RACADM Using
Conguration File
Using conguration le, you can congure one or more CMCs with identical properties through RACADM..
When you query a specic CMC card using its group ID and object ID, RACADM creates the racadm.cfg conguration le from the
retrieved information. By exporting the le to one or more CMCs, you can congure your controllers with identical properties in a minimal
amount of time.
NOTE: Some conguration les contain unique CMC information (such as the static IP address) that must be modied before
you export the le to other CMCs.
1 Use RACADM to query the target CMC that contains the desired conguration.
NOTE: The generated conguration le is myle.cfg. You can rename the le. The .cfg le does not contain user passwords.
When the .cfg le is uploaded to the new CMC, you must re-add all passwords.
2 Open a remote RACADM session to CMC, log in, and type:
racadm getconfig -f myfile.cfg
NOTE: Redirecting the CMC conguration to a le using getconfig -f is only supported with the remote RACADM
interface.
3 Modify the conguration le using a plain-text editor (optional). Any special formatting characters in the conguration le may corrupt
the RACADM database.
4 Use the newly created conguration le to modify a target CMC. At the command prompt, type:
racadm config -f myfile.cfg
5 Reset the target CMC that was congured. At the command prompt, type:
racadm reset
The getconfig -f myfile.cfg subcommand (step 1) requests the CMC conguration for the active CMC and generates the
myle.cfg le. If required, you can rename the le or save it to a dierent location.
You can use the getcong command to perform the following actions:
Display all conguration properties in a group (specied by group name and index)
Display all conguration properties for a user by user name
The config subcommand loads the information into other CMCs. The Server Administrator uses the config command to
synchronize the user and password database.
Related links
Creating a CMC Conguration File
Creating a CMC Conguration File
The CMC conguration le, <lename>.cfg, is used with the racadm config -f <filename>.cfgcommand to create a simple text
le. The command allows you to build a conguration le (similar to a
.ini le) and congure the CMC from this le.
You may use any le name, and the le does not require a .cfg extension (although it is referred to by that designation in this subsection).
NOTE
: For more information about the getconfig subcommand, see the
Chassis Management Controller for Dell PowerEdge
M1000e RACADM Command Line Reference Guide
.
RACADM parses the .cfg le when it is rst loaded onto the CMC to verify that valid group and object names are present and that some
simple syntax rules are being followed. Errors are agged with the line number that detected the error, and a message explains the problem.
102
Conguring CMC