07-29-2004 03:23 AM - edited 03-02-2019 05:23 PM
CW is using a DB to store information. I know it stores all device information in there but does it also store all configuration data in the DB too?
THX for help
07-29-2004 08:15 AM
The configs are stored here by device type:
[install dir]\CSCOpx\files\archive\shadow
07-30-2004 02:06 AM
thx for the answer. It helped me very much!
But when I know want to change the device configuration manually (without CW). changing the files with a program in [install dir]\CSCOpx\files\archive\shadow does CW when downloading the files take the files out of this folder? or somewhere else?
marc
07-30-2004 02:46 AM
in [install dir]\CSCOpx\files\archive\shadow there are only the latest/newest configs. If you have different versions of configs for one device these versions are stored under [install dir]\CSCOpx\files\archive\config.
The directories are numbered in a sequential order in which the devices are added to RME. If you delete a device from RME the directory is also deleted but its number will not be used again. In the RME DB itself there is the correlation between the directory number and the device. When a special version of config is selected for to download to a device, it will be copied to a temp directory that is created and deleted while the job is running. If tftp is used for transport I think (but I am not sure) the config will be copied to [install dir]\CSCOpx\tftpboot
HTH
Martin
07-30-2004 03:04 AM
Yes, CW does use [install dir]\CSCOpx\tftpboot as the default tftp directory.
We use this to copy the latest version of the config file to (from the [install dir]\CSCOpx\files\archive\shadow\... directory) as part of a script to copy a config of a failed switch to a spare.
Having copied the config from the ...archive\shadow\... directory to the tftpboot directory, the script then tftp's the config onto the spare switch.
Pete
07-30-2004 03:17 AM
hi
does that mean the always the files from the shadow directory are downloaded..or is this dependen on the version. Which is the retrievable trough the DB?
marc
07-30-2004 03:52 AM
it depends on the version. In the shadow dir there is only the latest config version. If you choose to download an older one it is retrieved form .../archive/config dir not from .../archive/shadow.
Have you ever thought of using "Config Editor" from RME > Configuration Management. With this app you have a GUI to make changes to any stored version of config and after changing the config you can download it to a device.
MArtin
07-30-2004 03:57 AM
thx for the help!
the problem is here that I try to enhance the CW Server to distribute it and build up a hierachy. Because the company network is greater than the number of devices CW can handle.
07-30-2004 04:22 AM
as I have heard with the next release Cisco changes the architecture of LMS for to deal with distributed environments. But I am not sure if it will be implemented in the first release that should come in sept or october this year.
Martin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide