A.3 Running the Report Development Utility

You can use the /opt/novell/sentinel/bin/report_dev_setup.sh utility to set up the report development environment. This utility does the following:

  • Opens the PostgreSQL database port so that other systems can connect to the database.

  • Updates the firewall to allow connection on the PostgreSQL database port.

  • Modifies the database configuration files (postgresql.conf and pg_hba) so that other applications can connect to the database. The database configuration files are located at /var/opt/novell/sentinel/3rdparty/postgresql/data.

  • Changes the rptuser password, if necessary, and saves it in an encoded format in the obj-component.JasperReportingComponent.properties file. This password can also be changed in the database.

  • Collects the required Sentinel jar files, xml files, and the keystore file for report development and creates a tar file sentineljarsforireport.tar file in the /opt/novell/sentinel/bin directory.

To run this utility:

  1. Log in as novell user.

  2. Change to the following directory:

    cd /opt/novell/sentinel/bin/
  3. Run the following command:

    ./report_dev_setup.sh

    A warning message is displayed, indicating that the Sentinel server will be restarted after the script is executed.

  4. To continue running the script, press 1.

  5. Specify the root password when prompted.

    The script opens the database port, updates the firewall configuration files, and modifies the configuration files and database files.

  6. When you are prompted to change the rptuser password, continue without changing the password.

    or

    Specify a password for rptuser and reconfirm the password.

    The rptuser password is randomly generated during the installation of Sentinel. It is a recommended practice to change it here.

    The Sentinel server restarts.

For information or help on commands, use the following command:

./report_dev_setup.sh -h