Installing Asset Gateway
for Red Lion
This page describes how to download and install the deviceWISE Asset Gateway for Red Lion product on a Red Lion gateway.
Prerequisites
The following is assumed:
- You have the Red Lion Series 6000 or Series 9000 gateway
- You have an Ethernet cable
- You have a computer, such as a laptop, that can be used to log on to the Management Portal and can have its IP address changed to allow a direct Ethernet cable connection to the Red Lion gateway at its default assigned IP address
- You have a Management Portal user ID and password
and know how to log on. You need this to download the
Asset Gateway installation files from the Management
Portal.
If you need a Management Portal account, see Creating the deviceWISE Cloud account.
If you received the installation files from your support representative, you can skip the download steps and proceed with Using the Red Lion Web Interface program.
Obtaining the Asset Gateway for Red Lion install file
Follow these steps to download the Asset Gateway for Red Lion install file:
- Log on to the Management Portal, and select
Developer.
The Developer menu appears. - From the Developer menu, select
Resources.
- From under Index of files, select
the appropriate build (if you are not sure, pick the
latest available build).
- Select RedLion.
- Select RAM9000.
- Select Asset_Gateway.
- Select DWGateway_Install.Linux-ARM-RedLion.XXX.zip (where XXX is the version of the Asset Gateway software you want to download) and download the file to a temporary location on the computer.
Inserting a cellular SIM card
If the Red Lion gateway will be configured for cellular
connection, follow the instructions provided with the
hardware to install your SIM card.
The SIM card metal connectors are positioned down, with the
notch to the upper left as it is inserted into the Red Lion
gateway.
Using the Red Lion Series 6000 Web Interface program
- After the file has been downloaded, to allow a
direct Ethernet connection from the computer to the Red
Lion gateway, temporarily change the computer's:
- IP address for the Ethernet adapter to 192.168.0.2
- Network mask for the Ethernet adapter to
255.255.255.0.
- Connect the computer's Ethernet port to the Red
Lion LAN1port using the Ethernet cable.
- From your computer, you should be able to ping the
Red Lion gateway at IP address 192.168.0.1.
- Use a web browser to access the Red Lion at its
default IP address by entering
192.168.0.1:10000 into the address
field of your web browser.
- When prompted, enter the credentials for the web
interface:
User Name = admin
Password = the last 6 digits of the gateway's serial number. The serial number is located on the label on the bottom of the gateway. - The EZ Config Wizard button can be
used to step through the configuration of the Red Lion
gateway:
- Eth0 Settings
- Cellular Connection
- Additional Red Lion gateway configuration tasks are
performed using the Red Lion Web Interface, depending
on your network and administration requirements. These
tasks include using the Menu selections and options
such as:
- Admin -> Access Settings, and System Time
- Network -> Cellular Connection, Interfaces (Eth0), Firewall
- Services -> DHCP Server
Load the Asset Gateway software
- After configuring the Red Lion gateway using the
web interface, the next step is to load the deviceWISE
Asset Gateway for Red Lion install file using the Red
Lion web interface.
- Under the Admin section, select
Package Installation.
- Select Select File, then select
the DWGateway_Install.Linux-ARM-RedLion.XXX.zip
file you downloaded to your computer.
- Select Install to upload the file
to the Red Lion gateway.
After the installation completes, the deviceWISE Asset Gateway software has been installed in the /opt/dw directory.
Uninstalling the Asset Gateway software
NOTE: Before uninstalling the deviceWISE Asset Gateway software, you may want to do a node Back Up using the Workbench in order capture the current application definition and system configuration information.
- Log on to the gateway via SSH.
-
Stop the deviceWISE service using the following command:
/opt/dw/devicewise stop
-
Remove the deviceWISE application directory using the following command:
rm -rf /opt/dw
The deviceWISE application has been uninstalled.
Next steps
If you are following the steps in the Getting Started with Gateways guide, you can continue with the tasks described in Installing the Workbench to perform the initial Asset Gateway configuration and to connect the Asset Gateway to the deviceWISE Cloud.
If you are not following the steps in the Getting Started with Gateways guide and need to install the Workbench, you can continue with the tasks described in Installing the Workbench software.
If the Workbench is already installed, see The Workbench in the Gateway Developer's Guide and Reference for information on using the Workbench and the deviceWISE features that it can access.
Install any device driver or extension files that need to be applied to a node using the Packages tab. It is important to have the supported level of the device driver or extension files that match the base run time release level. If there are any questions or concerns, contact your support representative. See Packages for more information on adding device driver and extension files.