Skip to content

Installation on Linux

Bjørn Engsig edited this page Dec 4, 2024 · 6 revisions

A standard installation of the RWP*Load Simulator on Linux is quite simple:

  • If you do not already have an Oracle installation, download and install an appropriate version of Instant Client Basic Lite. At present (2024) version 21 is suggested and the zip version is recommended rather than the rpm version.
  • Unzip the file somewhere and set both of LD_LIBRARY_PATH and PATH to include the directory that was unzipped. You need to set the two environment variables even if you decided to download and install the rpm version.
  • If you already have an Oracle installation, just make sure LD_LIBRARY_PATH and PATH are set properly.
  • Download the latest full release of the rwloadsim software from GitHub releases.
  • Unpack the downloaded file (typically named something like rwloadsim-linux-x86_64-bin-NNN.tgz) into an empty directory.
  • Adjust the PATH environment such that it includes the bin directory of your unpacked distribution file.
  • Make sure you can run rwloadsim --version. If you get errors about missing libraries, please see INSTALL.html.
  • For all practical purposes, you also need gnuplot, which should be installed using your Linux distribution's install tool. For Oracle Linux, it can be installed using sudo yum install gnuplot
  • If you are going to run any real simulation, including the standard oltp workload, you need a repository schema.
  • To run the standard oltp workload, you need ability to write files such that they are made available for browsing.
  • Note that several versions include updates to the repository, and that these updates are not cumulative. As an example, if your current version is 3.1.2, and you upgrade to 3.2.0, you need to run rwl313.sql and rwl320.sql logged in as sqlplus to your repository. You subsequently need to recreate all views by running rwlviews.sql.
  • If you have a secondary repository schema you first need to run rwlgrants.sql in your primary repository schema, and then run rwlsynonyms.sql and rwlviews.sql in the secondary schema.

For further details including other options for installation, creation of the repository database to save simulation results, etc. see the detailed instructions as INSTALL.html.