This guide explains the configuration steps for configuring Intershop 7 to transfer system data to the Intershop Commerce Insight (ICI). It also provides solutions for possible problems that may arise during the configuration.
Since the ICI is a remote application, the system data on which the ICI reports are based must be collected in Intershop 7 and is then transferred to the ICI. The framework used to realize this process makes use of three basic techniques:
The configuration of Intershop 7 for the ICI involves two main aspects:
The key pair is used to ensure secure data transfer from the local installation to the remote ICI Web server.
To generate the private/public key pair when using Windows perform the following steps:
%IS_HOME%represents the Intershop 7 root directory.
environment.batto set the system environment.
Change to the directory
%IS_HOME%\tools\misc and execute the following command:
ant ssh_keygen -Dusername="<User>" -Dpassphrase="<MyPassphrase>"
<User>with a name of your choice, preferably the installation's name or the company name, and
<MyPassphrase>with a passphrase of your choice. Keep this passphrase secret.
To generate the private/public key pair when using Unix perform the following steps:
su - isas1
$IS_HOMErepresents the Intershop 7 root directory.
Execute the following command:
../ant/bin/ant ssh_keygen -Dusername="<User>" -Dpassphrase="<MyPassphrase>"
<User> with a name of your choice, preferably the installation's name or the company name, and
<MyPassphrase> with a passphrase of your choice. Keep this passphrase secret.
Restart the appservers once the Ant task has finished, otherwise the generated properties cannot be read from ssh.properties file.
The keys generated with
ant ssh_keygen will only work for the Java SSH library, so you will not be able to test them manually with a simple SSH client.
Do not use passphrases containing special characters. Use only numbers and standard characters. Otherwise the data transfer from the appservers will not work correctly.
You can find the key file report-ssh-key.pub in $IS_SHARE/system/config/cluster/.
Intershop Customer Support will create your ICI user account based on the public key.
Edit the file appserver.properties in $IS_SHARE/system/config/cluster/.
The following settings are optional but can become necessary for large WA-<your_server>-<date>.log files:
# # WebAdapter log file pushing # # WA log file pushing is not allowed in the time # from HOUR (0-23) (to prevent excessive log file data transfer during high-traffic # times over the Internet and on the hard disk) intershop.WaLogPush.notAllowedFrom=9 # to HOUR (0-23) intershop.WaLogPush.notAllowedTo=19 # # maximum WA log file transfer rate in MB/h intershop.WaLogPush.maxTransferRate=10000
Detailed information on this topic can be found in the reporting readme file report-config.txt located in $IS_SHARE/system/config/cluster/.
Go to the SMC and activate and adjust the reporting schedules after Intershop Customer Support has notified you that your ICI account has been created. Set the schedules as follows:
Report_AppServerLogs: start time around 1:00 am, interval every 1 day.
Report_WALogs: start time around 1:30 am, interval every 1 day.
Report_TransferData: start time around 3:00 am, interval every 1 day.
To ensure all three jobs work as expected, trigger the scheduled pipelines one by one manually and check their output.
Sometimes data transfer doesn't work or stops working. Possible reasons are a firewall blocking the data transfer, the SSH keys are not correct or the corresponding jobs got disabled.
In case the data transfer does not work, please check the following points in the given order:
Run the Job Report_AppServerLogs.
Does the job write files to $IS_SHARE/reportingrepository/AppServerLogs/data? If no files are written, consult the error*.log file, and the job's log file in $IS_SHARE/system/log for possible error messages.
Run the Job Report_WALogs.
Does the job write files to $IS_SHARE/reportingrepository/WALogs/data? If no files are written, check if there exist recent WA-*.log files in $IS_SHARE/system/log.
If there exists a WA-*.log, consult the error*.log file, and the job's log file in $IS_SHARE/system/log for possible error messages.
Run the Job Report_TransferData.
Were the files transferred to the ICI? If not, check the error*.log file, and the job's log file in $IS_SHARE/system/log for possible error messages. The most frequent error type is connection problems resulting from a closed firewall. Contact your system administrator to have the firewall opened at port 22 for outgoing SSH connections to IP 126.96.36.199, upload.insight.intershop.com.
There exist two types of reporting jobs: aggregator jobs and the transfer job.
Aggregators, defined in report-config.xml in $IS_SHARE/system/config/cluster/, are used to dynamically generate jobs in the SMC, named starting with Report_*. These aggregator jobs are responsible for collecting system data, e.g., log files or database content, that are then automatically copied to $IS_SHARE/reportingrepository/<aggregator name>/data/ where the data is packed into a *.zip file.
The transfer job Report_TransferData, which writes logging information to $IS_SHARE/system/log/job-*.log files, is responsible for transferring the collected and compressed data files. All new or changed files stored in $IS_SHARE/reportingrepository/ are transferred to the Intershop Commerce Insight. If the files do not exist locally anymore, the job will remove them from the ICI as well.
For a list of monitoring options refer to Reference - System Monitoring.
As soon as the daily allowance of data transfer volume is reached - 1GB (zipped) for ICI Basic contracts - the transfer is automatically being cut.
The customer has to take care of the configuration of the daily volume of transfer data.
This limit will not affect the usefulness of the ICI as monitoring tool. If the transfer was cut, the scale values display a percentage of the total data. Tendencies will be valid, but not absolute in values.
Intershop Customer Support offers an extended ICI contract which includes a higher limit of daily data transfer volume. If you are interested in this offer, contact our Support Admin.
The data in their raw form, i.e., which are not aggregated, are only kept for a limited time (=archive time) within the ICI.
The default value is 35 days. It can be less for large installations or during complex maintenance tasks (or more in mutual agreements).
The Intershop Commerce Insight does not save the log files after the import. This means, Intershop cannot provide backup of customer files which are not located on the upload server anymore.
As long as the file date is younger than the archive time, the files will be processed automatically.
In case you want to upload older files, please be aware that this produces an increased high load on our servers. A successful upload process should not miss any files and should be finished within 24h.
Yes. The repair process is the same, except that the archive time does not apply; even for younger cases you will have to provide all files of the affected days.
Another reason for a not running WebadapterAgent can be that the hourly transfer size is exceeded because of a big WA-*.log file. We recommend to increase it by setting 200 to 2000 MB/h:
intershop.WaLogPush.maxTransferRate=2000 in the appserver.properties (appserver restart is required after change).
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.