Issues faced while Performing root disk migration in AIX Lpar.

I was performing storage migrations of VIO’s/Lpars to new Storage and have encountered unseen/unknown issue which I am not sure is what about. Steps done to resolve it was very simple:

1.) New storage assigned to the frame.
2.) New stoarge discovered on VIO’s.
3.) New root disk Lun mapped and assigned to Lpar’s.
4.) New root disk lun successfully discovered on Lpar.
5.) Existed rootvg extended with the New Lun.
6.) Now as this is root disk migration, so preferred method will be mirrorvg instead of migratepv. Once I started mirrorvg for new disk, I encountered one unseen issue which was asking to export a parameter LVM_HOTSWAP_BOOTDISK=1. I checked for existing bootdevice for any errors but all was found okay, bootlist was okay. Then I exported the parameter which came in the command output and all worked.

[root@test] # mirrorvg rootvg hdisk1
0516-1259 mirrorvg: None of the available disks support booting on this
        specific system or the boot logical volume already exists on
        the specified disk.
        If these are new bootable disks and you
        have not rebooted since configuring them. You may try
        exporting LVM_HOTSWAP_BOOTDISK=1 and run this command again
        to override this condition.
0516-1200 mirrorvg: Failed to mirror the volume group.

[root@test] # export LVM_HOTSWAP_BOOTDISK=1

[root@test] # mirrorvg rootvg hdisk1

0516-1126 mirrorvg: rootvg successfully mirrored, user should perform
        bosboot of system to initialize boot records.  Then, user must modify
        bootlist to include:  hdisk0 hdisk1.

7.) Once mirroring gets completed, I checked the LV’s and mirror stage, ran bosboot to write bootblock on new disk and set the new root disk in the bootlist to boot the server with the same next time when the server boots.
8.) Unmirrored the rootvg with old rootdisk.
9.) Remove the delete from Lpar and VIO.
10.) Reclaimed the old storage disk.

PS: The OS was AIX 5.3.0.0 for which the issue occured.

Yogesh Raheja

Yogesh working as a Consultant in Unix Engineering by profession. And he has multiple years experience in Solaris, Linux , AIX and Veritas Administration. He has been certified for SCSA9, SCSA10, SCNA10, VXVM, VCS, ITILv3. He is very much passionate about sharing his knowledge with others. Specialties: Expertize in Unix/Solaris Server, Linux (RHEL), AIX, Veritas Volume Manager, ZFS, Liveupgrades, Storage Migrations, Cluster deployment (VCS and HACMP) and administration and upgrade on Banking, Telecom, IT Infrastructure, and Hosting Services.

1 Response

  1. snehal says:

    Hi,

    Can I have a video explaining detail performance monitoring or troubleshooting in solaris server especially zones and sub-zones?

    Thanks,
    Snehal 

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us