User Tools

Site Tools


tips:jan2025hotfix

Differences

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

Link to this comparison view

Next revision
Previous revision
tips:jan2025hotfix [2025/01/02 13:16] – created veeratips:jan2025hotfix [2025/01/02 14:11] (current) veera
Line 4: Line 4:
 We discovered an issue with the traffic metrics code that prevented viewing of traffic charts for dates beyond Jan 1 2025. As you can guess this is a rather major issue for most users. We discovered an issue with the traffic metrics code that prevented viewing of traffic charts for dates beyond Jan 1 2025. As you can guess this is a rather major issue for most users.
  
 +
 +A hotfix was made immediately available. 
 +
 +Details are here https://forums.trisul.org/d/107-hotfix-traffic-charts-do-not-show-data-after-jan-1-2025
 +
 +
 +This tech note describes SOP (Standard Operating Procedure) to apply this hotfix. 
 +
 +==== Procedure (Only for Oracle/8 & oracle/9)==== 
 +
 +<note important>Although the issue impacts all packages. Instructions here are for RHEL/OracleLinux8 and RHEL9/OracleLinux9 only.
 +Older platforms should just update all packages to the latest versions.
 +</note>
 +
 +===Step 1 : Download package===
 +
 +Download package from pre-release site - [[https://static.trisul.org/download/prerelease/|click]]
 +
 +Download package from official site - [[https://www.trisul.org/download/|click]]
  
 <note> <note>
-Details are here Jan01192445-centos_el8.tar.gz+If server has net connection you can directly download from site using wget or download package manually and push to server through sftp
 </note> </note>
 +
 +===Step 2 : Untar Package===
 +<code>
 +tar -xf Jan-xx-xxxx.tar.gz
 +cd Jan-xx-xxxx
 +</code>
 +
 +===Step 3 : Uninstall trisul-hub===
 +<code>
 +rpm -e trisul-hub
 +</code>
 +
 +===Step 4 : Install new trisul-hub===
 +<code>
 +rpm -Uvh trisul-hub-xx-xxxx.rpm 
 +</code>
 +
 +===Step 5 : Check hub& probe are running===
 +<code>
 +trisulctl_hub info context
 +</code>
 +You will see hub and probe 
 +<note>
 +If probe is missing wait for some time and try the same command again. The probes will automatically connect after 15-20 seconds</note>
 +
 +===Step 5 : Start the contexts ===
 +<code>
 +trisulctl_hub start context all 
 +</code>
 +
 +
 +**END**
 +
 +
 +
 +===== Sample Output =====
 +
 +
 +
 +A sample run 
 +
 +
 +<code>
 +[root@o8k Jan01192445-centos_el8]# rpm -e trisul-hub
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +   * stopping  context default
 +   + config0              stopped success.default
 +   + hub0                 stopped Successfully stopped context processes: default@hub0
 +   + probe0               stopped Successfully stopped context processes: default@probe0
 +   * trisul_cp_hub       hub0       stopped pid=2727
 +   * trisul_cp_config    config0    stopped pid=2714
 +   * trisul_cp_router    router0    stopped pid=2704
 +Removed /etc/systemd/system/multi-user.target.wants/trisul-hub0-context0.service.
 +Removed /etc/systemd/system/multi-user.target.wants/trisul-hub.service.
 +[root@o8k Jan01192445-centos_el8]# 
 +[root@o8k Jan01192445-centos_el8]# 
 +[root@o8k Jan01192445-centos_el8]# rpm -Uvh trisul-hub-7.0.3118-0.el8.x86_64.rpm 
 +warning: trisul-hub-7.0.3118-0.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID a6cc1b18: NOKEY
 +Verifying...                          ################################# [100%]
 +Preparing...                          ################################# [100%]
 +Updating / installing...
 +   1:trisul-hub-0:7.0.3118-0.el8      ################################# [100%]
 +Adding required libraries
 +Restoring license
 +Restoring static license
 +Restoring previous ssl cert
 +Restoring previous ssl cert
 +Bringing TRISUL HUB config files up to latest version
 +Setting setuid for trisulctl_hub exec
 +Created symlink /etc/systemd/system/multi-user.target.wants/trisul-hub.service → /usr/lib/systemd/system/trisul-hub.service.
 +Created symlink /etc/systemd/system/multi-user.target.wants/trisul-hub0-context0.service → /usr/lib/systemd/system/trisul-hub0-context0.service.
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +Starting trisul-hub domain processes for /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * trisul_cp_router     started with new pid=10691    public-key=/usr/local/etc/trisul-hub/domain0/router0.cert
 +   * trisul_cp_config     started with new pid=10701    public-key=/usr/local/etc/trisul-hub/domain0/config0.cert
 +   * trisul_cp_hub        started with new pid=10714    public-key=/usr/local/etc/trisul-hub/domain0/hub0.cert
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +   + hub0                 started Successfully started context processes: default@hub0
 +Log from default@hub0 context default
 +Log from default@hub0 context default
 +
 +Success ! Welcome to Trisul Network Analytics
 +
 +This is a HUB-NODE installation.
 +
 +[root@o8k Jan01192445-centos_el8]# trisulctl_hub 
 +Connecting to domain0 
 +Trisul Network Analytics version 7.0.3118
 +Hub Node Management tool
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +probe0         default                  7.0.3179     INIT    DOWN               00h 00m 00s               profile0       online_rxring  
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> start context default
 +   + config0              started success.default
 +   + hub0                 started Context is already running
 +   + probe0               started Successfully started context processes: default@probe0
 +Log from default@hub0 context default
 +Log from default@hub0 context default
 +Log from default@probe0 context default
 +trisul_hub:o8k(domain0)> 
 +[root@o8k Jan01192445-centos_el8]# rpm -e trisul-hub
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +   * stopping  context default
 +   + config0              stopped success.default
 +   + hub0                 stopped Successfully stopped context processes: default@hub0
 +   + probe0               stopped Successfully stopped context processes: default@probe0
 +   * trisul_cp_hub       hub0       stopped pid=2727
 +   * trisul_cp_config    config0    stopped pid=2714
 +   * trisul_cp_router    router0    stopped pid=2704
 +Removed /etc/systemd/system/multi-user.target.wants/trisul-hub0-context0.service.
 +Removed /etc/systemd/system/multi-user.target.wants/trisul-hub.service.
 +[root@o8k Jan01192445-centos_el8]# 
 +[root@o8k Jan01192445-centos_el8]# 
 +[root@o8k Jan01192445-centos_el8]# rpm -Uvh trisul-hub-7.0.3118-0.el8.x86_64.rpm 
 +warning: trisul-hub-7.0.3118-0.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID a6cc1b18: NOKEY
 +Verifying...                          ################################# [100%]
 +Preparing...                          ################################# [100%]
 +Updating / installing...
 +   1:trisul-hub-0:7.0.3118-0.el8      ################################# [100%]
 +Adding required libraries
 +Restoring license
 +Restoring static license
 +Restoring previous ssl cert
 +Restoring previous ssl cert
 +Bringing TRISUL HUB config files up to latest version
 +Setting setuid for trisulctl_hub exec
 +Created symlink /etc/systemd/system/multi-user.target.wants/trisul-hub.service → /usr/lib/systemd/system/trisul-hub.service.
 +Created symlink /etc/systemd/system/multi-user.target.wants/trisul-hub0-context0.service → /usr/lib/systemd/system/trisul-hub0-context0.service.
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +Starting trisul-hub domain processes for /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * trisul_cp_router     started with new pid=10691    public-key=/usr/local/etc/trisul-hub/domain0/router0.cert
 +   * trisul_cp_config     started with new pid=10701    public-key=/usr/local/etc/trisul-hub/domain0/config0.cert
 +   * trisul_cp_hub        started with new pid=10714    public-key=/usr/local/etc/trisul-hub/domain0/hub0.cert
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +   + hub0                 started Successfully started context processes: default@hub0
 +Log from default@hub0 context default
 +Log from default@hub0 context default
 +
 +Success ! Welcome to Trisul Network Analytics
 +
 +This is a HUB-NODE installation.
 +
 +[root@o8k Jan01192445-centos_el8]# trisulctl_hub 
 +Connecting to domain0 
 +Trisul Network Analytics version 7.0.3118
 +Hub Node Management tool
 +   * found  trisul-hub    /usr/local/etc/trisul-hub/domain0/domain.xml
 +   * connecting to domain0 at ipc:///usr/local/var/lib/trisul-hub/domain0/run/ctl_local_req.hub0
 +   + connecting to domain [domain0] 
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> info context
 +node           context_name             version      init    state    size_disk   data_window         #runs   profile        runmode
 +----------------------------------------------------------------------------------------------------------------------------------------
 +config0        default                  7.0.3118     INIT    RUNNING  -           00h 00m 00s               profile0                      
 +---------------------------------------------------------------------------------------------------------------------------
 +hub0           default                  7.0.3118     INIT    RUNNING  -           00h 04m 00s                                             
 +---------------------------------------------------------------------------------------------------------------------------
 +probe0         default                  7.0.3179     INIT    DOWN               00h 00m 00s               profile0       online_rxring  
 +---------------------------------------------------------------------------------------------------------------------------
 +trisul_hub:o8k(domain0)> start context default
 +   + config0              started success.default
 +   + hub0                 started Context is already running
 +   + probe0               started Successfully started context processes: default@probe0
 +Log from default@hub0 context default
 +Log from default@hub0 context default
 +Log from default@probe0 context default
 +trisul_hub:o8k(domain0)> 
 +
 +
 +
 +</code>
 +
tips/jan2025hotfix.1735803983.txt.gz · Last modified: 2025/01/02 13:16 by veera