首页 > 代码库 > AIX7操作系统版本升级

AIX7操作系统版本升级

 

 

一、    环境说明

当前版本:

# oslevel -sq

Known Service Packs

-------------------

7100-01-00-0000

7100-00-03-1115

7100-00-02-1041

7100-00-01-1037

 

# instfix -i|grep ML

    All filesets for 7.1.0.0_AIX_ML were found.

    All filesets for 7100-00_AIX_ML were found.

    All filesets for 7100-01_AIX_ML were found.

 

目标:

升级到AIX7104

 

二、    补丁准备

AIX7100-04-00-1543 TL补丁

升级说明:可以直接由7101升级到7104,无需通过中间版本跳转

 

三、    升级过程

1)        预览升级

# smitty update_all

技术分享

 

以下输出:

技术分享

/usr/tmp空间增大

 

2)        正式升级

Preview oonly YES改成NO

大概需要2小时

 

3)        升级后查看版本

# oslevel -sq

Known Service Packs

-------------------

7100-04-01-1543

7100-03-06-1543

7100-03-05-1524

7100-03-04-1441

7100-03-03-1415

7100-03-02-1412

7100-03-01-1341

7100-03-00-0000

7100-02-07-1524

7100-02-06-1441

7100-02-05-1415

7100-02-04-1341

7100-02-03-1334

7100-02-02-1316

7100-02-01-1245

7100-01-10-1415

7100-01-09-1341

7100-01-08-1334

7100-01-07-1316

7100-01-06-1241

7100-01-05-1228

7100-01-04-1216

7100-01-03-1207

7100-01-02-1150

7100-01-01-1141

7100-00-10-1334

7100-00-09-1316

7100-00-08-1241

7100-00-07-1228

7100-00-06-1216

7100-00-05-1207

7100-00-04-1140

7100-00-03-1115

7100-00-02-1041

7100-00-01-1037

# instfix -i|grep ML

    All filesets for 7.1.0.0_AIX_ML were found.

    All filesets for 7100-00_AIX_ML were found.

    All filesets for 7100-01_AIX_ML were found.

    All filesets for 7100-02_AIX_ML were found.

    All filesets for 7100-03_AIX_ML were found.

Not all filesets for 7100-04_AIX_ML were found.

 

# oslevel -rl 7100-04

Fileset                                 Actual Level           Recommended ML

-----------------------------------------------------------------------------

adde.v2.common.rte                      7.1.3.0                7.1.3.45    

 

原因:由于adde.v2.common.rte包版本因素,导致系统没达到7100-04版本

 

解决办法:升级该包版本

准备文件:adde.v2.common.rte.7.1.3.45.bff

使用smitty installp命令安装

 

再次查看:

# instfix -i|grep ML

    All filesets for 7.1.0.0_AIX_ML were found.

    All filesets for 7100-00_AIX_ML were found.

    All filesets for 7100-01_AIX_ML were found.

    All filesets for 7100-02_AIX_ML were found.

    All filesets for 7100-03_AIX_ML were found.

    All filesets for 7100-04_AIX_ML were found.

#

 

4)        重启操作系统

 

 

 

四、    版本回退

如果升级版本不成功,或者和应用不兼容,需要回退版本

执行命令smitty install-> Software Maintenance and Utilities-> Reject Applied Software Updates (Use Previous Version)

技术分享

包最多能选200个,分几次进行

备注:此方法在回退包过多的情况下,存在因为关联包回退不彻底现象。

这种情况,只能从mksysb或者镜像或克隆中恢复

 

 

 

AIX7操作系统版本升级