aix系统补丁升级.doc
文本预览下载声明
RS6000升级PTF完全步骤
1、升级操作系统的补丁之前建议先备份操作(rootvg),以免造成升级补丁失败或者是由于补丁本身的缺陷造成操作系统(rootvg)的文件损坏,从而导致操作系统不能正常启动。
命令:#smit mksysb
Back Up the System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
WARNING: Execution of the mksysb command will
result in the loss of all material
previously stored on the selected
output medium. This command backs
up only rootvg volume group.
* Backup DEVICE or FILE [/dev/rmt0] +/
Create MAP files? no +
EXCLUDE files? no +
List files as they are backed up? no +
Generate new /image.data file? yes +
EXPAND /tmp if needed? no +
Disable software packing of backup? no +
Number of BLOCKS to write in a single output [ ] #
(Leave blank to use a system default)
2、将本机操作系统现在使用中的所有fileset设置为commit状态。经过这个设置后,可以在升级补丁失败后(或升级后的补丁对应用程序不兼容)可以用#smit reject命令将操作系统的fileset包退回到升级之前(即退回到commit状态)
命令:#smit commit
Commit Applied Software Updates (Remove Saved Files)
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* SOFTWARE name [all] +
PREVIEW only? (commit operation will NOT occur) no +
COMMIT requisites? yes +
EXTEND file systems if space needed? yes +
DETAILED output? no
显示全部