The update will be done through a console of the server being updated. A console (or a terminal) is a window of a Linux-based operating system where you can type commands in a text form - as strings. Depending on the server type, when started, the console may display general information on the server and an invitation to log in or just an invitation to log in without general information. In any case, you have to enter the user login that will be used for working the console. The console looks as follows: All TM servers (TME Node Server installation type) and DBMS server (TME DB Server) must be updated. | Предупреждение |
|---|
| Each server should have a unique correct FQDN. |
| Информация |
|---|
| If you connect remotely via SSH, it is recommended using the utility Screen. Thus, you can avoid problems in case of lost connection with updating server. When disconnecting from the utility, all the prcocesses started are not to be interrupted and you may safely continue the System update. Important! Using Screen is highly recommended when working with DB and updating DBMS. Basic commands: -
screen - start the utility; -
Ctrl+a d - disconnect from the screen (to be input within the screen window); -
screen -ls - display the list of screen running; -
screen -r - connect to screen again; -
screen -r name - connect to a specific screen with «name»; -
exit - exit the screen (to be input within the screen window).
|
The update is done in the following order:
Step 1. Updating all TM servers (TME Node Server). Step 2. Updating DBMS server (TME DB Server). Step 3. Healthcheck of internal services of the System. Step 4. Restarting DBMS server (TME DB Server). Step 5. Restarting all TM servers (TME Node Server). STEP 1. UPDATING ALL TM SERVERS (TME Node Server) To update TM servers (TME Node Server), take the following steps on each of them: - Open the console of the server being updated:
- in the case of a physical server - the console is displayed on the screen of a monitor connected to the server;
- in the case of a virtual server - run Launch Virtual Machine Console command (see the example below).
A window with the server console will open.
- In the Login as: (or login: - depending on the server type) line, enter root and press Enter.
 In the root@<server_address>'s password: (or Password: - depending on the server type) line, enter a password of the root user (superuser) and press Enter. Please, note that nothing is displayed in the line while typing. The screen will display the service information and (in the last line) an invitation to enter the command (command line). | Информация |
|---|
| In the console, commands are entered from the keyboard and must be confirmed by pressing Enter . So, if the instruction tells you to enter the command, it means that you should enter the command and then press Enter . Once the command is executed, the invitation is displayed again - it is ended with # or $ (depending on the user who logged in). Before typing the next command, make sure that an invitation is displayed at the command line. |
- Enter the command to call the file manager:
mc
The screen will display a window of Midnight Commander file manager where you can view files. You can navigate in the file manager using keyboard arrows and the Enter key or with a mouse. Besides, you can enter commands at the command line which is displayed in the lower part of the screen (for entering commands, no additional actions are required). To go up one level, position the cursor in the /.. field (the first line in the file manager) and press Enter. Go to the /opt/iw/tm5 directory and make sure that it contains iwks_mode file.  | Информация |
|---|
| If iwks_mode file is missing in the directory, you need to create it. For this, enter the command: touch iwks_mode
|
Position the cursor on the iwks_mode fine and press F3. The screen will display the content of iwks_mode file: "iwtm" word (indicated that the installation type is TME Node server). | Информация |
|---|
| If the file content is different: 1. press F3 again. 2. press F4. 3. in the window that opens, delete all characters and enter iw tm 4. press F2. 5. in the window that opens, confirm the file saving by clicking Save. 6. press F10. 7. press F3 and make sure that the file content is correct. |
- Press F3.
| Информация |
|---|
| If you update the System from version 6.10.x, after this please go to action 9 . |
To prepare the System for update the following actions should be taken: a. On DBMS server (TME DB Server): i. Take the actions 1-7 of Step 2 (see below). ii. Go to /opt/iw/tm5/etc directory, position the cursor on serman.conf file and press F3. iii. In DefaultInterface find the IP address. b. On all TM (TME Node Server) servers i. Go to /opt/iw/tm5/etc directory, position the cursor on serman.conf file and press F4. ii. Find SermanHost block. Compare its value with IP address, specified in serman.conf on DBMS server (TME DB Server) . iii. In case they don't match, replace the value of SermanHost block on TM serves (TME Node Server) with IP address, specified in DefaultInterface block of serman.conf file on DBMS server (TME DB Server) . iv. Press F2. v. In the opened window make sure the file is to be saved by pressing Save. vi. Press F10. c. On DBMS server (TME DB Server), press F3 to exit the serman.conf file viewing mode. - Go to
/etc/yum.repos.d directory and make sure that it contains the rhel-dvd.repo file (this file is required to specify the path to the update files).| Информация |
|---|
| Taking into account that elements are sorted in the file manager in the alphabetic order, folders precede files (as they begin with a slash ( / )) . So the /yum.repos.d directory is one of the last in the last of folders which begin with "/", but is before the first file . |

