| Sv translation | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
Во время обновления сервера Traffic Monitor конфигурационные файлы (например, с расширениями .conf, .cfg и .lua), которые были изменены во время использования предыдущей версии, не перезаписываются новыми. В тех же директориях создаются новые файлы с теми же названиями, но с расширением .rpmnew. Для файла iwssid.lua также создается iwssid.lua.upgrade. Это Это сделано для того, чтобы поддержать возможность изменения структуры файлов новых версий. Для корректной работы Системы потребуется объединить файлы старой и новой версий.
Используйте любой из приведенных ниже способов объединения файлов. Объединение конфигурационных файлов в Midnight CommanderРассмотрим объединение на примере файлов postgresql.conf и postgresql.conf.rpmnew.
Файл postgresql.conf имеет вид: Файл postgresql.conf.rpmnew имеет вид: Для объединения требуется перенести данные из секций файла postgresql.conf в соответствующие секции файла postgresql.conf.rpmnew. Для этого:
Объединение конфигурационных файлов с помощью vimdifftalk | ||||||||||||||||||||
| ||||||||||||||||||||
|
| Предупреждение | ||
|---|---|---|
| ||
Чтобы избежать потери данных и ошибок в работе Системы (конфигурационные файлы серверной части Traffic Monitor), необходимо внимательно следовать инструкциям. В случае возникновения трудностей при объединении конфигурационных файлов рекомендуется обратиться в службу технической поддержки компании InfoWatch по адресу support@infowatch.com. Службы технической поддержки – с 7:00 до 21:00 по московскому времени с понедельника по |
| Предупреждение | ||
|---|---|---|
| ||
Во избежание некорректной работы Системы не стоит объединять следующие файлы с файлами из старых версий:
|
| Sv translation | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
During the update of Traffic Monitor server nconfiguration files (e.g, with .conf, .cfg, and .lua extensions) that were modified when using the previous version, cannot be overwritten with the new files. The new files are created in the same directories and with the same names, but with .rpmnew extension respectively. For iwssid.lua file is also created iwssid.lua.upgrade.This is done to support the ability to change the structure of new file versions. For correct operation of the System it is required merging files of an old and a new version.
Use any files merging type specified below. Merging configuration files in Midnight CommanderLet's consider an example to merge postgresql.conf and postgresql.conf.rpmnew files.
The postgresql.conf file looks like: The postgresql.conf.rpmnew file looks like: To merge these files, you need to copy data from sections of the postgresql.conf file to the corresponding sections of the postgresql.conf.rpmnew file. For this:
Merging configuration files by means of vimdiffTo work with vimdiff the editor Vim should be installed on a server. Let's consider an example of merging user.lua and user.lua.rpmnew files. After the update, the user.lua. rpmnew file appears (if the original user.lua file has been changed). You should copy all earlier specified values of parameters and settings from user.lua to user.lua.rpmnew. To do this:
|




