Users Guide

3 Modique el archivo de conguración con un editor de textos sin formato (opcional). Cualquier carácter de formato especial en el
archivo de conguración puede dañar la base de datos de RACADM.
4 Use el archivo de conguración recién creado para modicar una CMC de destino. En el símbolo del sistema, escriba:
racadm config -f myfile.cfg
5 Restablezca la CMC de destino que se había congurado. En el símbolo del sistema, escriba:
racadm reset
El subcomando getconfig -f myfile.cfg (paso 1) solicita la conguración de la CMC para la CMC activa y genera el archivo
myle.cfg. Si es necesario, puede cambiar el nombre del archivo o guardarlo en una ubicación diferente.
Es posible utilizar el comando getcong para realizar las siguientes acciones:
Mostrar todas las propiedades de conguración en un grupo (especicado por el nombre del grupo y el índice)
Mostrar todas las propiedades de conguración de usuario por nombre de usuario
El subcomando config carga la información en otras CMC. El administrador del servidor utiliza el comando config para sincronizar
la base de datos de usuarios y contraseñas.
Enlace relacionado
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.
The entire le is parsed for correctness, and all errors display. Write commands are not transmitted to the CMC if an error is found in
the .cfg le. You must correct all errors before any conguration can take place.
To check for errors before you create the conguration le, use the -c option with the config subcommand. With the -c option,
config only veries syntax and does not write to the CMC.
Follow these guidelines when you create a .cfg le:
If the parser encounters an indexed group, it is the value of the anchored object that dierentiates the various indexes.
The parser reads in all of the indexes from the CMC for that group. Any objects within that group are modications when the CMC is
congured. If a modied object represents a new index, the index is created on the CMC during conguration.
You cannot specify a desired index in a .cfg le.
Indexes may be created and deleted. Over time the group may become fragmented with used and unused indexes. If an index is
present, it is modied. If an index is not present, the rst available index is used.
This method allows exibility when adding indexed entries where you do not need to make exact index matches between all the CMCs
being managed. New users are added to the rst available index. A .cfg le that parses and runs correctly on one CMC may not run
correctly on another if all indexes are full and you must add a new user.
Use the racresetcfg subcommand to congure both CMCs with identical properties.
Use the racresetcfg subcommand to reset the CMC to original defaults, and then run the racadm config -f
<filename>.cfg command. Ensure that the .cfg le includes all desired objects, users, indexes, and other parameters. For a
complete list of objects and groups, see the database property chapter of the
Chassis Management Controller for Dell PowerEdge
M1000e RACADM Command Line Reference Guide.
Conguración
del CMC 103