| Информация |
|---|
| If the rhel-dvd.repo file is missing in the directory, you need to create it. To do this, enter the command: touch rhel-dvd.repo
|
Position the cursor on the rhel-dvd.repo file and press F4. - Make sure that the file content includes the following text:
[rhel-dvd] name=Red Hat Enterprise Linux $releasever - $basearch - DVD baseurl=file:///mnt/rhel-dvd/ enabled=0 gpgcheck=0
[rhel-dvd-iwtm] name=DVD_IWTM baseurl=file:///mnt/rhel-dvd/infowatch/traffic-monitor/Linux/ enabled=0 gpgcheck=0
[rhel-dvd-iwtm-cfdb] name=DVD_IW-CFDB baseurl=file:///mnt/rhel-dvd/infowatch/traffic-monitor/cfdb/ enabled=0 gpgcheck=0
| Предупреждение |
|---|
| If the text of the file is different, replace it with the specified one. |
- In the
[rhel-dvd] and [rhel-dvd-iwtm] blocks, change values of the enabled parameter from 0 to 1. - Press F2.
- In the window that opens, confirm the file saving by clicking Save.
- Press F10.
Press F3 and make sure that the file content is correct, then press F3 again to close the file. - To exit the file manager (is required to better control command execution), enter the command:
exit - Enter the command to clear the package manager cache:
yum clean all Enter commands to stop the interceptors: service iwtm stop icap service iwtm stop smtpd service iwtm stop expressd service iwtm stop sniffer service iwtm stop xapi_xapi service iwtm stop xapi_puppy | Информация |
|---|
| If there are 2 and more interception servers within the System, the next action is to be taken only when the previous one was taken for each of the servers. |
- Enter the command to call the file manager again:
mc Wait until all the events in the queue for processing are processed. Events in the queue are stored in the following directories: /opt/iw/tm5/queue/analysis/.db/ /opt/iw/tm5/queue/analysis/.in/ /opt/iw/tm5/queue/analysis/.out/ /opt/iw/tm5/queue/db/.db/ /opt/iw/tm5/queue/db/.in/ /opt/iw/tm5/queue/db/.out/ /opt/iw/tm5/queue/smtp/.db/ /opt/iw/tm5/queue/smtp/.in/ /opt/iw/tm5/queue/smtp/.out/ When all the events are processed, these directories will be empty. | Предупреждение |
|---|
| To continue the update, make sure that all specified directories are empty. Otherwise, we cannot guarantee that the System will be updated correctly and will operate properly after the update. If for some reason, you cannot wait until the processing is complete, you can delete events from the queue, such events will be completely removed from the System. To delete the event, go to the required directory in the file manager, position the cursor on the event you want to delete and press F8. Then, confirm the deletion by clicking Yes in the confirmation window that opens. |
- To exit the file manager (is required to better control command execution), enter the command:
exit Enter the command: mkdir -p /mnt/rhel-dvd The following directory will be created: /mnt/rhel-dvd
| Информация |
|---|
| If you update the System from version 6.10.x, after this please go to action 29. |
Connect a disk with the current version of InfoWatch Traffic Monitor to the server (see Updating the System, action 2). Enter the command: mount /dev/cdrom /mnt/rhel-dvd
| Информация |
|---|
| There is a blank betwenn "/dev/cdrom" and "/mnt/rhel-dvd". |
The distributive, located in /dev/cdrom will be connected as a repository in /mnt/rhel-dvd directory. Go to /mnt/rhel-dvd directory and make sure the files and folders are in place. In case the directory is empty, repeat actions 24 and 25. Enter the command: yum install iwtm-qatools
Before downloading the packages required for installation, the following request will display: =============================================================================================================================== Package Arch Version Repository Size =============================================================================================================================== Installing: iwtm-qatools x86_64 6.7.21.419-release TM-distr 3.9 M Installing for dependencies: iwtm-adlibitum-tool x86_64 6.7.21.419-release TM-distr 121 k iwtm-liro2json x86_64 6.7.21.419-release TM-distr 405 k Transaction Summary =============================================================================================================================== Install 3 Package(s) Total download size: 4.4 M Installed size: 22 M Is this ok [y/N]: To continue, type Y and press Enter on the keyboard. After the package installation, enter the command: umount /mnt/rhel-dvd
Connect the new version of InfoWatch Traffic Monitor distributive to the server (see Updating the System, action 2). Enter the comand to clear the package manager cache: mount /dev/cdrom /mnt/rhel-dvd
Enter the comand to clear the package manager cache: yum clean all
| Информация |
|---|
| If you update the System from version 6.10.x, after this please go to action 34. |
It is required to get the file (file name is - sd_nodes.out), containing IP-adresses of nodes for update. For this purpose, run the script entering the command: | In case of 2 nodes: | bash /mnt/rhel-dvd/infowatch/upgrade/generate_serman_services_nodes_for_consul.sh
| | In case of more then 2 nodes: | bash /mnt/rhel-dvd/infowatch/upgrade/generate_serman_services_nodes_for_consul.sh --tm_nodes_count=<number_of_nodes>
|
where <number_of_nodes> is the number of servers, including DBMS server. In current example the command is as follows: bash /mnt/rhel-dvd/infowatch/upgrade/generate_serman_services_nodes_for_consul.sh There is a model of console interface: Will write to log file: /var/log/infowatch/generate_serman_services_nodes_for_consul.log
WARNING: bad or empty input tm_nodes_count=, will use 2 OK: TM nodes count is 2 iwtm-serman-client-conf-6.7.21.419-release.x86_64 package iwtm-consul is not installed OK: serman_prober reported 2 nodes ==> /opt/iw/tm5/tmp/sd_nodes.out <== 10.20.30.40 server 10.20.30.41 client
OK: Please copy the file to all nodes before upgrading TM on them, e.g.: scp /opt/iw/tm5/tmp/sd_nodes.out 10.20.30.40:/opt/iw/tm5/tmp/sd_nodes.out
- Copy the file sd_nodes.out to all the nodes specified, except the one, where it was created.
Enter the following command:
scp /opt/iw/tm5/tmp/sd_nodes.out <node_address>:/opt/iw/tm5/tmp/sd_nodes.out where <node_address> - is an IP-address or node's domain name, where the file sd_nodes.out should be copied to. Below is the command in accordance with our example: scp /opt/iw/tm5/tmp/sd_nodes.out 10.20.30.40:/opt/iw/tm5/tmp/sd_nodes.out After entering the command, the following request will display:
Are you sure you want to continue connecting (yes/no)? To continue, click Yes and press Enter on the keyboard. Then enter the password for the receiving node and press Enter. | Предупреждение |
|---|
| Make sure the file sd_nodes.out is located in /opt/iw/tm5/tmp directory on all the servers to be updated, including DBMS server, otherwise you should relocate the file to the directory specified. |
| Информация |
|---|
| Take the actions 23-27, 31 and 32 only on one node. You can choose any node. |
- To stop Traffic Monitor server services, enter the commands:
service iwtm stop service php-fpm stop (if update is required for 6.7.x or 6.9.x version service iwtm-php-fpm stop (if update is required for 6.10.x version) service nagios stop
- In accordance with the DBMS used, enter the command to start the process of packages update:
- Before loading files required for installation, the screen will display a request like this
. To continue, type Y and press Enter. Downloading packages from the repository and then installing the packages will begin. This may take some time.
Enter the command to find and display the list of files with .rpmnew extension: find / -name "*rpmnew*" -print If the list of files is found, they should be correctly merged with configuration files accordingly (see " Merging configuration files"). | Предупреждение |
|---|
| When updating Traffic monitor from 6.0 or 6.1 version to 6.5 and later, the following actions are to be obligatory taken: | Multiexcerpt include |
|---|
| MultiExcerptName | ENG |
|---|
| PageWithExcerpt | Объединение конфигурационных файлов |
|---|
|
|
- Enter the command to call the file manager:
mc - Go to
opt/iw/tm5/etc/scripts/ directory and make sure the file iwssid.lua.upgrade is in place. The file iwssid.lua.upgrade is not being used by the System, it is an information source to restore the System operation in case of complete customization. - Also
/opt/iw/tm5/etc/scripts/ directory should contain the file iwssid.lua that is recommended to remain with no changes implemented in case any term from the following is complied : - System Update ifs done from version 6.9; - The file iwssid.lua was not edited before the update. Otherwise, it should be correctly merged with iwssid.lua configuration file (see "Merging configuration files"). - To leave the file manager, enter the command:
exit - Update the DBMS server (TME DB Server) - see the description below.
STEP 2. UPDATING DBMS SERVER (TME DB Server) To update the DBMS server (TME DB Server), take the following steps: - Open the console of the server being updated:
- in the case of a physical server - the console is displayed on the screen of a monitor connected to the server;
- in the case of a virtual server - run Launch Virtual Machine Console command (see an example below).
A window with the server console will open.
- In the Login as: (or login: - depending on the server type) line, enter root and press Enter.
In the root@<server_address>'s password: (or Password: - depending on the server type) line, enter a password of the root user (superuser) and press Enter. The screen will display the service information and (in the last line) an invitation to enter the command (command line). - Enter the command to call the file manager:
mc The screen will display a window of Midnight Commander file manager where you can view files. You can navigate in the file manager using keyboard arrows and the Enter key or with a mouse. Besides, you can enter commands at the command line which is displayed in the lower part of the screen (for entering commands, no additional actions are required). To go up one level, position the cursor in the /.. field (the first line in the file manager) and press Enter. Go to the /opt/iw/tm5 directory and make sure that it contains iwks_mode file.
 | Информация |
|---|
| If iwks_mode file is missing in the directory, you need to create it. For this, enter the command: touch iwks_mode
|
Position the cursor on the iwks_mode file and press F3. The screen will display the content of iwks_mode file: "iwdb" word (indicates that the installation type is TME DB server). | Информация |
|---|
| If the file content is different: 1. press F3 again. 2. press F4. 3. in the window that opens, delete all characters and enter iwdb 4. press F2. 5. in the window that opens, confirm the file saving by clicking Save. 6. press F10. 7. press F3 and make sure that the file content is correct. |
- Press F3.
- Enter the command:
mkdir -p /mnt/rhel-dvd The /mnt/rhel-dvd directory will be created. - Make sure the distribution disk with InfoWatch Traffic Monitor is connected to the server (see "Обновление Системы", action 2).
Enter the command: mount /dev/cdrom /mnt/rhel-dvd | Информация |
|---|
| There is a space between 2 commands "/dev/cdrom" and "/mnt/rhel-dvd". |
The distribution disk, located in /dev/cdrom section will be connected as a repository in the /mnt/rhel-dvd directory. - Go to
/mnt/rhel-dvd directory and make sure that in contains files and folders. If the directory is empty, repeat steps 9 and 10. Go to /etc/yum.repos.d directory and make sure that it contains rhel-dvd.repo file (this file is required to specify the path to the update files). | Информация |
|---|
| As, in the file manager, the elements are sorted in the alphabetic order, folders precede files (as they begin with a slash (/)) . So the /yum.repos.d directory is one of the last in the last of folders which begin with "/", but is previous to the first file . |

| Информация |
|---|
| If the filerhel-dvd.repo is missing in the directory, you need to create it. To do this, enter the command: touch rhel-dvd.repo
|
- Position the cursor on the file rhel-dvd.repo and press F4.
- Make sure the file content includes the following text:
[rhel-dvd]
name=Red Hat Enterprise Linux $releasever - $basearch - DVD
baseurl=file:///mnt/rhel-dvd/
enabled=0
gpgcheck=0
[rhel-dvd-iwtm]
name=DVD_IWTM
baseurl=file:///mnt/rhel-dvd/infowatch/traffic-monitor/Linux/
enabled=0
gpgcheck=0
[rhel-dvd-iwtm-cfdb]
name=DVD_IW-CFDB
baseurl=file:///mnt/rhel-dvd/infowatch/traffic-monitor/cfdb/
enabled=0
gpgcheck=0
| Предупреждение |
|---|
| If the text of the file is different, replace it with the specified one. |
- In the
[rhel-dvd],[rhel-dvd-iwtm] and [rhel-dvd-iwtm-cfdb] blocks, change values of the enabled parameter from 0 to 1. The content filtration base changes implemented during the operation are to be saved after the update. - Press F2.
- In the window that opens, confirm the file saving by clicking Save.
- Press F10.
Press F3 and make sure that the file content is correct, then press F3 again to close the file. - To exit the file manager (is required to better control command execution), enter the command:
exit - Enter the command to clear the package manager cache:
yum clean all - To stop services, enter the commands one by one:
service iwtm stop | Информация |
|---|
| If in the System, the Crawler subsystem is installed you need to stop services of this subsystem (on Crawler server). This is done on the server where the subsystem is installed with Windows standard tools: Start - Control Panel - Administrative Tools - Services, then select the service in the list and click Stop service. |
- If Oracle DBMS is used in the System, perform the following steps:
- Enter the command to stop Oracle DBMS:
service oracle stop - Enter the command to switch to the required user:
su - oracle - Enter the command to get the list of patches installed in the System:
/u01/app/oracle/product/db_1/OPatch/opatch lsinventory | grep "Patch" | grep "applied" The list of patches installed in the System will be displayed on the screen. Write down all numbers which go after "Patch" (or it can be the first eight 8 digits after p. For example, for p19972569_112040_Linux-x86-64.zip patch, the number is 19972569). These numbers are needed to compare installed patches with patches which are needed for the update. - Again, enter the command to call the file manager:
mc Go to the /mnt/rhel-dvd/infowatch/extras/OraclePatches directory and make sure that patch numbers in the directory are in the list of patches installed in the System (which you have written down).
 | Информация |
|---|
| If any patch from the /mnt/rhel-dvd/infowatch/extras/OraclePatches directory is not in the list of installed patches, you should install this patch. Before installing the patch, OPatch utility is required to be updated. The following actions are to be taken to do that: - If Midnight Commander file manager is running, to exit it ( is required for better control command execution) enter the command :
exit - To make a backup copy, enter the command:
mv /u01/app/oracle/product/db_1/OPatch /u01/app/oracle/product/db_1/OPatch_backup
- To extract the archive with a new version, enter the command:
unzip /mnt/rhel-dvd/infowatch/extras/OraclePatches/p6880880_112000_Linux-x86-64.zip -d /u01/app/oracle/product/db_1
- To grant the oracle user rights for operating the directory and files, enter the command:
chown oracle:oinstall -R /u01/app/oracle/product/db_1/OPatch
To install the patch, the following actions are to be taken (below you can see the example of patch number 12345678 - p12345678_112040_Linux-x86-64.zip): - If Midnight Commander file manager is running, to exit it ( is required for better control command execution) enter the command:
exit - Enter the command to extract the patch:
unzip /mnt/rhel-dvd/infowatch/extras/OraclePatches/p12345678_112040_Linux-x86-64.zip -d /tmp/ Enter the command to go to the required directory: cd /tmp/12345678/
In accordance with patch type, enter the command to install the patch :
-
/u01/app/oracle/product/db_1/OPatch/opatch napply . -silent -ocmrf /mnt/rhel-dvd/infowatch/extras/OraclePatches/ocm0.rsp (in case of composite patch); -
/u01/app/oracle/product/db_1/OPatch/opatch apply -silent -ocmrf /mnt/rhel-dvd/infowatch/extras/OraclePatches/ocm0.rsp (in case of a single patch). When the patch is installed, the screen will display the message: Press any key to continue. Then download the changed SQL file to the DB.- Enter the command to switch to
root (superuser) again:
exit - Enter the command to start Oracle DBMS:
service oracle start - Enter the command to switch to the required user:
su - oracle - In each separate base within the Oracle home, where the patch is installed it is required switching using SQL*Plus. Login as SYSDBA and run the script
catbundle.sql, to do this the following command are to be entered: cd $ORACLE_HOME/rdbms/admin sqlplus /nolog CONNECT / AS SYSDBA @catbundle.sql cpu apply QUIT The catbundle.sql script running is displayed within the dba_registry_history as package set updates (PSU). - To delete the files that are no more needed, enter the command:
cd /tmp/ && rm -rf /tmp/12345678/ && rm -f /tmp/PatchSearch.xml
Details on the installation can be found within the README file, located in a specific directory named after each patch. |
- if Midnight Commander file manager is running, enter the command to exit it (this is required for better control of command execution):
exit - Enter the command to switch to the root user:
exit - enter the command to start Oracle DBMS:
service oracle start
- Depending on the DBMS used, enter the command to start the process of packages update:
- Before loading files required for installation, the screen will display a request like this
. To continue, type Y and press Enter.Downloading packages from the repository and then installing the packages will begin. This may take some time. Enter the command within the file manager to find and display the list of files with .rpmnew extension:
find / -name "*rpmnew*" -print | Предупреждение |
|---|
| When updating Traffic monitor from 6.0 or 6.1 version to 6.5 and later, the following actiona are to be obligatory taken: | Multiexcerpt include |
|---|
| MultiExcerptName | ENG |
|---|
| PageWithExcerpt | Объединение конфигурационных файлов |
|---|
|
|
Enter the command to call the file manager:
mc Go to /opt/iw/tm5/etc/scripts/ directory and make sure the file iwssid.lua.upgrade is in place. The file iwssid.lua.upgrade is not being used by the System, it is an information source to restore the System operation in case of complete customization. Also /opt/iw/tm5/etc/scripts/ directory should contain the file iwssid.lua that is recommended to remain with no changes implemented in case any term from the following is complied: - System's update is held as per version 6.9;
- iwssid.lua file has not been edited before the update
Otherwise, this should be correctly merged with iwssid.lua file ( see "Merging configuration files"). - Depending on DBMS used, go to the directory:
/opt/iw/tm5/csw/oracle (if Oracle DBMS is used);/opt/iw/tm5/csw/postgres (if PostgreSQL DBMS is used).
- Select the database.conf file.
 - Press F3.
- Make sure that for the
\set schema_version parameter, a version to which you are updating the System is specified. If an old version is specified, repeat steps 24 - 32. - Press F3.
- To exit the file manager (is required to better control command execution), enter the command:
exit - To stop services, enter the commands one by one:
service iwtm stop - Make sure that there are no active users connected to the server via the management console.
- If PostgreSQL DBMS is used in the System, Обновление СУБД PostgreSQL should be performed.
- Depending on DBMS used, enter the command to switch to the required user:
su - oracle - to switch to the oracle user (if Oracle DBMS is used in the System)su - postgres - to switch to the postgres user (if PostgreSQL DBMS is used in the System)
- Depending on DBMS used, enter the command to go to the required directory:
cd /opt/iw/tm5/csw/oracle - (if Oracle DBMS is used in the System)cd /opt/iw/tm5/csw/postgres - (if СУБД PostgreSQL DBMS is used in the System)
Enter the command to start the database update script:
./update.sh The process of updating the database scheme will start. It may take some time.
 - To switch back to the root user, enter the command:
exit - Enter the command to open the file manager again:
mc - Go to
/etc/yum.repos.d directory and set the cursor on the file rhel-dvd.repo and press F4. - Make sure the
enabled parameters of [rhel-dvd], [rhel-dvd-iwtm] and [rhel-dvd-iwtm-cfdb] blocks are set to 0 values. Otherwise, replace the values from 1 to 0. - Press F2.
- In the opened window save the file, pressing Save.
- Press F10.
- Press F3 and make sure the file is correct, then press F3 again to close the file.
- To leave the file manager (required of better commands execution) enter the command:
exit - Check the performance of system internal services - see the description below.
STEP 3. HEALTCHECK OF THE SYSTEM INTERNAL SERVICES Start the iw_bookworm, iw_licensed, iw_updater, and iw_kicker services on those servers, where they have been installed to and added into autorun, check their state . | Предупреждение |
|---|
| If the service start has failed, check error messages in the log file of the service and contact our technical support: support@infowatch.com. Or you can visit our website: http://www.infowatch.com/support. Log files to be checked: - /opt/iw/tm5/log/bookworm.log - for the iw_bookworm service
- /opt/iw/tm5/log/updater.log - for the iw_updater service
- /opt/iw/tm5/log/licserv.log - for the iw_licensed service
- /opt/iw/tm5/log/web-console-error.log - for the iw_kicker service
We recommend checking log files even if services have been started successfully: to make sure that there are no errors. We recommend choosing the INFO or higher logging level for the check. If no errors have occurred, the log file can be missing. |
To run the health check, take the following steps: Enter the command to start the service: service iwtm start bookworm Starting the service may take some time. To check the service state, run the following command: curl -s http://localhost:8500/v1/health/checks/bookworm | python -mjson.tool Information about the service will be displayed:  - Check values of the "Node" and "Status" blocks:
- The "Node" block should include the node name in the Consul cluster where the service is installed.
- The "Status" block should contain "passing".
- Run the following command to start the
iw_updater service: service iwtm start update - Starting the service may take some time. To check the
iw_updater service state, see if the /opt/iw/tm5/log/updater.log file contains update errors. Make sure that the address in the command is correct and then run the following command: grep -r 'error' /opt/iw/tm5/log/updater.log || echo "All good" If there are no errors, the All good message will be displayed. - Run the following command to start the
iw_kicker service: service iwtm start kicker - Starting the service may take some time. To check the
iw_kicker service state, see if theйл /opt/iw/tm5/log/web-console-error.log file contains update errors. Make sure that the address in the command is correct and then run the following command: grep -r 'error' /opt/iw/tm5/log/web-console-error.log || echo "All good" If there are no errors, the All good message will be displayed. - Run the following command to stop services:
service iwtm stop - Complete the DBMS server update - see the description below.
STEP 4. COMPLETING UPDATE ON DBMS SERVER ( TME DB Server ) To complete update on DBMS server (TME DB Server), take the following actions:
- Enter the command to restart the server:
reboot - Wait until the server is started and log in under root (STEP 1, actions 2 and 3 in this instruction).
- Enter the command to check if the processes are started:
service iwtm status The screen will display the list of processes and their status. The services are to be running and the lines for all of them should end with "is running...": - Start all TM servers (TME Node Server) - see the description below.
STEP 5. RESTARTING TM SERVERS ( TME Node Server ) To restart TM servers (TME Node Server), take the following actions on each of them: On TM server, where web-gui package is installed (TME Node Server), enter the command to clear the cache: redis-cli flushall Enter the command to open the file manager again: mc - Go to /etc/yum.repos.d directory, set the cursor on the file rhel-dvd.repo and press F4.
- Make sure the enabled parameters of [rhel-dvd],[rhel-dvd-iwtm] and [rhel-dvd-iwtm-cfdb] blocks are set to 0 value. Otherwise, replace the values from 1 to 0.
- Press F2.
- In the opened window save the file, pressing Save.
- Press F10.
- Press F3 and make sure the file is correct, then press F3 again to close the file.
- To leave the file manager (required of better commands execution) enter the command:
exit Enter the command to restart the server: reboot - Wait until the server is started and log in under root (STEP 1, actions 2 and 3 in this instruction).
Enter the command to check if the processes are started: service iwtm status The screen will display the list of processes and their status. Generally, iw_qmover_client, iw_qmover_server and iw_image2test_fre_batch services are stopped and all other services are started. For iw_qmover_client, iw_qmover_server and iw_image2test_fre_batch services the lines should end with "is stopped (disabled)..." and for all other services the lines should end with "is running...": 
| Информация |
|---|
| If the System contains the Crawler subsystem installed, it is required to start the services of this subsystem (on Crawler server). This is done on the server where the subsystem is installed with Windows standard tools: Start - Control Panel - Administrative Tools - Services, then select the service in the list and click Start service . |
Updating Traffic Monitor servers of the distributed type is complete. Version of the System in the About window of the Management Console will be changed. If the System includes other servers or subsystems to be updated, follow instructions in this section. | Предупреждение |
|---|
| If automatic synchronizations with LDAP servers are configured in the System, then after update, perform synchronizations manually to guarantee load of entities (see "Infowatch Traffic Monitor. User Guide", "Running Synchronization with Server Manually"). |
| Информация |
|---|
| For the Management Console to be displayed correctly, delete the cache in your browser before you start working in the Management Console. This is to be done with browser standard tools. |
|