Skip Headers
Oracle® Real User Experience Insight Installation Guide
Release 6.5.2 for Linux x86-64

Part Number E20329-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF · Mobi

5 Upgrading to RUEI 6.5.2

This chapter describes the procedure for upgrading an existing RUEI 5.x or 6.x installation to release 6.5.2. The post-installation configuration procedure is described in Chapter 6, "Configuring RUEI".

If the DVD is not automatically mounted, use the following commands to mount it:

mkdir -p /mnt/dvd
mount /dev/dvd /mnt/dvd

Note:

In the rest of this chapter it is assumed that the RUEI DVD is mounted on /mnt/dvd.

Troubleshooting Upgrade or Rollback Problems

The upgrade and rollback scripts log their actions in the files /tmp/ruei-upgrade-x.log and /tmp/ruei-rollback-x.log. If you encountered any problems during the upgrade or rollback, please attach the relevant file to any request to Customer Support.

Upgrading From RUEI 5.x to 6.5.2

This section describes the procedure for upgrading from an existing RUEI 5.x installation to release 6.5.2.

Important:

Before proceeding with the upgrade, make a backup of your configuration. Select Configuration, then System, then Maintenance, and then Backup and restore. The configuration backup is required in case of a rollback. In addition, it is strongly recommended that you create a database backup. Information on database backup procedures is available at https://support.oracle.com/CSP/ui/flash.html.

Upgrading Accelerator packages

As of version 6.5.1, all supported accelerators are automatically installed as part of the Reporter installation procedure. Note that the use of some accelerators requires additional Oracle product licenses. You should ensure that you are licensed to use a product before configuring suites based upon it. For further information, please consult your Oracle representative.

Upgrading the Reporter System

