AIX 7.1 to 7.2 Migration without CDROM

15
19307

Most of users uses AIX 7.1 on their environment.And most of them want to upgrade their environment to AIX 7.2.Firstly,You upgrade your NIM machine.So,You cannot create spot or lpp source of upper level NIM AIX version.,For example If you want to create AIX 7.2 spot,you dont create.and failed.Beceuse your NIM server’s version is AIX 7.1. So you have to upgrade new version of AIX.

I am using VIOS in my environment.Firstly I create a virtual scsi adapter in my VIOS profile.

b

After that,I create same adapter with same id  in my NIM server.

a

Next step , we should create repository because we dont use CDROM to upgrade.I downloaded AIX sources before and upload in my VIOS /home directory by ftp.

-rw-r–r– 1 root staff 3257073664 Mar 08 06:20 AIX_V7.2_Base_Install_7200-00-00_DVD_1_of_2_122015.udf
-rw-r–r– 1 root staff 3615031296 Mar 08 07:06 AIX_V7.2_Base_Install_7200-00-00_DVD_2_of_2_122015.udf

To begin with, you ran lsrep command.We dont have any DVD repository.

c

I have a pool.You can see lssp command.

d

I have to create DVD repository.You should create with 8G size because we have two dvd and so ı have to create two source.

e

mkrep -sp rootvg -size 8G

Again you can run lsrep command and you can see your repository.

f

Maybe you want to increase your repository size and should use below command.

k

chrep -size 4G

next step we create a virtual dvd to use AIX Udf file.

gmkvopt -name aix72 -file AIX.udf

And you can see lsrep command to your virtual DVD.

After that, we create a virtual DVD-ROM.

ımkvdev -fbo -vadapter vhost17

Earlier we created virtual scsi adapter.Do you remember?I created vhost17.So I use vhost17 with this command.

$ lsmap -vadapter vhost17
SVSA Physloc Client Partition ID
————— ——————————————– ——————
vhost17 U9117.MMD.064B837-V1-C10 0x0000000a

  • then,you should insert your DVD to your virtual DVD-ROM with loadopt command.And then run lsmap command.jloadopt -disk aix72 -vtd vtopt0  / lsmap -vadapter vhost17
  • You should start your NIM lpar to SMS Mode.SMS menu –  press 5
  • 1select your boot device press 1

2

  • List all device press 7

3

  • AIX scan your system to find all of the device.

4

  • select your scsi cdrom

5

  • select normal boot

6

  • Select yes to exit system management services

7

  • Starting software

8 9

  • Select your define console

10

  • select your language

11

  • you can see installiation and maintenance screen.Press 2 to login your change install settings.

12

  • select your method and hdisk0 to migration.And press 0 to start install

13

  • you are now installation summary screen.Press 1 to continue install.

14

  • start your installation

15

 

  • you are now migration conformation screen.You can specifity your migration with select this menus.Press 0 to continue your Migration process.

1617 18 19

  • Finally Migration want to insert 2. dvdrom to continue process.

20

 

  • But we dont create second virtual dvd yet.So we should create to insert it.We create second dvd with mkvopt command.

l

mkvopt -name aix72_2 -file AIX_2.udf

  • And unload first dvd to load second dvd with unloadopt ve loadopt command.

m

  • Then we correct our step with lsmap command.l

lsmap -vadapter vhost17

  • Then press enter to continue migration process.21

 

 

  • select your terminal type.22
  • Accept license aggrements23 24

 

  • Finally Task completed.25

 

  • When you open your AIX. you can run oslevel command and can see 7.2 level26

 

15 COMMENTS

  1. When we migrate from AIX 7.1 to 7,2 version using virtual CDROM, does performs the fresh OS installation or it upgrades the OS from 7.1 to 7.2 keeping the systems configuration files, utilities and hardening as is (like nimadm)?

  2. do you know why I get this error ? second file fails to unzip

    $unzip “AIX_V7.2_Base_Install_7200-00-00_DVD_2_of_2_122015.udf (1).ZIP”
    Archive: AIX_V7.2_Base_Install_7200-00-00_DVD_2_of_2_122015.udf (1).ZIP
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    unzip: cannot find zipfile directory in one of AIX_V7.2_Base_Install_7200-00-00_DVD_2_of_2_122015.udf (1).ZIP or
    AIX_V7.2_Base_Install_7200-00-00_DVD_2_of_2_122015.udf (1).ZIP.zip, and cannot find AIX_V7.2_Base_Install_7200-00-00_DVD_2_of_2_122015.udf (1).ZIP.ZIP, period.

  3. I have another question too..
    How can I do this using alt_disk ?I cant reboot it until change window and wanted to get all migrated and patched to TL 00 SP 02 on alt disk . Any suggestions ?
    My target version is AX TL 00 SP 02. I need to go to this version because of some software support issues.

    • hi,
      boot your old rootvg.Thats ok? check your bootlist below command.
      bootlist -m normal –o
      if you can see your new alt_disk root vg,change this disk.
      bootlist -m normal hdisk0 ==> hdisk0 is your old rootvg disk.

  4. Trying to upgrade S822 from 7.1 to 7.2 but monitor/mouse doesn’t work. I can SSH in. The serial console doesn’t seems work as well. I was hoping to boot up from DVD. The monitor text is no aligned. I don’t have HMC either. Any tips?

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.