Views:
IMSVA rolls back automatically if there are problems during the upgrade process. However, if the automatic rollback encounters issues, you need to perform a manual rollback.

Procedure

  1. If you created a ghost image or have a virtual machine image of your original IMSVA, replace the upgraded image with the original image.
  2. Stop the cron service using the following command:
    service crond stop
  3. Check the cron settings backup file /var/spool/cron/root.bakForUpgrade. After finding the file, restore the cron settings using the following command:
    rm -rf /var/spool/cron/root && /bin/mv -f /var/spool/cron/root.bakForUpgrade /var/spool/cron/root
  4. Check the log backup file /var/app_data/imss/log.bakForUpgrade. After finding the backup file, restore the log file using the following command:
    rm -rf /var/app_data/imss/log/ && /bin/mv -f /var/app_data/imss/log.bakForUpgrade /var/app_data/imss/log/
  5. Stop the database service using the following command:
    killall postgres
  6. On the parent device, check the database backup file /var/app_data/imss/pgdata.bakForUpgrade. After finding the file, restore the database file using the following command:
    rm -rf /var/app_data/imss/db/pgdata && /bin/mv -f /var/app_data/imss/pgdata.bakForUpgrade /var/app_data/imss/db/pgdata
  7. If not mounted, mount the root partition of IMSVA 9.0 Patch 1 using the following command:
    mkdir -p /var/tmp/orig_root
    mount -t ext3 /dev/mapper/IMSVA-Root1 /var/tmp/orig_root
  8. Restore the /boot folder using the following command:
    /bin/cp -af /var/tmp/orig_root/boot-imsva-9.0-back-
    up-for-9.1/* /boot
  9. Update the boot partition UUID.
    1. Obtain the 9.1 boot partition UUID from /etc/fstab.
    2. Replace 9.0 Patch 1 boot partition UUID in /var/tmp/orig_root/etc/fstab with 9.1 boot partition UUID.
  10. Restart your machine.