Running a procedure - assure_mimix - 10.0

Assure MIMIX Operations with PowerHA User Guide

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software
Version
10.0
Language
English
Product name
Assure MIMIX
Title
Assure MIMIX Operations with PowerHA User Guide
Topic type
How Do I
Copyright
2023
First publish date
2009

The procedure type determines what command to use to run the procedure. Procedure types *USER and *NODE can be run from either the Work with Procedures or Work with Procedure Status displays using option 9 (Run). *NODE procedures can only run on the node where the procedure is started. All other procedure types must be invoked by the application group command associated with the procedure type. For example a procedure of type *START can only be invoked by the Start Application Group (STRAG) command.

Multiple uniquely named procedures of type *USER for the same application group can run at the same time. For procedures of type *END, *START, *SWTPLAN, *SWTUNPLAN, or *SWTVRT, only one procedure for the application group can run at a time.

Multiple uniquely named procedures of type *NODE can be run on a specific system at the same time. Procedures of type *NODE which have the same name can run on different systems at the same time.

Where should the procedure begin? The value specified for the Begin at step (STEP) parameter on the request to run the procedure determines the step at which the procedure will start. The status of the last run of the procedure determines which values are valid.

The default value, *FIRST, will start the specified procedure at its first step. This value can be used when the procedure has never been run, when its previous run completed (*COMPLETED or *COMPERR), or when a user acknowledged the status of its previous run which failed, was canceled, or completed with errors (*ACKFAILED, *ACKCANCEL, or *ACKERR respectively).

Other values are for resolving problems with a failed or canceled procedure. When a procedure fails or is canceled, subsequent attempts to run the same procedure will fail until user action is taken. You will need to determine the best course of action for your environment based on the implications of the canceled or failed steps and any steps which completed.

The value *RESUME will start the last run of the procedure beginning with the step at which it failed, the step that was canceled in response to an error, or the step following where the procedure was canceled. The value *RESUME may be appropriate after you have investigated and resolved the problem which caused the procedure to end. Optionally, if the problem cannot be resolved and you want to resume the procedure anyway, you can override the attributes of a step before resuming the procedure.

The value *OVERRIDE will override the status of all runs of the specified procedure that did not complete. The *FAILED or *CANCELED status of these procedures are changed to acknowledged (*ACKFAILED or *ACKCANCEL) and a new run of the procedure begins at the first step.

To run a procedure of type *USER, do the following:

  1. From the Work with Procedures or Work with Procedure Status display type 9 (Run) next to the user procedure you want and press F4 (Prompt).

  2. Specify the value you want for Begin at step and press Enter.

To run a procedure of type *NODE, do the following from the node where you want the procedure to run:

  1. From the Work with Procedures or Work with Procedure Status display type 9 (Run) next to the node procedure you want and press F4 (Prompt).

  2. Specify the value you want for Begin at step and press Enter.

To run a procedure type other than *USER or *NODE, do the following:

From a command line, enter the application group command associated with the procedure type. For example a procedure of type *START can only be invoked by the Start Application Group (STRAG) command.

To resume a procedure with a status of *CANCELED or *FAILED, see Resuming a procedure.