Working with timeframes and schedules

This topic will help you understand how you can create timeframes, schedules, and associate the schedules with CIs using the TrueSight Infrastructure Management Administrator Console and the CMDB form.

To create timeframes using the TrueSight Infrastructure Management Administrator Console

  1. Open the TrueSight Infrastructure ManagementAdministrator Console and select Tools > Timeframe Editor.
  2. In the Timeframes dialog, select the cell name from Cell.
  3. Click the New Timeframe Create_TimeFrame_Icon icon to create a new timeframe.
  4. In the following Timeframe New dialog, enter the details for the timeframe and click Save.
    Create_Timeframe_Admin_Console
  5. Click the Copy Timeframe Copy_Timeframe icon to export the timeframe and copy the export file to your local machine.

    Note

    Alternatively, you can export the timeframe by using the following command:

    mquery -n <cell_name> -a TIME_FRAME -s ALL -f BAROC -d >><export_file_name>.txt

    export_file_name is the name of the file where you want to export the timeframe.

  6. From your local machine, open the export file in a text editor and search for the timeframes that you want to create.
  7. Copy the associated attribute information for these timeframes and enter these details in the timeframe form.
  8. Open the BMC.SIM:SIM_TIME_FRAME form by accessing the following URL:
    http://<midTierServer>:<port>/arsys/forms/<ARServer>/BMC.SIM:SIM_TIME_FRAME


  9. Perform the following steps to create a new timeframe in the BMC.SIM:SIM_TIME_FRAME form:

    1. Click New Request.
    2. Input the DatasetId as BMC.ASSET.
    3. Click the expander to view the form fields that need to be populated to capture the new timeframe details in various tabs.

      • In the General tab, copy the value of the mc_udid attribute associated with the timeframe in the export file into the ReconciliationIdentity field in the form
      • In the Custom tab, copy the values of the description, name, dtstart, dtend, and rrule attributes associated with the timeframe in the export file into the description, name, dtstart, dtend, and rrule fields in the form respectively
      • In the Custom2 tab, the ServiceModelSet attribute should be set to IN

      Note

      The following attributes should also be populated in the BMC.SIM:SIM_TIME_FRAME form when creating a new timeframe by referring to the values in the export file:

      • duration
      • tzid
      • rdate
      • exdate
      • exrule
      • interruptions

      Sample export file

      Sample_Baroc

    4. Click Save.

Note

The preceding process will create a single instance of the form class. You can create more instances by creating a new request.

To create schedules using the CMDB form

Note

Before creating a new schedule, click New Search in the BMC.SIM:SIM_TIME_FRAME form to search for a timeframe instance by inputting search criteria in the InstanceId field and make a note of the ReconciliationIdentity field value.


  1. Open the BMC.SIM:BMC_TIME_SCHEDULE form by accessing the following URL:
    http://<midTierServer>:<port>/arsys/forms/<ARServer>/BMC.SIM:BMC_TIME_SCHEDULE

    BMC.SIM_BMC_TIME_SCHEDULE_Form

  2. Click New Request.
  3. Input the DatasetId as BMC.ASSET.
  4. Click the expander to view the form fields that need to be populated to capture the new schedule details in various tabs.

    • In the General tab, enter a unique identifier for the schedule in the ReconciliationIdentity field
    • In the Custom tab, enter a value for the following fields:
      • Schedule description in the Description field
      • Schedule name in the Name field
      • Set the ServiceModelSet field to IN
  5. Click Save.

To associate timeframes to schedules using the CMDB form

Note

