Configuring Custom Actions
3-16
Express5800/320
Fc
: Active Upgrade™ User’s Guide
Related Topics
•
“Programming Notes for Custom Actions” on page 3-15
•
“Configuring Custom Actions” on page 3-12
Using Active Upgrade Environment Variables
You can optionally use the environment variables specified in
Table 3-5
in any program
that you write for a custom action. These environment variables are useful if you want
to write a conditional statement in your program that, for example, runs only on a
particular side of the system or only during a particular stage of the Active Upgrade
process.
By default, these environment variables are available to any child process of the Active
Upgrade console, including executable files for custom actions. However, if necessary,
you can also pass the environment variables to your executable files as arguments.
For example, to pass only the ACTIVE_UPGRADE_SIDE variable to an executable
file, append the following string to the
Arguments
for the custom action on the
Custom
Actions
page:
%ACTIVE_UPGRADE_SIDE%
Table 3-5. Environment Variables for Custom Actions
Environment Variable
Description
ACTIVE_UPGRADE_SIDE
Describes the side of the system on which the program
is running.
Values: Production, Upgrade
ACTIVE_UPGRADE_STATE
Describes the current upgrade state.
Values: Idle, PrepareSplit, Split, PrepareMerge, Merge,
Commit, Abort
ACTIVE_UPGRADE_REQUEST
Describes the current task that the Active Upgrade
console is executing.
Values: Idle, CheckReadiness, PrepareSplit,
ExecuteSplit, PrepareMerge, ExecuteMerge, Commit,
Abort, Start, Stop, Backup
ACTIVE_UPGRADE_HW_SPLIT
Describes whether or not the system is running in split
mode.
Values: Yes, No
Содержание 320Fc
Страница 1: ...NEC Corporation of America 456 01720 000 Express5800 320Fc Active Upgrade User s Guide ...
Страница 8: ...Tables vi Express5800 320Fc Active Upgrade User s Guide ...
Страница 12: ...Preface x Express5800 320Fc Active Upgrade User s Guide ...
Страница 22: ...Overview of the Active Upgrade Process 1 10 Express5800 320Fc Active Upgrade User s Guide ...
Страница 98: ...Viewing Active Upgrade Process Status 4 28 Express5800 320Fc Active Upgrade User s Guide ...
Страница 120: ...Index Index 6 Express5800 320Fc Active Upgrade User s Guide ...