Do the following:

  1. Copy the RUEI distribution pack (Vxxx.zip) to the Reporter system /root directory, and unzip it. Issue the following commands:

    cd /root
    unzip Vxxx.zip
    
  2. Install the XML::Twig module by issuing the following commands:

    cd /mnt/dvd/Server
    rpm -Uhv perl-XML-Twig-3.26-*.fc6.noarch.rpm \
    perl-XML-Parser-2.34-*.x86_64.rpm
    
  3. Install the Java Runtime Environment (JRE). Note that this step can be skipped if you are upgrading from RUEI 5.1. Issue the following commands:

    cd /root/RUEI/Java
    chmod +x ./jre-1_5_0_22-linux-amd64-rpm.bin
    ./jre-1_5_0_22-linux-amd64-rpm.bin
    ln -s /usr/java/jre1.5.0_22 /usr/java/jre
    

    Note you are prompted to accept the Java license agreement. You cannot continue until you have done so.

    This installs the JRE from a standalone package bundled with the RUEI distribution set, rather than the one built into the database.

  4. Temporarily stop all processing by issuing the following command:

    cd /root/RUEI/extra
    chmod +x ruei-upgrade-5.x-6.5.2.sh
    ./ruei-upgrade-5.x-6.5.2.sh stop_ruei
    
  5. Install the new Oracle Instant client by issuing the following commands:

    cd /root/RUEI/IC
    rpm -Uhv oracle-instantclient11.2-*
    
  6. Install the new PHP OCI module by issuing the following commands:

    cd /root/RUEI/PHP
    rpm -Uhv php-oci8-11gR2-*  
    
  7. Update the logical links by issuing the following commands:

    ln -sf /usr/lib64/oracle/11.2/php-oci8/oci8.ini /etc/php.d/oci8.ini
    ln -sf /usr/lib64/oracle/11.2/php-oci8/oci8.so /usr/lib64/php/modules/oci8.so
    

    Note the use of the force (-f) option.

  8. Update the /etc/ruei.conf configuration file to use the new Oracle Instant client. Replace the line

    export INSTANTCLIENT_DIR=/usr/lib/oracle/11.1/client64
    

    with the line

    export INSTANTCLIENT_DIR=/usr/lib/oracle/11.2/client64
    
  9. For each Collector system, issue the following commands:

    cd /root/RUEI/extra
    ./ruei-upgrade-5.x-6.5.2.sh stop_collector Collector-IP-address
    

    where Collector-IP-address is the IP address of the collector system. Note that this command must also be issued for the local Collector (localhost).

  10. Note that this step can be skipped if you are upgrading from RUEI 5.1. Update the /etc/ruei.conf file by issuing the following commands:

    cp /etc/ruei.conf /etc/ruei.conf.50
    cp /root/RUEI/extra/ruei.conf.upgrade /etc/ruei.conf
    chmod 644 /etc/ruei.conf
    source /etc/ruei.conf
    chown $RUEI_USER:$RUEI_GROUP /etc/ruei.conf
    
  11. Update the RUEI database instance by issuing the following commands:

    cd /root/RUEI/65
    cp ruei-prepare-db.sh /home/oracle
    cp ruei-check.sh /home/oracle
    chmod +x /home/oracle/ruei-*.sh
    su - oracle
    export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
    ./ruei-prepare-db.sh
    exit
    

    Upon completion, you should again be the root user.

  12. Upgrade the RUEI Reporter RPMs by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-upgrade-5.x-6.5.2.sh rpm_pre_install
    cd /root/RUEI/65
    chmod u+x ./ruei-install.sh
    ./ruei-install.sh *.rpm
    cd /root/RUEI/extra
    ./ruei-upgrade-5.x-6.5.2.sh rpm_post_install
    

    Note:

    When upgrading a Reporter system that has little or no replay data on its local Collector, "*LTS?*" errors can be reported. These can be safely ignored.
  13. Important: if you do not perform the action described in this step, the currently defined Error Page Replay (EPR) and Full Session Replay (FSR) settings are applied for each monitored application. Depending on the number of monitored applications, and your previous settings, the amount of required disk space can significantly increase. For example, if data retention was set to 50 GB, and five applications are monitored by a Collector, the Collector will reserve up to 50 GB per application upon upgrading to version 6.5.2 (that is, a total Collector disk space of 250 GB).

    If this would require too much disk space to be reserved on a Collector system, you can issue the following command to limit the total reserved disk space to its current defined setting:

    ./ruei-upgrade-5.x-6.5.2.sh resize_replay_store
    

    In this case, the total reserved disk space is shared equally among the currently defined applications. For example, if the current data retention setting was 100 GB, and there are 10 monitored applications, this would result in 10 GB of disk space being available for each application. Note that, if you choose to use the above command, it may result in the loss of existing (the oldest) replay data.

  14. Note that this step can be skipped if you are upgrading from RUEI 5.1. Enable additional fonts for PDF generation. Because the PDF generator uses Java libraries, these need to be made available to Java. Copy (or move) the RUEI included fonts to the appropriate Java directory. For example:

    cp /opt/ruei/gui/include/bi_publisher/fonts/* \
    /usr/java/jre/lib/fonts/
    
  15. Note that this step can be skipped if you are upgrading from 5.1. If the export report functionality has been customized with a .htaccess file (described in the Oracle Real User Experience Insight User's Guide), you will need to move the RUEI configuration file to its new location. For example:

    mv /var/www/ruei/.htaccess /opt/ruei/gui
    
  16. Restart the Apache Web server by issuing the following command:

    /sbin/service httpd restart
    

    Important:

    At this point you should complete the Collector upgrade procedure described below before proceeding with step 16.
  17. Restart processing (after you have upgraded all Collector systems) by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-upgrade-5.x-6.5.2.sh start_ruei
    

The procedure for upgrading the Reporter system is complete.

Important

After completion of the upgrade procedure, it is recommended that you pay particular attention to the following:

  • The default URL prefix masking action is set to "No replay". Review this setting (as described in the Oracle Real User Experience Insight User's Guide) to determine whether it meets your operational requirements.

  • During and after the upgrade procedure, if error or information messages appear in the event log (select System, then Status, and then Event log), you should mark them as read after completing the upgrade procedure, and monitor whether new messages are reported. In the event of re-occurring error messages, you should contact Customer Support.

  • For each Collector system, review its data retention policies (select Configuration, then General, then Advanced settings, and then Collector data retention policy).

Upgrading the Collector System(s)

Note that steps 1 through 4 are only required if you are upgrading from RUEI version 5.0. If you are upgrading from RUEI version 5.1, you should proceed directly to step 5.

Do the following:

  1. Remove the line containing the entry /home/oracle/bin/ruei-clean.sh from Oracle's crontab file by issuing the following commands:

    su - oracle
    crontab -e
    exit
    
  2. Stop the Oracle database, and remove the installation script so that it will no longer be started after a reboot, by issuing the following commands:

    service oracledb stop
    chkconfig --del oracledb
    

    Note that if stopping the Oracle database service seems to take an usually long period of time, you should open a second terminal and kill any running process called rsynclogdird.

  3. Stop the Apache Web server by issuing the following commands:

    service httpd stop
    chkconfig --del httpd
    
  4. De-install all RUEI RPMs (except ux-collector) by issuing the following command:

    rpm -qa | grep ^ux-.*-5.0 | grep -v ^ux-collector | xargs rpm -e
    
  5. Copy the RUEI distribution pack (Vxxx.zip) to the Collector system /root directory, and unzip it. Issue the following commands:

    cd /root
    unzip Vxxx.zip
    cd /root/RUEI/65
    
  6. Install the Java Runtime Environment (JRE). Note that this step can be skipped if you are upgrading from RUEI 5.1. Issue the following commands:

    cd /root/RUEI/Java
    chmod +x ./jre-1_5_0_22-linux-amd64-rpm.bin
    ./jre-1_5_0_22-linux-amd64-rpm.bin
    ln -s /usr/java/jre1.5.0_22 /usr/java/jre
    

    Note you are prompted to accept the Java license agreement. You cannot continue until you have done so.

    This installs the JRE from a standalone package bundled with the RUEI distribution set, rather than the one built into the database.

  7. Note that this step can be skipped if you are upgrading from RUEI 5.1. Update the /etc/ruei.conf file by issuing the following commands:

    cp /etc/ruei.conf /etc/ruei.conf.50
    cp /root/RUEI/extra/ruei.conf.upgrade /etc/ruei.conf
    chmod 644 /etc/ruei.conf
    source /etc/ruei.conf
    chown $RUEI_USER:$RUEI_GROUP /etc/ruei.conf
    
  8. Convert the Replay store and upgrade the RUEI Collector RPM by issuing the following commands:

    cd /root/RUEI/extra
    chmod +x ruei-upgrade-5.x-6.5.2.sh
    ./ruei-upgrade-5.x-6.5.2.sh convert_replay_store
    cd /root/RUEI/65
    chmod +x ruei-install.sh
    ./ruei-install.sh collector
    cd /root/RUEI/extra
    ./ruei-upgrade-5.x-6.5.2.sh convert_replay_store2
    

Repeat the above steps for each Collector system in your RUEI infrastructure.

Note steps 1 through 4 are only required if you are upgrading from RUEI 5.0. If you are upgrading from RUEI 5.1, you should proceed directly to step 5.

At this point, you should return to step 13 of the Reporter system upgrade procedure.

Upgrading From RUEI 6.x to 6.5.2

This section describes the procedure for upgrading from an existing RUEI 6.x installation to release 6.5.2.

Important:

Before proceeding with the upgrade, make a backup of your configuration. Select Configuration, then System, then Maintenance, and then Backup and restore. The configuration backup is required in case of a rollback.

Upgrading Accelerator packages

As of version 6.5.1, all supported accelerators are automatically installed as part of the Reporter installation procedure. Note that the use of some accelerators requires additional Oracle product licenses. You should ensure that you are licensed to use a product before configuring suites based upon it. For further information, please consult your Oracle representative.

Upgrading the Reporter System

The Reporter upgrade procedure described in this section applies to both single server installations as well as dedicated Reporter systems.

Do the following:

  1. Login to the Reporter as root. Within the /root directory, unzip the RUEI zip file, and go to the directory containing the application files. Use the following commands:

    cd /root
    unzip Vxxxx.zip
    
  2. Stop all processing on the Reporter and Collector system(s) using the following commands:

    cd /root/RUEI/extra
    chmod +x ruei-upgrade-6.x-6.5.2.sh
    ./ruei-upgrade-6.x-6.5.2.sh stop_ruei
    
  3. Note that if you are upgrading from version 6.5.1, you should not perform this step, but continue at step 8.

    Install the new Oracle Instant client by issuing the following commands:

    cd /root/RUEI/IC
    rpm -Uhv oracle-instantclient11.2-*
    
  4. Install the new PHP OCI module by issuing the following commands:

    cd /root/RUEI/PHP
    rpm -Uhv php-oci8-11gR2-*  
    
  5. Update the logical links by issuing the following commands:

    ln -sf /usr/lib64/oracle/11.2/php-oci8/oci8.ini /etc/php.d/oci8.ini
    ln -sf /usr/lib64/oracle/11.2/php-oci8/oci8.so /usr/lib64/php/modules/oci8.so
    

    Note the use of the force (-f) option.

  6. Update the /etc/ruei.conf configuration file to use the new Oracle Instant client. Replace the line

    export INSTANTCLIENT_DIR=/usr/lib/oracle/11.1/client64
    

    with the line

    export INSTANTCLIENT_DIR=/usr/lib/oracle/11.2/client64
    
  7. Restart the Apache Web server by issuing the following command:

    service httpd restart
    
  8. Perform the necessary pre-upgrade actions by executing the following commands:

    cd /root/RUEI/extra
    ./ruei-upgrade-6.x-6.5.2.sh rpm_pre_install
    
  9. On the system where the database resides, update the RUEI database instance by issuing the following commands:

    cd /root/RUEI/65
    cp ruei-prepare-db.sh /home/oracle
    cp ruei-check.sh /home/oracle
    chmod +x /home/oracle/ruei-*.sh
    su - oracle
    export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
    ./ruei-prepare-db.sh
    exit
    

    Upon completion, you should again be the root user.

  10. For each required Collector system, perform the steps indicated in the following section. Upon completion, proceed to step 11.

  11. Install the new versions of the RPMs using the following commands:

    cd /root/RUEI/65
    chmod +x ruei-install.sh
    ./ruei-install.sh *.rpm
    
  12. Perform the necessary post-upgrade actions by executing the following commands:

    cd /root/RUEI/extra
    ./ruei-upgrade-6.x-6.5.2.sh rpm_post_install
    
  13. This step should be performed only if you are upgrading from RUEI version 6.0.x. Otherwise, it should be skipped.

    Important: if you do not perform the action described in this step, the currently defined Error Page Replay (EPR) and Full Session Replay (FSR) settings are applied for each monitored application. Depending on the number of monitored applications, and your previous settings, the amount of required disk space can significantly increase. For example, if data retention was set to 50 GB, and five applications are monitored by a Collector, the Collector will reserve up to 50 GB per application upon upgrading to version 6.5.2 (that is, a total Collector disk space of 250 GB).

    If this would require too much disk space to be reserved on a Collector system, you can issue the following command to limit the total reserved disk space to its currently defined settings:

    ./ruei-upgrade-6.x-6.5.2.sh resize_replay_store
    

    In this case, the total reserved disk space for each application becomes the current setting divided by the current number of applications. For example, if the current data retention setting was 100 GB, and there are currently 10 monitored applications, this would result in 10 GB of disk space being available for each application. Note that, if you choose to use the above command, it may result in the loss of existing (the oldest) replay data.

  14. Restart processing using the following commands:

    cd /root/RUEI/extra
    ./ruei-upgrade-6.x-6.5.2.sh start_ruei
    

Note:

During and after the upgrade procedure, if error or information messages appear in the event log (select System, then Status, and then Event log), you should mark them as read after completing the upgrade procedure, and monitor whether new messages are reported. In the event of re-occurring error messages, you should contact Customer Support.

Upgrading the Remote Collector System(s)

For each required remote Collector system, login as root. Within the /root directory, unzip the RUEI zip file, go to the directory containing the application files, and install the new versions of the RPMs. Do the following:

  1. Unzip the RUEI distribution package using the following commands:

    cd /root
    unzip Vxxxx.zip
    
  2. Upgrade the Collector RPMs using the following commands:

    cd /root/RUEI/65
    chmod +x ruei-install.sh
    ./ruei-install.sh collector
    
  3. This step should be performed only if you are upgrading from RUEI version 6.0.x. Otherwise, it should be skipped.

    Convert the Replay store by issuing the following commands:

    cd /root/RUEI/extra
    chmod +x ruei-upgrade-6.x-6.5.2.sh
    ./ruei-upgrade-6.x-6.5.2.sh convert_replay_store
    

    Note:

    The script may fail if there is no replay data on the system, or if executed twice.

Rolling Back to Version 6.5.x

This section describes the procedure to rollback to version 6.5.x after upgrading to version 6.5.2. Note that the Collector included in the Reporter installation is automatically rolled back during the described procedure. However, remote Collector systems must be individually rolled back. The procedure to do this is described later in this section.

Important:

Be aware that it may not be possible to restore your system to its exact state prior to upgrading. It is strongly recommended that you contact Customer Support before rolling back an upgrade.
  1. Login to the Reporter system as root. Within the /root directory, unzip the RUEI 6.5.x distribution zip file, and go to the directory containing the application files. Use the following commands:

    cd /root
    unzip Vxxx.zip
    

    Important:

    Ensure that the directory where you place the 6.5.x distribution pack does not conflict with the 6.5.2 release. In addition, if your RUEI installation makes use of accelerator packages (such as Oracle E-Business Suite or Siebel), repeat the unzipping for all previously installed accelerator packages.
  2. Stop all processing on the Reporter system by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-rollback-6.5.2-6.5.x.sh stop_ruei
    
  3. Remove all unused accelerator packages. Use the following command to list all installed accelerators:

    rpm -qa | grep ^ux-suites
    

    Use the following command to remove any appropriate accelerator:

    rpm -e ux-suites-name
    

    where name is the appropriate accelerator.

  4. Execute the RPM pre-installation phase by issuing the following command:

    ./ruei-rollback-6.5.2-6.5.x.sh rpm_pre_install
    
  5. Restore the previous RPMs by issuing the following commands:

    cd /root/RUEI/65
    chmod +x ruei-install.sh
    ./ruei-install.sh *.rpm
    
  6. Rollback all required remote Collectors (using the procedure described in the next section). Upon completion, continue to step 5. If your installation does not make use of a remote Collector, proceed directly to step 6.

  7. Restore the RUEI configuration backup you created prior to upgrading by selecting Configuration, then System, then Maintenance, then Backup and restore, and then select Restore system from file.

  8. Restart processing by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-rollback-6.5.2-6.5.x.sh start_ruei
    

Rolling Back Remote Collector Systems

Do the following:

  1. Login to the remote Collector system as root. Within the /root directory, unzip the 6.5.x distribution zip file, and go to the directory containing the application files. Issue the following commands:

    cd /root
    unzip Vxxx.zip
    

    Important:

    Ensure that the directory where you place the 6.5.x distribution pack does not conflict with the 6.5.2 release.
  2. Restore the previous RPMs by issuing the following commands:

    cd /root/RUEI/extra
    chmod +x ruei-rollback-6.5.2-6.5.x.sh
    cd /root/RUEI/65
    chmod +x ruei-install.sh
    ./ruei-install.sh ux-collector-*.rpm
    

Upon completion for all required Collectors, return to step 5 above.

Rolling Back to Version 6.0.x

This section describes the procedure to rollback to version 6.0.x after upgrading to version 6.5.2. Note that the Collector included in the Reporter installation is automatically rolled back during the described procedure. However, remote Collector systems must be individually rolled back. The procedure to do this is described later in this section.

Important:

Be aware that it may not be possible to restore your system to its exact state prior to upgrading. It is strongly recommended that you contact Customer Support before rolling back an upgrade.
  1. Login to the Reporter system as root. Within the /root directory, unzip the RUEI 6.0.x distribution zip file, and go to the directory containing the application files. Use the following commands:

    cd /root
    unzip Vxxx.zip
    

    Important:

    Ensure that the directory where you place the 6.0.x distribution pack does not conflict with the 6.5.2 release. In addition, if your RUEI installation makes use of accelerator packages (such as Oracle E-Business Suite or Siebel), repeat the unzipping for all previously installed accelerator packages.
  2. Stop all processing on the Reporter system by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-rollback-6.5.2-6.0.x.sh stop_ruei
    chmod +x ruei-rollback-6.5.2-6.0.x.sh
    ./ruei-rollback-6.5.2-6.0.x.sh convert_replay_store 
    
  3. Remove all unused accelerator packages. Use the following command to list all installed accelerators:

    rpm -qa | grep ^ux-suites
    

    Use the following command to remove any appropriate accelerator:

    rpm -e ux-suites-name
    

    where name is the appropriate accelerator.

  4. Restore the previous RPMs by issuing the following commands:

    cd /root/RUEI/60
    rpm -e ux-lang-zh_cn
    chmod +x ruei-install.sh
    ./ruei-install.sh *.rpm
    
  5. Rollback all required remote Collectors (using the procedure described in the next section). Upon completion, continue to step 5. If your installation does not make use of a remote Collector, proceed directly to step 5.

  6. Restore the RUEI configuration backup you created prior to upgrading by selecting Configuration, then System, then Maintenance, then Backup and restore, and then select Restore system from file.

  7. Restart processing by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-rollback-6.5.2-6.0.x.sh start_ruei
    

Rolling Back Remote Collector Systems

Do the following:

  1. Login to the remote Collector system as root. Within the /root directory, unzip the 6.0.x distribution zip file, and go to the directory containing the application files. Issue the following commands:

    cd /root
    unzip Vxxx.zip
    

    Important:

    Ensure that the directory where you place the 6.0.x distribution pack does not conflict with the 6.5.2 release.
  2. Restore the previous RPMs by issuing the following commands:

    cd /root/RUEI/extra
    chmod +x ruei-rollback-6.5.2-6.0.x.sh
    ./ruei-rollback-6.5.2-6.0.x.sh convert_replay_store 
    cd /root/RUEI/60
    chmod +x ruei-install.sh
    ./ruei-install.sh ux-collector-*.rpm
    

Upon completion for all required Collectors, return to step 5 above.

Rolling Back to Version 5.1.x

This section describes the procedure to rollback to version 5.1.x after upgrading to version 6.5.2. Note that the Collector included in the Reporter installation is automatically rolled back during the described procedure. However, remote Collector systems must be individually rolled back. The procedure to do this is described later in this section.

Important:

Be aware that it may not be possible to restore your system to its exact state prior to upgrading. It is strongly recommended that you contact Customer Support before rolling back an upgrade.

In addition, you will require a configuration backup of your 5.1.x installation, as well as the 5.1.x and 6.5.2 distribution packages to perform the described rollback procedure.

Do the following:

  1. Login to the Reporter system as root. Within the /root directory, unzip the previous 5.1.x distribution package, and go to the directory containing the application files. Issue the following commands:

    mkdir /root/rollback51
    cd /root/rollback51
    unzip Vxxx.zip
    

    Important:

    If your RUEI installation makes use of accelerator packages (such as Oracle E-Business Suite or Siebel), repeat the unzipping for all previously installed accelerator packages.
  2. Stop all RUEI processing by issuing the following commands:

    cd /root/RUEI/extra
    chmod +x ./ruei-rollback-6.5.2-5.x.sh
    ./ruei-rollback-6.5.2-5.x.sh stop_ruei
    
  3. Execute the RPM pre-install phase by issuing the following command:

    ./ruei-rollback-6.5.2-5.x.sh rpm_pre_install
    
  4. Remove all unused accelerator packages. Use the following command to list all installed accelerators:

    rpm -qa | grep ^ux-suites
    

    Use the following command to remove any appropriate accelerator:

    rpm -e ux-suites-name
    

    where name is the appropriate accelerator.

  5. Remove the ADF RPM and downgrade existing Reporter RPMs by issuing the following commands:

    rpm -e ux-adf
    cd /root/RUEI/65
    ./ruei-install.sh /root/roolback51/RUEI/51/*.rpm
    
  6. Execute the RPM post-install phase by issuing the following commands:

    cd/ root/RUEI/extra
    ./ruei-rollback-6.5.2-5.x.sh rpm_post_install
    
  7. Re-start the Apache Web server by issuing the following command:

    service httpd restart
    

    At this point, you should rollback all remote Collector systems (using the procedure described below). Proceed to step 7 after you have rolled back all remote Collector systems. If your installation does not make use of remote Collector systems, you should proceed directly to step 7.

  8. Restart RUEI processing by issuing the following commands:

    cd /root/RUEI/extra
    chmod +x ./ruei-rollback-6.5.2-5.x.sh
    ./ruei-rollback-6.5.2-5.x.sh start_ruei
    

    Be aware that this phase can take a considerable amount of time.

  9. Restore the RUEI configuration backup you created prior to upgrading by selecting Configuration, then System, then Maintenance, then Backup and restore, and then select Restore system from file.

Rolling Back Remote Collector Systems

This section describes the procedure to rollback remote Collector systems to version 5.1.x after upgrading to version 6.5.2.

Do the following:

  1. Login to the remote Collector system as root. Within the /root directory, unzip the previous 5.1.x distribution package, and go to the directory containing the application files. Issue the following commands:

    mkdir /root/rollback51
    cd /root/rollback51
    unzip Vxxx.zip
    
  2. Restore the Collector replay store by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-rollback-6.5.2-5.x.sh convert_replay_store
    
  3. Restore the previous Collector RPMs by issuing the following commands:

    cd /root/RUEI/65
    ./ruei-install.sh /root/rollback51/RUEI/51/ux-collector-*.rpm
    

Repeat the above procedure for each required remote Collector system. When ready, return to the Reporter rollback procedure.

Rolling Back to Version 5.0.x

This section describes the procedure to rollback to version 5.0.x after upgrading to version 6.5.2. Note that the Collector included in the Reporter installation is automatically rolled back during the described procedure. However, remote Collector systems must be individually rolled back. The procedure to do this is described later in this section.

Important:

Be aware that it may not be possible to restore your system to its exact state prior to upgrading. It is strongly recommended that you contact Customer Support before rolling back an upgrade.

In addition, you will require a configuration backup of your 5.0.x installation, as well as the 5.0.x and 6.5.2 distribution packages to perform the described rollback procedure.

Do the following:

  1. Login to the Reporter system as root. Within the /root directory, unzip the previous 5.0.x distribution package, and go to the directory containing the application files. Issue the following commands:

    mkdir /root/rollback50
    cd /root/rollback50
    unzip Vxxx.zip
    

    Important:

    If your RUEI installation makes use of accelerator packages (such as Oracle E-Business Suite or Siebel), repeat the unzipping for all previously installed accelerator packages.
  2. Stop all RUEI processing by issuing the following commands:

    cd /root/RUEI/extra/
    chmod +x ./ruei-rollback-6.5.2-5.x.sh
    ./ruei-rollback-6.5.2-5.x.sh stop_ruei
    
  3. Execute the RPM pre-install phase by issuing the following command:

    /ruei-rollback-6.5.2-5.x.sh rpm_pre_install
    
  4. Remove all unused accelerator packages. Use the following command to list all installed accelerators:

    rpm -qa | grep ^ux-suites
    

    Use the following command to remove any appropriate accelerator:

    rpm -e ux-suites-name
    

    where name is the appropriate accelerator.

  5. Restore the previous RPMs by issuing the following commands:

    rpm -e ux-wlp
    rpm -e ux-adf
    cd /root/rollback50/RUEI/50
    rpm -Uhv --oldpackage ux-*
    
  6. Execute the RPM post-install phase by issuing the following command:

    cd /root/RUEI/extra/
    ./ruei-rollback-6.5.2-5.x.sh rpm_post_install
    

    At this point, you should rollback all remote Collector systems (using the procedure described in Rolling Back Remote Collector Systems). Proceed to step 7 after you have rolled back all remote Collector systems. If your installation does not make use of remote Collector systems, you should proceed directly to step 7.

  7. Re-start the Apache Web server by issuing the following command:

    service httpd restart
    
  8. Restart RUEI processing by issuing the following command:

    ./ruei-rollback-6.5.2-5.x.sh start_ruei
    
  9. Restore the backup of the /etc/ruei.conf file (as the root user) you created at the start of the upgrade procedure by issuing the following commands:

    mv /etc/ruei.conf /etc/ruei.conf.65.backup
    cp /etc/ruei.conf.50 /etc/ruei.conf
    
  10. Restore the RUEI configuration backup you created prior to upgrading by selecting Configuration, then System, then Maintenance, then Backup and restore, and then select Restore system from file.

Rolling Back Remote Collector Systems

This section describes the procedure to rollback remote Collector systems to version 5.0.x after upgrading to version 6.5.2.

Do the following:

  1. Login to the remote Collector system as root. Within the /root directory, unzip the previous 5.0.x distribution package, and go to the directory containing the application files. Issue the following commands:

    mkdir /root/rollback50
    cd /root/rollback50
    unzip Vxxx.zip
    
  2. Restore the Collector replay store by issuing the following commands:

    cd /root/RUEI/extra
    ./ruei-rollback-6.5.2-5.x.sh stop_collector
    ./ruei-rollback-6.5.2-5.x.sh convert_replay_store
    
  3. Restore the previous Collector RPMs by issuing the following commands:

    cd /root/RUEI/65
    ./ruei-install.sh /root/rollback50/RUEI/50/ux-collector-*.rpm
    

Repeat the above procedure for each required remote Collector system. When ready, return to the Reporter rollback procedure.