Update guide [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:dpi:changelog:update_guide [2025/12/26 12:51] – created elena.krasnobryzhen:dpi:changelog:update_guide [2026/02/12 09:29] (current) – [Version rollback] elena.krasnobryzh
Line 2: Line 2:
 ======Update guide====== ======Update guide======
 <note important> <note important>
-Starting from version [[en:dpi:changelog:versions:ver_12|12.0]], DPI is supported **only** on centos 8.x and [[en:veos:installation|veos]].+Starting from version [[en:dpi:changelog:versions:ver_12|12.0]], DPI is supported **only** on CentOS 8.x and [[en:veos:installation|veos]].
 </note> </note>
  
Line 8: Line 8:
   * Make sure that the DPI configuration and dependent services (pcrf, radius) are valid.   * Make sure that the DPI configuration and dependent services (pcrf, radius) are valid.
   * Check the currently installed version:<code bash>yum info fastdpi</code>   * Check the currently installed version:<code bash>yum info fastdpi</code>
-  * If centos 8.x is used, **once** switch repositories to vault:<code bash>sed -i -e '/^mirrorlist=http:\/\//d' -e 's/^# *baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/' /etc/yum.repos.d/CentOS-*.repo</code>+  * If CentOS 8.x is used, **once** switch repositories to vault:<code bash>sed -i -e '/^mirrorlist=http:\/\//d' -e 's/^# *baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/' /etc/yum.repos.d/CentOS-*.repo</code>
   * If there are dependency issues or the update cannot be found, run:<code bash>yum clean all</code>   * If there are dependency issues or the update cannot be found, run:<code bash>yum clean all</code>
  
Line 22: Line 22:
  
 =====DPI update===== =====DPI update=====
 +<note important>Starting with version [[en:dpi:changelog:versions:ver_14|14.0]], UDR is divided into [[en:dpi:dpi_components:platform:dpi_admin:admin_db|UDR and SDR]]. The division occurs automatically when the version is updated.</note>
 +
   * Main version update:<code bash>yum update fastdpi</code>   * Main version update:<code bash>yum update fastdpi</code>
   * Installation of a test (beta) version:<code bash>yum --enablerepo vasexperts-beta update fastdpi</code>   * Installation of a test (beta) version:<code bash>yum --enablerepo vasexperts-beta update fastdpi</code>
Line 29: Line 31:
 </note> </note>
  
 +====Features of updating in a distributed installation====
 +If the SSG (fastdpi) and PCRF (fastpcrf) modules are installed on different physical or virtual servers, two conditions must be met:
 +  - **Uniform software version:**\\ Ensure that the same versions of the fastdpi and fastpcrf packages are installed on both servers. Version mismatches between SSG and PCRF can lead to errors.
 +  - **Restart sequence:**\\ Processes must be restarted in the order specified below to restore the connection correctly.\\ Procedure for a distributed scheme:
 +    - On the SSG server, stop the DPI service:<code bash>service fastdpi stop</code>
 +    - On the PCRF server, restart the PCRF service:<code bash>service fastpcrf restart</code>
 +    - On the SSG server, start the fastdpi service:<code bash>service fastdpi start</code>
 +This order ensures that all services are started correctly.
 =====Service restart===== =====Service restart=====
  
Line 42: Line 52:
 </code> </code>
  
-**Recommended pcrf restart order:**+**Recommended PCRF restart order:**
 <code bash> <code bash>
 service fastdpi stop service fastdpi stop
Line 55: Line 65:
 </note> </note>
  
-  * For centos 8.x:<code bash>yum update</code>+  * For CentOS 8.x:<code bash>yum update</code>
  
 =====Version rollback===== =====Version rollback=====
  
   * Example rollback to version 14.0:<code bash>yum downgrade fastdpi-14.0 fastpcrf-14.0 dpiutils-14.0 fastradius-14.0</code>   * Example rollback to version 14.0:<code bash>yum downgrade fastdpi-14.0 fastpcrf-14.0 dpiutils-14.0 fastradius-14.0</code>
-  * Example rollback to version 12.4:<code bash>yum downgrade fastdpi-12.4-0 fastpcrf-12.4-0</code>+  * Example rollback to version 12.4:<code bash>yum downgrade fastdpi-12.4-0 fastpcrf-12.4-0 dpiutils-12.4-0 fastradius-12.4-0</code>
  
 After rollback, service restart is required: After rollback, service restart is required:
 <code bash> <code bash>
-service fastdpi restart+service fastdpi stop 
 +service fastpcrf restart 
 +service fastdpi start
 </code> </code>