AIX

AIX

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


#Power
 View Only
  • 1.  MKSYSB NIM RESOURCE ON LPAR USING VIO SERVER

    Posted Tue March 24, 2009 01:29 PM

    Originally posted by: RafitaTecnocom


    Hi all,

    I am woking lately with NIM and I have a big but i guess easy doubt.
    With NIM I created a mksysb of a client "A" and I added as a resource of NIM.

    My scenario is 1 VIO Server that virtualize ethernet and disk to the LPARs

    The problem is, when I restore the mksysb in a new LPAR "B", with BOOTP, the client install the operating system to the disk, but when the LPAR starts, the LPAR try to boot from the path that is written in the image.data of the mksysb, so it try to boot from the disk of the client "A" (the one I created the MKSYSB) and of course the new LPAR "B" cannot access to that disk.

    So, I know I can allocate a new image.data but I would like to know how to delete the path of the boot disk in the mksysb o set it up in blank when I create the mksysb. I know it can be done 'cos I got a mksysb resource which can be restore without problems this resource (mksysb) is the only difference I did in the all test I did.

    Someone know how to do that?

    Thanks in advance.

    RAFA
    #AIX-Forum


  • 2.  Re: MKSYSB NIM RESOURCE ON LPAR USING VIO SERVER

    Posted Tue March 24, 2009 08:57 PM

    Originally posted by: apple08


    the problem taht u hit is whenever you want to restore the system backup from your nim resource right.
    #AIX-Forum


  • 3.  Re: MKSYSB NIM RESOURCE ON LPAR USING VIO SERVER

    Posted Wed March 25, 2009 05:20 AM

    Originally posted by: SystemAdmin


    Hi,

    you should modify the bosinst.data
    and set RECOVER_DEVICES=no

    Define a new NIM resource for a bosinst.data and assign it to a NIM client
    Silvia.
    #AIX-Forum


  • 4.  Re: MKSYSB NIM RESOURCE ON LPAR USING VIO SERVER

    Posted Thu March 26, 2009 08:40 AM

    Originally posted by: RafitaTecnocom


    Thanks,

    Are you sure about that SILVIA?
    2 questions about:

    1. In NIM, the resource bosinst.data was the same for both mksysb I deployed. One worked fine and my mksysb didn't..... so should be something related to the mksysb.
    2. Is not related with image.data? I mean, I guess the image.data gets into mksysb, isn't it?

    I am trying to delete the vpath into the image.data and create a new mksysb without the image.data option.

    Anyway I will try your hint but if you get something else about it , please point me to the right way.

    Thanks.

    All the best

    RAFA
    #AIX-Forum


  • 5.  Re: MKSYSB NIM RESOURCE ON LPAR USING VIO SERVER

    Posted Sat March 28, 2009 07:37 AM

    Originally posted by: SystemAdmin


    Hi Rafa,

    The mksysb resource for NIM installation is a big file with the data in backup format. The other NIM resources, image.data, bosinst.data, lppsource, spot resources have all the same importance but the bosinst.data has control flow and disk destination for the mksysb recovery. If you use NIM, the RECOVER_DEVICES=no and the target disks with null strings is a correct form to do this. If you have PROMPT = no, should install in any disk !!!

    The next bosinst.data example for NIM mksysb recovery in other system that original:
    control_flow:
    CONSOLE = Default
    INSTALL_METHOD = overwrite
    PROMPT = yes (for disk destination prompt, you select PROMPT=yes)
    EXISTING_SYSTEM_OVERWRITE = yes
    INSTALL_X_IF_ADAPTER = yes
    RUN_STARTUP = yes
    RM_INST_ROOTS = no
    ERROR_EXIT =
    CUSTOMIZATION_FILE =
    TCB = no
    INSTALL_TYPE =
    BUNDLES =
    RECOVER_DEVICES = no
    BOSINST_DEBUG = no
    ACCEPT_LICENSES = yes
    DESKTOP = NONE
    INSTALL_DEVICES_AND_UPDATES = yes
    IMPORT_USER_VGS =
    ENABLE_64BIT_KERNEL = Default
    CREATE_JFS2_FS = Default
    ALL_DEVICES_KERNELS = yes
    GRAPHICS_BUNDLE = yes
    MOZILLA_BUNDLE = no
    KERBEROS_5_BUNDLE = no
    SERVER_BUNDLE = no
    REMOVE_JAVA_118 = no
    HARDWARE_DUMP = yes
    ADD_CDE = no
    ADD_GNOME = no
    ADD_KDE = no
    ERASE_ITERATIONS = 0
    ERASE_PATTERNS =

    target_disk_data:
    LOCATION =
    SIZE_MB =
    HDISKNAME =

    locale:
    BOSINST_LANG =
    CULTURAL_CONVENTION =
    MESSAGES =
    KEYBOARD =

    Regards,
    Silvia.
    #AIX-Forum