The non-editable system default local configuration file, local.cfg, is the last-applied file on your appliances. Its settings consist of any settings you have made on the local appliance through either the Appliance Manager or the CLI. The configuration values in the local.cfg file overwrite the values of any matching configurations in global configuration files applied previously. This presents a problem to administrators who want to implement local settings that merely append to, not overwrite, settings in global configuration files.
You can configure an appliance with local settings that do not overwrite matching settings in previously applied global configuration files. Avoid making those settings on the local appliance through the Appliance Manager or CLI. Instead create an appendable local configuration file consisting of local settings that append to, not overwrite, previous global settings.
To create a local configuration file with appendable settings, complete the following steps.
| 1 | At the appliance where you want to apply local settings that append to, rather than overwrite, global settings, make sure that no local values have been configured for those settings through the Appliance Manager or the CLI. If local settings have been set, use the clear command to reset that configuration to default. For example: clear config.autosupport.recipients.note |
| 2 | At a source server, create an appendable local configuration file containing appendable settings that you want to apply to that local appliance only. For example: config.autosupport.recipients.note += barry@xyz.com Note |
| 3 | Use the cp command to save each appendable local configuration file to a local directory on the target appliance. Use the following syntax: cp {ftp|http}://[usr:pw@]/srvr/path/sfile
/nc_path/nc_file
Note usr:pw is the login name and password, if any, necessary to access the source server where the appendable local configuration file was created. srvr/path/sfile is the host name, directory, and file name of the configuration file on the source server. nc_path/nc_file is the target directory location and file name on the appliance where you want the local appendable configuration file copied. cp ftp://usrA:pw@srvrA//cfg/localappends.cfg /tmp/localappends.cfg |
| 4 | At the CLI console of the target appliance, use the config.admin.config.list setting to add this file to the local appliance's active configuration. Remember to do the following:
For example, the following command line directs the local appliance to apply the settings in the localappends.cfg file just before the local.cfg settings: set config.admin.config.list \\ |
| 5 | To apply your configuration immediately, enter config -n |
If you need to modify local appliance settings specified in an appendable local configuration file, you can do so by editing the text of that file directly.
Caution
Never use the Appliance Manager or the CLI to modify your local appliance settings specified by the appendable local configuration file. Doing so enters those settings into the local.cfg file and consequently will cause the appliance to apply the modified settings in overwrite rather than appendable mode.
Copyright © 1994-2002, Network Appliance, Inc. All rights
reserved.
Part No. 210-00317
File: multch17.htm
Last updated: 11/12/02 16:57:16