首页 > 学技术 > 技术网文 > IBM AS400应用论坛 > 正文

[保留] Upgrading or replacing software using automatic installation for OS/400 R5


来源 chinaunix.net 酷勤网整理

以下是如何利用创建虚拟设备快速自动升级OS/400 R5的介绍,前几天整理处理,感觉对硬件工程师特别有帮助,我想很多朋友都需要这个帖子来做参考,一些特别提醒的地方下面有Note标识。
发出来给大家共享吧~~~

[size=3]Upgrading or replacing software using automatic installation for OS/400 R5[/size]

Follow these instructions to use the automatic installation method to replace the Licensed Internal Code, the IBM® i5/OS™ operating system, and licensed programs currently installed on your system with the V5R3 release.

Step1. Before you begin automatic installation
第一步骤。自动安装前准备

Verify these points before you upgrade to a new i5/OS™ release.

1.Verify that this is the correct topic for you to use for your software upgrade. Refer to Supported releases for i5/OS (OS/400) upgrades to determine which releases are supported for upgrades to V5R3. Be familiar with the sequence of the steps you use to upgrade or replace a release on a server or logical partition as shown in Upgrading or replacing i5/OS and related software. 

2.If you are changing a primary language, you must be aware of additional considerations before you begin the installation. Be sure to read the topic Globalization and software installation. You cannot change your primary language to a language you currently have installed as a secondary language on your system. You must delete the secondary language before you can change it to your primary language. 

3.Complete the preparation tasks in Preparing to upgrade or replace software before you upgrade. It is required that you use the Prepare for Install options to accept online software agreements for the Licensed Internal Code and the i5/OS operating system for the upgrade to occur. Also before upgrading to V5R3, you must use the Prepare for Install options to allocate additional space for the Licensed Internal Code. 

4.If you plan to use an image catalog (virtual optical device) to install, read the topic Preparing to upgrade or replace software using an image catalog to create a device, an image catalog, and an image catalog entry. 

特别提醒:
升级OS/400 V5R1—》V5R3需要事先安装V5R1 PTF SI10553;
升级OS/400 V5R2—》V5R3需要事先安装V5R2 PTF SI10563;


[color=Red]Note: Information about upgrading from V5R1 to V5R3 is available through V5R1 PTF SI10553, Optical Support. This PTF contains specific instructions for using image catalogs and the virtual optical device. 
To upgrade from V5R2 to V5R3 using an image catalog, do the following steps: 
a.Load and apply the required V5R2 PTF SI10563. 
b.Perform the setup steps in Preparing to upgrade or replace software using an image catalog. Perform step 6 at least a day before you do the actual installation. This ensures that your installation media are ready to use. [/color]

5.Verify that your console mode value is set correctly before you upgrade to V5R3. Verify your console information in the topic Preparing your console for software installation. 

6.If you plan to use or if you are using logical partitions, refer to these topics: 
oPlanning for logical partitions: 
For IBM® eServer™ 5xx models, read the topic Planning for logical partitions . 
For iSeries™ 8xx and earlier models, see Plan for logical partitions . 
oReference codes are viewable under the primary partition or the Hardware Management Console: 
For IBM eServer 5xx models, refer to Reference codes list for customers in the IBM eServer Hardware Information Center for more information. 
For iSeries 8xx or earlier models, refer to Troubleshoot logical partitions . 
oAlternate IPL device within a logical partition: 
If you plan to use an alternate IPL device within a logical partition on IBM eServer 5xx models, refer to the Alternate restart device and removable media devices for i5/OS logical partitions topic in the IBM eServer Hardware Information Center . 
For iSeries 8xx or earlier models, refer to the Logical partition concept: alternate restart (IPL) devices and removable media device topic. 

7.If you are using an alternate installation device, ensure that the alternate installation device is enabled. See Alternate installation device for information on setting up an alternate installation device. If you are not planning on using an alternate installation device and currently have one configured, you must clear the alternate installation device configuration information from the system before you install the new release. 

Step2. Replacing software using the automatic installation method
第二步骤。利用自动安装的方法升级

