This guide illustrates the installation procedure for the GridPort Demo Portal.
The following software packages are prerequisites to using the GridPort Demo Portal:
ant.jar
and ant-launcher.jar jar files from a Tomcat 5.0.xx distribution to your
Tomcat's common/lib directory. For convenience, these jars can be obtained
here.
We recommend setting up a dedicated system account to run the portal software. To install the portal, you will need write permissions in your Tomcat, GridSphere, and GridPort Demo Portal directories. Thus, you should install these as your dedicated portal user. The other required software may be installed as any user.
In order to use the software required to support the
GridPort Demo Portal, you must first set up your environment.
You will need to set the
JAVA_HOME, ANT_HOME, and MAVEN_HOME
environment variables and ensure that the respective binaries are in your
PATH. Additionally, you will need to set the
CATALINA_HOME and GRIDSPHERE_HOME environment
variables appropriately. The following is an example environment script.
### for sh-based shells
### DEV SOFTWARE
export JAVA_HOME=/opt/java/j2sdk1.4.2_07;
export ANT_HOME=/opt/ant/apache-ant-1.6.2;
export MAVEN_HOME=/opt/maven/maven-1.0.2;
export PATH=${JAVA_HOME}/bin:${ANT_HOME}/bin:${MAVEN_HOME}/bin:${PATH};
### PORTAL ENVIRONMENT
export CATALINA_HOME=/opt/tomcat/jakarta-tomcat-5.5.7;
export GRIDSPHERE_HOME=/opt/gridsphere/gridsphere-2.0.2;
After installing the prerequisite software and setting up
your environment, please download
the GridPort Demo Portal and unpack the distribution. To
install the portal, from within the unpacked demo portal
distribution directory, use Maven to attain the install
goal of the Maven GridPort Plugin
and (re)start Tomcat.
maven gp:install
You can now point your browser to http://localhost:8080/gridsphere to
view the portal. You will be presented with the Grid
Information Browser portlet and a Login portlet. Login to
the portal as the root user with no passphrase.
Upon logging in to the portal, various grid-enabled portlets
will be available.
You may now customize the
Demo Portal to tailor it to your grid environment. In order for your
modifications to take effect, you will need to re-deploy the portal
(or the particular component you modified). To do this, simply
attain the deploy goal of the
Maven GridPort Plugin.
maven gp:deploy
To startup Tomcat up using the following command:
localhost> $CATALINA_HOME/bin/startup.sh
localhost> $CATALINA_HOME/bin/startup.sh
localhost> $CATALINA_HOME/bin/shutdown.sh; $CATALINA_HOME/bin/startup.sh