The upgrade script then takes you through a step-by-step KSMG configuration procedure, prompting you for information.
To enter a default value suggested by the script, press Enter. To get help on the functions of the script, you can run the upgrade script with the --help option.
Select the language in which you want to see the texts of the End User License Agreement and the Privacy Policy and press Enter.
Carefully read the text of the End User License Agreement. To do so, press Enter. The text of the End User License Agreement is displayed. Use the arrow buttons to navigate the text. To exit the viewing mode, press q.
Accept or reject the terms and conditions of the End User License Agreement:
To accept the terms and conditions of the End User License Agreement, enter yes.
To reject the terms and conditions of the End User License Agreement, enter no.
Press Enter.
If you reject the terms and conditions of the End User License Agreement, the upgrade process is terminated, and KSMG version 2.1 remains in an inoperable condition.
You can review the text of the End User License Agreement at any time. The file with the text of the End User License Agreement is located at the following path: /opt/kaspersky/ksmg/share/doc/LICENSE.<language>.
View the text of the Privacy Policy. To do so, press Enter. The text of the Privacy Policy is displayed. Use the arrow buttons to navigate the text. To exit the viewing mode, press q.
Accept or reject the terms and conditions of the Privacy Policy:
To accept the Privacy Policy, enter yes.
To reject the Privacy Policy, enter no.
Press Enter.
If you reject the terms and conditions of the Privacy Policy, the upgrade process is terminated, and KSMG version 2.1 remains in an inoperable condition.
You can review the text of the Privacy Policy at any time. The file with the text of the Privacy Policy is located at the following path: /opt/kaspersky/ksmg/share/doc/LICENSE_privacy_policy.<language>.
The upgrade script automatically configures the application using the settings of the node, web server, and mail server that were specified when configuring KSMG 2.1.
The upgrade scenario in automatic mode involves the following steps:
Creating a configuration file with responses to the prompts of the upgrade script
This stage is performed only for the first node to be upgraded.
To do so, run the following command:
/opt/kaspersky/ksmg/bin/setup.py --create-auto-upgrade=<full path to the file for saving settings>
You cannot create a configuration file with responses a node on which the application was upgraded manually.
Editing the address of the node you are upgrading
The configuration file with responses contains the network settings of the node on which the file is created. To upgrade KSMG on another node, you must manually edit the configuration file to replace the IP address of the current node with the IP address of the node that you want to upgrade. If necessary, you must also change the port numbers of the node.
Starting the upgrade of KSMG in automatic mode
To do so, run the following command:
/opt/kaspersky/ksmg/bin/setup.py --auto-upgrade=<full path to the file with the saved settings>
In the web interface of the updated node, in the lower part of the left menu pane, click the name of the current user, then select About and in the displayed window, make sure that the Version line displays 2.1.1.