The automatic installation process replaces all of the products that are currently installed and have been refreshed.
To add new products, either use the Work with Licensed Programs menu (type GO LICPGM) option 5 (Prepare for Install) before you perform these automatic installation procedures or use LICPGM menu option 11 (Install Licensed Programs) after the automatic installation. You might need to delete some products that you do not want after the installation has finished.
As you perform these steps, reference codes (also known as system reference codes or SRCs) appear on the data display of the control panel or virtual control panel of the primary partition or HMC. When the system attention light is on and a reference code starting with A6 appears, the system is waiting for you respond to a message or make a device ready. When this information lists a reference code with xx (such as A6xx 6001), it means that any combination of characters can occur where the xx appears. The console can also display reference codes during the installation of Licensed Internal Code. For more details about reference codes, refer to Reference codes for software installation.
Before you upgrade, it is required that you use the Prepare for Install options to accept online software agreements for those licensed programs (including Licensed Internal Code and the i5/OS™ operating system) that you plan to install. You must also allocate additional space for Licensed Internal Code. These tasks are described in Required: Accepting software agreements and Required: Allocating additional space for Licensed Internal Code. If these steps are not completed, the upgrade will not be completed.
If you are using image catalogs, you need to have completed steps 1 through 5 in the topic Preparing to upgrade or replace software using an image catalog. Then return to this topic. Ignore the following steps that refer to loading volumes. 

1.If you are using an image catalog (virtual optical device) to install, perform this step at least a day before you do the actual installation. If you are not using an image catalog, go to step 2. 
To verify the image catalog entries are sorted in the correct sequence and to validate that all your images are in loaded status, enter the following command: 
WRKIMGCLGE IMGCLG(catalog-name)
Ensure your catalog is in ready status and that all image catalog entries are in loaded or mounted status. To sort and verify your image catalog for installation, press PF7 to prompt for the VFYIMGCLG command. Enter *UPGRADE for the type and *YES for the sort field.
Another method to sort and verify your image catalog is to enter the following command to put the images in the correct order. By default, the volume with the lowest index is mounted. Then all the other volumes are loaded.
VFYIMGCLG IMGCLG(catalog-name) TYPE(*UPGRADE) SORT(*YES)
After you ensure that your images are in loaded status, continue with step 3. 

2.Arrange the installation media that you plan to install in the following order (you might not have all of these). The IBM-supplied media B29xx_01 and B29xx_02 must have matching identifiers. 

a.I_BASE_01 Licensed Internal Code for OS/400® 
b.B29xx_01 OS/400 
c.B29xx_02 OS/400 no-charge options 
d.B29MM_03 OS/400 no-charge options 
e.B29MM_04 OS/400 no-charge options 
f.D29xx_01 OS/400 no-charge options 
g.D29xx_02 OS/400 no-charge options 
h.D29xx_03OS/400 no-charge options 
i.D29xx_04 OS/400 no-charge options 
j.D29xx_05 OS/400 no-charge licensed programs 
k.L29xx_01 priced licensed programs 
l.L29xx_02 priced licensed programs 
m.F29xx_01 single licensed programs 

Keep the following installation media available for later use: 

n.N29xx_01 Secondary Language Media 
o.Cydddvrm_01 Cumulative PTF Package (if ordered) 
p.SK3T-4091 iSeries™ Information Center 

For descriptions of the optical media, refer to Media labels and their contents.

3.Verify that your system unit is powered on. If your system unit is powered off, go to Starting from a power-off condition and perform the procedure there. That procedure tells you when to return here. 

4.On your console, ensure that you have a connection to the server. 

5.Load the first volume of installation media that contains Licensed Internal Code into the installation device that is defined for the server. (If you are using IBM-supplied media, this volume is labeled I_BASE_01.) Throughout these procedures, load the next volume when prompted by the server. Wait for the In Use indicator to go out. Also ensure that you have removed other media from devices that are not involved in these procedures. 
a.If you are using a tape device instead of an optical device, verify that the tape unit is varied on and allocated to your system. 
b.If you are using a device that is enabled as an alternate installation device, you need to load the Licensed Internal Code media in your primary device and your installation media in your alternate installation device. Your installation will fail if both media do not contain the same release level of Licensed Internal Code. For more information, see Alternate installation device. 

