Skip Headers
Oracle® Enterprise Manager Ops Center User's Guide
11g Release 1 Update 3 (11.1.3.0.0)

Part Number E18415-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

5 Job Management

All tasks, such as asset discovery or OS provisioning, create jobs. Because each task runs as a job, you do not have to wait for one job to finish before you start the next action. This chapter describes how to work with jobs and work with the results.

About Jobs

To launch a new job, go to the Navigation pane to select an asset and then go to the Actions pane to select an operation. For some tasks, you can start from the Actions pane and then identify the targets. After the job is launched, you can monitor and control it from the Jobs pane.

From the Jobs pane, you monitor the progress of current jobs and can review historical jobs. You can see the status of all jobs and view detailed information about a specific job in its current state. You can view information about jobs, view categories of jobs, and take actions on jobs. The following information is displayed for each job:

You can take the following actions on jobs:

Viewing Job Details

You can view detailed information about a job:

To View Job Details

  1. Expand the Jobs pane at the bottom of the UI.

  2. Select a job.

  3. Click the View Job Details icon or double-click the job. The job details of the most recent run ID are displayed.

  4. (Optional) Click the down-arrow near the Job Details title to see information about how the job was run.

  5. (Optional) Select a different run ID from the list. The job details for the new run ID are displayed.

To see only those jobs for a particular asset, use the asset's Jobs tab to see both running jobs and jobs that have been completed.

To View Jobs for an Asset

  1. Select the asset in the Assets section of the Navigation pane. The Summary page of the selected asset is displayed in the center pane.

  2. Select the Jobs tab in the center pane. The Jobs page is displayed, showing the Current and Historical jobs for the selected asset, and their status.

Answering Questions

Some jobs require user input to complete. A job that requires a response has the status of Waiting for User Input.

To Answer Questions For a Job

  1. Select the job that requires input.

  2. Click the Answer Questions icon. The Answer Pending Questions window is displayed.

  3. (Optional) Click the page icon next to a component to display the component details.

  4. Answer the questions in one of the following ways. Click Reset to set the response for every question to the default value.

    • Select Yes or No for each question using the buttons in the right column.

    • Click Yes to All to set the response for every question to yes.

    • Click No to All to set the response for every question to no.

  5. Click Submit. The job is resubmitted using the same Job ID and Run ID.

Stopping a Job

You can stop a job that is running. All tasks in progress are interrupted and tasks that have not yet started are aborted. The completion status of the job depends on the number tasks that have completed, been interrupted, and not started.

To Stop a Job

  1. Expand the Jobs pane at the bottom of the UI.

  2. Select the job ID of a running job.

  3. Click the Stop Selected Jobs button.

  4. Click Stop Job to confirm. The job is stopped.

Re-running a Job

If a job is completed, you can repeat the job with a new Run ID.

If a job is partially completed, failed, or stopped, you can repeat the job on failed or incomplete targets.

To Re-Run a Job

  1. Expand the Jobs pane at the bottom of the UI.

  2. Select one or more job IDs to re-run.

  3. Click the Re-run Selected Job button.

  4. Click Run Job to confirm. The job runs again with a new Run ID.

To Re-Run a Job on Failed Targets

  1. Expand the Jobs pane at the bottom of the UI.

  2. Select the job that you want to re-run.

  3. Click View Job Details.

  4. Click Rerun Job on Failed Targets.

  5. Click Run Job. The job is run again with the same Run ID.

Copying a Job

You can copy a job, using an old job as a template for a new job.

To Copy a Job

  1. Expand the Jobs pane at the bottom of the UI.

  2. Select the job that you want to copy.

  3. Click Copy Job. The New Job wizard is displayed.

  4. (Optional) Modify the job information for its new task. Click Next.

  5. Select a schedule for the job and click Next.

  6. Review the job information and click Submit Job. The new job is submitted with a new Job ID.

Deleting a Job

Deleting a job removes it from the queue entirely. It cannot be re-run or resumed, and its job details are not available.

Note:

You cannot delete jobs that are running. You must stop the job and then delete it.

To Delete a Job

  1. Expand the Jobs pane at the bottom of the UI.

  2. Select the job ID or IDs that you want to delete.

  3. Click the Delete Selected Jobs icon.

  4. Click Delete Job to confirm. The job is deleted.

Changing the Maximum Time for a Job

The default time for a job is 180 minutes. Complex jobs or some environments can require more time for a job to finish.

To Change the Maximum Time for a Job

  1. Edit the /var/opt/sun/xvm/satellite.properties file.

  2. Edit the osp.default_timeout property to increase the number of minutes allowed for jobs. The example adds another hour to the expiration time.

    ##################################
         # OS Provisioning
         ##################################
         # Default Timeout of OSP Job
         osp.default_timeout=240
    
  3. Restart the Enterprise Controller.