Schedule Single Health Check Job

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to schedule a health check job at a specified time.

The scheduled job execution becomes effective and takes place only if the HcJobScheduler MO has an administrativeState set to UNLOCKED.

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To schedule a single health check job:

  1. Navigate to the HealthCheckM Managed Object (MO):

    >dn ManagedElement=<node_name>,SystemFunctions=1,HealthCheckM=1

    Note:  
    The string node_name is specific for the Managed Element (ME).

  2. Navigate to the HcJob MO representing the health check job to schedule, for example:

    (HealthCheckM=1)>HcJob=jobName

  3. Enter Config mode:

    (HcJob=jobName)>configure

  4. Navigate to the HcJobScheduler MO:

    (config-HcJob=jobName)>HcJobScheduler=1

  5. Create the single event MO, for example:

    (config-HcJobScheduler=1)>HcSingleEvent=singleEventName

  6. Enter the day and time for the scheduled health check job to be executed, for example:

    (config-HcSingleEvent=singleEventName)>scheduledTime=2015-04-09T10:10:10

    Note:  
    Ensure to set scheduledTime to a date and time that are in accordance with the Daylight Saving Time (DST).

  7. Commit the single event schedule:

    (config-HcSingleEvent=singleEventName)>commit

  8. Verify that the scheduled event was created:

    (HcSingleEvent=singleEventName)>show -v

    The following is an example output:

    HcSingleEvent=singleEventName
          scheduledTime="2015-04-09T10:10:10"
  1. Unlock the administrativeState of HcJobScheduler, refer to Unlock Health Check Job Scheduler.