C H A P T E R 6 |
Installing the RFID Software (Microsoft Windows) |
This chapter describes how to install the Sun Java System RFID Software 3.0 (RFID Software) modules on a Microsoft Windows system. The installation tasks are the same as for UNIX systems, except that the command format and the directories are different. The following sections are included in this chapter:
Use the installation wizard to install the RFID Event Manager. Review Selecting the Installation Type before deciding whether to use a typical or a custom installation.
|
Note - You do not need to have an application server installed to perform a typical installation of the RFID Event Manger. |
1. If you have not already done so, get the software.
See Getting the RFID Software and the RFID Documentation.
2. Start the installation by following these steps:
a. Change to the directory containing the unzipped download file.
b. Change to the rfidem directory.
c. Double-click setup.bat to start the RFID Event Manager installer.
3. From the Welcome panel, click Next and follow the instructions on the panels to perform the installation.
4. On the Select Type of Installation panel, confirm that the Typical installation option is selected and click Next.
5. On the Select Java Home Location panel, confirm that the top level of the path to your J2SE installation is selected.
For example, if J2SE version, 1.4.2_10 is installed in the default location, the J2SE SDK Path field should contain C:\j2sdk1.4.2_10.
6. On the Station Location and Group Configuration panel, type the name or IP address of the host system and the unique Jini group name.
The group name must be unique for every control station you set up. The group name gives the control station its identity over the network. The installer defaults the group name to AutoID-hostname.
Note - If you are performing this installation in a DHCP environment (such as a laptop), type localhost for the IP address. |
7. When installation is complete, click Close.
8. (Optional) Validate the RFID Event Manager installation by starting the pmlreader and tagviewer utilities. See To Start RFID Event Manager.
|
Note - If you choose to install the ALE web service or the plug-in for SAP AII , you must have your application server running before you start the RFID Event Manager installer. |
1. If you have not already done so, get the software. See Getting the RFID Software and the RFID Documentation.
2. Verify that your application server is running.
You can use either Sun Java System Application Server Enterprise Edition 8.1 2005Q1 (Application Server Enterprise Edition) or Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 (Application Server Platform Edition) as your application server.
3. Begin the installation for performing a Typical Installation.
See To Install the RFID Event Manager Using the Typical Installation Option (Microsoft Windows).
4. On the Select Type of Installation panel, select Custom Installation, and select the components to install.
When you select the ALE web service or the plug-in for SAP AII, the Application Server Selection Panel appears during the installation.
5. On the Application Server Configuration panel, type the parameters appropriate to your application server.
For Sun Java System Application Server 8.1, the default values are as follows:
6. When installation is complete, click Close.
7. (Optional) Verify that the web services were deployed to the application server.
See To Verify the Deployment of RFID Event Manager Services.
8. (Plug-in for SAP AII only) To complete the setup of the plug-in for SAP AII, you must configure the RFID Event Manager and the SAP AII system in order to establish the proper communication between these systems.
Follow the procedures in Chapter 4 of the Sun Java System RFID Software 3.0 Administration Guide.
9. (Optional) Validate the RFID Event Manager installation by starting the pmlreader and tagviewer utilities.
See To Start RFID Event Manager.
|
You can use the Start Menu to start most of the components of the RFID Event Manager
1. Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Start Station.
The RFID Control Station starts.
2. Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Start Agent.
The RFID Execution Agent starts.
3. (Optional) Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Start PML Reader.
The RFID PML Reader utility starts.
4. (Optional) Starting the RFID Tag Viewer requires a command line option.
For this example, change to the rfid-install-dir\bin and start the RFID Tag Viewer. Specify the start options for viewing the tags that are generated by the PML Reader utility.
The RFID Tag Viewer utility starts.
5. (Optional) Use the appropriate Start Menu entry for any other RFID utility that you need to start, such as the RFID Configuration Manager.
|
1. Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Stop Agent.
The RFID Execution Agent stops.
2. Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Stop Station.
The RFID Control Station stops.
3. (Optional) To stop the PML Reader, use Ctrl+C .
4. (Optional) To stop the Tag Viewer, close the window.
In a standard installation, the RFID Management Console is installed on the same machine as the RFID Event Manager. However it is not a requirement to install them on the same machine. The RFID Management Console can be installed on any machine as long as a supported application server is installed on that machine.
Installing the RFID Management Console has the following prerequisites:
You can select the installer option to update the policy file during installation or you can perform this step manually after installing the RFID Management Console. See To Update the Application Server Policy File for RFID Management Console (Microsoft Windows) to perform this step manually.
Note - You cannot use BEA WebLogic Server as your application server for installing the RFID Management Console. |
|
1. Get the software. See Getting the RFID Software and the RFID Documentation.
2. Change to the directory rfid-download-dir\rfidmc.
4. Click Next, and follow the instructions on the installer wizard panels.
Note - When the installer prompts you to specify the path to your installation of J2SE, specify the same path that is being used by your application server. |
5. When installation is complete, you might need to perform the following postinstallation steps.
Using the appropriate procedures for your application server and database.
a. Complete the configuration of your application server.
See To Update the Application Server Policy File for RFID Management Console (Microsoft Windows).
b. If you did not select the option to deploy the database tables during installation, perform the database setup procedure for your installed database.
6. When installation and setup are complete, start the RFID Management Console.
Use the procedure To Start the RFID Management Console (Microsoft Windows).
|
You only need to update the application server policy file once. If you have already updated the policy file during the installation of either the RFID Event Manager or the RFID Information Server, you do not need to do it again.
1. (Required if not done by installer) Update the server.policy file, by following these steps:
a. In a terminal window, change to the directory containing the RFID policy file.
Default location: %system-drive%:Program Files\Sun\RFID Software\rfidmc\policy\server.policy
b. Find the file named server.policy.
This file needs to replace the file of the same name that is located in the application server's configuration directory.
c. Copy server.policy to your application server's configuration directory.
The path to this directory depends on your application server installation.
2. (Optional) If you are performing this procedure after installing the RFID Management Console, restart your application server.
Prerequisite - To use the RFID Management Console, you must set up your database with the necessary tables. The RFID Software provides the necessary database scripts. to set up the tables and populate the tables with sample data.
Installation option - You can perform the database setup as an option during the RFID Management Console installation if your database resides on the same system on which you are installing the RFID Management Console. If you did not select this option as part of your installation or your database resides on a remote system, use these procedures to manually set up the database tables.
|
1. Copy the necessary files to a directory on the machine where the Oracle database server is running.
The scripts for the Oracle database tables are located in the directory - C:\Program Files\Sun\RFID Software\rfidmc\lib\sql. Copy the following files:
2. Change to the directory where you copied the scripts.
3. Verify that oracle_create_mcuser.sql points to the correct datafile.
4. Set the following environment variables:
5. In a command prompt window, run the script.
You must run the setup script as the database user with administrator privileges. To execute the setup script to perform all the setup tasks, use the option all as follows:
6. (Optional) You can also run the setup script with the following options:
|
1. Copy the necessary files to a directory on the machine where the database server is running.
The scripts for the PostgreSQL database tables are located in the directory - C:\Program Files\Sun\RFID Software\rfidmc\lib\sql. Copy the following files:
2. Change to the directory where you copied the scripts.
3. Set the following environment variables:
4. In a command window, run the setup script.
You must run the setup script as the database admin user. To execute the setup script to perform all the setup tasks, use the option all as follows:
5. (Optional) You can also run the setup script with the following options:
|
1. (Optional) Start the RFID Event Manager.
The RFID Management Console needs to connect to the Jini lookup server (part of the RFID Event Manager) in order to access information about the RFID readers. If the RFID Event Manager is not running, you will not be able to access many of the RFID Management Console screens. Use these steps.
a. Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Start Station.
The RFID Control Station starts.
b. Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Start Agent.
The RFID Execution Agent starts.
2. (Optional) If you want to see a running reader, you also need to start the pmlreader utility.
3. Choose Start Programs
Sun Microsystems
Sun Java System RFID Software
Start PML Reader.
The RFID pmlreader utility starts.
4. Open a web browser and enter the RFID Management Console URL.
The URL is of the following format: http://hostname:port-number/sdui.
The RFID Management Console login screen appears.
5. Log in to the RFID Management Console by typing the default admin user name and password.
The default user name is admin. The default admin password is admin.
6. (Optional) See the Sun Java System RFID Software 3.0 Administration Guide for details on using the RFID Management Console and setting up additional users.
Complete the following procedures to install the RFID Information Server:
1. Review the Requirements for Installing the RFID Information Server (Microsoft Windows).
2. To Verify Communication Between the Database and the Sun Java System Application Server 8.1.
3. To Install RFID Information Server (Microsoft Windows).
Installing the RFID Information Server has the following prerequisites:
You can select the installer option to have the installer update the policy file during installation or you can perform this step manually after installing the RFID Information Server. See To Update the Application Server Policy File for the RFID Information Server (Microsoft Windows) to perform this step manually.
Copy the appropriate JDBC JAR file for your database to the application server directory: C:\Sun\AppServer\domains\domain1\lib\ext.
You can do this step either before or after you install the RFID Information Server. If you do it after installing the RFID Information Server, you will need to restart the application server before you can start the RFID Information Server.
|
Confirm communication between your Application Server and database using the procedure, To Verify Database Communication Between the RFID Information Server and Sun Java System Application Server 8.1.
|
1. If you have not already done so, get the software.
See Getting the RFID Software and the RFID DocumentationChange to the directory containing the unzipped download file.
2. Start the RFID Information Server installation.
a. Change to the appropriate directory.
b. Start the installer by double-clicking the setup.bat file.
3. From the Welcome panel, click Next and follow the instructions on the installer wizard panels.
4. On the Deploy Database Schema panel, indicate if you want the installer wizard to deploy the RFID database schema for you.
5. On the Database Selection panel, select your database and enter the configuration information when prompted.
The parameters are described in TABLE 6-1. The following screen captures show the Database Configuration panel.
6. When installation is complete, click Close.
You might need to perform additional steps before your RFID Information Server is ready to use.
Note - If you did not deploy the database tables during installation, you need to deploy the tables manually. See Setting Up the Database for the RFID Information Server (Microsoft Windows) |
7. Define the valid users for your RFID Information Server.
See Defining Valid Users for RFID Information Server.
8. (Optional) Validate your RFID Information Server installation by viewing the EPCIS Index page in your browser window.
See Verifying the RFID Information Server Installation.
|
You only need to update the application server policy file once. If you have already updated the policy file during the installation of either the RFID Event Manager or the RFID Management Console, you do not need to do it again.
1. In a terminal window, change to the directory containing the RFID policy file and find the file named server.policy.
This file needs to replace the file of the same name that is located in the application server's configuration directory.
The RFID Information Server policy file can be found at C:\Program Files\Sun\RFID Software\rfidis\policy
2. Copy the server.policy file to your application server's configuration directory.
The path to this directory depends on your application server installation and the location varies depending on the specific platform and version of the application server that you are using. Refer to the following table for the default location of the application server configuration directory.
3. If you are performing this procedure after installing the RFID Information Server, restart your application server.
To use the RFID Management Console, you must set up your selected database with the necessary tables. Scripts to do this are provided with the RFID software. If you did not deploy the database tables during installation, you need to deploy the tables manually using the following procedures.
|
1. Copy the necessary files to a directory on the machine where the Oracle database server is running.
The scripts for the Oracle database tables are located in the following directory - C:\Program Files\Sun\RFID Software\rfidis\lib\sql.Copy the following files:
2. Change to the directory where you copied the scripts.
3. Verify that oracle_create_user.sql points to the correct datafile.
4. Set the following environment variables:
5. In a command prompt window, run the script.
You must run the setup script as the database admin user. To execute the setup script to perform all the setup tasks, use the option all as follows:
6. (Optional) You can also run the setup script with the following options:
|
1. Copy the necessary files to a directory on the machine where the PostgreSQL database server is running.
The scripts for the PostgreSQL database tables are located in the directory - C:\Program Files\Sun\RFID Software\rfidis\lib\sql. Copy the following files:
2. Change to the directory where you copied the scripts.
3. Verify that postgres_create_user.sql points to the correct datafile.
4. Set the following environment variables:
5. In a command window, run the script.
You must run the setup script as the database admin user. To execute the setup script to perform all the setup tasks, use the option all as follows:
6. (Optional) You can also run the setup script with the following options:
Copyright © 2006, Sun Microsystems, Inc. All Rights Reserved.