Instructions for installing and configuring Sensor for Sun Java System Application Server Standard Edition 7 running under Windows Server 2000 or later.
The program files for Sensor are packaged in an installation file that you obtain from the Adobe download site. If you do not already have the Sensor installation file for your particular web server, download it (or obtain it from your Adobe representative) before you begin the following procedures.
Sensor supports the following servers running under RedHat Linux 7.x or later or Sun Solaris SPARC 2.6 or later:
To install and configure Sensor, you must perform the following steps:
Procedure to extract and install the program files for Sensor to the server.
On your Netscape Enterprise, iPlanet, Sun ONE, or Sun Java System Server, create a directory in which to install the Sensor program files. Keep in mind that your disk queue resides in this directory, so be sure the device you choose has sufficient space to hold a queue of the size you need.
Extract the contents of the installation file into the directory you just created. During this step, Sensor installs the following files:
|saf_visual_sciences.dll||The collector load module.||/usr/local/aolserver/ visual_sciences|
|The transmitter program.||
|txlogd.conf||The Sensor configuration file.||/etc|
|trust_ca_cert.pem||The certificate used to validate the digital certificate that Insight Server presents during the connection process||/usr/local/visual_sciences|
The installation package contains a spreadsheet file called TestExperiment.xls. This spreadsheet is a tool that architects use to configure a controlled experiment. Sensor itself does not use this file, so it is not necessary to install the file on the machine where Sensor is running (although you can choose to do so). You might want to, instead, copy the file to a location where your architects can access it or simply extract the file from the installation package as needed. For more information about controlled experimentation, see the Insight Controlled Experiments Guide.
The txlogd.conf file contains the configuration parameters for Sensor.
You must edit this file to specify, among other things, the size and location of the disk queue file, the address of the Insight Server, and the ID that will be attached to the event data produced by this sensor.
The configuration file contains required parameters and optional parameters.
To edit the Sensor configuration file
To edit the Sensor configuration file
After you configure the txlogd.conf file, you can start the transmitter program, register it as a Windows service, and create the disk queue.
From the Start menu in Windows, select Accessories > Command Prompt.
In the command prompt window, navigate to the directory in which you installed Sensor and execute the following command:
This command starts the transmitter, creates the disk queue, and registers Sensor as a Windows service.
To confirm that the transmitter is running correctly, click Start > Control Panel > Administrative Tools > Services. In the service list, locate the entry for Sensor and confirm that its status is Started and its startup type is Automatic. Then close the Services control panel.
To check whether transmitter experienced any errors during start-up, click Start > Control Panel > Administrative Tools > Event Viewer to open the Event Viewer.
When you finish examining the Applications log, close the Event Viewer.
Verify that the transmitter has created the disk queue (Diskq2000.log) in the directory where you installed the Sensor program files and that it is the size that you specified in the QueueSize parameter in the txlogd.conf file.
If the queue has not been created correctly:
Examine the txtlogd.conf file and verify that the QueueSize parameter is set correctly.
Check that the device on which you installed Sensor has sufficient space available to hold a file of the size specified in the QueueSize parameter.
Using the Services control panel in Windows, stop the transmitter.
Delete the queue file.
Re-register Sensor as a Windows service: from the Start menu in Windows, select Accessories > Command Prompt. In the command prompt window, navigate to the directory in which you installed Sensor and execute the following command:
The transmitter is designed to run continuously. If you restart the machine, the transmitter restarts automatically. If you need to start and stop the transmitter manually, you can do so using the Services control panel in Windows.
In the init.conf file (for example, C:\Sun\AppServer7\domains\domain1\server1\config\ init.conf), add the following lines at the end of the file:
Init fn="load-modules" shlib="C:/VisualSciences/saf_visual_sciences.dll" funcs="vys-cookie,vys-log,vys-init,vys-content-type" Init fn="vys-init" config-file="C:/VisualSciences/txlogd.conf"
In the obj.conf file (for example, C:\Sun\AppServer7\domains\domain1\server1\config\ server1-obj.conf), add the following lines directly below the existing
<Object name="default"> line:
NameTrans fn="vys-cookie" ObjectType fn="vys-content-type" AddLog fn="vys-log"