0% found this document useful (0 votes)
71 views5 pages

AIX OS Migration From Version 7.1 To 7.2 SOP

This document outlines the Standard Operating Procedure (SOP) for migrating AIX OS from version 7.1 to 7.2 using a Virtual Media Library (VML). It provides detailed step-by-step commands for copying the AIX ISO image, creating virtual media disks, loading them onto a virtual optical device, and performing the OS migration. Additionally, it includes steps for unloading the virtual media disk and removing the VM Library after the migration is complete.

Uploaded by

dasariravi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views5 pages

AIX OS Migration From Version 7.1 To 7.2 SOP

This document outlines the Standard Operating Procedure (SOP) for migrating AIX OS from version 7.1 to 7.2 using a Virtual Media Library (VML). It provides detailed step-by-step commands for copying the AIX ISO image, creating virtual media disks, loading them onto a virtual optical device, and performing the OS migration. Additionally, it includes steps for unloading the virtual media disk and removing the VM Library after the migration is complete.

Uploaded by

dasariravi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

AIX OS Migration from version 7.1 to 7.

2 SOP:

Title AIX OS Migration from version 7.1 to 7.2 SOP


Date 04-June-2024
Author Praveen Pachava
Reviewed By
Approved By
Version 1
Modification Date

PERFORMING OS Migration WITH VML


This document provides a step-by-step command-line procedure for using a virtual media
repository or Virtual Media Library (VML) to Migrate an AIX partition.
Step 1: Copy AIX base ISO image [7.3] from NFS Mount to VIO server.
Mount the /patches and copy the DVD1 file under “AIX_base_iso” to respective VIO server <
haeipviox>

# cd /patches/AIX_base_iso;ls -ltr
total 16475576
-rw-rw-r-- 1 hisadm 16 4215209984 Aug 02 13:42
AIX_v7.3_Install_7300-01-02-2319_DVD_2_of_2_042023_LCD8265203.iso
-rw-rw-r-- 1 hisadm 16 4187193344 Aug 02 13:46
AIX_v7.3_Install_7300-01-02-2319_DVD_1_of_2_042023_LCD8265103.iso
root@hisnanim2: [ /patches/AIX_base_iso ]
#scp –rp AIX_v7.3_Install_7300-01-02-2319_DVD_1_of_2_042023_LCD8265103.iso
padmin@haeipviox:.

Step 2: Check the media repository


padmin@haeipvio3: [ /home/padmin ]
$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
14277 10709 rootvg 540672 460800

Name File Size Optical Access


golden_7100_05_07 3568 None ro

Step 3: Create the virtual media disk


$ mkvopt -name <new media disk name> -file <ISO filename> -ro
Example:
$ mkvopt -name base_73_TL1 -file /home/padmin/ AIX_v7.3_Install_7300-01-02-
2319_DVD_1_of_2_042023_LCD8265103.iso -ro

Step 4: Verify that the virtual media disk is part of the repository
padmin@haeipvio3: [ /home/padmin ]
$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
14277 10709 rootvg 540672 460800

Name File Size Optical


Access
golden_7100_05_07 3568 None ro

base_73_TL1 –Check for this on above command o/p

Step 5: Create the file backed optical device and map it to a vhost:

Create vscsi adapters with same adapter ID on VIOS and Lpar which will appear as vhost in vios
and vscsi in client.
Create the vtopt device:
$ mkvdev -fbo -vadapter vhost0
vtopt0 Available

~ Shown with the vtopt device ~

$ lsmap -vadapter vhost0


SVSA Physloc Client Partition ID
--------------- ----------------------------- -------------------
vhost0 U9117.MMA.10708D0-V1-C11 0x00000002
VTD vtopt0
Status Available
LUN 0x**00000000000000
Backing device
Physloc
Mirrored N/A

Step 6: Load the virtual media disk on the vtopt device:


$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
10198 5955 rootvg 139776 22528

Name File Size Optical Access


base_73_TL1 None ro

$ loadopt -vtd vtopt0 -disk base_73_TL1

padmin@haeipvio3: [ /home/padmin ]
$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
14277 10709 rootvg 540672 460800

Name File Size Optical Access


golden_7100_05_07 3568 None ro
base_73_TL1 **** vtopt0 ro

>> Verify that the vtopt# backing device is the virtual media disk location.
$lsmap -vadapter vhost*
...
VTD vtopt0
Status Available
LUN 0x**00000000000000
Backing device /var/vio/VMLibrary/ base_73_TL1

Step 7: Boot the client partition from the virtual optical device:

A) Activate the AIX Partition to the SMS menu


B) Select the virtual optical device (CD-ROM)

SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
------------------------------------------------------------------------------
-
Main Menu
1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. Change SCSI Settings
4. Select Console
5. Select Boot Options <<<

Multiboot
1. Select Install/Boot Device <<<
2. Configure Boot Device Order
3. Multiboot Startup <OFF>

Select Device Type


1. Diskette
2. Tape
3. CD/DVD

4. IDE
5. Hard Drive
6. Network
7. List all Devices <<<

Select Device
Device Current Device
Number Position Name
1. - Interpartition Logical LAN
( loc=***)
2. - SCSI CD-ROM
( loc=U***-V2-C2-T1-L*** ) <<<

NOTE: The location code lun ID L**00000000000000 must match the LUN ID of the
vtopt mapped to the vhost:

$lsmap -vadapter vhost0


VTD vtopt0
Status Available
LUN 0x**00000000000000
Backing device /var/vio/VMLibrary/base_73_TL1
Physloc
Mirrored N/A

SCSI CD-ROM
( loc=U***.MMA.******-V*-C*-T*-L**00000000000000 )
1. Information
2. Normal Mode Boot <<<
3. Service Mode Boot

Are you sure you want to exit System Management Services?


1. Yes <<<
2. No

Upon exiting SMS, the AIX partition boots up from the virtual optical device to the AIX
Installation menus.

Step 8: Migrate the AIX operating system.


Type 1 and press Enter to use this terminal as the system console
>> 1 Type 1 and press Enter to have English during install.
2 change/show Installation settings and Install
>>> choice [0]: 1
>>> 3 Migration Install
>>> choice []: 2 (or choose the correct disk)
if everything is fine, then >>> Choice [0):
See the Migration Installation Summary and then >>> 1 Continue with Install
once you get the Migration Confirmation, then >>> 0 Continue with the
migration.
Then migration starts from the VirtualCD

Step 9: Unloading the virtual media disk:


$ unloadopt -vtd vtopt0

Step 10: Removing the VM Library

A.) Unmap the vtopt# VTDs from the vhosts


$ rmvdev -vtd <VTDname>

B.) Remove the virtual media disks from the Virtual Media Repository:
$ rmvopt -name <name of virtual optical disk>

C.) Remove the repository:


$ rmrep [-f]

You might also like