6.Use the control panel to set the mode to Normal. 
For logical partitions only
Use the virtual control panel (Work with Partition Status display on your primary partition or partition status on systems with HMC) to set the mode to Normal. Also, make sure that you have already selected the alternate IPL device before performing the initial program load (IPL) in step 8. 

Notes: 
a.If you have not already set up an alternate IPL device for a logical partition, refer to online help information in IBM® iSeries Navigator. 

b.If you are using another method to select an alternate IPL device in a logical partition, refer to the topic Overview: Alternate installation device. 


7.If you have not previously performed an IPL either to perform the tasks to allocate additional storage for the V5R3 Licensed Internal Code (required) or to change the disk configuration (optional), you must do this IPL now before you power down the server or logical partition. 

Note: If you are not sure that additional space for the Licensed Internal Code has been allocated, follow the steps in Required: Allocating additional space for Licensed Internal Code. If additional space has been allocated, you receive the message Allocating additional space is not necessary. 
If you are using an image catalog to perform your upgrade and you performed the IPL in this step, you need to perform step 5 in Scenario: Preparing to upgrade or replace software using an image catalog and then return here to the next step.

8.Power down the server or logical partition. 

oIf you are upgrading from V5R1 to V5R3 and you are using an image catalog (virtual optical device) to install, use V5R1 PTF SI10553, Optical Support, and follow the instructions on the cover letter to perform the upgrade steps. 
oIf you are upgrading from V5R2 to V5R3 and you are using a virtual optical device to install, ensure you have loaded and applied PTF SI10563. Then type the following: 
oPWRDWNSYS OPTION(*IMMED) RESTART(*YES) IPLSRC(*IMGCLG) IMGCLG(catalog-name)
oIf you are performing any other upgrade, type the following: 
PWRDWNSYS OPTION(*IMMED) RESTART(*YES) IPLSRC(D)

Note: If you have nonconfigured disk units present, performing this step configures disk units automatically by default. If you do not want nonconfigured disk units added, follow the directions in the topic Installing optional PTF to choose disk configuration.
Press Enter. Powering down could take approximately 15 minutes or more for this step. The data display area of the control panel continues to display reference codes.

9.If you did not do the required preparation tasks for accepting software agreements or allocating additional space for Licensed Internal Code, you will see error messages. You need to follow the instructions on the display and then begin the installation again. 

10.If the system attention light appears and one of the reference codes listed in Reference codes for software installation appears in the data display on the control panel, complete the instructions for that reference code. If you have logical partitions, the reference codes appear in the primary partition or HMC. 

11.If the Alternate Installation Device Failed display appears, there is an alternate installation device on the system that is enabled. Either it was not disabled before starting the installation, or the device is otherwise not ready. Do one of the following: 
oTo continue the installation with optical media, press Enter. 
oTo use the alternate installation device, make a note of the message at the bottom of the display. 
Press F12 (Cancel). Reference code B608 1105 appears on the control panel. Use the Common reference codes for software installation to determine how to continue.

12.If you are using optical media or tape for the upgrade, the Licensed Internal Code - Status display appears on your console. After 100% complete is reached, the console can appear blank for approximately 5 minutes and the IPL in Progress display might appear. You do not need to respond to these displays. 

                   Install Licensed Internal Code - Status
Install of the Licensed Internal Code in progress.
             +-------------------------------------------------------+ 
 Percent     |                           XX %                        | 
 complete    +-------------------------------------------------------+ 
Elapsed time in minutes  . . . . . . . . :     x.x

Please wait.

If you are using an image catalog (virtual optical device) for the upgrade, you will see status messages that indicate the progress of the Licensed Internal Code installation: 
a.C6xx41DC is a status reference code that indicates the progress of the Licensed Internal Code decompression. The xx indicates the percent that is decompressed. No action is required. 
b.C6xx41CC is a status reference code that indicates the progress of the Licensed Internal Code installation. The xx indicates the percent of the Licensed Internal Code that is installed. No action is required. 

