Before starting an uninstallation, you should be logged in as the user who performed the original installation.
1. The OMII Stack Uninstaller (OMIIstackUninstall.pl) can be run by selecting option 7 from the Stack Installer menu or it can be run directly. In terms of where to run the uninstallation FROM, it can be run from an install or from a release; ideally you should change to the OMII_HOME directory and use it from there, for example:
cd /usr/local/OMII
bin/OMIIstackUninstall.pl
2. You will then see the following Uninstaller menu.
Welcome to the OMII_x.x.x Server stack uninstaller.
For support issues or queries, please either:
- Visit http://www.omii.ac.uk/support
- Email support@omii.ac.uk
- See the Support section of the OMII Installation & Setup Guide
This uninstaller is designed to take you through the removal of an OMII Server installation. A minimum installation consists of a Web Services container layer and a supporting database. See the OMII readme files and User Guide for further information. Please choose an option from the following list:
OMII Server components
1) Integrated Services
2) Software Component
3) Web Services Container
4) Uninstall all 3 (same as running 1, 2 then 3)
OMII Database components
5) Integrated Services
6) OGSA-DAI
7) Software Components
8) Uninstall all 3 (same as running 5, 6 then 7)
3. Your choice then depends on what you have installed as part of your OMII stack:
Use option 4 followed by 8 if you wish to uninstall everything.
If you wish to uninstall specific Server components, as a rule you should uninstall these BEFORE the database components. This prevents you from trying to use an half-uninstalled product if you get interrupted part way through the uninstallation.
The only dependency is that you cannot uninstall the WS container if you still have either Software Components, the Account Service or Integrated Services server components installed.
If you uninstall either the WS container database or Integrated Services database, you will need to reinstall the database AND the corresponding stack component in order to have a working OMII Stack. This is because the PostgreSQL user and tablespace are created by the database installer, but the table initialisation is done by the stack installation.
Each time you use the uninstaller to uninstall server components, it will start the WS container if it needs to and then leave it stopped at the end.
After all the components have been removed, the OMII_HOME directory will remain but it contains no significant files (unless you have put them in there yourself) and can then be manually deleted.
The Integrated Services uninstallation removes the Integrated Services admin web application.
Uninstalling Integrated Services also removes the server-side part of Cauchy from $OMII_HOME/demo/cauchy.
PostgreSQL database users and table spaces will be removed and PostgreSQL will be left running securely.
The WS container uninstallation removes the OMII key and certificate from /usr/local/OMII.
Please note: Software Component - if you wish to uninstall GridSAM and it has been registered as a service within the Grimoires registry, you should ideally remove the registry entry first before using the uninstaller. However, removal of the registry entry is not possible at present, see OMII Known Issue 1544.