Sun Update Connection - Enterprise 1.0 User's Guide

Job Management Features

The following procedures explain how to use various Sun Update Connection – Enterprise features that enable you to monitor and manage jobs after they have been created.

If your user account is restricted to simulate jobs only, you will not be able to perform all these features. Users with full permissions can use all the procedures.

Procedures in this section include:

ProcedureTo Confirm Tasks

If you create a policy, you can predefine which actions should be done automatically (see To Create a Policy). If you chose the predefined Always ask me policy, or if the selected policy did not answer all actions, the job will pause for your confirmation. In this procedure, you will confirm or deny actions of a task of a job. The confirmation answers apply to all hosts selected for the job.

  1. Make sure the Jobs panel of the main window is available. From the View menu, choose Jobs.

  2. From the Jobs list, click a paused job, indicated with the confirmation icon.

    The tasks of the job appear in the Tasks list.

  3. Select a task name with the confirmation icon.

  4. Do one of the following:

    • From the tool bar, click the Confirmation button.

    • Right-click the selected task and choose Confirmation.

    • From the Jobs menu, choose Tasks -> Confirm.

      The Confirmation window opens, displaying suggested actions.

      The screen capture shows a listing of suggested actions.
  5. If a confirmation question deals with a component for which you need more information, select the question and click the Details button.

    The Component Information window opens.

  6. When you have the information you need, click OK to close the Component Information window. You are returned to the Confirmation window.

  7. In the Confirmation window, select Yes to the questions you confirm and No to those you do not want Sun Update Connection – Enterprise to perform on the selected hosts.

    There are different types of questions, and your answers will cause different effect.

    Question 

    Yes 

    No 

    Install, Uninstall, Upgrade, Downgrade 

    Sun Update Connection – Enterprise will perform this action. 

    The DR will execute again, searching for a solution that does not include these actions. 

    If another solution is not found, the job fails.

    Apply Fix 

    Sun Update Connection – Enterprise will fix the dependency, security, or bug issue. 

    Sun Update Connection – Enterprise will not apply the fix in this job. 

    Perform action (Mandatory)

    Sun Update Connection – Enterprise will perform some action that is necessary to apply the deployment on the selected hosts. 

    The job will fail. 

    Perform action (without Mandatory)

    Sun Update Connection – Enterprise will perform some action that is necessary to apply the deployment on the selected hosts. 

    The Host Progress window shows Attention! You do the listed action manually.

    Accept 

    You accept that you have to do the special action manually. 

    Until you handle the action, the job will be marked as failed. 

    This action does not concern you; possible effects: 

    • The Host Progress window will show a reminder that this action should be done by someone at some point.

    • If the action is mandatory, the job will fail.

  8. Click OK.

More Information About Confirmation

What Happens After Task Confirmation

If the job was in Simulate mode, the actions and results are calculated, giving you an accurate estimation of the required time and changes, and whether your answers will allow the job to succeed.

If the job was in Deploy mode, the confirmed actions that Sun Update Connection – Enterprise can do automatically are done on the selected hosts. If you have confirmed an Acknowledge question, the Host Progress windows shows Acknowledged: <action>. Remember that the results of the job might not be applied to the hosts until you actually do the acknowledged action.

If the Host Progress window shows Attention! <action>, you should do the action to have the results applied. Some actions can be done through Sun Update Connection – Enterprise. For others, you should ask make sure the action is done at some point, by someone.

If a job fails because you said No to a question, the reason given in the Host Log is: Resolve failure - cannot resolve solution. User request.

ProcedureTo Monitor a Current Job

After you send a single job to be done on a list of hosts, the agent installed on each host finds an individual solution for the job. You can monitor the progress of each host, separately, as it performs the actions of a task in a job. You can also view the job log of each host. This procedure explains how to open and understand the Host Progress window and the Job Log window for a host.

  1. Make sure the Jobs panel of the main window is available. From the View menu, choose Jobs.

  2. From the Jobs list, select a job.

    The tasks of the job appear in the Tasks list.

  3. From the Tasks list, select a task.

    The hosts running this task appear in the Hosts list of the Jobs panel.

  4. Select a host.

  5. Do one of the following:

    • From the tool bar, click the Host Progress button.

    • Right-click the selected host and choose Host Progress.

    • From the Jobs menu, choose Hosts -> Show Progress.

      The Host Progress window opens.

      Figure showing a tree view of the hosts progress installation.
  6. Monitor the actions of the host for the selected task:

    • Basket – The actions that you requested.

    • Resolve – Status of the dependency resolver finding a solution.

    • To Do List – List of actions to be taken to fulfill the solution. This list might contain special actions. If it is Perform <action>, Sun Update Connection – Enterprise does the action automatically. If the To Do item is Attention! <action>, you are expected to handle the action yourself before the job will continue.

      If there is a problem, you can click the Stop Job button. The job will stop at a safe place.

ProcedureTo View Job Log

When a job is done, either on success or failure, you can see the log of actions for all tasks of the job on the selected host. Each host may have a different log for the same job.

  1. Make sure the Jobs panel of the main window is available. From the View menu, choose Jobs.

  2. From the Jobs list, select a job.

    The tasks of the job appear in the Tasks list.

  3. From the Tasks list, select a task.

    The hosts running this task appear in the Hosts list of the Jobs panel.

  4. Select a host.

  5. Open the Job Log. Do one of the following:

    • From the tool bar, click the Job Log button.

    • Right-click the selected host and choose Show Log.

    • From the Jobs menu, choose Hosts -> Show Log.

      The Job Log window opens.

      The Job Log shows each phase and whether it started and finished successfully. If there are any errors, they are listed.

      To send the log to technical support, click Save As, save the log on the console machine, and email it with all relevant details.

    If the failure reason is User request, run the job again with different Confirmation answers or a different Policy. This error indicates that you denied actions that were necessary to the success of the job.