13.If you are using optical media or tape for the upgrade and an error occurs, you might see a display that requires a response. Perform the action necessary as prompted by the display. 
If you are using an image catalog for the upgrade and an error occurs, see Image catalog recovery for the recovery actions. 
After a period of time (when the installation process starts to install the operating system), some displays appear on the console. One of the displays is called Licensed Internal Code IPL in Progress. Some of the IPL steps could take a long time (up to two hours or longer), depending on how much data recovery is required for your system. The last message shown on the IPL in Progress display should be Start the Operating System.

14.Load the next volume in sequence when the system prompts you for another volume. 

Note: If the system does not prompt you or if you receive a Media command failed message, remove the I_BASE_01 volume and insert the B29xx_01 volume. Select option 1 (Attempt to install the operating system again) to continue with the installation.
You might be prompted for the next volume several times during the installation process. 
If you receive a message that refers to device QINDEV, first make the device ready. Then press Enter to continue.

15.Status displays appear during the installation process. The installation status display shown here indicates how much of the installation is complete as well as how many stages remain. You do not need to respond to this status screen. The display is blank for a time between stage 4 and stage 5. 

Message ID. . . :   CPI2070                    OS/400 Installation Status
           +---------------------------------------------------+
Stage 2    |                       XX %                        |
           +---------------------------------------------------+
Installation                                                       Objects
Stage                                                 Completed    Restored
   1 Creating needed profiles and libraries . . . . :   X
>> 2 Restoring programs to library QSYS . . . . . . :                XXXXX
   3 Restoring language objects to library QSYS . . :
   4 Updating program table . . . . . . . . . . . . :
   5 Installing database files. . . . . . . . . . . :
   6 Completing OS/400 installation . . . . . . . . :

16.Status displays might appear. These displays show the status of the licensed programs and language objects as they install on the system. You do not need to respond to these status displays. 

                         Installing Licensed Programs                         
                                                             System: XXXX     
   Licensed programs processed . . . . . . . . . . :      0 of XXX            
                   Licensed program install in progress                       

The following display is an example of the display that appears during the installation process.

                      Installing Licensed Programs                            
                                                             System: XXXX     
  Licensed programs processed  . . . . . . . . . . :      X of XXX            
                                                                              
  Licensed                                                                    
  Program   Option   Description                                    Type      
  5722SS1     2      OS/400 - Online Information                    2924      

This display shows which licensed programs and optional parts of licensed programs are being processed. After the *PGM objects and *LNG objects are processed, the display shows the total number of licensed programs processed.

17.The following message might appear when the server is ready for the next media volume that contains licensed programs. When you are installing from optical media, wait for the In Use indicator to go out before you respond to the message. 

                                 Display Messages
                                                       System:   XXXX
 Queue  . . . . . :   QSYSOPR                Program . . . . :   *DSPMSG
   Library  . . . :     QSYS                   Library . . . :
 Severity . . . . :   95                     Delivery  . . . :   *BREAK
 
 Type reply (if required), press Enter.
   Load a valid volume containing licensed programs in optical device OPT01 (X G).
     Reply . . . . G

Load the next media volume that contains licensed programs and continue the installation. Occasionally, you will be prompted to load the next volume after a short time has passed. This event usually happens when the licensed programs on the media are at the same level as the licensed programs already installed on your machine.
Type G and press Enter. After you load each volume, type G and press Enter. If there are no more volumes to load that contain licensed programs, or if you want to end the loading process, type X and press Enter.

18.The media has been read, and now the licensed programs are going through the installation process. Even though it might take a long time, wait for the Sign On display to appear. When the installation is successfully completed, the Sign On display appears. (There is no message that indicates automatic installation completed successfully. The Sign On display acts as the confirmation.) 
If you receive the message Automatic installation not complete, sign on using QSECOFR for your user ID and go to Troubleshooting software installation problems to determine the problem.

