AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Update a cloned disk (altinst_rootvg) with NIM

  • 1.  Update a cloned disk (altinst_rootvg) with NIM

    Posted Thu October 19, 2017 10:39 AM

    Originally posted by: Allel


    Hi,

    I used nim_alt_clone to update AIX 7.1 TL4 SP4 on a clone disk hdisk1 (altinst_rootvg) with the command :

    # nim -o alt_disk_install -a source=rootvg -a disk=hdisk1 -a fixes=update_all -a lpp_source=AIX_71_TL4_SP4 -a installp_flags="-acNgXY"  lpar_name

     

    After the update, I did :

     

    # alt_rootvg_op -W -d hdisk1

    # chroot /alt_inst /usr/bin/ksh
    # oslevel -s
    # instfix -i | grep ML
    All filesets for 7.1.0.0_AIX_ML were found.
    All filesets for 7100-00_AIX_ML were found.
    All filesets for 7100-01_AIX_ML were found.
    All filesets for 7100-02_AIX_ML were found.
    All filesets for 7100-03_AIX_ML were found.
    All filesets for 7100-04_AIX_ML were not found.

    # exit

    # alt_rootvg_op -S altinst_rootvg

     

    I would like to update the cloned disk hdisk1 another time to fix the not updated filsets. I would not like to redo the clone just the update on the cloned disk.     


    What is the NIM command to do that ?

     

    Thanks


    #AIX-Forum


  • 2.  Re: Update a cloned disk (altinst_rootvg) with NIM

    Posted Thu October 19, 2017 01:33 PM

    Originally posted by: Allel


    I found the solution :


    Wake up the altinst_rootvg :

    # alt_rootvg_op -W -d hdisk1

     

    Execute the nim command with phase=23 (phase 1 is the clone)
     

    # nim -o alt_disk_install -a source=rootvg -a disk=hdisk1 -a phase=23 -a fixes=update_all -a lpp_source=AIX_71_TL4_SP4 -a installp_flags="-acNgXY"  lpar_name


    #AIX-Forum