AIX

 View Only
Expand all | Collapse all

No migration option, using NIM

  • 1.  No migration option, using NIM

    Posted Mon November 28, 2022 11:53 AM
    Using NIM to perform a 7.1 to 7.2 upgrade, I do not have an option to "Migrate" the OS, only "New and Complete Overwrite" or "Preservation Install" was displayed.

    The basic commands to prepare the resource on the NIM server were:

    smit nim

    Select....

    perform NIM SW install

    Install and Update software

    Install Base OS on Standalone

    Pick the Machine

    Select rte

    Select the lpp

    Select the spot


    Any ideas?
    These steps worked fine 4 minths ago to do half of the LPARS, and now seems to not offer a migration option.



    ------------------------------
    Gerald Stephens
    ------------------------------


  • 2.  RE: No migration option, using NIM

    IBM Champion
    Posted Tue November 29, 2022 05:22 AM

    Hello Gerald,

    Hope I understood you right. You want to migrate with nimadm using smitty?
    check out your bosinst.data file for the mirgration and change this ti migrate:

    control_flow:
        CONSOLE = Default
        INSTALL_METHOD = migrate
        INSTALL_EDITION = enterprise
        PROMPT = no
        EXISTING_SYSTEM_OVERWRITE = yes
        INSTALL_X_IF_ADAPTER = no
        RUN_STARTUP = yes
        RM_INST_ROOTS = no
        ERROR_EXIT =
        CUSTOMIZATION_FILE =
    


    Third line is INSTALL_METHOD and there you can tell the system to migrate.

    Best regards.



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------



  • 3.  RE: No migration option, using NIM

    Posted Tue November 29, 2022 10:14 AM
    I was doing the upgrade with nim, not nimadm.

    I was trying the same procedure that I performed months ago, but all my LPARS were already upgraded from 7.1 to 7.2  Since the LPARS were already upgraded, the migration oprion is not available.  I was not aware the the migration option would not be presented in this situation, IBM support confirmed this behaviour.


    ------------------------------
    Gerald Stephens
    ------------------------------



  • 4.  RE: No migration option, using NIM

    Posted Tue November 29, 2022 11:22 AM
    on the LPAR that you want to migrate can you please do oslevel -s to findout what version of OS exist.

    ------------------------------
    minesh patel
    ------------------------------



  • 5.  RE: No migration option, using NIM

    Posted Wed November 30, 2022 11:08 AM
    Hello Gerald,

    I use the following command with nim master:
    nim -o bos_inst -a source=rte -a lpp_source=lpp_name -a spot=spot_name -a bosinst_data=bosinst_migrate_name  -a accept_licenses=yes client_name

    This is used to migrate from 7.1 to 7.2 or 7.2 to 7.3

    For update can be used:
    a. smit nim_>Perform NIM Administration Task_>Manage Machines_>Manage Network Install Resource Allocation_> Allocate Network Install Resources_>choose a machine and lpp_source
    b. smit nim_>Perform NIM Software Installation and Maintenance Tasks_>Install and Update Software_>Update Installed Software to Latest Level (Update All)_> choose a machine and lpp_source

    Best regards,

    Bratislav Petkovic

    ------------------------------
    Bratislav Petkovic
    ------------------------------



  • 6.  RE: No migration option, using NIM

    IBM Champion
    Posted Wed November 30, 2022 12:52 PM

    Have you checked the year/week ?  (Last 4 digits of oslevel -s)

    You can only upgrade to a more recent version (can't be the same or lower).
    If you usually only apply fix levels, you may be able to reject them to go back to an older year/week.

    If all else fails, you can either get a more recent target level (if permissible/available), or edit the ODM to lie(*), or move oslevel to oslevel.aix and replace it with a shell script that lies when it sees '-s' and calls oslevel.aixc otherwise.

    (*) - Sometimes you're the windshield, sometimes you're the bug.  Batteries not included.  Contents may have settled during shipping.



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 7.  RE: No migration option, using NIM

    Posted Wed November 30, 2022 08:59 PM
    Edited by Chris Gibson Wed November 30, 2022 10:15 PM
    Could be this: https://www.ibm.com/support/pages/no-migration-option-aix-migration-install

    ------------------------------
    Chris Gibson
    ------------------------------



  • 8.  RE: No migration option, using NIM

    Posted Wed March 13, 2024 07:49 AM

    Hi,

    I have hit the same problem, 7.2 to 7.3, was this ever resolved?

    Regards,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------



  • 9.  RE: No migration option, using NIM

    Posted Fri March 15, 2024 04:31 AM

    Hi,

    I think my problem was missing storage drivers. I gave up and used nimadm instead.

    Regards,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------



  • 10.  RE: No migration option, using NIM

    Posted Sun March 17, 2024 09:22 PM


    ------------------------------
    Chris Gibson
    ------------------------------



  • 11.  RE: No migration option, using NIM

    Posted Thu March 14, 2024 12:25 PM
    Edited by Paul Queen Thu March 14, 2024 05:31 PM





  • 12.  RE: No migration option, using NIM

    IBM Champion
    Posted Fri March 15, 2024 02:36 AM

    Hi Paul,

    I red your post in the mail I got, unfortunately it is not visible here in the discussion.
    The way you are migrating the exact the same way we do it. Mirror hdisk0 with hdisk1, then unmirror hdisk0 and let the system run further on hdisk1.
    Then migrate with "nimadm" to hdisk0, reboot the system from hdisk0 und install the fixes you need.
    For a better performance, you should have a spare disk in your NIM server for caching the rootvg of the lpar you want to migrate.
    Second, if you want to migrate more than one system at a time, you can use "parallel" to migrate more systems simultaneously.
    My command to migrate looks like that:
    parallel -j 0 -k --joblog "$PARALLEL_LOG" nimadm -c {} -l $LPP_SOURCE -s $SPOT -o bosinst_migration_73 -j nimadm_vg -d hdisk0 -Y ::: $LPARS

    Hope that helps.
    Kind regards



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------