13.6 Converting the Sentinel 6.0 Archive Files to Sentinel 6.1 Format

The Sentinel archive utility is a script that converts the Sentinel 6.0 archive files to Sentinel 6.1 archive file format.The SentinelArchiveUtility.zip utility is located by default in the <ESEC_HOME>/bin directory.

To convert the Sentinel 6.0 archive files:

  1. Log in to the Sentinel 6.1 server as the oracle user (Linux) or the Sentinel administrator user (Windows).

  2. Extract the SentinelArchiveUtility.zip file to the SentinelArchiveUtility folder.

  3. Copy the contents of the SentinelArchiveUtility folder to the database server (Oracle or MSSQL).

  4. Set the PATH environment variable to the Java 1.6 installation directory.

    export PATH=/opt/novell/sentinel6/jre/bin:$PATH 
    

    By default, all Sentinel 6.1 machines have the required version of Java, but the default Java installation done by Sentinel does not allow Oracle users to access the $ESEC_HOME/jre directory. You can add Oracle users to the esec group (for example, groupmod –A oracle esec), temporarily modify the permissions on the directory (for example, chown –R oracle $ESEC_HOME/jre) and revert the permissions after executing the Sentinel Archive Utility script, or install a second instance of Java.

    To install Java, download the appropriate Java runtime environment (JRE) 6.0 from the Sun Web site.

  5. Run the script. For example, to fix the contents of ESEC_ARCH_EVENTS_P, enter the command as follows:

    Windows:

    sentinel-archiveutility.bat <archive_dir>\ESEC_ARCH_EVENTS_P_*
    

    Linux/Solaris:

    ./sentinel-archiveutility.sh <archive_dir>\ESEC_ARCH_EVENTS_P_*
    

    where <archive_dir> is the location where the database archive files are stored.

    The script takes all the files in the <archive_dir> that start with ESEC_ARCH_EVENTS_P_ and places fixed copies of the files in the <archive_dir>\fixed directory. The files have the same name as the original. The original files are not modified.

    Change the <archive_dir>\ESEC_ARCH_EVENTS_P_* part of the command to select the files you want to fix.

  6. Back up the files in the <archive_dir> directory.

  7. Move the files in the <archive_dir>\fixed directory to the <archive_dir> directory to replace the existing files.

You can now import the files in the <archive_dir> directory to Sentinel 6.1 archive files.