<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="cheatsheet.xsl"?>

<!-- START NON-TRANSLATABLE                                                  -->
<!--                                                                         -->
<!--   "http://publib.boulder.ibm.com/infocenter . . . "                     -->
<!--   &lt;code&gt;&amp;lt;WAS_INSTALL_ROOT&amp;gt; . . . &lt;/code&gt;      -->
<!--   CreateLREETablesDB2.ddl                                               -->
<!--   CreateLREETablesCloudscape.ddl                                        -->
<!--   default_host                                                          -->
<!--   "BatchJobExecutionEnvironmentEJBs"                                    -->
<!--   "EndpointWebService"                                                  -->
<!--   SimpleCI.ear                                                          -->
<!--   PostingsSample.ear                                                    -->
<!--   MandelbrotCI.ear                                                      -->
<!--                                                                         -->
<!-- END NON-TRANSLATABLE                                                    -->

<cheatsheet title="Deploying a Compute Grid application">

    <intro 
        href="intro_configure_lrs.htm">
        <description>
            This guided activity assists you in deploying a Compute Grid application. 
            For more information:
            &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgrun"&gt;Deploying Compute Grid applications&lt;/a&gt;
         </description>
    </intro>
 
    <item 
        href="" 
        title="Choose the database to store job information">
        <description> 
            Choose to either store job information in the default Cloudscape (Derby) v10/1.x database, or in a database you specify.
            &lt;br/&gt;
            &lt;br/&gt;
            To store the job information in the default Derby database, skip to
            &lt;br/&gt;
             &lt;a href="javascript:showHideStep('section1');showHideStep('section4')"&gt; 
               &lt;IMG SRC="../com.ibm.ws.console.core.guidedactivity/images/skip_task.gif" border="0" alt="" align="absmiddle"/&gt;
               Create a cluster for the Compute Grid application&lt;/a&gt; 
            &lt;br/&gt;
            &lt;br/&gt;
            To store the job information in a different database, go to the
        </description>
    </item>

    <item 
        href="" 
        title="Create database tables for Compute Grid endpoints">
        <description> 
            To define the database tables that store job information, use a Data Definition Language (DDL) file provided during the installation of Compute Grid.   The files are located in the &lt;code&gt;&amp;lt;WAS_INSTALL_ROOT&amp;gt;/longRunning&lt;/code&gt; directory.
            &lt;dl&gt;
                &lt;li&gt;DB2 - &lt;code&gt;CreateLREETablesDB2.ddl&lt;/code&gt; &lt;/li&gt;
                &lt;li&gt;Derby - &lt;code&gt;CreateLREETablesDerby.ddl&lt;/code&gt;&lt;/li&gt;
            &lt;/dl&gt;
            For more information:
            &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a onclick="checkForFocus()" target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgexe"&gt;Creating an endpoint database&lt;/a&gt;
        </description>
    </item>

    <item 
        href="" 
        title="Define a database connection">
        <action class=""></action>
        <description> 
            Define the JDBC provider and data source to connect to the database created in the previous task. 
            To perform this task, use the following guided activity: 
            &lt;br/&gt;
            &lt;A TARGET="detail" HREF="/ibm/console/guidedactivity/csframe.jsp?cheatSheetURI=com.ibm.ws.console.resources/guidedactivity/cheatsheets/nl/lang/cheatsheet_resource.xml&amp;cheatSheetPackage=com.ibm.ws.console.resources/guidedactivity/cheatsheets&amp;fromStep=3"&gt;
            &lt;IMG SRC="/ibm/console/images/cheatsheets/start_task.gif" align="absmiddle" border="0" alt="Click to perform"/&gt;Connecting to a database
            &lt;/A&gt;
            &lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Note:&lt;/strong&gt; This data source must be accessible from every node that can host the Compute Grid application. To achieve this accessibility, the recommendation is to define the data source at the cell level.
            &lt;br/&gt;&lt;br/&gt;
            For more information:
                        &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgexe"&gt;Creating an endpoint database&lt;/a&gt;
        </description>
    </item>

    <item
        href=""
        title="Create a cluster for the Compute Grid application">
        <action class=""></action>
        <description>
            Define a node group and dynamic cluster to host the Compute Grid application.
            To perform this task, use the following guided activity: 
            &lt;A TARGET="detail" HREF="/ibm/console/guidedactivity/csframe.jsp?cheatSheetURI=com.ibm.ws.console.guidedactivity/cheatsheets/nl/lang/configure_wdo.xml&amp;cheatSheetPackage=com.ibm.ws.console.guidedactivity/cheatsheets&amp;fromStep=4"&gt;
            &lt;IMG SRC="/ibm/console/images/cheatsheets/start_task.gif" align="absmiddle" border="0" alt="Click to perform"/&gt;Prepare hosting environment for dynamic operations
            &lt;/A&gt;.
            &lt;br/&gt;
            &lt;br/&gt;
            For more information:
            &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tcgendpoint"&gt;Creating a node group and dynamic cluster for the endpoint&lt;/a&gt;
        </description>
    </item>
<!--
    <item
        href=""
        title="Enable startup beans service on each application server">
        <action class="navigatorCmd.do?forwardName=ApplicationServer.content.main"></action>
        <description> 
           All application servers created for the dynamic cluster defined in previous step must have the startup beans service enabled.
           The service is accessed through the path:&lt;br/&gt; "Application Servers &gt; {dynamic_cluster_name}_{node_name} &gt; (Container services) Startup beans service".
           &lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you add nodes to the node group later, you will need to repeat this step for the newly-created application servers.
            &lt;br/&gt;&lt;br/&gt;
            For more information:
                        &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgcluster"&gt;Creating a node group and dynamic cluster for the execution environment&lt;/a&gt;

            &lt;br/&gt;

        </description>
    </item>

    <item
        href=""
        title="Define host aliases for dynamic cluster member ports">
        <action class="navigatorCmd.do?forwardName=VirtualHost.content.main"></action>
        <description>
            Define virtual host aliases that correspond to the HTTP ports used by the dynamic cluster members. 
            Review the &lt;code&gt;WC_defaulthost&lt;/code&gt; HTTP port for each dynamic cluster member defined in the prior step, 
            then add those host-port combinations
            to the list of host aliases for &lt;code&gt;default_host&lt;/code&gt;.
            &lt;br/&gt;
            For more information:
            &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;            
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=was-nd-dist&amp;topic=tcws_plugin_vhost"&gt;Configuring virtual hosts&lt;/a&gt;
        </description>
    </item>


    <item
        href=""
        title="Install the execution environment">
        <action class="com.ibm.ws.console.appmanagement.action.forwardCmd.do?forwardName=appmanagement.upload"></action>
        <description>
            Install the EAR file 
            &lt;code&gt;
            &amp;lt;WAS_INSTALL_ROOT&amp;gt; / installableApps / LREE.EAR
            &lt;/code&gt; onto the dynamic cluster defined in previous step.
            &lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Note:&lt;/strong&gt; Use the following options when installing the application:
            &lt;dl&gt;
            &lt;li&gt;In panel "Preparing for the application installation", check the box next to "Generate Default Bindings", 
                select option "Use default virtual host name for Web modules" and leave the "Host name" field as &lt;code&gt;default_host.&lt;/code&gt;
            &lt;/li&gt;
            &lt;li&gt;In panel "Select installation options", check "Deploy enterprise beans".&lt;/li&gt;
            &lt;li&gt;In panel "Map modules to servers", set the servers of both "BatchJobExecutionEnvironmentEJBs" and "EndpointWebService" modules to the dynamic cluster defined in previous step.&lt;/li&gt;
            &lt;li&gt;In panel "Provide options to perform the EJB Deploy", select the "Deploy EJB option - Database type" and enter "Deploy EJB option - Database schema".&lt;/li&gt;
            &lt;li&gt;In panel "Provide default data source mapping for modules containing 2.x entity beans", set the JNDI name of EJB module "BatchJobExecutionEnvironmentEJBs" to the JNDI name of the datasource you defined earlier.&lt;/li&gt;
            &lt;li&gt;After installing the EAR file, view the "Configure LREE webservice" topic in &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgenv"&gt;Installing the execution environment&lt;/a&gt; to configure the LREE webservice.&lt;/li&gt;
            &lt;/dl&gt;
            &lt;br/&gt;
            For more information:
                        &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgenv"&gt;Installing the execution environment&lt;/a&gt;
        &lt;br/&gt;
        &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/command_prompt.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
        &lt;a target="help" href="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&amp;product=was-nd-dist&amp;topic=txml_callappinstall"&gt;
        Installing applications with the wsadmin tool&lt;/a&gt;

        </description>
    </item>
-->
    <item
        href=""
        title="Install the Compute Grid application">
        <action class="com.ibm.ws.console.appmanagement.action.forwardCmd.do?forwardName=appmanagement.upload"></action>
        <description>
            WebSphere Extended Deployment Compute Grid includes three sample applications in the &lt;code&gt;&amp;lt;WAS_INSTALL_ROOT&amp;gt;/installableApps&lt;/code&gt; directory:
            &lt;dl&gt;
            &lt;li&gt;SimpleCI.ear&lt;/li&gt;
            &lt;li&gt;PostingsSample.ear&lt;/li&gt;
            &lt;li&gt;MandelbrotCI.ear&lt;/li&gt;
            &lt;/dl&gt;
            &lt;br/&gt;
            For more information: 
                        &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgrun"&gt;Installing the Compute Grid application&lt;/a&gt;
        &lt;br/&gt;
        &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/command_prompt.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
        &lt;a target="help" href="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&amp;product=was-nd-dist&amp;topic=txml_callappinstall"&gt;
        Installing applications with the wsadmin tool&lt;/a&gt;

        </description>
    </item>
    <item
        href=""
        title="Configure the endpoints database connection">
        <action class=""/>
        <description>
            Specify datasource JNDI names and database schema names for WebSphere servers and clusters hosting grid applications.
            &lt;br/&gt;
            &lt;br/&gt;
            In the job scheduler configuration panel, under Additional Properties, click &lt;strong&gt;WebSphere grid endpoints&lt;/strong&gt;.
            For more information: 
            &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;a target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=tbgsched"&gt;Configuring the endpoints database connection&lt;/a&gt;
        &lt;br/&gt;
        </description>
    </item>
    <item
        href=""
        title="Save and synchronize configuration">
        <action class=""/>
        <description>
             Click &lt;strong&gt;Save&lt;/strong&gt; in the message at the top of the console panel to update the configuration in the master repository.
        </description>
    </item>

    <item
        href=""
        title="Start the endpoint">
        <action class="navigatorCmd.do?forwardName=ApplicationServer.content.main"></action>
        <description>
            Start the application server or the dynamic cluster member defined in the previous task.
            The cluster member application server's name is in the form
            &lt;br/&gt;
            &lt;code&gt;{dynamic_cluster_name}_{node_name}&lt;/code&gt;
        </description>
    </item>
<!--
    <item
        href=""
        title="Submit a job">
        <action class=""></action>
        <description>
            &lt;dl&gt; To submit a job:
                &lt;li&gt;
                    Prepare the xJCL document which defines the job
                &lt;/li&gt;
                &lt;li&gt;
                    Submit a job using the launchClient command
                &lt;/li&gt;
            &lt;/dl&gt;
            &lt;strong&gt;Note:&lt;/strong&gt; Make sure that the job scheduler host and your Compute Grid application are started on the dynamic cluster where they are deployed.
            &lt;br/&gt; 
            &lt;br/&gt; 
            For more information: 
            &lt;br/&gt; 
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;A target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=xJCL"&gt;
                Topics related to xJCL
            &lt;/A&gt;
            &lt;br/&gt; 
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;A target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=jmc_overview"&gt;
            Job Management Console
            &lt;br/&gt; 
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/command_prompt.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;A target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=cbgcommd"&gt;
            The command line interface
            &lt;/A&gt;
        </description>
    </item>
-->
    <item href="" title="Task completion and next steps">
        <action class=""></action>
	<description>
            After completing the previous steps, the Compute Grid application is ready to be deployed.
            &lt;br/&gt;
            &lt;br/&gt; 
            The next steps are to create and manage jobs from the Job Management Console:
            &lt;dl&gt; 
                &lt;li&gt;
                    Prepare the xJCL document which defines the job
                &lt;/li&gt;
                &lt;li&gt;
                    Launch the Job Management Console to submit the job to the job scheduler
                &lt;/li&gt;
            &lt;/dl&gt;
 
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;A target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=xJCL"&gt;
                Topics related to xJCL
            &lt;/A&gt;
            &lt;br/&gt;
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/topic.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;A target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=jmc_overview"&gt;
            Job Management Console
            &lt;/A&gt;
            &lt;br/&gt; 
            &lt;IMG SRC="../com.ibm.ws.console.guidedactivity/images/command_prompt.gif" border="0" alt="Online task documentation" align="absmiddle"/&gt;
            &lt;A target="help" HREF="http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v6r1&amp;product=xd-grid&amp;topic=cbgcommd"&gt;
            The command line interface
            &lt;/A&gt;
        </description>
</item>
</cheatsheet>