VM Scheduling

Overview


Virtual Machine (VM) Creation Wizard is a HyperCloud™ Platform (HCP) feature that lets you schedule your VM. You can define the VM Start and Stop schedule if you have a definite work pattern or you want to reduce your cloud costs. To specify a VM start and stop schedule:

  1. Login to your HCP account.

  2. Navigate to Service Orchestration > Services > VMs > VM Creation Wizard > Advanced tab > Select the Define a VM Start and Stop Schedule.

You can schedule a VM in three ways:

Notes:

  • You can specify the VM Start and Stop Schedule for a VM that's created before. However, you will not be able to change a schedule once you've specified it.

    Scheduled tab
  • You can view Scheduled VMs in a separate 'Scheduled' tab. 

Recurrence Start VM Schedule


Select Recurrence Start VM Schedule if you want to implement recurring Start and Stop Schedules for your VM. Once you choose the VM Schedule, you'll need to select the values for:

  • Start and End Date for your Schedule.

  • Pick the recurrence or frequency for Starting and Stopping a VM.

    • You can choose from Daily, Weekly or Monthly recurrences.  

  • Select the VM Start Time.

  • Select the validity period for the VM. Post this period, your VM will be terminated. 

Advanced tab

Specific Start VM Schedule


If you want to schedule the VM Start and Stop time for a specific time, use the Specific Start VM Schedule. This setting is similar to a VM lease period. Once you select this setting, set the Start and Stop Date for your VM.

Advanced (Via Quartz Cron Expression) 


You can customize your VM Start and Stop Dates.  

This setting is similar to the Quartz Cron syntax with some minor differences. To customize your VM Start and Stop Schedule, enter values for these parameters and separated by whitespaces: 

MINUTE HOUR DOM MONTH DOW YY

We've listed the details for the syntax in the table below:

Field Name

Description 

Field Name

Description 

MINUTE

Minutes within the hour (0–59)

HOUR

The hour of the day (0–23)

Day-of-Month

The day of the month (1–31)

Month

The month (1–12)

Day-of-Week

 The day of Week or you can specify multiple days (SAT,SUN, MON, TUE.. )

Year (optional)

Year

Examples:

Schedule 
The VM starts at 07:00:00am, every Saturday and Sunday of the month.

Syntax
0 0 7 ? * SAT,SUN *

Schedule
The VM starts at 12:00:00 pm, every Wednesday.

Syntax
0 0 12 ? * WED

© 2020 CloudSphere