Please enter search query.
Search <book_title>...
Veritas Access 7.3 安装指南
Last Published:
2017-09-18
Product(s):
Access (7.3)
- Veritas Access 简介
- Veritas Access 授权许可
- 系统要求
- 准备安装 Veritas Access
- 在 VMware ESXi 中部署用于安装 Veritas Access 的虚拟机
- 安装和配置群集
- 使用响应文件自动运行 Veritas Access 安装和配置
- 显示和添加群集节点
- 升级 Veritas Access
- 使用滚动升级来升级 Veritas Access
- 卸载 Veritas Access
- 附录 A. 安装参考
- 附录 B. 配置安全 Shell 进行通信
在升级之前或之后自动执行定制脚本
系统提供了一个接口,可在升级之前或之后自动执行定制脚本。将可执行的脚本放在指定的文件夹中,以便自动执行。
如果要在升级之前运行脚本
- 在主节点上创建文件夹
/var/tmp/prestop
。 - 将脚本复制到该文件夹中。
- 如果脚本存在错误(脚本执行的退出代码不为零),系统将提示您确认是否继续升级:
CPI WARNING V-9-0-0 Prestop script /var/tmp/prestop/test.sh failed \ to be executed on test_02, the return code is 2. Do you want to continue? [y,n,q]
如果要在升级之后运行脚本
- 在主节点上创建文件夹
/var/tmp/poststart
。 - 将脚本复制到该文件夹中。
- 如果脚本存在错误(脚本执行的退出代码不为零),则可能会看到类似于以下内容的警告消息:
CPI WARNING V-9-0-0 Poststart script /var/tmp/poststart/test.sh \ failed to be executed on test_02, the return code is 2.
该脚本将自动复制到其他节点并在每个节点上执行。
请注意,/var/tmp/prestop
或 /var/tmp/poststart
文件夹中只能存在一个可执行的脚本,否则升级将会失败并显示以下错误消息:
CPI ERROR V-9-0-0 Don't know how to execute prestop or poststart \ script, please check the scripts. Only 1 script is supported and it should be executable.
注意:
确保定制脚本中没有节点重新引导操作,这是因为 Veritas Access 不支持在升级期间重新引导节点。