One schedule can be associated to multiple in schedule and out of schedule timeframes.

  1. Open the BMC.SIM:BMC_TIME_FRAME_TO_SCHEDULE form by accessing the following URL:
    http://<midTierServer>:<port>/arsys/forms/<ARServer>/BMC.SIM:BMC_TIME_FRAME_TO_SCHEDULE
    BMC.SIM_BMC_TIME_FRAME_TO_SCHEDULE
  2. Click New Request.
  3. Input the DatasetId as BMC.ASSET.
  4. Click the expander to view the form fields that need to be populated to associate timeframes to schedules in various tabs.

    • In the General tab, enter a unique identifier for the timeframe-schedule association in the ReconciliationIdentity field.
    • In the Custom tab, enter a value for the following fields:
      • Set the Included field to YES or NO.
        Note: This field is set to YES for an in schedule timeframe and NO for an out of schedule timeframe
      • Set the value of the Schedule field to the ReconciliationIdentity field value present in the BMC.SIM:BMC_TIME_SCHEDULE form

      • Set the ServiceModelSet field to IN

      • Set the value of the Timeframe field to the ReconciliationIdentity field value present in the BMC.SIM:SIM_TIME_FRAME form

  5. Click Save.

To edit timeframes using the TrueSight Infrastructure Management Administrator Console

  1. Open the TrueSight Infrastructure ManagementAdministrator Console and select Tools > Timeframe Editor.
  2. In the Timeframes dialog, select the cell name from Cell and the timeframe that you want to edit as shown in the following illustration:
    Edit_Timeframes
  3. Click the Edit Timeframe  icon to edit the required timeframe.
  4. In the following Timeframe Edit dialog, edit the required details for the timeframe and click Save.
    Edit_Timeframe_Admin_Console
  5. Click the Copy Timeframe Copy_Timeframe icon to export the edited timeframe and copy the export file to your local machine.

    Note

    Alternatively, you can export the timeframe by using the following command:

    mquery -n <cell_name> -a TIME_FRAME -s ALL -f BAROC -d >><export_file_name>.txt

    export_file_name is the name of the file where you want to export the timeframe.

  6. From your local machine, open the export file in a text editor and search for the edited timeframe details.
  7. Copy the associated attribute information for the edited timeframes and enter these details in the timeframe form.
  8. Open the BMC.SIM:SIM_TIME_FRAME form by accessing the following URL:
    http://<midTierServer>:<port>/arsys/forms/<ARServer>/BMC.SIM:SIM_TIME_FRAME

  9. Perform the following steps to input the edited timeframe details in the BMC.SIM:SIM_TIME_FRAME form:

    1. Input the search criteria in any of the form fields to search the timeframe that you want to edit and click Search.
    2. From the following search results illustration, select the InstanceId of the timeframe that you want to edit.
      Timeframe_Search_Results
    3. The form will open in edit mode for the selected instance of the timeframe. Update the required timeframe details in the form and click Save.
      Timeframe_Edit_Mode

To edit schedules using the CMDB form

  1. Open the BMC.SIM:BMC_TIME_SCHEDULE form by accessing the following URL:
    http://<midTierServer>:<port>/arsys/forms/<ARServer>/BMC.SIM:BMC_TIME_SCHEDULE

  2. Input the search criteria in any of the form fields to search the schedule that you want to edit and click Search.
  3. From the following search results illustration, select the InstanceId of the schedule that you want to edit.Schedule_Search_Results
  4. The form will open in edit mode for the selected instance of the schedule. Update the required schedule details in the form and click Save.
    Schedule_Edit_Mode

To assign schedules to CIs using CMDB form 

  1. Open the BMC.CORE:BMC_BaseElement form by accessing the following URL:
    http://<midTierServer>:<port>/arsys/forms/<ARServer>/BMC.CORE:BMC_BaseElement

  2. Input the search criteria in any of the form fields to search the CI for which you want to assign the schedule and click Search.
  3. From the following search results illustration, select the InstanceId of the CI for which you want to assign the schedule.Assign_CI_Schedule_Results
  4. The form will open in edit mode for the selected instance of the CI. In the any of the Custom tabs, set the value of the ScheduleId field to the ReconciliationIdentity field value present in the BMC.SIM:BMC_TIME_SCHEDULE form and click Save.
    Assign_Schedule_Edit_Mode
Was this page helpful? Yes No Submitting... Thank you

Comments