Passer au contenu principal
Version : TAO v2.x

Procédures d'installation et de mise à jour

conseil

Vous pouvez ignorer cette tâche si ThingPark Enterprise All-in-One est déjà installé sur vos passerelles par votre intégrateur système.

Cette page décrit la procédure d'installation manuelle.

Néanmoins, vous pouvez utiliser la procédure d'installation zero-touch/automatisée fournie par Infrastructure Commissioning Service (ICS). Pour cela, veuillez contacter votre équipe de support ThingPark.

Pour une mise à jour, vous devez suivre les mêmes étapes que pour la procédure d'installation, et vous devez redémarrer vos passerelles à la fin de la procédure.

Exigences d'installation

  • L'installation décrite ci-après est manuelle. Vous devez avoir accès SSH à la Passerelle et avoir le mot de passe root.

  • Vous devez avoir au moins 400Mo d'espace disque libre.

  • Vous devez avoir le package d'installation adéquat pour votre matériel:

    scheme: TAO_<manufacturer>.<BS_PROFILE>_<version>

Dernières versions

FabricantPackage TAORéférenceNotes
BrowanTAO_gemtek.GMTK_ODU.1_2.5.0Browan Outdoor Micro (ODU)
KerlinkTAO_kerlink.KERL_NANO.1_2.5.0Kerlink Wirnet iFemtoCellkernel: KerOS 5.11.0
KerlinkTAO_kerlink.KERL_NANO.2_2.5.0Kerlink Wirnet iFemtoCell-Evolutionkernel: KerOS 5.11.0
KerlinkTAO_kerlink.KERL_ISTA.1_2.5.0Kerlink Wirnet iStationkernel: KerOS 5.11.0
KerlinkTAO_kerlink.KERL_IBTS.2_2.5.0Kerlink Wirnet iBTSkernel: KerOS 5.11.0
MilesightTAO_milesight.MILEST_UG65.1_2.5.0Milesight UG65/UG67Firmware 60.0.6401.41-r3-t1
TektelicTAO_tektelic.TEKT_KONA.3_2.5.0Kona MicroBSP 7.1.9 et 7.1.12
UfiSpaceTAO_ufispace.UFISP_FCPICO.1_2.5.0Ufispace Pico/Enterprise
UfispaceTAO_ufispace.UFISP_FCMLB.1_2.5.0Ufispace MACRO V1.5

Étapes d'installation

Tout d'abord, vous devez exécuter les étapes d'installation du serveur sur votre passerelle principale. Ce serveur agira comme première passerelle et hébergera également le Network Server LoRaWAN, un serveur MQTT, le serveur Node-RED et l'interface utilisateur.

Ensuite, si vous déployez une ThingPark Enterprise All-in-one (TAO) multi-passerelle, vous devez exécuter les étapes d'installation pour les passerelles distantes sur chaque passerelle agissant comme une passerelle distante pour étendre votre réseau LoRaWAN®. Vous pouvez connecter jusqu'à quatre passerelles distantes à votre serveur TPE All-in-One.

note

Dans un déploiement multi-passerelles, la passerelle principale, agissant en tant que serveur TAO, doit avoir une adresse IP statique, les passerelles distantes peuvent être statiques ou DHCP.

Emplacement du package d'installation

En fonction de votre système, le package d'installation doit être installé à un emplacement spécifique sur votre passerelle:

  • /home pour Ufispace
  • /mnt/extra pour Tektelic
  • / pour Kerlink, Milesight, Browan