ProcedureTo Rerun a Job

Rerun a job that has completed, either successfully or with a failure.

  1. Make sure the Jobs panel of the main window is available.

    From the View menu, choose Jobs.

  2. From the Jobs list, select a job.

  3. Do one of the following:

    • From the tool bar, click the Rerun button.

    • Right-click the selected job and choose Rerun.

    • From the Jobs menu, choose Rerun.

      The Rerun window opens.

      Figure showing the Rerun Job window.
  4. Give the job a new name and an optional description.

  5. Select a mode for the job:

    • Deploy – Execute the job actions

    • Simulate – Test the job

  6. If the job failed because the policy did not allow certain components to be changed, check Ignore Policy to ensure that the job has a chance to succeed.

  7. Click OK.

    The Rerun window closes and the new job is added to the Jobs list. This job runs the same tasks, on the same host list, as the original job.

ProcedureTo Filter the Jobs Panel

Set the filters to show the information you want in the Jobs panel. This enables you to easily find information about jobs, tasks, and hosts in the Jobs list that is important to you.

  1. Make sure the Jobs panel of the main window is available.

    From the View menu, choose Jobs.

  2. Do one of the following:

    • From the tool bar, click the Filter button.

    • Right-click in the Jobs list and choose Filter.

    • From the Jobs menu, choose Filter.

      The Jobs Filter window opens.

      The screen capture shows the Job Filter window that offers seven filter options.
  3. Check options to filter the list for jobs by status and by owner.

  4. Click OK.

    The Jobs list changes to display only the jobs that match the checked filtering options.


    Note –

    You can organize the Jobs list by dragging columns in any order you choose. You can click a column header to order the list alphanumerically.


ProcedureTo Delete Jobs

In this procedure, you will delete job listings that are no longer relevant. When you delete a job listing, the data remains in the system dependency server. You can query job history from reports (see Job History Reports).


Note –

You can use the profiles and policies of jobs that are in the list, so do not delete jobs until you are sure they are no longer relevant.


  1. Make sure the Jobs panel of the main window is available.

    From the View menu, choose Jobs.

  2. From the Jobs list, select a job that is no longer current.

  3. Do one of the following:

    • From the tool bar, click the Delete Job button.

    • Right-click in the Jobs list and choose Delete.

    • From the Jobs menu, choose Delete.

      The job listing is removed from the Jobs window.

ProcedureTo Refresh the Jobs List

The Jobs list is updated for current dynamics on a schedule. If you want to make sure that the list is accurate, use this procedure to force the update and refresh the list.

  1. Make sure the Jobs panel of the main window is available. From the View menu, choose Jobs.

  2. Do one of the following:

    • From the tool bar, click the Refresh button.

    • Right-click in the Jobs list and choose Refresh.

    • From the Jobs menu, choose Refresh.

      The list is updated, if necessary.

ProcedureTo Reschedule Recurring Jobs

If you set a Complex job for a recurring schedule, you can change the schedule at any time after it is in the Jobs list.

  1. Make sure the Jobs panel of the main window is available. From the View menu, choose Jobs.

  2. Do one of the following:

    • From the tool bar, click the Reschedule button.

    • Right-click in the Jobs list and choose Reschedule.

    • From the Jobs menu, choose Reschedule.

      The Reschedule window opens.

  3. Select days of the month:

    • Every day – Job runs every day of the month, or year (if Every Month was selected).

    • Day in week – Select the days of the week on which the job will be run.

    • Day in month – Select dates in the month on which the job will be run (use Shift or Control to select multiple dates).

  4. Select time of the day:

    • Earliest. Set a time (hour:minute) for the first run of the job.

    • Interval. Set a minute interval to have the job run more than one time a day.

    • Latest. Set a time for the latest run of the job if you specified an interval for multiple runs.

  5. Click OK.

ProcedureTo Install Interactive Solaris Patches

You can install Solaris patches as an inventory-based job or as a complex job. Some patches are handled automatically by Sun Update Connection – Enterprise, while other patches demand user interaction.

When you need to install an interactive Solaris patch, Sun Update Connection – Enterprise downloads the patch for you, but you must handle the manual intervention actions yourself.

  1. Create a job to install the patches.

  2. Run the job.

    The job will pause with confirmation questions.

  3. From the Jobs panel, select the task that contains the patch and click the Confirmation button.

    The Confirmation window opens.

    One of the following questions will appear:


    • Accept Install of patch requires manual intervention for component
      

    • Accept Uninstall of patch requires manual intervention for component
      
  4. Click Yes for this question.

    This means that you accept the responsibility for handling this patch. If you select No, the job fails.

  5. In the Confirmation window, click OK.

    The job begins. It downloads the patch you requested to the /opt/local/uce/agent/blobs.save directory on the selected Solaris machines.

    When the job reaches the point where it would install the patch, it is marked as failed and stops.

  6. On the Solaris machines, manually install /opt/local/uce/agent/blobs.save/patchname-ver.

  7. On the console machine, right-click the job in the Jobs panel and choose Rerun.

    The Rerun window opens.

  8. Select Deploy and then click OK.

    Sun Update Connection – Enterprise runs the job again, recognizes the installed required patch, and continues.