运行 DLPAR 脚本的时间线

AIX实时更新通知在原始分区和代理分区上运行。

各阶段的执行次序如下:

原始节点 代理节点
LVUP_CHECK Priority 1
如果发生错误,
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
无论阶段运行如何,都将调用此脚本。
 
...  
LVUP_CHECK Priority 10
如果发生错误,
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
DR_CHECK; 检查返回码 (RC)。
如果发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
Alternate Disk Install 引导代理节点
  DR_CHECK; 已选中 RC。
如果发生错误,
DR_POST_ERROR
Terminate Live Update operation
  LVUP_CHECK Priority 10
如果发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 1
...
LVUP_ERROR Priority 10
Terminate Live Update operation
  ...
  LVUP_CHECK Priority 1
如果发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 1
...
LVUP_ERROR Priority 10
Terminate Live Update operation
如果代理节点上发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
LVUP_PRE (applications) Priority 1
如果发生错误,
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
...  
LVUP_PRE (applications) Priority 10
如果发生错误,
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
DR_PRE (applications); 未检查 RC。

DR_PRE 脚本针对要迁移的进程运行。

 
镜像卷组  
  DR_PRE (applications); 未检查 RC。

DR_PRE 脚本针对正在运行的基本进程运行。

  LVUP_PRE (application) Priority 10

DR_PRE 脚本未针对基本进程运行,但可用于已迁移的进程。

如果发生错误,
LVUP_ERROR Priority 1
...
LVUP_ERROR Priority 10
Terminate Live Update operation
  ...
  LVUP_PRE (application) Priority 1
如果发生错误,
LVUP_ERROR Priority 1
...
LVUP_ERROR Priority 10
Terminate Live Update operation
如果代理节点上发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
应用程序被冻结,网络被阻止  
LVUP_PRE (Kernel) Priority 1
如果发生错误,
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
...  
LVUP_PRE (Kernel) Priority 10
如果发生错误,
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
DR_PRE (Kernel); 已选中 RC。
如果发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
DR_POST_ERROR 脚本对内核和应用程序 DR_PRE 脚本运行一次。
 
  如果原始节点上发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 1
...
LVUP_ERROR Priority 10
Terminate Live Update operation
DR_POST_ERROR 脚本对内核和应用程序 DR_PRE 脚本运行一次。
拆分卷组  
  导入卷组
  DR_PRE (Kernel); 已选中 RC。
如果发生错误,
DR_POST_ERROR
  LVUP_PRE (Kernel) Priority 10
如果发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 1
...
LVUP_ERROR Priority 10
Terminate Live Update operation
  ...
  LVUP_PRE (Kernel) Priority 1
如果发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 1
...
LVUP_ERROR Priority 10
Terminate Live Update operation
如果代理节点上发生错误,
DR_POST_ERROR
LVUP_ERROR Priority 10
...
LVUP_ERROR Priority 1
Terminate Live Update operation
 
  已迁移的应用程序已取消冻结,网络已取消阻塞
  不返回点
DR_POST 脚本已运行; 未检查 RC。

(如果 实时更新 迁移不为客户接受,那么用于清除文件。)

DR_POST 脚本已运行; 未检查 RC。

(对于已迁移的应用程序。)

LVUP_POST (application) Priority 1 LVUP_POST (application) Priority 10
...
...
LVUP_POST (application) Priority 10 LVUP_POST (application) Priority 1
  Original LPAR deleted, Surrogate UUID updated
  LVUP_COMPLETE (application) Priority 10
  ...
  LVUP_COMPLETE (application) Priority 1