A P P E N D I X  A

 


RFID Software Scripts (UNIX)

This appendix describes the scripts installed by the RFID Software installer. These script files are designed to run or stop various software components. These scripts are described in the following tables.



Note - The installation directory is represented by the variable, rfid-install-dir. The default value of rfid-install-dir for the RFID Event Manager on a Solaris OS system is /opt/SUNWrfid. The default value for the RFID Event Manager on a Linux OS system is /opt/sun/rfidem.



Refer to Appendix C for the default installation directories for the RFID components on both Solaris OS and Linux OS platforms.


TABLE A-1 RFID Event Manager Scripts for UNIX Platforms

Script

Description

Location

agent

Starts the Execution Agent.

Options: start, stop, status

rfid-install-dir/bin

pmlreader

Starts the pmlreader, a software program that simulates RFID tag read events. Use this tool to verify proper installation of the RFID Event Manager and for debugging.

rfid-install-dir/bin

rfidconfig

Starts the Configuration Manager interface. See Sun Java System RFID Software 3.0 Administration Guide for details.

rfid-install-dir/bin

startall

Starts both the Control Station and the Execution Agent. Use when both components are installed on the same machine. This script initializes both control station and execution agent but does not start the EPC viewer display. Use the script tagviewer to see the EPC viewer display.

rfid-install-dir/bin

station

Starts the Control Station.

Options: start, stop, status, version

rfid-install-dir/bin

stopall

Stops both the Control Station and the Execution Agent. Use when both components are installed on the same machine.

rfid-install-dir/bin

tagviewer

Displays the EPC viewer. Get the command line syntax for using the tagviewer utility as follows:

  • ./tagviewer help or
  • ./tagviewer -help

The syntax for the tagviewer utility using the optional options is: Usage: [-i eventId]|[-l logical][-p physical]

  • eventId = The EventId from the Remote Event Producer to which you want to connect
  • logical = The logical reader name

physical = The physical reader name. The default physical reader is the PMLReader, if no other options are set.

rfid-install-dir/bin

uninstall

Uninstalls RFID Event Manager

rfid-install-dir

viewer

Displays the distribution of the components.

rfid-install-dir/lib



TABLE A-2 Information Server Scripts for UNIX Platforms

Script

Description

Location

uninstall

Uninstalls RFID Information Server

rfid-install-dir

 

 

 

oracle_create_table.sql

 

Drops and creates the Oracle RFID Information Server tables

rfid-install-dir/lib/sql

oracle_populate_sql

Populates sample data

rfid-install-dir/lib/sql

oracle_create_user.sql

Example script for setting up an Oracle user account and tablespace

rfid-install-dir/lib/sql

oracle_rfidis_setup

runs all Oracle scripts

rfid-install-dir/lib/sql

 

 

 

postgres_create_table.sql

Drops and creates the PostgreSQL RFID Information Server tables

rfid-install-dir/lib/sql

postgres_populate.sql

Sample data

rfid-install-dir/lib/sql

postgres_create_user.sql

Example script for setting up a PostgreSQL user account and tablespace

rfid-install-dir/lib/sql



TABLE A-3 Management Console Scripts for UNIX Platforms

Script

Description

Location

uninstall

Uninstalls RFID Management Console

rfid-install-dir

deploymc

Deploys RFID Management Console during installation

rfid-install-dir/lib

undeploymc

Removes RFID Management Console during uninstallation

rfid-install-dir/lib

 

 

 

oracle_rfidmc_setup

Sets up the Oracle database

rfid-install-dir/lib/sql

oracle_create_mcschema.sql

 

Creates the Oracle schema

rfid-install-dir/lib/sql

oracle_create_mcuser.sql

Example script for setting up a Oracle user account and tablespace

rfid-install-dir/lib/sql

oracle_drop_mcschema.sql

Drops the Oracle schema

rfid-install-dir/lib/sql

oracle_populatemc.sql

 

Populates the sample Oracle data

rfid-install-dir/lib/sql

 

 

 

postgres_rfidmc_setup

Sets up the PostgresSql database

rfid-install-dir/lib/sql

postgres_create_mcshema.sql

Creates the PostgreSQL schema

rfid-install-dir/lib/sql