Sequencing a single task sequence across multiple operating environments
First Claim
1. A method in a computer system for sequencing a task sequence across multiple operating environments of the computer system, the method comprising:
- creating a task environment in memory from a previously saved task environment on disk, the task environment comprising information regarding the computer system;
determining an appropriate action to perform in a task sequence, the task sequence comprising a sequence of at least one action;
indicating the performance of the appropriate action in the task environment;
determining whether the appropriate action involves initiating a reboot of the computer system;
upon determining that the appropriate action involves initiating a reboot of the computer system, saving the task environment in memory to disk; and
executing the appropriate action.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for preserving state information across multiple operating environments on a machine are provided. A task engine creates and utilizes a task environment to preserve state information through multiple operating environments while sequencing the actions in a task sequence. During task sequence execution, the task environment is maintained in the machine'"'"'s memory. If an action that is being executed involves initiating a reboot operation, the task environment in memory is saved to disk (i.e., non-volatile memory). When the machine completes the reboot operation, either into the same operating environment or a new operating environment, the task engine creates a new task environment in the machine'"'"'s memory, and the new task environment is restored from the previously saved task environment on disk. The task engine then continues to sequence the actions in the task sequence utilizing the new task environment in memory.
-
Citations
20 Claims
-
1. A method in a computer system for sequencing a task sequence across multiple operating environments of the computer system, the method comprising:
-
creating a task environment in memory from a previously saved task environment on disk, the task environment comprising information regarding the computer system;
determining an appropriate action to perform in a task sequence, the task sequence comprising a sequence of at least one action;
indicating the performance of the appropriate action in the task environment;
determining whether the appropriate action involves initiating a reboot of the computer system;
upon determining that the appropriate action involves initiating a reboot of the computer system, saving the task environment in memory to disk; and
executing the appropriate action. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method in a computer system for scoping variables while sequencing a task sequence, the method comprising:
upon execution of a task sequence comprising a sequence of at least one action, creating a run-time scope for run-time variables, the run-time variables being the variables created by the task sequence execution;
creating a machine scope for machine variables, the machine variables being the variables that are specific to the computer system;
creating a collection scope for collection variables, the collection variables being the variables that are specific to a collection of machines to which the computer system belongs;
populating the machine scope and the collection scope from computer system-specific data; and
upon determining that there is an action to perform in the task sequence, creating a default scope for default variables;
initializing the default scope from data defined in the task sequence;
executing the action; and
upon completion of the action, destroying the default scope. - View Dependent Claims (16, 17, 18, 19)
-
20. A method in a computer system for reading a variable, the method comprising:
-
upon determining that a variable is defined in a run-time scope, reading the variable from the run-time scope;
upon determining that a variable is not defined in the run-time scope, upon determining that the variable is defined in an intermediate scope, reading the variable from the intermediate scope;
upon determining that the variable is not defined in the intermediate scope, reading the variable from a default scope.
-
Specification