Guide: Automation

content:

Automation

 

  1. Tasks
  2. Workflows
  3. Power Scheduling

 

1. Tasks

Tasks are primarily created for use in Workflows, but a single Task can also be executed on an existing instance. There are many Task Types available, including scripts added directly, scripts and templates from the Library section, recipes, playbooks, salt states, puppet agent installs, and http calls.

Adding Tasks

1. Select the Provisioning link in the navigation bar.

2. Select Automation from the sub-navigation menu.

3. Click the Add button.

4. From the New Task Wizard input a name for the task.

5. Select the type of task from the type dropdown.

6. Input the appropriate details dependent on the task type you selected from the dropdown.

7. Save

 

Editing Tasks

1. Select the Provisioning link in the navigation bar.

2. Select Automation from the sub-navigation menu.

3. Click the Edit icon on the row of the task you wish to edit.



4. Modify information as needed.

5. Click the Save Changes button to save.

 

Deleting Tasks

1. Select the Provisioning link in the navigation bar.

2. Select Automation from the sub-navigation menu.

3. Click the Delete icon on the row of the task you wish to delete.

 

One-time task execution

1. Navigate to Provisioning -> Instances

2.  Select an Instance

3. Select ACTIONS -> RUN TASK

 

4. Choose a task you want to run.


5. Click EXECUTE

 

Task execution result

1.  Navigate to Provisioning -> Instances

2. Select an Instance

3. Select History tab in the bottom table

 

 

2. Workflows

Add Workflow

1. Select the Provisioning link in the navigation bar.

2. Select Automation from the sub-navigation menu.

3. Click the Workflows tab to show the Workflows tab panel.

4. Click the Add button.

 

 
5. From the New Workflow Wizard input a name for the workflow.

 

6. Optionally input a description.

7. Expand the execution phases to add tasks to, and type the name of a created task and click the task when it appears to add.

8. If multiple tasks are added to the same execution phase, their execution order can be changed by selecting the grip icon and dragging the task to the desired execution order.

9. For multi-tenant environments, select Public or Private visibility for the Workflow.

10. Click the Save Changes button to save.


 

Edit Workflow

1. Select the Provisioning link in the navigation bar.

2. Select Automation from the sub-navigation menu.

3. Click the Workflows tab to show the workflows tab panel.

4. Click the Edit icon on the row of the workflow you wish to edit.

5. Modify information as needed.

6. Click the Save Changes button to save.

 

Delete Workflow

1. Select the Provisioning link in the navigation bar.

2. Select Automation from the sub-navigation menu.

3. Click the Workflows tab to show the workflows tab panel.

4. Click the Delete icon on the row of the workflow you wish to delete.

 

Workflow execution when creating an instance

1. When creating an instance, in the Automation tab, expand the Automation section.

2. In the WORKFLOW dropdown, select a workflow.

3. Continue creating the instance.

If you want to check workflow execution result:

  1. Navigate to Provisioning -> Instances

  2. Select the instance you have created

  3. Select History tab in the bottom table

 

One-time workflow execution

1. Navigate to Provisioning -> Instances

2. Select an Instance

3. Select ACTIONS -> RUN WORKFLOW

4. Choose a workflow you want to run.

5. Click EXECUTE

 

Workflow execution result

1. Navigate to Provisioning -> Instances

2. Select an Instance

3. Select History tab in the bottom table

 

 

3. Power Scheduling

Set weekly schedules for shutdown and startup times for Instances and VM’s. Apply Power Schedules to Instances pre- or post-provisioning.

Create Power Schedules

1. Navigate to Provisioning -> Automation -> Power Scheduling

 

2. Select +ADD

3. Configure the following options:

NAME - Name of the Power Schedule
DESCRIPTION - Description for the Power Schedule
TIME ZONE - Time Zone the Power Schedule times correlate to.
TYPE
    Power On - Power Up and then Down at scheduled times
    Power off - Power Down then Up at scheduled times
Enabled - Check for Power Schedule to be Active. Uncheck to disable Power Schedule.
DAYS - Slide the start and end time controls for each day to configure each days Schedule. Green sections indicate Power on, red sections indicate Power Off. Time indicated applies to selected Time Zone.



 

Add Power Schedule to Instance

1. Navigate to Provisioning -> Instances

2. Select an Instance

3. Select EDIT

4. In the POWER SCHEDULE dropdown, select a Power Schedule.

5. Select SAVE CHANGES

 

Add Power Schedule to Virtual Machine

1.​​​​​​ Navigate to Infrastructure -> Hosts -> Virtual Machines

2. Select a Virtual Machine

3. Select EDIT

4. Expand the Advanced Options section

5. In the POWER SCHEDULE dropdown, select a Power Schedule.

6. Select SAVE CHANGES