Installation TAO pour la passerelle serveur

  1. Copiez le package d'installation sur votre passerelle sous l'emplacement spécifique.

    scp TAO_<manufacturer>.<BS_PROFILE>_<version>  <admin>@<gateway ip>:<specific location>
  2. Exécutez le package d'installation en exécutant la commande d'installation du serveur:

    ssh <admin>@<gateway ip>
    cd <specific location>
    chmod u+x ./TAO_<manufacturer>.<BS_PROFILE>_<version>
    ./TAO_<manufacturer>.<BS_PROFILE>_<version> server

    Voici le résultat d'une installation de serveur Tektelic Kona Micro, le résultat sera certainement différent dans votre cas:

    kona-micro-0173BA:/mnt/extra# ./TAO_tektelic.TEKT_KONA.3_2.5.0 server

    TAO Installer [TAO_tektelic.TEKT_KONA.3_2.5.0]

    Extracting ...
    LRR custom configuration
    -> TAO fresh install, add complete lrr custom folder
    ipsec is not configured
    /home/actility used as root directory
    Execute system preparation scripts if any
    execute script /home/actility/system/preinstall/10-add-ssh-keyscan.sh
    /usr/bin/ssh-keyscan
    execute script /home/actility/system/preinstall/20-add-ipsec2swanctl.sh
    /usr/bin/ipsec2swanctl.py
    System characteristics: setting file not present: automatic creation ...
    -----------------------------------------------------------
    Checking consistency of system definition
    OK: SYSTEM defined: tek_generic
    OK: MANUFACTURER defined: tektelic
    OK: FIRMWARE defined: tekos
    OK: MANUFACTURER_OUI defined: 647FDA
    OK: at least one option set in [SEMTECH_V1_0 SEMTECH_V1_5 SEMTECH_V2_1 SEMTECH_CORECELL]
    OK: TERMINFO defined: export TERMINFO=/etc/terminfo/
    OK: NETSTAT defined: netstat -an
    OK: VIEW_NTP_CONF defined: cat /etc/ntp.conf
    OK: REBOOT_CMD defined: reboot
    OK: TRACE_BACKUP_DIR defined: /home/actility/traces
    OK: at least one option set in [TAR_OPTION_X TAR_OPTION_EXCLUDE]
    OK: NETWORK_INTERFACE_FILE: valid file /etc/network/interfaces
    OK: SYSTEM_ETC: valid directory /etc
    OK: SWANCTL defined: /usr/sbin/swanctl
    OK: SWANCTL: valid executable /usr/sbin/swanctl
    OK: NTP_SERVICE: valid file /etc/init.d/ntpd
    OK: SFTP: valid executable /home/actility/lrr/sftp/sftp
    OK: IPTABLES_BIN: valid executable /usr/sbin/iptables
    OK: NETWORK_INTERFACE_FILE defined: /etc/network/interfaces
    -----------------------------------------------------------
    System : tek_generic
    ROOTACT already present in /etc/profile
    Can't find '/etc/init.d/checklrr', can't stop service
    Can't find '/etc/init.d/checkntp', can't stop service
    Can't find '/etc/init.d/checkpki', can't stop service
    Can't find '/etc/init.d/ipfailover2', can't stop service
    Can't find '/etc/init.d/lrr', can't stop service
    Can't find '/etc/init.d/lrrplan', can't stop service
    Warning: One or more services return in error
    create service checklrr
    create service checkntp
    create service checkpki
    create service gwmgr_restore
    create service ipfailover2
    create service lrr
    create service lrrplan
    Adding system startup for /etc/init.d/firewall.
    iptables are installed
    New password: Retype new password: passwd: password updated successfully
    Executing LRR usr_postinstall.sh
    Common usr_postinstall.sh
    - generate ipfailover2.ini
    -----------------------------------------------------------
    Checking consistency of lrr definition
    OK: IPFAILOVER_SERVICE: valid executable /etc/init.d/ipfailover2
    OK: SYSTEM_LOG: valid file /var/log/messages
    -----------------------------------------------------------
    Execute post-installation scripts if any
    execute script /home/actility/lrr/postinstall/10-system_postinstall.sh
    execute script /home/actility/lrr/postinstall/20-ipfailover2.sh
    There is no service named "network-monitor"
    no process in pidfile '/var/run/network-monitor.pid' found; none killed
    update-rc.d: /etc/init.d/network-monitor-startup-rc exists during rc.d purge (continuing)
    Removing any system startup links for network-monitor-startup-rc ...
    update-rc.d: /etc/init.d/wwan0-startup-rc exists during rc.d purge (continuing)
    Removing any system startup links for wwan0-startup-rc ...
    execute script /home/actility/lrr/postinstall/30-migrate_services.sh
    30-migrate_services.sh: Process checkntp
    30-migrate_services.sh: Process checkpki
    30-migrate_services.sh: Process ipfailover2
    30-migrate_services.sh: Process gwmgr
    30-migrate_services.sh: Process lrrplan
    30-migrate_services.sh: Process lrr
    execute script /home/actility/lrr/postinstall/70-migrate2checkpki.sh
    70-migrate2checkpki.sh: migration not needed (no previous checkvpn2/checktls config)
    70-migrate2checkpki.sh: migration done.
    execute script /home/actility/lrr/postinstall/75-migrate_cmd_shells_pidfiles.sh
    75-migrate_cmd_shells_pidfiles.sh: migration not needed
    Starting checklrr service: Warning: checklrr started WITHOUT nohup !
    [OK]
    Starting checkntp service: Warning: checkntp started WITHOUT nohup !
    [OK]
    Starting checkpki service: Warning: checkpki started WITHOUT nohup !
    [OK]
    Starting ipfailover2 service: Warning: ipfailover2 started WITHOUT nohup !
    [OK]
    /usr/bin/python3
    Starting lrr service: tek_generic
    no command to power on radio board
    Analyze calibration file ...
    File created
    no AES key generation on tekos model
    Updating /home/actility/usr/etc/lrr/versions.ini file
    /home/actility/usr/etc/lrr/versions.ini file updated
    Warning: lrr started WITHOUT nohup !
    [OK]
    Starting lrrplan service: Warning: lrrplan started WITHOUT nohup !
    [OK]
    System configuration done
    -----------------------------------------------------------
    Checking consistency of system definition
    OK: SYSTEM defined: tek_generic
    OK: MANUFACTURER defined: tektelic
    OK: FIRMWARE defined: tekos
    OK: MANUFACTURER_OUI defined: 647FDA
    OK: at least one option set in [SEMTECH_V1_0 SEMTECH_V1_5 SEMTECH_V2_1 SEMTECH_CORECELL]
    OK: TERMINFO defined: export TERMINFO=/etc/terminfo/
    OK: NETSTAT defined: netstat -an
    OK: VIEW_NTP_CONF defined: cat /etc/ntp.conf
    OK: REBOOT_CMD defined: reboot
    OK: TRACE_BACKUP_DIR defined: /home/actility/traces
    OK: at least one option set in [TAR_OPTION_X TAR_OPTION_EXCLUDE]
    OK: NETWORK_INTERFACE_FILE: valid file /etc/network/interfaces
    OK: SYSTEM_ETC: valid directory /etc
    OK: SWANCTL defined: /usr/sbin/swanctl
    OK: SWANCTL: valid executable /usr/sbin/swanctl
    OK: NTP_SERVICE: valid file /etc/init.d/ntpd
    OK: SFTP: valid executable /home/actility/lrr/sftp/sftp
    OK: IPTABLES_BIN: valid executable /usr/sbin/iptables
    OK: NETWORK_INTERFACE_FILE defined: /etc/network/interfaces
    -----------------------------------------------------------
    /home/actility used as root directory
    System : tek_generic
    System : tek_generic
    New installation mechanism detected tek_generic
    create service lrc
    create service mqtt
    create service node-red
    create service tao
    New password: Retype new password: passwd: password updated successfully
    FDB_lora l folder exists
    FDB_lora l/ffffffff table not present, create it
    trying to set UUID 647FDA-647FDA0173BA in FDB_lora
    UUID 647FDA-647FDA0173BA in FDB_lora is set
    ck:58cca96b6025664c305ba9cfd416589e
    /mnt/extra
    migrateScript=/home/actility/tao-system/bootstrap/migrate-from-none.sh
    /home/actility used as root directory
    System : tek_generic
    change tao / support password
    New password: Retype new password: passwd: password updated successfully
    restart LRR after updates
    restart LRR after updates
    /usr/bin/python3
    Stopping lrr service: [OK]
    Starting lrr service: tek_generic
    no command to power on radio board
    Analyze calibration file ...
    File created
    no AES key generation on tekos model
    Updating /home/actility/usr/etc/lrr/versions.ini file
    /home/actility/usr/etc/lrr/versions.ini file updated
    Warning: lrr started WITHOUT nohup !
    [OK]
    restart other services after updates
    restart service lrc
    Stopping lrc.x service: [FAILED]
    lrc.x is already stopped
    Starting lrc.x service: tek_generic
    Warning: lrc.x started WITHOUT nohup !
    [OK]
    restart service mqtt
    Stopping mosquitto service: [FAILED]
    mosquitto is already stopped
    Starting mosquitto service: tek_generic
    Warning: mosquitto started WITHOUT nohup !
    [OK]
    restart service node-red
    Stopping node-red service: [FAILED]
    node-red is already stopped
    Starting node-red service: tek_generic
    Warning: node-red started WITHOUT nohup !
    [OK]
    restart service tao
    Stopping tao-server service: [FAILED]
    tao-server is already stopped
    Starting tao-server service: tek_generic
    Warning: tao-server started WITHOUT nohup !
    [OK]
    restartServices done
    System configuration done
    Installation done
    Installation log file under /home/actility/TAO_installation_20241011_105026.log
  3. Vous devez maintenant redémarrer la passerelle serveur.

