Difference between revisions of "SUSE Manager/ActionChaining"

From MicroFocusInternationalWiki
Jump to: navigation, search
(Created page with "== Rationale == Some operations available in SUMa should really be executed in sequence. Provide a way to schedule a sequence of such operations for a system or a set of syst...")
 
(User Interface Mockups)
Line 68: Line 68:
 
Note: HTML mockups have some working parts (eg. the combobox in the first one, dragging and dropping actions in the last one), but most links to other pages are disabled.
 
Note: HTML mockups have some working parts (eg. the combobox in the first one, dragging and dropping actions in the last one), but most links to other pages are disabled.
  
''' [http://invis.io/A7LDQJPZ Screenshots and discussion over the User Interface are available here on inVision], please join to post your comments! '''
+
''' [http://invis.io/A7LDQJPZ Screenshots and discussion over the User Interface are available on inVision], please join to post your comments! '''

Revision as of 10:26, 19 December 2013

Rationale

Some operations available in SUMa should really be executed in sequence. Provide a way to schedule a sequence of such operations for a system or a set of systems.

User stories

Scenario: a complex patching routine

As an administrator, I want to execute an update procedure on web servers to fix a security issue

  • from the System List page, I select systems that I want to update
  • from the SSM Provisioning/Run Command page:
    • I input a script to stop services that are going to be updated
    • I select "Add to Action Chain" instead of the scheduling time and I input a new action chain name
  • from the Patches (Errata) page:
    • I select a patch to install
    • I select "Add to Action Chain", and I select the previous action chain name
  • from the Misc/Reboot page:
    • I select all systems in the set
    • I select "Add to Action Chain", and I select the previous action chain name
  • from the Action Chains page:
    • I check the correctness of the Action Check
    • I click on Execute Action Chain

Scenario: editing an Action Chain

As an administrator, I want to correct a mistake in an Action Chain to be able to execute it later

  • from the Action Chains page:
    • I select a chain that was previously created
    • I change the order of Actions in the Chain
    • I click on Save

Additional scenarios

  • deleting a system from an Action;
  • deleting an Action from a Chain;
  • deleting an Action Chain;

Definitions

A supported operation is one of:

  • Install a package;
  • Update a package;
  • Remove a package;
  • Apply a patch ("errata");
  • Run a command ("remote command");
  • Deploy a configuration file;
  • Reboot;

An Action is one of the supported operations applied to one or a set of systems.

An Action Chain is an ordered sequence of Actions.

The execution of an Action is the execution of its supported operation to all the systems it applies to.

The execution of an Action Chain is the execution of all its Actions, provided that:

  • if more than one Action applies to a same system, corresponding supported operations will be executed sequentially in Action Chain order.
  • if a supported operation fails on a system, no further supported operations will be executed.

Note that no ordering guarantees are made across systems.

User Interface Mockups

User interface for this feature is composed of:

  • an extra "Add to Action Chain" option in supported operation pages (HTML mockup);
  • a new page that lists Action Chains (HTML mockup);
  • a new page to edit an Action Chain (HTML mockup);

Note: HTML mockups have some working parts (eg. the combobox in the first one, dragging and dropping actions in the last one), but most links to other pages are disabled.

Screenshots and discussion over the User Interface are available on inVision, please join to post your comments!