A P P E N D I X  A

 


RFID Software Scripts

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, install-dir. The default value of 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 Event Manager Scripts

Script

Description

Location

agent

Starts the Execution Agent.

Options: start, stop, status

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 Event Manager and for debugging.

install_dir/bin

rfidconfig

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

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.

install_dir/bin

station

Starts the Control Station.

Options: start, stop, status, version

install_dir/bin

stopall

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

install_dir/bin

tagviewer

Displays the EPC viewer

install_dir/bin

uninstall

Uninstalls RFID Event Manager

install_dir

viewer

Displays the distribution of the components.

install_dir/lib



TABLE A-2 Information Server Scripts

Script

Description

Location

uninstall

Uninstalls RFID Information Server

install_dir

 

 

 

oracle_create_table.sql

 

Drops and creates the Oracle RFID Information Server tables

install_dir/lib/sql

oracle_populate_sql

Populates sample data

install_dir/lib/sql

oracle_create_user.sql

Example script for setting up an Oracle user account and tablespace

install_dir/lib/sql

oracle_rfidis_setup

runs all Oracle scripts

install_dir/lib/sql

 

 

 

postgres_create_table.sql

Drops and creates the PostgreSQL RFID Information Server tables

install_dir/lib/sql

postgres_populate.sql

Sample data

install_dir/lib/sql

postgres_create_user.sql

Example script for setting up a PostgreSQL user account and tablespace

install_dir/lib/sql



TABLE A-3 Management Console Scripts

Script

Description

Location

uninstall

Uninstalls RFID Management Console

install_dir

deploymc

Deploys RFID Management Console during installation

install_dir/lib

undeploymc

Removes RFID Management Console during uninstallation

install_dir/lib

 

 

 

oracle_rfidmc_setup

Sets up the Oracle database

install_dir/lib/sql

oracle_create_mcschema.sql

 

Creates the Oracle schema

install_dir/lib/sql

oracle_create_mcuser.sql

Example script for setting up a Oracle user account and tablespace

install_dir/lib/sql

oracle_drop_mcschema.sql

Drops the Oracle schema

install_dir/lib/sql

oracle_populatemc.sql

 

Populates the sample Oracle data

install_dir/lib/sql

 

 

 

postgres_rfidmc_setup

Sets up the PostgresSql database

install_dir/lib/sql

postgres_create_mcshema.sql

Creates the PostgreSQL schema

install_dir/lib/sql