Installation of the WS container (database and components) is a prerequisite for the installation of Software Component Services. The OMII server and database should be RUNNING.
1. Login as the same user who installed the WS container ie. if you were root, login as root.
2. Change your working directory to the location of your unpacked OMII Server release files.
3. Type:
$ ./OMIIstackInstall.pl
4. You will see the following:
Welcome to the OMII_X.X.X Server stack installer.
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 installer is designed to take you through the Server installation.
An OMII Server installation consists of a Web Services (WS) container
installation, with optional Software Components and an optional
Integrated services package.
Please choose the WS container database option (1), followed by the
corresponding component option (2). Then optionally install the Software
Components (3 & 4) and/or the Integrated services package (5 & 6).
Web Services container (See "Web Services container" section in User Guide)
1) Database
2) Components
Software Component (See "Software Components" section in User Guide)
3) Database
4) Components
Integrated Services package (See "Integrated Services" section in User Guide)
Please note that these services depend upon the Account Service which can be
installed via option 4.
5) Database
6) Components
7) Uninstall Options (See "Stack Installer > Uninstallation" in Install Guide)
5. Choose option 3 and press Enter. If you see the messages displayed below, the database for Software Components has been setup successfully.
Software Components Database setup complete.
6. Run the installer again, choose option 4 and press Enter.
7. If you have changed the OMII Tomcat Manager username and password, please supply them in answer to the following questions, otherwise press Enter to accept the defaults.
The Software Components may require the OMII Tomcat 'manager' role username and password
for service deployment.
Please enter the username (default: tomcat):
Please enter the password (default: tomcat):
Please see Changing username and password for the "tomcat" role for further information.
8. You are then presented with a choice of Software Components to install. The information as to the choice of components available for installation is downloaded from the OMII repository.
Importing OMII Server installation properties...
Downloading list of available components... downloaded
Enter the number corresponding to the component you wish to mark or unmark
for installation, or type 'all', 'none' or 'default'.
Press enter to finish, or type 'quit' to exit.
Available Components
01 : AccountService version x.x.x : selected for installation
02 : AHE version x.x.x :
03 : BPEL version x.x.x :
04 : FINS version x.x.x : selected for installation
05 : FIRMS version x.x.x : selected for installation
06 : GridSAM version x.x.x : selected for installation
07 : Grimoires version x.x.x : selected for installation
08 : ogsadai-wsi version x.x.x : selected for installation
09 : PlotWS version x.x.x : selected for installation
10 : WSRFLite version x.x.x :
>
Select your choices as per the instructions and press Enter. The selected components are then downloaded from this repository prior to being installed.
9. Install all locally available components? (yes/no)
Choosing 'yes' will install all the locally available components, this includes the components you have just downloaded and any you may have previously downloaded. Choosing 'no' will take you to a menu where you can select which of your available components to install.
10. Once installed you will then see a message stating "Software Components installer complete".
11. You should now be able to see new directories eg. OMII_HOME/jakarta-tomcat-5.0.25/webapps/gridsam.
12. The installer tests the Software Component Services installations by simply requesting a page that should exist on the server following installation. To check the installation of an Software Component yourself, please refer to the product-related sections in this Guide.
This can be done by setting some environment variables. With OMII_PROMPT set to 'off', the OMII Stack installer will ask the user for less input during the installs. With OMII_AUTO set to 'on', defaults will be assumed for all user inputs.
Please see "How to stop and start the OMII Server" in the User Guide.