Step3. Verifying completion of automatic installation
第三步骤。校验自动安装

To verify that you have successfully completed the installation, follow these steps.

1.The Sign On display appears on the console after the installation has completed. 

                             Sign On
                                             System. . . . . . :  XXXX
                                             Subsystem . . . . :  XXXX
                                             Display . . . . . :  XXXXXXXX
 
       User. . . . . . . . . . . . . . . .   QSECOFR
       Password  . . . . . . . . . . . . .
       Program/procedure . . . . . . . . .   ________
       Menu  . . . . . . . . . . . . . . .   ________
       Current library . . . . . . . . . .   ________

Type the following and press Enter: 
oUser: QSECOFR 
oPassword: (Enter password, if required.) 

2.The OS/400® Main Menu (or the menu you chose as your initial menu) appears on the console. 
Type GO LICPGM and press Enter.

3.The Work with Licensed Programs display appears. Use the page down or roll up key to see the third display of the Work with Licensed Programs menu. The OS/400 Main Menu (or the menu you chose as your initial menu) appears on your console Type 50 and press Enter. 

4.The Display Install History display appears. The XX's indicate default values. 

                         Display Install History
Type choices, press enter.
  Start date . . . . . .    XX/XX/XX   MM/DD/YY
  Start time . . . . . .    XX:XX:XX   HH:MM:SS
  Output . . . . . . . .    *_______   *, *PRINT

Press Enter.

5.Look at the messages that appear on the Display History Log Contents display. 
oIf you had an installed licensed program that was not renewed by IBM®, it might not be replaced. Refer to Mixed-release environment for more information. 
oIf any of the messages on the display indicate a failure or a licensed program that is partially installed, go to Troubleshooting software installation problems to determine the problem. 
Otherwise, press F3 (Exit).

6.Verify the installed status values of your licensed programs and check for compatibility. It is important to make sure all of your licensed programs are compatible with the operating system. You can determine a licensed program's compatibility by checking the installed status value. 
Use LICPGM menu option 10 (Display licensed programs) to see the release and installed status values of the installed licensed programs. If the installed status value of a licensed program is *COMPATIBLE, it is ready for use. If the installed status value of a licensed program is *BACKLEVEL, the licensed program is installed, but its version, release, and modification is not compatible with the currently installed level of the operating system. 
Check the topic Licensed program releases and sizes to verify the current version, release, and modification of the licensed program. Installed status values lists the possible installed status value descriptions.

Step4.You have completed this task. 
第四步骤。自动安装完后的后续工作

1.Do you need to install additional licensed programs? 
oNo. Go to the next step. 
oYes. Go to Installing additional licensed programs and complete the instructions. 

2.Do you need to install a secondary language? 
oNo. Go to the next step. 
oYes. Go to Installing a secondary language and complete the instructions. 

3.You must complete the installation process before you put your system into operation. Go to Checklist: Completing the upgrade or replacement and complete the instructions.



 qingzhou 回复于:2007-01-23 15:22:06

为了便于存档,特提供pdf下载。

Upgrading using automatic installation of OS400 R5.pdf


 pantierui 回复于:2007-01-23 15:23:50

thanks


 mbi 回复于:2007-01-23 15:40:29

os400 5.3 之前(包括5.3)升级到5.3,5.4,都需要打补丁(在IBM订货的光盘里),还要先设置preintall,就是go licpgm 里的5 preintall 吧,然后再一步一步升级,我说的是手工升级,一般都这样做。


 zhaoming1214 回复于:2007-01-23 18:09:36

好东东,支持下


 helloabc 回复于:2007-01-24 09:58:14

好!


 jance 回复于:2007-01-24 10:19:34

好东西!!


 meppy 回复于:2007-01-24 13:40:41

顶,早有这么个文档当初升级的时候也不用做这么大难了,呵呵!


 ibmas400 回复于:2007-01-24 14:35:25

qingzhou总是造福CU400er。。。
支持!!!




原文链接:http://bbs.chinaunix.net/viewthread.php?tid=890260
转载请注明作者名及原文出处



收藏本页到: