[AIX HP-UX Linux Solaris Windows][z/OS]

Using the simpleCI sample

You can install, run, and monitor a simple application that performs compute-intensive calculations for a specified amount of time using the simpleCI sample.

Before you begin

  1. Augment existing WebSphere® Application Server profiles to support the feature pack or create profiles that include support for the feature pack.
  2. Start the appropriate application servers and any supporting management processes.
  3. Configure the location of the job scheduler.

    The following steps assume that you are setting up a stand-alone application server test environment to explore the capabilities of the feature pack.

    If you are setting up a clustered environment, you must perform additional steps. You must create a network database to support the job scheduler. You must configure related job scheduler database connectivity settings. Read the topic about configuring the job scheduler.

    1. On the administrative console, click System administration > Job scheduler.
    2. Set Scheduler hosted by to the identity of the appropriate application server; for example:

      WebSphere:cell=ndcell,node=node1,server=server1

    3. Save the changes.

About this task

Use the following general procedure to install and run the simpleCI sample. Read the topics about the job scheduler, the job management console, and developing applications for detailed information.

Procedure

  1. Install the simpleCI sample.
    1. In the administrative console, click Applications > New application > New Enterprise Application.
    2. Specify the full path to the sample.

      [Linux] [HP-UX] [Solaris] [AIX] [z/OS] <app_server_root>/feature_packs/BATCH/installableApps/simpleCI.ear

      [Windows] <app_server_root>\feature_packs\BATCH\installableApps\simpleCI.ear

    3. In the wizard, select Fast Path - Prompt only when additional information is required, accept default settings, and continue through the steps. Clicking Finish when you are done.
    4. If you plan to install additional sample applications, do so now.
    5. Restart the application server or start the application.

      If this is the first time you are installing an application, restart the server. Otherwise, you can start the application under the Applications > Application Types > WebSphere enterprise applications panel.

  2. Submit a job to the simpleCI sample.
    1. Edit the SimpleCIxJCL.xml xJCL file.

      You use the xJCL file to submit a job to the simpleCI sample.

      The file is located in the following directory:

      [Linux] [HP-UX] [Solaris] [AIX] [z/OS] <app_server_root>/feature_packs/BATCH/longRunning
      • Modify the outfile property in the SimpleCIxJCL.xml file to include a valid directory; for example:

        <prop name="outfile" value="/tmp/simpleciout.txt" />

      [Windows] <app_server_root>\feature_packs\BATCH\longRunning
      • Modify the outfile property in the SimpleCIxJCL.xml file to include a valid directory, including double backslashes; for example:

        <prop name="outfile" value="C:\\temp\\simpleciout.txt" />

    2. Start the job management console.

      In a web browser, type the following web address:

      http://<job scheduler server host>:<port>/jmc

      <job scheduler server host> is the host address and <port> is the WC_defaulthost port of the application server on which the running job scheduler is installed.

      To view on the administrative console the port numbers assigned to a given application server, click Servers > Server Types > WebSphere application servers > server_name > Communications > Ports.

    3. Submit the SimpleCIxJCL.xml file.

      On the job management console, click Job Management > Submit a job, and specify the path to the SimpleCIxJCL.xml file.

  3. Monitor the submitted job.

    On the job management console, click Job Management > View jobs, and view jobs based on characteristics such as the job ID and the job submitter.

    You can determine whether the job completed successfully by going to the second page of the job viewer and scrolling to the bottom. If the job did complete successfully, you see a Job completed successfully message.




In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jan 14, 2013 5:55:59 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700compg&product=was-nd-mp&topic=tgrid_simpleci
File name: tgrid_simpleci.html