Difference between revisions of "How to Upgrade Rifidi"
From RifidiWiki
(→Ubuntu Upgrade(Specfics) or Rifidi Box (whichs comes with Ubuntu OS)) |
(→RedHat (RHEL)) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
These steps explain how to upgrade a Rifidi Edge server | These steps explain how to upgrade a Rifidi Edge server | ||
− | =Edge Server Upgrade= | + | =Edge Server Upgrade (Windows)= |
Note: Applicable to version 1.3 or greater | Note: Applicable to version 1.3 or greater | ||
− | # Download and install in a new directory | + | # Download and install in a new directory (windows only) - see below for Ubuntu/Linux install steps |
# Ensure all rifidi edge servers instances are stopped (old and new versions) | # Ensure all rifidi edge servers instances are stopped (old and new versions) | ||
# Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations) | # Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations) | ||
− | # Manually make any updates to the server | + | # Manually make any updates to the server configuration (rifidiserver.ini in windows/ rifidi-server in Ubuntu/Linux) you may have customized for your setup [[Edge_Server_Configuration]] |
# Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications | # Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications | ||
# Copy any customized .llrp configuration files from old server version ./config to new server version ./config | # Copy any customized .llrp configuration files from old server version ./config to new server version ./config | ||
Line 14: | Line 14: | ||
# Start the new Rifidi server | # Start the new Rifidi server | ||
− | All you applications and reader/sensor | + | All you applications and reader/sensor adapters should start and operate as prior version |
Note: Advised that you make a copy of your old version before deleting in case you run into any issues requiring recovery | Note: Advised that you make a copy of your old version before deleting in case you run into any issues requiring recovery | ||
− | =Ubuntu Upgrade(Specfics) or Rifidi Box ( | + | =Ubuntu Upgrade(Specfics) or Rifidi Box (which comes with Ubuntu OS)= |
Steps specific to Rifidi Box or Ubuntu Deb | Steps specific to Rifidi Box or Ubuntu Deb | ||
− | |||
− | + | # SSH into the box and copy the contents of the application directory, the rifidi.xml, and any other files (llrp files, etc) to ~ | |
− | # SSH into the box and copy the contents of the application directory, the rifidi.xml, and any other files (llrp files, etc) to ~ # Make sure the edge server is shut down...telnet in and type "close" in the console. | + | # Make sure the edge server is shut down...telnet in and type "close" in the console. |
#. "sudo apt-get purge rifidi" | #. "sudo apt-get purge rifidi" | ||
#. Copy the new deb into ~ on the machine (Such as use dropbox and perform a "wget" on the dropbox link for this, very handy!) | #. Copy the new deb into ~ on the machine (Such as use dropbox and perform a "wget" on the dropbox link for this, very handy!) | ||
# "sudo dpkg -i (deb here)" | # "sudo dpkg -i (deb here)" | ||
− | # | + | # Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations) |
+ | # Manually make any updates to the server configuration (rifidiserver.ini in windows/ rifidi-server in Ubuntu/Linux) you may have customized for your setup [[Edge_Server_Configuration]] | ||
+ | # Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications | ||
+ | # Copy any customized .llrp configuration files from old server version ./config to new server version ./config | ||
+ | # Copy default.ini files from old server ./config to new server ./config (this contains list of custom Rifidi Apps to start by default when server starts) | ||
+ | # "sudo /etc/init.d/rifidiserver start" | ||
+ | # Telnet in and verify that everything looks good. Upgrade complete. | ||
+ | |||
+ | =RedHat (RHEL)= | ||
+ | |||
+ | # SSH into the box and copy the contents of the application directory, the rifidi.xml, and any other files (llrp files, etc) to ~ | ||
+ | # Make sure the edge server is shut down...telnet in and type "close" in the console | ||
+ | # Copy the new zip into ~ on the machine (Such as use dropbox and perform a "wget" on the dropbox link for this, very handy!). | ||
+ | # Manually remove and unzip the new version instead of using apt-get commands. | ||
+ | # Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations) | ||
+ | # Manually make any updates to the server configuration (rifidiserver.ini in windows/ rifidi-server in Ubuntu/Linux) you may have customized for your setup [[Edge_Server_Configuration]] | ||
+ | # Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications | ||
+ | # Copy any customized .llrp configuration files from old server version ./config to new server version ./config | ||
+ | # Copy default.ini files from old server ./config to new server ./config (this contains list of custom Rifidi Apps to start by default when server starts) | ||
# "sudo /etc/init.d/rifidiserver start" | # "sudo /etc/init.d/rifidiserver start" | ||
# Telnet in and verify that everything looks good. Upgrade complete. | # Telnet in and verify that everything looks good. Upgrade complete. |
Latest revision as of 12:29, 24 December 2020
These steps explain how to upgrade a Rifidi Edge server
Edge Server Upgrade (Windows)
Note: Applicable to version 1.3 or greater
- Download and install in a new directory (windows only) - see below for Ubuntu/Linux install steps
- Ensure all rifidi edge servers instances are stopped (old and new versions)
- Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations)
- Manually make any updates to the server configuration (rifidiserver.ini in windows/ rifidi-server in Ubuntu/Linux) you may have customized for your setup Edge_Server_Configuration
- Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications
- Copy any customized .llrp configuration files from old server version ./config to new server version ./config
- Copy default.ini files from old server ./config to new server ./config (this contains list of custom Rifidi Apps to start by default when server starts)
- Start the new Rifidi server
All you applications and reader/sensor adapters should start and operate as prior version
Note: Advised that you make a copy of your old version before deleting in case you run into any issues requiring recovery
Ubuntu Upgrade(Specfics) or Rifidi Box (which comes with Ubuntu OS)
Steps specific to Rifidi Box or Ubuntu Deb
- SSH into the box and copy the contents of the application directory, the rifidi.xml, and any other files (llrp files, etc) to ~
- Make sure the edge server is shut down...telnet in and type "close" in the console.
- . "sudo apt-get purge rifidi"
- . Copy the new deb into ~ on the machine (Such as use dropbox and perform a "wget" on the dropbox link for this, very handy!)
- "sudo dpkg -i (deb here)"
- Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations)
- Manually make any updates to the server configuration (rifidiserver.ini in windows/ rifidi-server in Ubuntu/Linux) you may have customized for your setup Edge_Server_Configuration
- Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications
- Copy any customized .llrp configuration files from old server version ./config to new server version ./config
- Copy default.ini files from old server ./config to new server ./config (this contains list of custom Rifidi Apps to start by default when server starts)
- "sudo /etc/init.d/rifidiserver start"
- Telnet in and verify that everything looks good. Upgrade complete.
RedHat (RHEL)
- SSH into the box and copy the contents of the application directory, the rifidi.xml, and any other files (llrp files, etc) to ~
- Make sure the edge server is shut down...telnet in and type "close" in the console
- Copy the new zip into ~ on the machine (Such as use dropbox and perform a "wget" on the dropbox link for this, very handy!).
- Manually remove and unzip the new version instead of using apt-get commands.
- Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations)
- Manually make any updates to the server configuration (rifidiserver.ini in windows/ rifidi-server in Ubuntu/Linux) you may have customized for your setup Edge_Server_Configuration
- Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications
- Copy any customized .llrp configuration files from old server version ./config to new server version ./config
- Copy default.ini files from old server ./config to new server ./config (this contains list of custom Rifidi Apps to start by default when server starts)
- "sudo /etc/init.d/rifidiserver start"
- Telnet in and verify that everything looks good. Upgrade complete.