Difference between revisions of "How to Upgrade Rifidi"

From RifidiWiki

Jump to: navigation, search
(Ubuntu Upgrade(Specfics) or Rifidi Box (whichs comes with Ubuntu OS))
(RedHat (RHEL))
 
(6 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 configuarion (rifidiserver .ini file) you may have customized for your setup [[Edge_Server_Configuration]]
+
# 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 adpaters should start and operate as prior version
+
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 (whichs comes with Ubuntu OS)=
+
=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
* Note: Steps 3-7 above detail the files/config/dirs to copy/update
 
 
  
 
# 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 ~   
Line 28: Line 26:
 
#. 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 all your files and folders back to their respective places.   
+
# 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

  1. Download and install in a new directory (windows only) - see below for Ubuntu/Linux install steps
  2. Ensure all rifidi edge servers instances are stopped (old and new versions)
  3. Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations)
  4. 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
  5. Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications
  6. Copy any customized .llrp configuration files from old server version ./config to new server version ./config
  7. 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)
  8. 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

  1. SSH into the box and copy the contents of the application directory, the rifidi.xml, and any other files (llrp files, etc) to ~
  2. Make sure the edge server is shut down...telnet in and type "close" in the console.
  3. . "sudo apt-get purge rifidi"
  4. . Copy the new deb into ~ on the machine (Such as use dropbox and perform a "wget" on the dropbox link for this, very handy!)
  5. "sudo dpkg -i (deb here)"
  6. Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations)
  7. 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
  8. Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications
  9. Copy any customized .llrp configuration files from old server version ./config to new server version ./config
  10. 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)
  11. "sudo /etc/init.d/rifidiserver start"
  12. Telnet in and verify that everything looks good. Upgrade complete.

RedHat (RHEL)

  1. SSH into the box and copy the contents of the application directory, the rifidi.xml, and any other files (llrp files, etc) to ~
  2. Make sure the edge server is shut down...telnet in and type "close" in the console
  3. Copy the new zip into ~ on the machine (Such as use dropbox and perform a "wget" on the dropbox link for this, very handy!).
  4. Manually remove and unzip the new version instead of using apt-get commands.
  5. Copy the Rifidi.xml from the old version to the new server home directory (this contains the reader/sensor adapter configurations)
  6. 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
  7. Copy any customized Rifidi Applications from old server version ./applications to new server version ./applications
  8. Copy any customized .llrp configuration files from old server version ./config to new server version ./config
  9. 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)
  10. "sudo /etc/init.d/rifidiserver start"
  11. Telnet in and verify that everything looks good. Upgrade complete.
Personal tools