Read more about Data Workbench’s End-of-life announcement.
Instructions for installing and configuring Sensor on the family of web servers that evolved from the original Netscape Enterprise Web Server running on Linux or Solaris machines. Includes Netscape Enterprise, iPlanet, Sun ONE, and Sun Java System Servers on Linux or Solaris.
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:
Sensor supports these servers running under RedHat Linux 7.x or later or Sun Solaris 8.x or later:
Sensor supports these servers running under Sun Solaris x86 9 or later:
The installation file for this family of web servers is listed as the “Netscape Solaris Sensor” or “Netscape LINUX Sensor” on the Adobe download site.
To install and configure Sensor, you must perform the following steps:
Procedure to extract and install the program files for Sensor.
Log on as the root user or as a user with root authority.
Decompress and unpack the installation file using the following command:
gunzip installationFilename.tar.gz tar -xf installationFilename.tar
Copy the unpacked program files to the directories identified in the following table:
|aol_visual_sciences.so||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.
Permissions on the Program Files
Incorrect permissions on the program files cause the majority of problems encountered when installing Sensor. Please make sure that you set the permissions exactly as stated in this section.
By default, the program files in the tar file have the following permissions. Depending on how your system is configured, these settings might be altered (unmasked) when you extract the files. To reset the permissions to the recommended default settings, use the chmod commands below. Check that the directories into which you have installed the files permit at least this level of access.
|File||Default Permissions||chmod command|
|mod_visual_sciences.so||rwx r-x r-x||chmod 775|
|txlogd||rwx --x --x||chmod 711|
|txlogd.conf||rw- r-- r–||chmod 664|
|trust_ca_cert.pem||rw- r-- r–||chmod 664|
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.
If the directory in which the disk queue resides does not already exist, create it. Make sure that the directory provides both the collector module and the transmitter program with read/write access to the file.
For more information about the permissions required by the disk queue files, see Sensor UNIX File Permissions.
On the computer where Sensor is installed, execute the following command to start the transmitter:
/usr/local/bin/txlogd -ic -f /etc/txlogd.conf
For additional information about the options you can use when starting the transmitter, see Sensor Transmitter Command-Line Options.
Verify that the transmitter has created the disk queue in the location specified in the QueueFile parameter and of the size specified in the QueueSize parameter.
f the queue has not been created correctly, type Ctrl+C to terminate the transmitter, then do the following:
For AOLServer, the collector is a dynamic shared object that you load into your web server process.
To add the collector to your AOL server, you must edit the configuration file for your server as described below and restart your AOL server. Usually the server’s configuration file is named nsd.tcl and is located in the directory where AOL Server is installed.
Open the configuration file in a text editor and locate the following section:
Add the following line. (Add as a single statement. Ignore word wrap shown below.)
ns_param aol_visual_sciences /usr/local/aolserver/visual_sciences/aol_visual_sciences.so
Create a new section as follows.
To this new section, add the line:
ns_param VisualSciencesConfig /etc/txlogd.conf
These lines are case sensitive. Type them exactly as they appear above.
Restart the AOL server. The collector is loaded and will begin collecting event data and writing it to the disk queue.
Verify that the collector is collecting event data and the transmitter is transmitting it to the target Insight Server.
To verify that the transmitter can successfully send event data to the Insight Server, make sure that the target Insight Server is installed and running before you begin the following test.
If the transmitter is not already running, restart it using the following command:
/usr/local/bin/txlogd -i -f /etc/txlogd.conf
Open a browser (on any machine) and request a page from the web server on which Sensor is running (be sure to select a page that Sensor is monitoring).
After you issue the request, check the transmitter’s console for messages indicating that it is sending event data to the target Insight Server.
f Sensor is not transmitting data successfully, verify that:
Information about automatically loading the transmitter to your system startup script.
To ensure that the transmitter loads automatically when the web server machine is restarted, add the following command (which launches the transmitter) to your system startup script:
/usr/local/bin/txlogd -f /etc/txlogd.conf
This command starts the transmitter as a daemon. Operating and error messages that the transmitter generates are written to syslog.
The default Solaris setting is 60. Based on tests conducted with Sensor, which uses three semaphores for each instance, Adobe recommends that you use 1024 as your setting. This number is high enough for Sensor to function along with any other applications on the server that may require semaphores, but does not affect performance. To support this recommendation, please note that Adrian Cockcroft stated the following in his book Sun Performance and Tuning (Prentice Hall, October 1994): “Databases tend to use lots of shared memory and semaphore settings. These do not affect performance; as long as they are big enough, the programs will run.”