Installation TAO pour les passerelles distantes

précaution

Cette étape d'installation n'est pertinente que si vous avez une ThingPark Enterprise All-in-one multi-passerelle. Ne réalisez pas cette tâche si vous avez une ThingPark Enterprise All-in-one à passerelle unique.

Vous pouvez procéder à l'installation de vos passerelles distantes seulement après avoir terminé avec succès l'installation de la passerelle serveur, comme décrit dans l'installation TAO pour la passerelle serveur.

Vous devez avoir l'adresse IP de votre passerelle serveur.

  1. Copiez le package d'installation sur votre passerelle sous l'emplacement spécifique.

    scp TAO_<manufacturer>.<BS_PROFILE>_<version>  <admin>@<gateway ip>:<specific location>
  2. Exécutez le package d'installation:

    ssh <admin>@<gateway ip>
    cd /
    chmod u+x ./TAO_<manufacturer>.<BS_PROFILE>_<version>
    ./TAO_<manufacturer>.<BS_PROFILE>_<version> gw <ip of server gateway>
    note

    Vous pouvez changer ultérieurement l'adresse <gateway ip> en utilisant une commande distante

    Voici le résultat d'une installation de passerelle Tektelic Kona Micro, le résultat sera certainement différent dans votre cas:

    kona-micro-0173BA:/mnt/extra# ./TAO_tektelic.TEKT_KONA.3_2.5.0 gw 10.100.31.122

    TAO Installer [TAO_tektelic.TEKT_KONA.3_2.5.0]

    Extracting ...
    LRR custom configuration
    -> TAO fresh install, add complete lrr custom folder
    ipsec is not configured
    /home/actility used as root directory
    Execute system preparation scripts if any
    execute script /home/actility/system/preinstall/10-add-ssh-keyscan.sh
    /usr/bin/ssh-keyscan
    execute script /home/actility/system/preinstall/20-add-ipsec2swanctl.sh
    /usr/bin/ipsec2swanctl.py
    System characteristics: setting file not present: automatic creation ...
    -----------------------------------------------------------
    Checking consistency of system definition
    OK: SYSTEM defined: tek_generic
    OK: MANUFACTURER defined: tektelic
    OK: FIRMWARE defined: tekos
    OK: MANUFACTURER_OUI defined: 647FDA
    OK: at least one option set in [SEMTECH_V1_0 SEMTECH_V1_5 SEMTECH_V2_1 SEMTECH_CORECELL]
    OK: TERMINFO defined: export TERMINFO=/etc/terminfo/
    OK: NETSTAT defined: netstat -an
    OK: VIEW_NTP_CONF defined: cat /etc/ntp.conf
    OK: REBOOT_CMD defined: reboot
    OK: TRACE_BACKUP_DIR defined: /home/actility/traces
    OK: at least one option set in [TAR_OPTION_X TAR_OPTION_EXCLUDE]
    OK: NETWORK_INTERFACE_FILE: valid file /etc/network/interfaces
    OK: SYSTEM_ETC: valid directory /etc
    OK: SWANCTL defined: /usr/sbin/swanctl
    OK: SWANCTL: valid executable /usr/sbin/swanctl
    OK: NTP_SERVICE: valid file /etc/init.d/ntpd
    OK: SFTP: valid executable /home/actility/lrr/sftp/sftp
    OK: IPTABLES_BIN: valid executable /usr/sbin/iptables
    OK: NETWORK_INTERFACE_FILE defined: /etc/network/interfaces
    -----------------------------------------------------------
    System : tek_generic
    ROOTACT already present in /etc/profile
    Can't find '/etc/init.d/checklrr', can't stop service
    Can't find '/etc/init.d/checkntp', can't stop service
    Can't find '/etc/init.d/checkpki', can't stop service
    Can't find '/etc/init.d/ipfailover2', can't stop service
    Can't find '/etc/init.d/lrr', can't stop service
    Can't find '/etc/init.d/lrrplan', can't stop service
    Warning: One or more services return in error
    create service checklrr
    create service checkntp
    create service checkpki
    create service gwmgr_restore
    create service ipfailover2
    create service lrr
    create service lrrplan
    Adding system startup for /etc/init.d/firewall.
    iptables are installed
    New password: Retype new password: passwd: password updated successfully
    Executing LRR usr_postinstall.sh
    Common usr_postinstall.sh
    - generate ipfailover2.ini
    -----------------------------------------------------------
    Checking consistency of lrr definition
    OK: IPFAILOVER_SERVICE: valid executable /etc/init.d/ipfailover2
    OK: SYSTEM_LOG: valid file /var/log/messages
    -----------------------------------------------------------
    Execute post-installation scripts if any
    execute script /home/actility/lrr/postinstall/10-system_postinstall.sh
    execute script /home/actility/lrr/postinstall/20-ipfailover2.sh
    There is no service named "network-monitor"
    no process in pidfile '/var/run/network-monitor.pid' found; none killed
    update-rc.d: /etc/init.d/network-monitor-startup-rc exists during rc.d purge (continuing)
    Removing any system startup links for network-monitor-startup-rc ...
    update-rc.d: /etc/init.d/wwan0-startup-rc exists during rc.d purge (continuing)
    Removing any system startup links for wwan0-startup-rc ...
    execute script /home/actility/lrr/postinstall/30-migrate_services.sh
    30-migrate_services.sh: Process checkntp
    30-migrate_services.sh: Process checkpki
    30-migrate_services.sh: Process ipfailover2
    30-migrate_services.sh: Process gwmgr
    30-migrate_services.sh: Process lrrplan
    30-migrate_services.sh: Process lrr
    execute script /home/actility/lrr/postinstall/70-migrate2checkpki.sh
    70-migrate2checkpki.sh: migration not needed (no previous checkvpn2/checktls config)
    70-migrate2checkpki.sh: migration done.
    execute script /home/actility/lrr/postinstall/75-migrate_cmd_shells_pidfiles.sh
    75-migrate_cmd_shells_pidfiles.sh: migration not needed
    Starting checklrr service: Warning: checklrr started WITHOUT nohup !
    [OK]
    Starting checkntp service: Warning: checkntp started WITHOUT nohup !
    [OK]
    Starting checkpki service: Warning: checkpki started WITHOUT nohup !
    [OK]
    Starting ipfailover2 service: Warning: ipfailover2 started WITHOUT nohup !
    [OK]
    /usr/bin/python3
    Starting lrr service: tek_generic
    no command to power on radio board
    Analyze calibration file ...
    File created
    no AES key generation on tekos model
    Updating /home/actility/usr/etc/lrr/versions.ini file



    /home/actility/usr/etc/lrr/versions.ini file updated
    Warning: lrr started WITHOUT nohup !
    [OK]
    Starting lrrplan service: Warning: lrrplan started WITHOUT nohup !
    [OK]
    System configuration done
    -----------------------------------------------------------
    Checking consistency of system definition
    OK: SYSTEM defined: tek_generic
    OK: MANUFACTURER defined: tektelic
    OK: FIRMWARE defined: tekos
    OK: MANUFACTURER_OUI defined: 647FDA
    OK: at least one option set in [SEMTECH_V1_0 SEMTECH_V1_5 SEMTECH_V2_1 SEMTECH_CORECELL]
    OK: TERMINFO defined: export TERMINFO=/etc/terminfo/
    OK: NETSTAT defined: netstat -an
    OK: VIEW_NTP_CONF defined: cat /etc/ntp.conf
    OK: REBOOT_CMD defined: reboot
    OK: TRACE_BACKUP_DIR defined: /home/actility/traces
    OK: at least one option set in [TAR_OPTION_X TAR_OPTION_EXCLUDE]
    OK: NETWORK_INTERFACE_FILE: valid file /etc/network/interfaces
    OK: SYSTEM_ETC: valid directory /etc
    OK: SWANCTL defined: /usr/sbin/swanctl
    OK: SWANCTL: valid executable /usr/sbin/swanctl
    OK: NTP_SERVICE: valid file /etc/init.d/ntpd
    OK: SFTP: valid executable /home/actility/lrr/sftp/sftp
    OK: IPTABLES_BIN: valid executable /usr/sbin/iptables
    OK: NETWORK_INTERFACE_FILE defined: /etc/network/interfaces
    -----------------------------------------------------------
    /home/actility used as root directory
    System : tek_generic
    System : tek_generic
    New installation mechanism detected tek_generic
    create service tao
    migrateScript=/home/actility/tao-system/bootstrap/migrate-from-none.sh
    /home/actility used as root directory
    System : tek_generic
    change tao / support password
    New password: Retype new password: passwd: password updated successfully
    restart service tao
    Stopping tao-agent service: [FAILED]
    tao-agent is already stopped
    Starting tao-agent service: tek_generic
    Warning: tao-agent started WITHOUT nohup !
    [OK]
    System configuration done
    /usr/bin/python3
    Stopping lrr service: [OK]
    /usr/bin/python3
    Starting lrr service: tek_generic
    no command to power on radio board
    Analyze calibration file ...
    File created
    no AES key generation on tekos model
    Updating /home/actility/usr/etc/lrr/versions.ini file
    /home/actility/usr/etc/lrr/versions.ini file updated
    Warning: lrr started WITHOUT nohup !
    [OK]
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    ip6tables v1.8.7 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
    Perhaps ip6tables or your kernel needs to be upgraded.
    Installation done
    Installation log file under /home/actility/TAO_installation_20241011_105026.log
  3. Vous devez maintenant redémarrer la passerelle distante.