Difference between revisions of "How to Upgrade Rifidi"
From RifidiWiki
Line 20: | Line 20: | ||
=Rifidi Box or Ubuntu Upgrade= | =Rifidi Box or Ubuntu Upgrade= | ||
Steps specific to Rifidi Box or Ubuntu Deb | Steps specific to Rifidi Box or Ubuntu Deb | ||
+ | *Note: Steps 1-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 ~ | ||
− | |||
# 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" |
Revision as of 14:50, 10 November 2014
These steps explain how to upgrade a Rifidi Edge server
Edge Server Upgrade
Note: Applicable to version 1.3 or greater
- Download and install in a new directory
- 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 configuarion (rifidiserver .ini file) 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 adpaters 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
Rifidi Box or Ubuntu Upgrade
Steps specific to Rifidi Box or Ubuntu Deb
- Note: Steps 1-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 ~
- 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 all your files and folders back to their respective places.
- "sudo /etc/init.d/rifidiserver start"
- Telnet in and verify that everything looks good. Upgrade complete.